Conformance Check Failure
Check ID: USE-003
Severity: LOW
Category: Usability
Problem Description
31 handler files implement staged mode (they reference staged: true, isStaged, or GH_AW_SAFE_OUTPUTS_STAGED) but do not include the required 🎭 emoji or "Staged Mode Preview" heading in their preview output. The specification requires staged mode previews to use this formatting so users can visually distinguish staged (no-write) previews from actual actions.
Affected Components
View all 31 affected files
Current Behavior
Handlers detect staged mode and skip actual API writes, but their preview output does not include the 🎭 emoji or "Staged Mode Preview" heading. Users reviewing workflow run logs cannot easily tell at a glance that the output is a preview rather than a real action.
Expected Behavior
When a handler runs in staged mode, its output to the action summary or log MUST include the 🎭 emoji and a "Staged Mode Preview" label. The canonical format from staged_preview.cjs should be used:
if (isStaged) {
core.info('🎭 Staged Mode Preview — no changes were written');
// ...render preview content...
}
Remediation Steps
This task can be assigned to a Copilot coding agent with the following steps:
- Review
actions/setup/js/staged_preview.cjs and actions/setup/js/messages_staged.cjs for the canonical staged mode preview format.
- For each file in the list above, locate the staged mode branch.
- Ensure the staged mode branch calls the shared preview function from
staged_preview.cjs, or add a 🎭 Staged Mode Preview heading to the output.
- Prefer delegation to the shared helper over per-handler duplication.
Verification
After remediation, verify the fix by running:
bash scripts/check-safe-outputs-conformance.sh
USE-003 should pass without errors.
References
actions/setup/js/staged_preview.cjs
actions/setup/js/messages_staged.cjs
- Safe Outputs Specification:
docs/src/content/docs/reference/safe-outputs-specification.md
- Conformance Checker:
scripts/check-safe-outputs-conformance.sh
- Run ID: §22191779279
- Date: 2026-02-19
Generated by Daily Safe Outputs Conformance Checker
Conformance Check Failure
Check ID: USE-003
Severity: LOW
Category: Usability
Problem Description
31 handler files implement staged mode (they reference
staged: true,isStaged, orGH_AW_SAFE_OUTPUTS_STAGED) but do not include the required 🎭 emoji or "Staged Mode Preview" heading in their preview output. The specification requires staged mode previews to use this formatting so users can visually distinguish staged (no-write) previews from actual actions.Affected Components
View all 31 affected files
actions/setup/js/add_comment.cjsactions/setup/js/add_labels.cjsactions/setup/js/add_reviewer.cjsactions/setup/js/assign_milestone.cjsactions/setup/js/assign_to_agent.cjsactions/setup/js/assign_to_user.cjsactions/setup/js/autofix_code_scanning_alert.cjsactions/setup/js/close_discussion.cjsactions/setup/js/close_issue.cjsactions/setup/js/close_pull_request.cjsactions/setup/js/create_discussion.cjsactions/setup/js/create_issue.cjsactions/setup/js/create_project.cjsactions/setup/js/create_project_status_update.cjsactions/setup/js/hide_comment.cjsactions/setup/js/link_sub_issue.cjsactions/setup/js/mark_pull_request_as_ready_for_review.cjsactions/setup/js/push_to_pull_request_branch.cjsactions/setup/js/remove_labels.cjsactions/setup/js/reply_to_pr_review_comment.cjsactions/setup/js/resolve_pr_review_thread.cjsactions/setup/js/safe_output_handler_manager.cjsactions/setup/js/safe_output_manifest.cjsactions/setup/js/safe_output_processor.cjsactions/setup/js/safe_output_unified_handler_manager.cjsactions/setup/js/unassign_from_user.cjsactions/setup/js/update_handler_factory.cjsactions/setup/js/update_project.cjsactions/setup/js/update_release.cjsactions/setup/js/update_runner.cjsactions/setup/js/upload_assets.cjsCurrent Behavior
Handlers detect staged mode and skip actual API writes, but their preview output does not include the
🎭emoji or "Staged Mode Preview" heading. Users reviewing workflow run logs cannot easily tell at a glance that the output is a preview rather than a real action.Expected Behavior
When a handler runs in staged mode, its output to the action summary or log MUST include the 🎭 emoji and a "Staged Mode Preview" label. The canonical format from
staged_preview.cjsshould be used:Remediation Steps
This task can be assigned to a Copilot coding agent with the following steps:
actions/setup/js/staged_preview.cjsandactions/setup/js/messages_staged.cjsfor the canonical staged mode preview format.staged_preview.cjs, or add a🎭 Staged Mode Previewheading to the output.Verification
After remediation, verify the fix by running:
USE-003 should pass without errors.
References
actions/setup/js/staged_preview.cjsactions/setup/js/messages_staged.cjsdocs/src/content/docs/reference/safe-outputs-specification.mdscripts/check-safe-outputs-conformance.sh