Skip to content

[EPAC-2056]: author .evidence/cuj-hansard-chat-session.json (4-screenshot XCTest plan)#591

Merged
riddim-developer-bot[bot] merged 1 commit into
mainfrom
symphony/epac-2056-author-evidence-cuj-hansard-chat-session-json-4
May 25, 2026
Merged

[EPAC-2056]: author .evidence/cuj-hansard-chat-session.json (4-screenshot XCTest plan)#591
riddim-developer-bot[bot] merged 1 commit into
mainfrom
symphony/epac-2056-author-evidence-cuj-hansard-chat-session-json-4

Conversation

@riddim-developer-bot

Copy link
Copy Markdown
Contributor

Why

Defines the Hansard Chat Session CUJ in machine-readable form — the central regression artifact for the cyclomatic-complexity refactor project. The JSON plan describes the exact user journey (launch → sitting overview → chat thread → scroll) that must not break across every future refactor in this area.

What changed

  • New file .evidence/cuj-hansard-chat-session.json with runner: xctest
  • launch.environment seeds fixture 45-1-HAN050-E (Tuesday November 4, 2025 — contains Carney + Poilievre attributed speeches and the first intervention by Hon. Randeep Sarai)
  • 4 screenshot points: 00-home-baseline.png, 01-sitting-day-overview.png, 02-chat-thread-top.png, 03-chat-thread-scrolled.png
  • 13-step sequence: launch → anchored wait (Home) → screenshotopenURL → anchored wait (SittingView) → screenshottap → anchored wait (speech bubble) → seconds waitscreenshotswipe up → seconds waitscreenshot
  • All navigation-gating waits use anchored targets; fixed-seconds waits are post-action settle delays only (≤1.5s)
  • First subject of business in HAN050 is "Foreign Affairs" (not "Statements by Members") — tap target and wait anchor updated accordingly; noted in _doc
  • Existing .evidence/pr-542.json and .evidence/regression-parliament-calendar.json are not modified

In-scope cyclomatic PRs exercised

Screenshot PR Code path
01-sitting-day-overview.png #543 XMLBro.parseXML parsed Hansard XML → subjects visible
01-sitting-day-overview.png #546 Fetch.ingestHansard ingest path persisted data into store
02-chat-thread-top.png, 03-chat-thread-scrolled.png #548 HansardSpeakerParser speaker name + party tag on each bubble

Verification

  • No app code changed; no build required.
  • evidence CLI not present on PATH in this environment; schema validation (evidence capture-pr --plan .evidence/cuj-hansard-chat-session.json --before-ref HEAD --after-ref HEAD --pr 542 --repo RiddimSoftware/epac --output /tmp/plan-validate) could not be run locally. JSON is structurally consistent with regression-parliament-calendar.json (same top-level shape; xctest-specific fields tap, anchored wait, swipe verified against Evidence package source at /Users/sunny/code/evidence/Sources/Evidence/EvidencePlanRunner.swift).
  • Existing plans unmodified: git status .evidence/pr-542.json .evidence/regression-parliament-calendar.json → clean.

Resolves EPAC-2056

Reviewer-Boundary: review-only

@riddim-developer-bot riddim-developer-bot Bot added the autonomous Enrolled in prconverged daemon for automated review and merge label May 25, 2026
@riddim-developer-bot
riddim-developer-bot Bot enabled auto-merge (squash) May 25, 2026 17:34
@riddim-developer-bot
riddim-developer-bot Bot merged commit c15cb75 into main May 25, 2026
5 checks passed
@riddim-developer-bot
riddim-developer-bot Bot deleted the symphony/epac-2056-author-evidence-cuj-hansard-chat-session-json-4 branch May 25, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autonomous Enrolled in prconverged daemon for automated review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants