schema-guardian
Check for producer-consumer contract drift around candidate and witness artifacts and block silent schema changes.
- License 许可
- AGPL-3.0
- 所属仓库
- poppet-t/madelin
- 最近更新
- 2026-04-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- schema-guardian
- description
- Check for producer-consumer contract drift around candidate and witness artifacts and block silent schema changes.
02 资源文件 1
- 参考文档references/audit-checklist.md1.5 KB
03 SKILL.md 正文
schema-guardian
Use this when
- any artifact field may change
- adding, renaming, or reinterpreting fields
- extraction, solver, emitter, or importer may alter schema expectations
- ordering semantics encoded in artifacts may change
- updating validators or typed consumers
Read first
AGENTS.mdcontext/invariants.md- relevant schema files
- relevant producers
- relevant consumers
- relevant smoke scripts
plans/current.md
Steps
- List producers of the touched artifact.
- List consumers of the touched artifact.
- Classify the change as additive, risky, or breaking.
- Write
plans/schema-impact.md. - Refuse silent drift.
Output
- producer list
- consumer list
- compatibility verdict
- required downstream updates
- explicit warning if the change is breaking
Guardrails
- do not approve silent producer-consumer mismatch
- treat ordering semantics changes as schema-impacting unless proven otherwise
- prefer explicit impact notes over implicit compatibility claims
- if the requested task would create silent schema drift, stop and report that explicitly
04 同仓库更多 Skills
witness-plan-contract
Preserve and extend witness_plan.json generation with deterministic ordering and explicit unsupported cases.
witness-bridge-task
Use for changes to the UAFX -> candidate -> SMT -> runtime bridge. Enforces contract preservation, narrow diffs, and validation discipline.
validator-smoke-runner
Run the narrowest correct preflight and smoke validation for the task and summarize what passed, failed, or remains unverified.
task-planner
Turn a request into the smallest safe execution plan with explicit constraints, files, validation, and done criteria.
target-pack-design
Add or extend a Madelin target pack with minimal contracts, fixtures, and conservative support claims.
subsystem-fixture-generation
Create conservative fixtures for new subsystem packs without inventing semantics or widening support claims.