Skip to content

Commit 3e77945

Browse files
committed
chore: regenerate tool definitions
1 parent 4813246 commit 3e77945

4 files changed

Lines changed: 31 additions & 10 deletions

File tree

.agents/types/tools.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,12 +1157,13 @@ export interface WriteFileParams {
11571157
* Parameters for write_audit_findings tool
11581158
*/
11591159
export interface WriteAuditFindingsParams {
1160-
/** Existing durable audit session slug under .agents/sessions/. */
1160+
/** Existing durable audit session slug under .agents/sessions/. Accepts only a short identifier token: 1 to 100 characters of letters, digits, dot, underscore, or dash, and neither `.` nor `..` on its own. */
11611161
sessionSlug: string
1162-
/** Unique shard identifier used as the findings filename. */
1162+
/** Unique shard identifier used as the findings filename. Accepts only a short identifier token: 1 to 100 characters of letters, digits, dot, underscore, or dash, and neither `.` nor `..` on its own. */
11631163
shardId: string
1164-
/** Exact snapshotId returned by inspect_codebase_structure. Required for a directly composable structuralReceipt; omitted only for legacy callers. */
1164+
/** Exact snapshotId returned by inspect_codebase_structure, such as its 64-character sha256 digest. Required for a directly composable structuralReceipt; omitted only for legacy callers. Accepts only a short identifier token: 1 to 100 characters of letters, digits, dot, underscore, or dash, and neither `.` nor `..` on its own. When snapshotId and coverage.domains are both present the call receives a structuralReceipt, so coverage.subsystemIds and coverage.files must each name at least one entry: evaluate_audit_coverage rejects a receipt whose subsystem_ids or files list is empty. */
11651165
snapshotId?: string
1166+
/** Each findings entry rejects control and Unicode format characters in title, risk, fix, and evidence — NUL, any other control character, and the U+2028/U+2029 line separators — while still accepting tabs and line breaks in that prose. findings[].path is a location rather than prose, so it must be a single-line value with none of those characters and no tabs or line breaks; it is trimmed, and the trimmed value is the one rendered into the finding heading. */
11661167
findings: {
11671168
severity: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'
11681169
domain:
@@ -1182,10 +1183,15 @@ export interface WriteAuditFindingsParams {
11821183
fix: string
11831184
evidence: string
11841185
}[]
1186+
/** Every coverage list must name each entry at most once: a repeated file, subsystemId, featureId, or domain is rejected rather than counted twice. Entries are compared after trimming surrounding whitespace, and the trimmed value is what reaches the artifact and the receipt, so two spellings that differ only in whitespace are the same entry. Every coverage files, subsystemIds, and featureIds entry must be a single-line value: tabs, carriage returns, newlines, NUL, any other control or Unicode format character, and the U+2028/U+2029 line separators are rejected. Entries are trimmed, and the trimmed value is the one uniqueness is judged on. */
11851187
coverage: {
1188+
/** See the coverage description for the single-line hygiene rule, which applies to this list too. See the coverage description for the uniqueness rule, which applies to this list too. */
11861189
subsystemIds: string[]
1190+
/** See the coverage description for the single-line hygiene rule, which applies to this list too. See the coverage description for the uniqueness rule, which applies to this list too. */
11871191
featureIds: string[]
1192+
/** See the coverage description for the single-line hygiene rule, which applies to this list too. See the coverage description for the uniqueness rule, which applies to this list too. */
11881193
files: string[]
1194+
/** coverage.domains accepts canonical domain ids only, so use api-contract there: the legacy api-abi alias is accepted only in findings[].domain. When coverage.domains is present it must name at least one domain: an empty list is rejected rather than treated as an omitted field. See the coverage description for the uniqueness rule, which applies to this list too. */
11891195
domains?: (
11901196
| 'security'
11911197
| 'correctness'
@@ -1197,6 +1203,7 @@ export interface WriteAuditFindingsParams {
11971203
| 'api-contract'
11981204
)[]
11991205
}
1206+
/** Set noIssuesFound=true exactly when findings is empty and false whenever findings is non-empty; any other combination is rejected. */
12001207
noIssuesFound?: boolean
12011208
}
12021209

agents/types/tools.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,12 +1157,13 @@ export interface WriteFileParams {
11571157
* Parameters for write_audit_findings tool
11581158
*/
11591159
export interface WriteAuditFindingsParams {
1160-
/** Existing durable audit session slug under .agents/sessions/. */
1160+
/** Existing durable audit session slug under .agents/sessions/. Accepts only a short identifier token: 1 to 100 characters of letters, digits, dot, underscore, or dash, and neither `.` nor `..` on its own. */
11611161
sessionSlug: string
1162-
/** Unique shard identifier used as the findings filename. */
1162+
/** Unique shard identifier used as the findings filename. Accepts only a short identifier token: 1 to 100 characters of letters, digits, dot, underscore, or dash, and neither `.` nor `..` on its own. */
11631163
shardId: string
1164-
/** Exact snapshotId returned by inspect_codebase_structure. Required for a directly composable structuralReceipt; omitted only for legacy callers. */
1164+
/** Exact snapshotId returned by inspect_codebase_structure, such as its 64-character sha256 digest. Required for a directly composable structuralReceipt; omitted only for legacy callers. Accepts only a short identifier token: 1 to 100 characters of letters, digits, dot, underscore, or dash, and neither `.` nor `..` on its own. When snapshotId and coverage.domains are both present the call receives a structuralReceipt, so coverage.subsystemIds and coverage.files must each name at least one entry: evaluate_audit_coverage rejects a receipt whose subsystem_ids or files list is empty. */
11651165
snapshotId?: string
1166+
/** Each findings entry rejects control and Unicode format characters in title, risk, fix, and evidence — NUL, any other control character, and the U+2028/U+2029 line separators — while still accepting tabs and line breaks in that prose. findings[].path is a location rather than prose, so it must be a single-line value with none of those characters and no tabs or line breaks; it is trimmed, and the trimmed value is the one rendered into the finding heading. */
11661167
findings: {
11671168
severity: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'
11681169
domain:
@@ -1182,10 +1183,15 @@ export interface WriteAuditFindingsParams {
11821183
fix: string
11831184
evidence: string
11841185
}[]
1186+
/** Every coverage list must name each entry at most once: a repeated file, subsystemId, featureId, or domain is rejected rather than counted twice. Entries are compared after trimming surrounding whitespace, and the trimmed value is what reaches the artifact and the receipt, so two spellings that differ only in whitespace are the same entry. Every coverage files, subsystemIds, and featureIds entry must be a single-line value: tabs, carriage returns, newlines, NUL, any other control or Unicode format character, and the U+2028/U+2029 line separators are rejected. Entries are trimmed, and the trimmed value is the one uniqueness is judged on. */
11851187
coverage: {
1188+
/** See the coverage description for the single-line hygiene rule, which applies to this list too. See the coverage description for the uniqueness rule, which applies to this list too. */
11861189
subsystemIds: string[]
1190+
/** See the coverage description for the single-line hygiene rule, which applies to this list too. See the coverage description for the uniqueness rule, which applies to this list too. */
11871191
featureIds: string[]
1192+
/** See the coverage description for the single-line hygiene rule, which applies to this list too. See the coverage description for the uniqueness rule, which applies to this list too. */
11881193
files: string[]
1194+
/** coverage.domains accepts canonical domain ids only, so use api-contract there: the legacy api-abi alias is accepted only in findings[].domain. When coverage.domains is present it must name at least one domain: an empty list is rejected rather than treated as an omitted field. See the coverage description for the uniqueness rule, which applies to this list too. */
11891195
domains?: (
11901196
| 'security'
11911197
| 'correctness'
@@ -1197,6 +1203,7 @@ export interface WriteAuditFindingsParams {
11971203
| 'api-contract'
11981204
)[]
11991205
}
1206+
/** Set noIssuesFound=true exactly when findings is empty and false whenever findings is non-empty; any other combination is rejected. */
12001207
noIssuesFound?: boolean
12011208
}
12021209

0 commit comments

Comments
 (0)