-
Notifications
You must be signed in to change notification settings - Fork 316
Description
Conformance Check Failure
Check ID: USE-003
Severity: LOW
Category: Usability
Problem Description
Three handlers implement staged mode but are missing the required 🎭 emoji in their staged mode preview output. The Safe Outputs specification requires this emoji as a visual indicator to distinguish staged (dry-run) output from live output, helping users and reviewers quickly identify that no real side effects have occurred.
Affected Components
-
actions/setup/js/create_pr_review_comment.cjs -
actions/setup/js/safe_output_helpers.cjs -
actions/setup/js/submit_pr_review.cjs
🔍 Current vs Expected Behavior
Current Behavior
These handlers produce staged mode output (dry-run previews) but omit the 🎭 emoji prefix/marker. Staged output looks similar to live output, making it harder to distinguish at a glance.
Expected Behavior
Per USE-003 of the Safe Outputs specification, all staged mode previews MUST include the 🎭 emoji as a visual indicator. The typical pattern is to prefix the staged output title or summary with 🎭 (e.g., 🎭 [STAGED] Create PR Review Comment).
Remediation Steps
This task can be assigned to a Copilot coding agent with the following steps:
- Open each affected file and locate the staged mode branch (typically an
if (staged)orif (core.getInput('staged') === 'true')block). - Add the
🎭emoji to the staged mode summary, title, or preview message string. - Check
safe_output_helpers.cjsfirst — if it provides a shared staged-mode helper, fixing it there may resolve the issue in all dependent handlers. - Verify the emoji appears in the correct position per the specification (typically at the start of the preview header).
- Run the conformance checker to verify all three handlers pass USE-003.
Verification
After remediation, verify the fix by running:
bash scripts/check-safe-outputs-conformance.shAll three handlers should pass USE-003 without errors.
References
- Safe Outputs Specification:
docs/src/content/docs/reference/safe-outputs-specification.md - Conformance Checker:
scripts/check-safe-outputs-conformance.sh - Run ID: §23449847592
- Date: 2026-03-23
Generated by Daily Safe Outputs Conformance Checker · ◷
- expires on Mar 24, 2026, 5:07 PM UTC