Phase 1 — Gateway core (identity, audit, secrets) #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Size: large · Depends on: Phase 0
The security and accountability spine. Everything later assumes it exists.
Scope
project_idthroughout:projects,agents,tokens,permissions,audit_logExit criterion
Two agents connect under distinct authenticated identities with different permission sets; a forged
clientInfochanges nothing about what either may do; every call appears in the audit log correctly attributed.References
ADR-0003 (per-agent bearer tokens), ADR-0004 (SQLite), ADR-0007 (
project_idfrom day one)Review notes
clientInfomust never reach an authorization decision — display and audit onlyWHERE project_id = ?is a correctness bugOpen item to settle
Audit log integrity: plain append-only table, or hash-chained and tamper-evident?