Reconcile the schema/migration docs with the code (closes #68) #146

Merged
clawbot merged 1 commits from issue-68-schema-migration-docs into next 2026-09-21 21:58:37 +02:00
1 Commits
Author SHA1 Message Date
sneak 14e0592c9a Reconcile the schema/migration docs with the code (closes #68)
check / check (pull_request) Successful in 3m0s
Four documents implied vaultik has no schema-application mechanism and
told contributors to edit a nonexistent `schema.sql`. The code does have
numbered files in `internal/database/schema/` (`000.sql` creates the
`schema_migrations` table, `001.sql` the application tables) that
bootstrap a fresh database.

docs/DATAMODEL.md now owns the explanation, distinguishing the unchanged
policy (no upgrade path between versions; delete the local index and
re-back-up) from the bootstrap mechanism that does exist. README (caveat
and roadmap) and AGENTS.md are reworded to match and link there. AGENTS.md
now names the real file to edit and notes that the pre-1.0 disposability
clause expires on tagging.

Policy is unchanged; docs only.

model: claude-opus-4-8
2026-09-21 19:30:38 +00:00