Repository navigation
[Safe Outputs Conformance] REQ-002: Complete spec sections for report_missing_tool and report_missing_data - #76418
Conversation
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟡 Changes recommended
Active documentation discrepancies remain around runtime defaults, validation limits, failure escalation, opt-out behavior, and supported schema aliases.
5 open issues
Clarify that failure escalation requires a non-empty reason · New Align alternatives length limit with the validator's 512-character limit · New Document the actual default max of 20 for missing tools · New Reconcile missing-tool opt-out with the mandatory statement · New Document the supported dataType synonym · New
What changed in this PR
This documentation-only pull request completes the Safe Outputs specification entries for report_missing_tool and report_missing_data, documenting their schemas, operational behavior, configuration, permissions, and security requirements.
Changes:
- Added MCP tool schemas for both reporting types.
- Documented recording behavior, limits, failure reporting, and issue-creation configuration.
- Added security requirements and permission notes.
| File | Description |
|---|---|
| docs/src/content/docs/specs/safe-outputs-specification.md | Adds the missing specification sections for report_missing_tool and report_missing_data. |
Review effort: Lite (auto)
| **Configuration Parameters**: | ||
|
|
||
| - `create-issue`: When `true`, creates/updates a GitHub tracking issue for reported items (default: `false`) | ||
| - `report-as-failure`: When `true`, the conclusion job surfaces the signal as an agent failure (default: `true`) |
| "alternatives": { | ||
| "type": "string", | ||
| "description": "Any workarounds, manual steps, or alternative approaches the user could take (max 256 characters)." |
| - `report-as-failure`: When `true`, the conclusion job surfaces the signal as an agent failure (default: `true`) | ||
| - `title-prefix`: Prefix for tracking issue titles (default: `"[missing tool]"`) | ||
| - `labels`: Labels to add to created issues (array of strings) | ||
| - `max`: Maximum number of `report_missing_tool` signals processed per run (default: unlimited) |
| - `title-prefix`: Prefix for tracking issue titles (default: `"[missing tool]"`) | ||
| - `labels`: Labels to add to created issues (array of strings) | ||
| - `max`: Maximum number of `report_missing_tool` signals processed per run (default: unlimited) | ||
| - Setting the YAML key to `false` is accepted and disables the optional behavior |
| "data_type": { | ||
| "type": "string", | ||
| "description": "Type or description of the missing data or information (max 128 characters). Be specific about what data is needed." |
|
🎉 This pull request is included in a new release. Release: |


Conformance Check Failure
Check ID: REQ-002
Severity: MEDIUM
Category: Specification
Problem Description
The daily conformance run found 32 MEDIUM REQ-002 findings (spec types missing required documentation sections).
report_missing_toolandreport_missing_dataeach had only 1/5 sections (only Required Permissions).Affected Components
docs/src/content/docs/specs/safe-outputs-specification.mdactions/setup/js/missing_tool.cjs,actions/setup/js/missing_data.cjs,pkg/workflow/missing_issue_reporting.goRemediation Steps
safe_outputs_tools.json) for both types.create-issuedefault false,report-as-failuredefault true,title-prefix,labels,max) frommissing_issue_reporting.go.Validation
bash scripts/check-safe-outputs-conformance.sh: Critical 0, High 0, Medium 32 -> 30 (REQ-002 no longer reports these two types), Low 3 (unchanged).Not addressed
The remaining 30 REQ-002 findings (other types) and 3 LOW USE-001 findings (below the 5+ threshold) are left for follow-up PRs; each needs implementation-verified content.
References
🤖 Generated with [Claude Code]((claude.com/redacted)