- New autoPostAcknowledgment(campaignId, actor) mirrors the VERIFIED remediateApprovedActions shape: campaign row lock, idempotency check against an existing acknowledge_user remediation_actions row, insert + audit inside one transaction, note post after commit (non-fatal on failure) - Closes CR-01/WR-01: gives the auto_report webhook path a persisted record so a repeat ticket-create webhook joining an already-acked campaign does not re-insert/re-audit/re-post - Adds Test A/B/C in remediation-service.test.ts covering first-pass insert, idempotent skip, and non-fatal note-post failure |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| auth-client.ts | ||
| auth-utils.ts | ||
| auth.ts | ||
| bootstrap.ts | ||
| permissions.test.ts | ||
| permissions.ts | ||
| status-registry.ts | ||
| utils.ts | ||