mirror of
https://github.com/Heretek-AI/agency-control-plane.git
synced 2026-11-07 10:46:08 -10:00
7e5a9b843ff32aae65ca8d7738fe89fea86b5330
- worktrees.ts: 2-phase SQLite allocation (allocating->allocated, WAL,
busy_timeout=15000), jj/git backends, .opencode isolation,
salvageWorktree anchoring refs/fleet-salvage/<id>
- landing.ts: transactional landTask (--no-ff in throwaway worktree,
pre/post verification, atomic rollback, conflict file reporting)
- event-bus.ts: ring-buffered SSE bus with gap markers + in-memory
NATS JetStream/KV bridge implementing the identical contract
- approval-tickets.ts: single-use 60s-TTL tickets bound to
{taskId, subjectHash} + Ed25519/passphrase verification (node:crypto)
- server.ts: loopback Bun HTTP+SSE API (board, director message,
drilldown, ticket mint, sign, events) with CSRF + audit wiring
- tests: 32 new (66 total green), accept script + report
Languages
TypeScript
94.8%
Shell
5%
Makefile
0.1%
HTML
0.1%