End-to-end scenarios
Work item issue-557, testing-plan activity T4. Run on 2026-11-30 in the work item's checkout.
Every command below was run with THE_LOOP_INSTANCE, THE_LOOP_WORK_ITEM and THE_LOOP_CLI_CONFIG unset. This session runs inside a the-loop daemon, and those variables make about 46 unrelated tests fail on an untouched checkout of main too (poller status, stop-check). They are not set in CI.
The scenario runner walks the shipped outer loop against a fake GitHub. happy-path walks both quiz gates with the new node ids and records. quiz-gates covers the refused tick, the stale spec and the authorized pass. quiz-micro is new: a spec quiz with no questions routes around its gate.
Command
sh
cd cli && uv run python -m pytest -q tests/test_pdlc_e2e_integration.py -vtext
============================== 17 passed in 0.68s ==============================