Conversation
|
✅ 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.
|
|
✅ 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.
|
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved documentation inaccuracies misstate issue-intent metadata requirements, validation timing relative to read-only API calls, and whether field IDs bypass discovery.
4 open issues
What changed in this PR
This documentation-only PR addresses REQ-002 conformance gaps for six issue and pull request metadata safe-output types in gh-aw. Handler and compiler behavior remain unchanged; the other 12 incomplete types are deferred.
Changes:
- Adds MCP tool schemas, operational semantics, and security requirements for the six types.
- Expands configuration references and standardizes the “Configuration Parameters” heading.
- Preserves existing target-authorization rules and identifiers.
| File | Description |
|---|---|
docs/src/content/docs/specs/safe-outputs-specification.md |
Completes required specification sections for six issue/PR metadata safe-output types. |
Review effort: Balanced (adaptive)
|
|
||
| - The pull request number MUST be derived only as described in Target Authorization (ARV-001 to ARV-005); agent-supplied numbers MUST NOT override `triggering` or fixed targets. | ||
| - Reviewer logins and team slugs MUST be sanitized and, when an allowlist is configured, MUST be rejected if absent from it. | ||
| - The reviewer count limit MUST be enforced before any API call and MUST NOT be exceeded by silently combining user and team reviewers. |
| - `required-title-prefix`: Title prefix the target MUST have for the operation to proceed | ||
| - `target-repo`: Cross-repository target | ||
| - `allowed-repos`: Cross-repository allowlist | ||
| - `issue-intent`: Controls whether intent metadata is forwarded (default: enabled) |
| **Security Requirements**: | ||
|
|
||
| - The target number MUST be derived only as described in Target Authorization (ATU-001 to ATU-005). | ||
| - Assignee logins MUST be sanitized and checked against `allowed` and `blocked` before any API call; `blocked` entries MUST take precedence. |
| ```json | ||
| { | ||
| "name": "set_issue_field", | ||
| "description": "Set a single GitHub issue custom field by name and value. Use field_name for discovery by field label, or provide field_node_id to skip discovery. Does NOT support builtin issue fields such as title, body, or state.", |
|
🎉 This pull request is included in a new release. Release: |

Conformance Check Failure
Check ID: REQ-002
Severity: MEDIUM
Category: Specification
Problem Description
scripts/check-safe-outputs-conformance.shreported 18 safe output types in the specification with fewer than the 5 required sections (MCP Tool Schema, Operational Semantics, Configuration Parameters, Security Requirements, Required Permissions). This PR fixes the six issue/PR metadata types that share the same structure. The other 12 are left for follow-up runs, because each needs its own handler review.Affected Components
docs/src/content/docs/specs/safe-outputs-specification.mdadd_reviewerassign_milestoneassign_to_userunassign_from_userset_issue_typeset_issue_fieldpush_to_pull_request_branch,assign_to_agent,hide_comment,create_project,update_project,create_project_status_update,update_release,upload_asset,dispatch_workflow,create_code_scanning_alert,autofix_code_scanning_alert,create_agent_session🔍 Current vs Expected Behavior
Current Behavior
These types documented only purpose, limits, partial configuration, target authorization and permissions. They had no tool schema, no operational semantics and no security requirements.
assign_milestoneandassign_to_userlabelled configuration as "Configuration Options", which the checker does not recognise.Expected Behavior
Every
#### Type:entry carries all five required sections.Remediation Steps
actions/setup/js/safe_outputs_tools.json.add_reviewer.cjs,assign_milestone.cjs,assign_to_user.cjs,unassign_from_user.cjs,set_issue_type.cjs,set_issue_field.cjs), covering limits, target and repo validation, filters, staged mode and mutation paths.allowed,blocked,required-labels,required-title-prefix,allowed-reviewers,allowed-team-reviewers,issue-intent) and renamed "Configuration Options" to "Configuration Parameters".No handler or compiler code changed. The existing Target Authorization text and IDs are untouched.
Verification
Ran
bash scripts/check-safe-outputs-conformance.sh:Not run, and why:
go test ./pkg/workflowcould not run. The sandbox could not download the required Go 1.27.4 toolchain (TLS error fromproxy.golang.org). I checked by readingsafe_outputs_specification_set_issue_field_test.gothat it only asserts Target Authorization text, which this PR does not change. I did not read the other spec tests that cover these types.scripts/check-safe-outputs-conformance_test.shfails withExpected no USE-001 safe-output conformance findings. It fails the same way onmainwithout this change. The cause is the 3 existing LOW USE-001 findings (comment_memory_ledger.cjs,otlp_metrics.cjs,push_ledger_changes.cjs).References
🤖 Generated with [Claude Code]((claude.com/redacted)