Skip to content

Integration scenarios (T6, issue-475) ​

Run on 2026-10-06 at b5c1154, with the session's env vars removed (see verification.md). The harness runs the router, the dispatcher and the session registry in-process, with FakeJiraClient and the fake tmux runner.

text
$ cd cli && uv run python -m pytest -q tests/test_jira_integration.py
...........                                                              [100%]
11 passed in 2.22s

Scenarios (Jira rows) ​

From the-loop scenarios --root <repo> --glob 'cli/tests/test_*_integration.py' --format markdown. The listing has 680 rows in all, and these 11 are Jira's. All six scenarios the plan names are among them (rows 368, 369, 370, 375, 376 and 377).

#FeatureScenarioRequirementLocation
368Jira as a work-item sourcean authorized Jira comment resumes the work item's sessiondocs/specs/issue-475/requirements.md#R5.3cli/tests/test_jira_integration.py:212
369Jira as a work-item sourcethe same Jira comment by webhook and by poll is delivered oncedocs/specs/issue-475/requirements.md#R6.4cli/tests/test_jira_integration.py:246
370Jira as a work-item sourcea Jira phase-selection checklist ticked in place is read at executedocs/specs/issue-475/requirements.md#R5.5cli/tests/test_jira_integration.py:325
371Jira as a work-item sourcean unlisted Jira user's execute leaves the gate waitingdocs/specs/issue-475/requirements.md#R7.2cli/tests/test_jira_integration.py:363
372Jira as a work-item sourcea gate answer given on Slack advances a Jira work item's gatedocs/specs/issue-475/design.md#c8--ingress-poll-provider-webhook-doorbell-allow-listcli/tests/test_jira_integration.py:392
373Jira as a work-item sourcearming a Jira ticket is a label; starting it is a persondocs/specs/issue-475/design.md#security-design (abuse case 5)cli/tests/test_jira_integration.py:445
374Jira as a work-item sourcea Jira comment reaches the session as untrusted datadocs/specs/issue-475/design.md#security-design (abuse case 10)cli/tests/test_jira_integration.py:478
375Jira as a work-item sourcea PR naming a registered Jira key routes to the Jira work itemdocs/specs/issue-475/requirements.md#R8.1cli/tests/test_jira_integration.py:505
376Jira as a work-item sourcefinish-tasks transitions the Jira ticket to Donedocs/specs/issue-475/requirements.md#R3.7cli/tests/test_jira_integration.py:585
377Jira as a work-item sourcethe-loop comment on a Jira ref is recorded on the Jira ticketdocs/specs/issue-475/requirements.md#R8.2cli/tests/test_jira_integration.py:620
378Jira as a work-item sourcethe delivered prompt names Jira and the origin repositorydocs/specs/issue-475/requirements.md#R5.3cli/tests/test_jira_integration.py:655

Deviation: an absolute --root ​

Run as the plan writes it (no --root), the-loop scenarios found nothing. It printed no scenarios found under <another checkout>. A daemon was running on this host, so the command was routed to it, and the daemon resolved the default --root . against its own working directory, not the caller's. Passing the repository's absolute path as --root gives the listing above. This behaviour is older than issue-475, which does not touch commands/scenarios.py. It is noted here, not fixed.

Released under the MIT License.