Skip to content

feat: updated schema dialect metadata contract, schema composition, and docs#40

Merged
mindsocket merged 8 commits into
mainfrom
feat/schema_metadata_validation
Mar 9, 2026
Merged

feat: updated schema dialect metadata contract, schema composition, and docs#40
mindsocket merged 8 commits into
mainfrom
feat/schema_metadata_validation

Conversation

@mindsocket
Copy link
Copy Markdown
Owner

@mindsocket mindsocket commented Mar 9, 2026

Summary

  • implement schema dialect V2 metadata contract with top-level ``
  • migrate hierarchy to .hierarchy.levels and remove legacy ._metadata behavior
  • migrate rules to flat rules[] with per-rule category
  • add deterministic metadata composition across `` graph (DFS + root last)
  • enforce single hierarchy provider, aliases merge, and rules merge with explicit override: true
  • add `` rule import support (specific rules and rule sets)
  • update generated metaschema from in-code contract source
  • update docs and agent references for final V2 structure, composition semantics, editor expectations, and migration guidance

Testing

  • bun run lint
  • bun run test
  • bun run test:smoke (known failures in local configured spaces due timeouts/content-level best-practice violations)

Notes

  • breaking changes are intentional per issue direction (no backward compatibility with legacy metadata structure)

@mindsocket mindsocket changed the title feat: schema dialect v2 metadata contract, composition, and docs feat: updated schema dialect metadata contract, schema composition, and docs Mar 9, 2026
@mindsocket mindsocket merged commit e185c2a into main Mar 9, 2026
1 of 2 checks passed
@mindsocket mindsocket deleted the feat/schema_metadata_validation branch March 9, 2026 22:16
@claude
Copy link
Copy Markdown

claude Bot commented Mar 9, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

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