Repo C Policy Schema Gate
Use this skill to enforce policy/schema correctness.
Workflow
- •Validate policy files with the CLI.
- •Confirm schema updates remain backward-compatible for consumers.
- •Run lint/tests for affected policy and schema code.
Core Commands
Run from <PRIVATE_REPO_C> root:
bash
python -m tools.policy_validate policies/repo-c_policy.yaml python -m tools.policy_validate policies/device_policy.json ruff check . pytest -q
Output Requirements
- •No policy validation failures.
- •Any schema change includes matching test updates.
- •Policy docs reflect new required/optional fields.
Reference
- •
references/policy-files.md