Adds ApiDocumentsController, core/lib.Search.asp (class-based chunker, FTS5 indexing),
POST /recall and /memories/:id/verifications, the documents/search migration, purge
coverage for the new tables, OpenAPI spec and tests/phase2-api.sh.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Two reversible migrations: tenants/principals/api_keys/namespaces/
access_grants, then memory_types/memories/memory_revisions/
idempotency_keys/sessions/checkpoints/audit_events. Verification is
per revision. Document migrator one-per-process quirk in AGENTS.md.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>