Skip to content

Integration scenarios: PR-scoped specs ​

Testing-plan row T2, run at commit 08fba802 on 2026-11-19. Each scenario drives the real runtime and the real verb over two real git checkouts, with GitHub stubbed.

the-loop scenarios --glob cli/tests/test_pr_spec_integration.py --format markdown:

#FeatureScenarioRequirementLocation
1PR-scoped specsa cross-repository PR cannot start implementation without a recorded PR specrequirements.md R1.1, R4.1, R4.5cli/tests/test_pr_spec_integration.py:152
2PR-scoped specsa changed chain blocks the PR at reviewer-briefing until it is re-derivedrequirements.md R5.1, R5.2, R5.3cli/tests/test_pr_spec_integration.py:186
3PR-scoped specsa single-PR work item walks past pr-spec untouchedrequirements.md R1.2; NFR single-repository unaffectedcli/tests/test_pr_spec_integration.py:229
4PR-scoped specsunder never mode the outer implementation holds until every PR has a recordrequirements.md R1.4, R1.6cli/tests/test_pr_spec_integration.py:250
5PR-scoped specsa private origin will not publish a PR spec to a public repository without an authorized grantrequirements.md Security AC1, AC2cli/tests/test_pr_spec_integration.py:279

cd cli && uv run python -m pytest -q tests/test_pr_spec_integration.py: 5 passed in 0.51s.

These scenarios cover behaviour built in tasks 7 and 9, so they passed on first run.

Released under the MIT License.