Create a corrective action plan
Remediation
Create a corrective action plan
Requires the caps.write permission + CSRF. Idempotent adoption: if a non-terminal (not verified/rejected) CAP already exists for the same target with the same problem statement (or title, if no statement was given), that existing CAP is returned verbatim instead of creating a duplicate — no audit row is written in that case. Otherwise inserts a new CAP in proposed status with a path-tier-specific default proof window (automated = 14 days, governed = 30, expert = 60) and writes an audit_log row (tenant schema) (cap_created). Returns 201.
POST
Create a corrective action plan
Body
application/json
Available options:
automated, governed, expert Response
Successful Response
Available options:
proposed, approved, in_progress, blocked, completed, verified, rejected Available options:
automated, governed, expert