postrc_scan
Scans project code for security vulnerabilities, monitoring gaps, and legal compliance issues. Returns severity-ranked findings with CWE and legal references to guide ship/no-ship decisions.
Instructions
[Pro] Run AFTER building (Phase 6 Forge complete). Scans code for security vulnerabilities, checks monitoring instrumentation, and optionally runs legal compliance review (Pro tier - enable via postrc_configure with legal_enabled=true). Pass code_context with the actual project code. Returns findings by severity (critical/high/medium/low) with CWE/legal references. LONG-RUNNING: involves LLM analysis. After success: present findings to user in plain language. Then call postrc_gate for ship/no-ship decision. If critical findings exist, also generates REMEDIATION-TASKS file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modules | No | Modules to run (default: all active) | |
| code_context | No | Code or file content to scan (optional - will read from rc-method/tasks/ if not provided) | |
| project_path | Yes | Absolute path to the project directory |