> ## Documentation Index
> Fetch the complete documentation index at: https://project-brain.rocheaiops.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Storage

> Database, artifact, secret, backup, and derived-index roles.

| Store               | Holds                                                              | Classification                                                     |
| ------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| PostgreSQL          | Sessions, events, records, document metadata/versions/chunks, jobs | Canonical structured state                                         |
| pgvector            | Extension available for vector capability                          | Infrastructure support; current ranking remains application cosine |
| Artifact filesystem | Original and normalized document files                             | Canonical portable source artifacts                                |
| Secret file         | Runtime configuration and credentials                              | Server-side only, mode 0600                                        |
| Backup archive      | Database dump, artifacts, deployment metadata                      | Recovery artifact                                                  |
| Git                 | Code, migrations, tests, templates, evidence, documentation        | Canonical project source/history                                   |

The worker does not own irreplaceable state. Its jobs are persisted and bounded so that restart behavior can be observed and retried safely.
