Add hybrid AST/language pipeline contract and validator

This commit is contained in:
Bill
2026-02-23 19:30:39 -07:00
parent f4f9605816
commit 1a761c62e5
4 changed files with 229 additions and 0 deletions

View File

@@ -51,6 +51,19 @@ Example:
- Preserve all run artifacts under `logs/taskitem_runs/`
- Preserve JSONL append-only history under `training_data/lora/`
## Hybrid Contract Gate
To reduce C++-first bias while keeping language-first and AST-first workflows available,
run the hybrid contract validator after sprint execution:
`tools/mcp/validate_hybrid_pipeline_contract.sh --start <N> --end <M>`
Use strict blocking mode for enforcement:
`tools/mcp/validate_hybrid_pipeline_contract.sh --start <N> --end <M> --strict --enforce-non-cpp`
Reference: `docs/HYBRID_PIPELINE_CONTRACT.md`
## Handoff Requirement
When finishing a batch, agents must report: