GREEN: generateAndPostTriageNote(campaignId) gathers linked reports, most-recent classification (NUMERIC confidence coerced to a JS number), current remediation_actions, and real url indicators via the reports->messages->indicators join; renders the sanitized note via Plan 01's formatTriageNote, then posts one internal TicketNotes write per linked ticket with independent per-ticket error capture so a single write failure never aborts the call (D-05) and note text is always returned (D-06). |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| auth-client.ts | ||
| auth-utils.ts | ||
| auth.ts | ||
| bootstrap.ts | ||
| permissions.test.ts | ||
| permissions.ts | ||
| status-registry.ts | ||
| utils.ts | ||