chore(docs): delete two stale copies of the forge schema #24
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/delete-db-schema-doc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
Deletes two stale copies of the forge schema and stops the generator writing one back (wish f54927ee, which retires drifted copies of spel's schema across five repos).
docs/db-schema.md(1085 lines): a table-by-table dump of spel's core and compliance schemas, taken from the live DB on 2026-03-09 and never regenerated.forge-registry-auditornames neither file.docs/DATABASE_SCHEMA 2.md: a Finder duplicate from 2025-10-02. It describes aforgedatabase on PostgreSQL 17 + Citus with 41 tables, none of which matches the forge today.extract_db_docs.py: dropsextract_schema_tablesand theschemasection, somake extractcannot bring the copy back. Its header points at thespel-schemaartifact (.../generic/spel-schema/latest/manifest.jsonnames the current version). The event and intent catalogs are registry rows, not schema, and stay.Testing
pytest: 18 passed, 1 xfailed.tools/check_schema_registry.py: OK.Impact Statement
make extractno longer writesdocs/db-schema.md.docs/db-schema.mdshould read thespel-schemaartifact instead.Docs
extract_db_docs.py's header says where the schema lives now.Follow-up, not in this PR: 4
core.lorerows (2 stillfresh) are sourced from the old~/.spel/api-spec/docs/{db-schema,DATABASE_SCHEMA 2}.mdpaths, last synced 2026-04. They should be superseded.