Replace the unguarded generateAndPostAcknowledgment(campaignId) direct call in runGatedPhishingStages' auto_report branch with the idempotent autoPostAcknowledgment(campaignId, 'system:auto_report'). Closes CR-01 (23-REVIEW.md) / Truth #18 (23-VERIFICATION.md): a repeat ticket-create webhook joining an already-acknowledged USER_AWARENESS campaign now finds the persisted remediation_actions row and skips the re-post instead of re-sending the customer-visible thank-you note on every additional report. |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| auth-client.ts | ||
| auth-utils.ts | ||
| auth.ts | ||
| bootstrap.ts | ||
| permissions.test.ts | ||
| permissions.ts | ||
| status-registry.ts | ||
| utils.ts | ||