postrc_gate
Decide if a project is ready to ship after security scan. Returns PASS, WARN, or BLOCK; critical issues block release unless fixed or accepted via override.
Instructions
[Pro] Final checkpoint - ship/no-ship decision. Call after postrc_scan completes and user has reviewed findings. NEVER auto-approve - always present findings summary first. Returns PASS (safe to ship), WARN (issues exist but not blocking), or BLOCK (critical issues must be fixed or overridden). If BLOCK: user must either fix issues and re-scan, or use postrc_override to accept risks. After PASS/approved: pipeline is complete for the build phase. Consider running trace_map_findings next for coverage metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | Checkpoint decision: "approve", "reject [reason]", or "question [text]" | |
| feedback | No | Optional additional feedback | |
| project_path | Yes | Absolute path to the project directory |