docs: describe the PostgreSQL-only stores, state_dir and the import-only db_path

Architecture, deployment, installer, skill and PRD text now name the Postgres
State Store, the offline recovery commands on database_url, state_dir for host
state, and db_path as the legacy-file locator for archie-state-store import.
Finalised PRDs, CHANGELOG, docs/news and docs/archive are unchanged records.
This commit is contained in:
sam committed 2026-09-24 14:51:48 +10:00
1 parent b6010a7913
commit 5c8a8b2393
39 files changed
+248 -219

No files matched your search

+5 -3
View File
@@ -6,7 +6,9 @@
# ==============================================================================
work_dir = "~/.local/share/archie/work"
db_path = "~/.local/share/archie/archie.db"
state_dir = "~/.local/share/archie" # NATS store, task logs
# db_path (default ~/.local/share/archie/archie.db) only locates pre-PostgreSQL
# files for `archie-state-store import`.
# The State Store's PostgreSQL connection (required; Postgres-only epic).
# `docker compose up -d postgres` provides this local default; point it at
# your own Postgres 18 server otherwise.
@@ -23,8 +25,8 @@ diff_cap_lines = 400
[services.gateway]
target = "127.0.0.1:8585"
# The State Store gRPC service owns the single archie.db SQLite file. archied
# and archie-gateway dial it here and never open archie.db themselves
# The State Store gRPC service owns the PostgreSQL task data. archied and
# archie-gateway dial it here and never open those tables themselves
# (docs/prds/state-store-contract.md §12 step 7). This deployment runs the
# agent in containers, so the target must be the Docker bridge gateway address
# (172.17.0.1) that the container can reach, and a non-loopback target requires