agent-memory-api: dedicated AGENT_MEMORY_ACCESS_KEY dual-key auth (+ Phase 10 lineage sync)#3
Conversation
OB1 PR Gate✅ Folder structure — All files are in allowed directories
✅ Contribution dependencies — All declared skill and primitive dependencies exist and are linked in README Result: 13/15 checks passed. Please fix the issues above and push again. Post-Merge TasksThese don't block merge — they're reminders for admins after this PR lands.
|
…red-key fallback Prefer the dedicated read-surface key when set; retain the shared MCP_ACCESS_KEY fallback until Stone-side harnesses migrate (design decision D1 — full decouple is a later increment). Matches agent-memory-api v6 deployed 2026-06-11. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
30ad12b to
3b27059
Compare
What this PR contains
3 commits — 2 are lineage sync, 1 is the new change:
ee26138/2727021— cherry-picks of the existing local-main Phase 10 hardening commits (097f60f,e34361b: recall/governance guards + scope harness). These were already reviewed and are the lineage the production function was deployed from, but they had never landed onHumestone/OB1main — without them this PR would show 2,500+ lines of unexplained diff.30ad12b— the actual change:auth()prefers a dedicatedAGENT_MEMORY_ACCESS_KEYwhen set, retaining the sharedMCP_ACCESS_KEYfallback until Stone-side harnesses migrate (design decision D1 inMEMORY-READONLY-ACCESS-DESIGN.md— full decouple is a later gated increment). +14 lines inindex.ts, +5 tests indual-key-auth.test.ts.Production state
This code is already live: agent-memory-api v6 on
nstjppclxchsldkcmcve, deployed 2026-06-11 with James's approval (AIOS-3D bundle; Company Memory records b8b8b012 / 4b76b4fd). This PR is the git-hygiene step bringing tracked source in line with production.Verification
auth.ts,index.ts,policy.ts,read-only.ts,deno.json) byte-identical (cmp) to the verified v6 deploy source.how-open-brain-runs04-operating-system/hermes-doctrine/generated/rollback-agent-memory-api-v4-20260611/.For James
Merge restores tracked-source = production. No deploy is triggered by merging.
🤖 Generated with Claude Code