v1.11.0 — MQ Stack Contract Gate
What's new
mq-agent stack contract-check
Cross-repo contract manifest validation. Reads .mq/repo-contract.json from each mq-stack repo and checks:
- Contract file exists (DRIFT if missing)
- JSON is valid with all required fields (BLOCKED if not)
contract.versionmatches the repo'sVERSIONfile (DRIFT if not)- Working tree state (REVIEW if dirty/non-main — does not fail gate)
Status model: BLOCKED > DRIFT > REVIEW > READY. Exits 1 on any BLOCKED or DRIFT.
Schema
schemas/mq_stack_repo_contract.schema.json — JSON Schema for .mq/repo-contract.json.
Contract manifests
Initial .mq/repo-contract.json deployed to all 8 MQ stack repos.
Tests
19 new tests — 408 total.
Full stack pipeline is now:
mq-agent stack sweep
mq-agent stack report
mq-agent stack alert
mq-agent stack release-check
mq-agent stack release-notes
mq-agent stack contract-check ← new