Public ingestion contract
Add external coding tools to ActraDeck
Any tool can normalize its own events and POST them into ActraDeck. Use your own
provider slug, set source=external, map activity to the closed event-type
enum, and the local cockpit can show it in live views, audit trails, and replay.
The contract
provideris an open slug such asmy_tooloraider.sourceis a closed enum. Third-party adapters useexternal.event_typestays closed so the state machine keeps meaning.event_idis the idempotency key, so retry is safe.
Why this matters
The contract turns ActraDeck from a two-agent cockpit into a community-extensible audit cockpit. Adapter authors can add support for new coding CLIs without changing the core approval, redaction, audit, or replay pipeline.
Redaction floor
Direct POST adapters bypass the sidecar, so backend ingress applies redaction before persistence and recomputes redaction counts from actual markers. This protects honest adapters from accidental raw-secret retention.