docs(durable-agent-auth): freeze + adversarial review revisions
Land the durable remote-agent auth thinking freeze (Spec + Roadmap) and fold in the security/identity review findings, verified against code:
- Spec §1: MCP refresh is in-memory plaintext Map (no hash-at-rest / no reuse-family-revoke); the hardened refresh store already exists (refresh-token-store.mjs, wired to native OAuth at server.mjs:355,670) so Phase A is reuse-not-build; REST verifyToken ignores token scopes (live scope-elevation, server.mjs:221-228). - Spec §5: reuse existing store; strong-consistency required, Netlify blob backend prohibited for MCP refresh. - Spec §8: confused deputy restated as scope-elevation; do not ship Phase D scopes until REST scope enforcement lands. - Spec §14 (new): durable agent auth is unmounted under offline-lock (server.mjs:629) — document + assert. - Roadmap Phase A: reuse store, no-blob, agent-label meta, spike is a hard gate with pre-frozen Rank 1<->2 swap to RFC 8628 device code; pulled data-integrity + security-stress tests into Phase A; Phase D scope-guard dependency. - Overseer handover: revised self-contained Phase A prompt + shared context; added per-phase model tiers (Thinking spike -> Auto Build).
No code changes. No secrets. Build remains gated on Aaron's approval of Spec §2 + §5.
Co-authored-by: Cursor <[email protected]>
0 comments
muse hub commit comment sha256:ae90004c976c2abfc5fdb89f952239cd3b121f13a6c1c1315a563e6be17393df --body "your comment"
No comments yet. Be the first to start the discussion.