Current retrieval path: pgvector is provisioned, but it is not currently the nearest-neighbor query path. The current document corpus uses compatible stored vectors and cosine ranking in application code.
Architecture
Architecture overview
The accepted Phase 6 application, provider, development-memory, and recovery boundaries.
PROJECT B.R.A.I.N. is a Python/FastAPI modular monolith with PostgreSQL +
pgvector, portable artifacts, and a bounded worker. It is deliberately not a
distributed graph system or a collection of provider-owned memories.

See storage and provider boundaries.