Incident response plan and the 72-hour notification clock
row 19. Written from what the platform can do today. Anything it cannot do yet is a **GAP** with an owner. Part of the [WISP](wisp.md).
Commandplatform
About
row 19. Written from what the platform can do today. Anything it cannot do yet is a **GAP** with an owner. Part of the [WISP](wisp.md).
Skill Content
This is the raw markdown that gets installed as a Claude Code command.
---
name: tawa-incident-response
description: "Incident response: severity, roles, first hour, containment playbooks, evidence, the 72-hour notification clock. Use during a security or money incident."
---
# Incident response plan and the 72-hour notification clock
**Status: DRAFT for Derek and counsel review (2026-10-22).** Issue: tawa-docs#161. Voyager launch
row 19. Written from what the platform can do today. Anything it cannot do yet is a **GAP** with an owner.
Part of the [WISP](wisp.md).
**Counsel decides the legal clock.** The 72-hour figure is the NAIC Model Law #668 standard for notifying
the domiciliary insurance commissioner after a determination that a cybersecurity event occurred. Whether
it binds InsurEco directly, or only through the agencies and carriers we serve, depends on licensing in
each pilot state (Q1 on the [WISP](wisp.md)). Until counsel answers, this plan runs the clock on the
strictest reading, and it starts the clock for our customers' obligations too.
## 1. What counts as an incident
A **security event** is anything that may have exposed, altered or destroyed NPI, money or credentials, or
that stops the payment rails. Examples drawn from this platform:
- A cross-tenant read: an agency sees another agency's book (the default-admin fallbacks in the MGA apps, WISP §3.1).
- A leaked secret: a key in old code or a log (tracker row 49), a Locker item read by something not bound to it.
- A stolen token: a Bio-ID access token, a persona token or a service-client secret.
- A compromised host: the tawa builder host, a runner droplet, jefferson, a developer laptop.
- A money anomaly: a reconcile exception that is not a provider delay (`/admin/reconcile`), or a wallet balance drift.
- A chain event: a validator or publisher key compromise, an `anchor.missed` that is not a network fault.
- A vendor breach notice from FWD, FinancePro, Anthropic, DigitalOcean, Cloudflare, Lob or SendGrid.
## 2. Severity
| Level | Means | Examples | Response |
|---|---|---|---|
| **S1** | Confirmed or likely exposure of NPI, loss of money, or the payment rails down | cross-tenant read confirmed; FWD key leaked; unattributed refund or dispute on a paid-out deal | Start now. Lead and counsel both paged. The clock starts at determination. |
| **S2** | Possible exposure, or a control failed but no exposure is shown | a secret found in code, not yet used; Janus enforcement bypass; failed backup run | Same day. Lead decides within 24 hours whether it becomes S1. |
| **S3** | A defect with no data effect | a dead letter replayed; one-off 5xx burst | Normal ticket. No clock. |
Upgrade whenever unsure. Downgrade only in writing in the incident record.
## 3. Roles
| Role | Who | Does |
|---|---|---|
| **Incident lead** | Derek | Declares severity, owns decisions, signs notifications. |
| **Technical responder** | The Claude agent or developer who is on the task, working under the lead | Contains, collects evidence, restores. |
| **Counsel** | Outside counsel to be named | Decides what is a notifiable event, drafts and reviews the regulator and consumer notices. |
| **Comms** | Derek, until someone else is named | Customer, partner and carrier messages. |
**On-call reality.** Today there is one human. iec-pulse and the rails alert email reach a mailbox, not a
phone. **GAP:** one monitored destination that pages Derek's phone, with a named backup person, before
29 Oct. Owner: Derek. **GAP:** name outside counsel and record the contact in the Locker, not in this
repo. Owner: Derek.
## 4. Detection sources
| Source | What it tells you | Reaches a person? |
|---|---|---|
| iec-pulse | Health endpoint down (30 s prod probe) | Email. GAP above. |
| split-pay `/api/health/rails` and the 15-minute `rails-alerts` email | Dead letters, backlog, missed crons, failing iec-queue | Email to `RAILS_ALERT_EMAIL` |
| split-pay `/admin/reconcile` | Money does not match the provider | Only if someone looks. **GAP:** daily three-way reconciliation with a hard alert (iec-split-pay#769, in progress). |
| Septor | Immutable event stream; `septor.verify(entity)` checks the chain; `anchor.missed` fires at 04:05 UTC if a chain was not reached | Event only. |
| Janus | `authz_events` records what shadow mode would refuse; daily gas check alerts on uncharged traffic | Event and log. **GAP:** nobody reviews shadow refusals. |
| bio-vault access log | Allowed and denied reads on entity routes | Query only. **GAP:** denied attempts at Janus are not logged; access ledger iec-bio-api#24 due 23 Oct. |
| Builder logs | Request metadata, redacted; 50 MB rotation, 14 days retained | Query only. |
| Validator monitoring | Chain nodes | **GAP:** not built (policyblockchain-node#9, #10). |
| Vendor notices | Email from a vendor | Mailbox. |
| Reports from customers, partners, staff | Anything | Derek's inbox. |
## 5. The first hour
1. **Open the record.** Create a private portal page in the `voyager` project, titled `INCIDENT <date> <short name>`, and write times in UTC. Never put NPI or a secret in it.
2. **Set severity** (section 2) and name the lead.
3. **Write down "determination time"**: the moment someone concludes an event that meets section 1 occurred. This starts the 72-hour clock (section 8).
4. **Preserve evidence before you contain** (section 7), unless containment cannot wait.
5. **Contain** (section 6).
6. **Tell counsel** for any S1, and for any S2 that touches NPI.
## 6. Containment playbooks
Use the least action that stops the harm. Each action below is something the platform supports today.
| Situation | Action | Notes |
|---|---|---|
| A service is leaking data or doing harm | `tawa restart` to bounce it, or `tawa rollback` to the previous image. To take it offline, deploy a catalog with `insureco.io/internal: "true"`. | Roll back only after evidence is saved. |
| A HypeSite page is the problem | `set_site_status` to `offline` (Jefferson): visitors get 410 within seconds. | |
| An OAuth client is compromised | `tawa oauth regenerate-secret <client-id>`; if the client itself is the problem, `tawa oauth delete <client-id>` and redeploy. | Existing access tokens live up to one hour. A deleted client cannot mint more. |
| A service's Claude identity is abused | Switch **Claude access** off for its OAuth client in the console. | Bio-ID stops issuing assertions at once; an Anthropic token already issued lives minutes. |
| A persona or test session is abused | `tawa persona update <slug> --disable` or `delete`. | A minted persona token lives three hours and cannot be revoked. Treat it as live until it expires. |
| A user or service must lose access now | Change org membership or `userType` in Bio-ID; remove the SpiceDB relationship through the single writer (iec-bio-api). | Takes effect at next token mint (up to one hour). |
| A secret leaked | Rotate at the source. Rebind with `tawa config set --secret KEY --from-locker lk://…` and run `tawa deploy --prod`. Check the Locker `UseEvent` log for what read it. | Config reaches the pod only on deploy. Vault-issued DB and MinIO credentials rotate by lease; static ones need a manual change. |
| The Bio-ID signing key is suspect | **GAP:** no written key-rotation procedure for the JWKS key. Owner: agent + Derek. | |
| The payment rails must stop | Provider circuit breakers open by themselves on failure (`/admin/rails`). **GAP:** there is no documented manual "pause all payments" switch in split-pay. Build one (runtime setting, owner-only) and write the steps here. Owner: agent. Interim: `tawa restart` does not stop rails; scale or take the service offline with the `internal` annotation. | Do not edit `pendingEffects`, `InboundEvent` or `IdempotencyRecord` by hand. Use replay and acknowledge (split-pay runbook §4). |
| Money may be wrong | Follow the split-pay runbook §5 for the rail. Escalate to finance before touching the ledger. A lost dispute claws back commission. | |
| Data must be restored | `koko backup` first (to keep the damaged state), then `koko restore <id> -s <svc> --confirm` (admin role). | Restore is destructive. No restore has been rehearsed. **GAP:** tawa-docs#166. |
| A chain key is compromised | **GAP:** key rotation and `invalidate` of affected batches in `AnchorRegistry` are documented in the contract, not rehearsed. Owner: agent + Derek. | Chain holds hashes only, never NPI. |
| Vendor breach | Ask the vendor for scope in writing, rotate every credential we hold for them, and check the vendor row in the WISP. | |
## 7. Evidence preservation
- **Septor** is immutable. Run `septor.verify(<entityId>)` and record the result. Note the `chainIndex` range for the affected entities. Nightly anchors prove events up to the previous UTC day.
- **Builder logs** rotate at 50 MB and are kept 14 days. **Copy the window you need into a private incident page immediately.** `GET /platform/logs/tail` (platform admin) returns redacted lines.
- **Pod logs:** `tawa logs` is live only. Capture before a restart replaces the pod.
- **Database state:** take a manual backup (`koko backup`) before any repair. Manual backups are never pruned.
- **Locker audit:** the `UseEvent` list names who or what read an item. Export it.
- **Janus:** `gateway_requests`, `gas_events` and `authz_events` hold the call history. Query before the cleanup.
- **Chain:** record the explorer links for any anchor in the window.
- **GAP:** nobody has said how long Janus and Locker audit rows are kept. Owner: agent.
- **GAP:** Septor payload hygiene. Events hold references, but nothing has checked that none carries NPI. The chain is immutable, so NPI in an event cannot be removed. Owner: agent.
## 8. The 72-hour clock
```
T0 determination time: someone concludes an event that meets section 1 happened
T0 counsel is told (same hour for S1)
T0+24h scope known? who, which states, how many consumers, which data classes
T0+48h draft notices regulator, and consumers if required
T0+72h commissioner notified (domiciliary state), unless counsel has ruled the event not notifiable
```
Rules:
1. The clock starts at **determination**, not at discovery of a symptom. Record both times.
2. Do not wait to finish the investigation. A short notice that is updated later beats a late one.
3. Counsel decides, per state: whether the event is notifiable, the commissioner to notify, the consumer-notice deadline (state breach laws differ, and several set a fixed number of days), and whether the state attorney general must be told.
4. **Partners and carriers.** Agencies and carriers that are licensees have their own clocks and usually need our notice to start them. Notify each affected partner promptly after determination, in writing, with what we know. **GAP:** the contract notice period each partner expects is not recorded anywhere. Owner: Derek.
5. **Consumers.** Counsel drafts. Mail goes through [lob-send](lob-send.md) (a physical letter is on the record) and email through relay. **GAP:** lob-send runs on a Lob test key unless configured; confirm a live key and a template before launch. Owner: Derek.
6. **FinancePro and FWD** are told if their data or rail is affected, under their agreements. **GAP:** contract terms not collected (WISP §4).
7. Log every notice, with time and recipient, on the incident page and as a Septor event. **GAP:** the event type `incident.notified` does not exist yet; register it. Owner: agent.
## 9. After the incident
Within 10 working days of closing an S1 or S2, write a post-incident review on the incident page:
```
What happened (timeline in UTC, determination time marked)
What was exposed or lost (data classes, count, states)
How it was detected, and how long it took
What contained it
What each notice said, to whom, and when
Root cause (the control that failed; link the WISP row)
What changes (issue links, owner, date)
What did not work in this plan
```
Update the WISP gap list and this page in the same PR as the fix.
## 10. Exercises
**GAP:** a tabletop before the 29 Oct gate. Proposed scenario: an agency admin reads another agency's loss runs through a legacy route (S1). Walk sections 5–8 end to end with Derek and counsel, and time the first hour. Owner: Derek + agent. Record the date and findings on the incident page template.
## 11. Cross-links
[WISP](wisp.md) · [Data classification](data-classification.md) · [Retention schedule](retention-schedule.md) ·
[Regulatory posture](regulatory-posture.md) · [Database backups](database-backups.md) · [Septor](septor.md) ·
[Locker](locker.md) · split-pay `docs/rails/runbook.md`. Backup and DR runbook: tawa-docs#166.
Install
Copy the skill content and save it to:
~/.claude/commands/tawa-incident-response.mdComing soon via CLI:
tawa chaac install tawa-incident-responseDetails
- Format
- Command
- Category
- platform
- Version
- 1.0.25930
- Tokens
- ~3,159
- Updated
- 2026-11-25
platformcompliancesecurityincident-responsenaic-668voyager