Commit 51b1c3c
chore(spec): agent access/permissions are live — correct stale liveness ledger (#1938)
Investigating the next ADR-0049 "enforce now" item (#1884 agent access-control)
found it is ALREADY implemented and tested on main: evaluateAgentAccess()
(agent-access.ts) enforces the agent's declared `permissions` (caller must hold
all) and `access` allow-list at the chat route (agent-routes.ts:151). It landed
after the 2026-06 liveness audit, which still listed these dead — so the
audit-seeded ledger was stale.
- agent.access / agent.permissions: dead → live (evidence: agent-access.ts:50).
- agent.visibility: dead → experimental — intentionally NOT enforced
(agent-access.ts:41); the list route doesn't filter by it, and gating listing
needs owner/org semantics that aren't plumbed yet.
Note: the gate enforces classification *completeness*, not *correctness* — a
`dead` entry that silently becomes live (as here) doesn't fail CI. Catching
dead→live drift needs a periodic re-audit (cf. the docs monthly cron).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 48e4eb4 commit 51b1c3c
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments