Skip to content

feat(schema): read-only V2 core and Guard layout inventory - #41

Open
servicememeai wants to merge 3 commits into
devfrom
fix/upload-guard-schema-20261021
Open

servicememeai wants to merge 3 commits into
devfrom
fix/upload-guard-schema-20261021

Conversation

@servicememeai

Copy link
Copy Markdown

Scope

  • Provide FreshSchema.inspect() with metadata-only V2 three-table/optional-Guard inventory.
  • Distinguish current, missing, incompatible, and historical migration shapes for ACL, group mappings, and cf_edit_guard, plus report extra cf_* tables.
  • Add regression tests against the known 029/042/006 legacy schemas, missing active index and wrong path_hash type; ensure the inventory issues SELECT only.

Safety

No DDL, no modification of migration ledgers, no user-data scanning. FreshSchema.install continues to reject unreviewed/mixed tables, rather than automatically converting them.

Dependencies

The Docker bootstrap/CLI companion PR will consume this read-only inspection API. It should be merged before the Docker PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant