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
feat(frontmatter): generate v1 schema and verify drift #2280
Split from #2266 after its mandated first profile-slice boundary review. This follow-up owns only T6.
Scope
Generate a JSON Schema Draft 2020-12 artifact from the canonical Rust v1 types in the frontmatter-validator crate. Track the generated artifact at a documented repository path and provide deterministic, offline regeneration and drift verification. Document the boundary for invariants that cannot be represented by the generated schema.
Acceptance Criteria
The schema is generated from the canonical Rust v1 types in frontmatter-validator; it is not an independently maintained contract.
The generated artifact declares and conforms to JSON Schema Draft 2020-12 and is tracked at a documented repository path.
A documented regeneration command and a drift-verification command run deterministically without network access.
Drift verification fails when the tracked generated artifact differs from the deterministic output.
Documentation states which Rust/domain invariants are unsupported by the generated schema and remain enforced elsewhere.
Focused tests and relevant repository quality checks pass.
Out of Scope
Validator CLI commands, explicit-path discovery, --staged, or whole-tree modes.
Diagnostic rendering, stdout/stderr behavior, or exit-code contracts.
Pre-commit or CI integration, orchestration, shared runners, caches, or policy engines.
Activity
Merge #2287: feat(frontmatter): [#2266] add structural validator model
docs(issues): add issue specification for #2280
Merge #2299: docs(issues): [#2280] add frontmatter schema drift speci…
feat(frontmatter): [torrust#2280] generate v1 schema and verify drift
docs(frontmatter): [torrust#2280] add refactor plan for the schema co…
test(frontmatter): [torrust#2280] own schema test artifacts with TempDir
test(frontmatter): [torrust#2280] cover schema generation and clean d…
test(frontmatter): [torrust#2280] cover schema argument parsing and d…
test(frontmatter): [torrust#2280] cover schema command filesystem fai…
feat(frontmatter): [torrust#2280] exit with code 2 on schema command …
refactor(frontmatter): [torrust#2280] parse schema command arguments …
refactor(frontmatter): [torrust#2280] own the schema artifact encodin…
refactor(frontmatter): [torrust#2280] encapsulate schema artifact I/O…
fix(frontmatter): [torrust#2280] match the schema drift hint to the d…
17 remaining items
refactor(frontmatter): [torrust#2280] encapsulate schema artifact I/O…
fix(frontmatter): [torrust#2280] match the schema drift hint to the d…
docs(frontmatter): [torrust#2280] record the schema command refactor …
docs(frontmatter): record torrust#2280 refactor completion
docs(issues): [torrust#2280] mark spec in progress before PR
docs(issues): [torrust#2280] record AC5 schema presence decision
fix(issues): [torrust#2280] use contract values in spec frontmatter
docs(frontmatter-validator): [torrust#2280] link schema guide and jus…
docs(issues): [torrust#2280] re-verify manual scenarios against final…
docs(issues): [torrust#2280] record final reviews and parity test design
Merge torrust#2325: feat(frontmatter-validator): [torrust#2280] gener…
chore(issues): archive closed issue #2280 spec
Merge #2331: chore(issues): archive closed issue #2280 spec