Parent: #1. Related reviews: #2, #3, #4, #5, #7 and #9.
Decision
- CloudNativePG Postgres is the authoritative transactional database.
- GCS stores immutable source, page and full-result objects.
- Qdrant stores rebuildable semantic-memory embeddings and bounded retrieval metadata.
- Valkey stores TTL-bound cache entries, atomic admission counters and non-authoritative coordination hints.
No business fact exists only in Qdrant or Valkey. Canonical memory, chunks and evidence exist in Postgres/GCS before asynchronous indexing.
Consistency
Postgres business writes and outbox intent commit in one transaction. Idempotent consumers update Qdrant and invalidate/refill Valkey. Vector indexing and caches are eventually consistent and expose version/lag. Agent citations resolve each vector hit back to the authorized canonical document version.
Review checklist
Failure contract
- CNPG outage pauses authoritative lifecycle work; no state is invented elsewhere.
- Qdrant outage does not block OCR; indexing queues and semantic retrieval degrades explicitly.
- Valkey outage increases latency and applies local admission ceilings; it never loses work.
- GCS outage prevents result commit; Postgres cannot claim a missing result object.
Production manifests and IAM are GitOps-only through tesserix-k8s; this issue authorizes design review, not a live cluster mutation.
Parent: #1. Related reviews: #2, #3, #4, #5, #7 and #9.
Decision
No business fact exists only in Qdrant or Valkey. Canonical memory, chunks and evidence exist in Postgres/GCS before asynchronous indexing.
Consistency
Postgres business writes and outbox intent commit in one transaction. Idempotent consumers update Qdrant and invalidate/refill Valkey. Vector indexing and caches are eventually consistent and expose version/lag. Agent citations resolve each vector hit back to the authorized canonical document version.
Review checklist
Failure contract
Production manifests and IAM are GitOps-only through
tesserix-k8s; this issue authorizes design review, not a live cluster mutation.