You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
primitives: successive valid manifests admit a cumulative table and store name collision #333
Omitting a table in a later manifest does not delete it. Adding a file store under its name nonetheless succeeds, leaving two resource kinds under one cumulative discovery name. The product says tables and stores cannot share a name.
Reproduction
Publish/provision a documents table.
Submit a new individually valid manifest with no tables and a documents file store.
Observe version 2 succeed and inventory contain documents in both tables and stores.
The real provisioner reproduced this on PGlite and native PostgreSQL. The independent reviewer then exercised actual Content.publish, Patches preflight/record and filesystem storage: version 2 committed and activated the store-only manifest while retaining both inventory entries. Reverse store-to-table reuse also reproduced.
Controls rejected a same-manifest collision, preserved a row through omission/same-kind reintroduction, and admitted a fresh store name without collision. This is publication-service proof, not HTTP/CLI/browser proof. No data loss is claimed. The inspected discovery handler prefers the old table, but that downstream result was not separately executed.
Cause and smallest change
Manifest validation compares only one version. Tables.diff compares new stores with old stores and new tables with old tables, never the opposite cumulative namespace.
Before DDL, refuse an incoming store name in snapshot.tables and an incoming table name in snapshot.stores. Use the existing not_additive error with a fresh-name remedy. Keep same-manifest validation and preservation of omitted data. Product contract.
Audited at ef3e790. Found and independently checked by separate GPT-6 Astra agents in Oh My Pi, using only ordinary offline workflows and synthetic data.
Activity
fix(primitives): a table and a file store can no longer share a name …
fix(primitives): a table and a file store can no longer share a name …