Verify control-flow invariants and document the development contract

This commit is contained in:
Codex committed 2026-11-23 19:51:12 +08:00
1 parent 71d29261a8
commit 1dc088b602
22 files changed
+269 -80

No files matched your search

+6
View File
@@ -23,6 +23,12 @@ steps:
# validated by the independent Python consumer and the public schema.
- cargo run --quiet --locked -p marqdo-cli -- run tests/consumers/fixtures/execution-events/basic.mq.md --event-stream jsonl > /tmp/execution-events.jsonl
- python3 tests/consumers/execution_events_consumer.py /tmp/execution-events.jsonl
- ./target/debug/marqdo check examples/control-flow.mq.md --emit /tmp/control-analysis.json
- ./target/debug/marqdo run examples/control-flow.mq.md --event-stream jsonl --trace-file /tmp/control-trace.json > /tmp/control-events.jsonl
- python3 tests/consumers/analysis_v3_consumer.py /tmp/control-analysis.json
- python3 tests/consumers/validate_protocols.py /tmp/control-analysis.json /tmp/control-trace.json examples/tool-unknown-name/tool.json
- python3 tests/consumers/trace_consumer.py /tmp/control-analysis.json /tmp/control-trace.json
- python3 tests/consumers/execution_events_consumer.py /tmp/control-events.jsonl
- cargo test -p marqdo-cli --test docs_consistency
- cargo test -p marqdo-cli --test architecture_boundaries
- python3 -m unittest discover -s tools/ci -p "test_*.py"