Skip to content

feat(frontmatter): generate v1 schema and verify drift #2280

Closed

Description

@josecelano

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.
  • Selecting or implementing the final Overhaul: Automation Tools and AI Agent Guardrails #2003 architecture.

This issue makes no claim that implementation has started or completed.

Activity

  1. added 14 commits that reference this issue on Sep 22, 2026
  2. 17 remaining items

  3. added 10 commits that reference this issue on Sep 24, 2026
  4. added 3 commits that reference this issue on Sep 24, 2026
  5. self-assigned this
    on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions