Repo A DDC Policy and Selftest Gate
Use this skill to run required pre-PR validation in <PRIVATE_REPO_A>.
Workflow
- •Review
AGENTS.md,INSTRUCTIONS.md, and policy manifests before coding. - •Run lint/type gates.
- •Run mesh-ready selftest against
config/device_policy.json. - •Run focused tests for changed modules.
- •Ensure policy/config changes remain documented and intentional.
Required Commands
Run from <PRIVATE_REPO_A> root:
bash
ruff check . mypy repo_a_node python -m repo_a_node --policy config/device_policy.json --selftest config/mesh_ready_selftest.yaml pytest -q
Policy Safety Notes
- •Never hardcode secrets, URLs, or policy overrides.
- •Do not relax canary/redundancy defaults without docs and policy updates.
- •Keep governance boundaries aligned with
BOUNDARIES.md.
Reference
- •
references/gate-checklist.md