- ApiAdminController: GET /me; GET|POST /namespaces; GET|POST /principals,
GET|PATCH /principals/:id, POST /principals/:id/keys, DELETE /keys/:id;
GET|POST /grants, DELETE /grants/:id.
- Authorization from namespace grants (ADR-011): admin allows granting and
creating below; inherit needs inheriting admin; managing another
principal's keys/status needs admin over all of its grants, so a key
never widens the caller's access. Keys shown once, no-store.
- tests/admin-api.sh (91 checks incl. escalation and isolation attempts).
- OpenAPI, README, AGENTS.md, acceptance report updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tests/retrieval-benchmark.sh: fixed corpus (30 memories, one handbook),
56 labelled queries (exact, paraphrase, none), hit@5 / MRR@10 / false
positive rate with semantic retrieval and with the provider stopped;
thresholds stored in tests/benchmark/fixtures.json (AC-04).
Hybrid: exact hit@5 1.00, paraphrase hit@5 0.875 (lexical 0.125),
no false positives, MRR 0.745 vs 0.420.
- docs/acceptance.md: AC-01..AC-18 mapped to automated checks and manual
verification, latest evidence, and what is not tested.
- docs/decisions.md: ADR-001..010 for the choices made in phases 1-3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>