Repository navigation
Description
Observed during a live 4-issue sequant run (parallel, 3 concurrent). Issue #850 finished — body cell read completed, all three phase glyphs were ✓ — but the header clock kept climbing: phase 3/3 • 24:07, then 25:09 a minute later, and it never stopped.
The Ink TUI's elapsed timer has no terminal condition. src/ui/tui/ElapsedTimer.tsx:8 accepts only startedAt and always measures against a live 1 Hz Date.now() tick:
export function ElapsedTimer({ startedAt }: { startedAt?: Date }): JSX.Element {
const [now, setNow] = useState(() => Date.now());
useEffect(() => {
const id = setInterval(() => setNow(Date.now()), 1000);
return () => clearInterval(id);
}, []);
if (!startedAt) return <Text>--:--</Text>;
const secs = Math.max(0, Math.floor((now - startedAt.getTime()) / 1000));IssueBox.tsx:65 passes only state.startedAt, so a passed or failed issue's header counts up forever while the body cell says completed.
IssueRuntimeState.completedAt already exists (run-state.ts:50) and is already populated — set at run-orchestrator.ts:556 (and :521 on failure) and carried into the snapshot at run-orchestrator.ts:1688. The TUI simply never reads it; its only consumer today is the sort in row-cap.ts:95.
This is a parity gap with the plain renderer, which freezes correctly: run-renderer.ts:1236 uses (state.completedAt - state.startedAt) for a done issue and :1249 uses (state.completedAt ?? this.now()) for a failed one.
Not a regression. git log -p --follow src/ui/tui/ElapsedTimer.tsx shows the component shipped this way in #542 and was untouched by #699 and #712.
Measured behavior
Probed against the real components with ink-testing-library and fake timers before writing these ACs. Four results shaped the design:
1. Reproduced. A passed issue with startedAt set renders phase 3/3 • 25:09, and five seconds later phase 3/3 • 25:14.
2. The fix must react to completedAt appearing mid-life, not just on mount. Driving a single issue from running to passed — same React instance, since key is issue.number — the header went 25:09 → 25:10 → 25:14. An effect with [] deps would never re-run for that transition, so the freeze has to happen in render (completedAt?.getTime() ?? now) rather than by tearing down the interval on mount-time state.
3. Clearing the interval saves nothing on its own. App.tsx:34 polls getSnapshot at 10 Hz — 31 calls over 3 seconds, measured — and cloneIssueState returns a freshly-allocated object every poll, so setSnapshot re-renders the whole tree regardless of what any leaf timer does. The docstring's "tick-driven re-renders are scoped to this leaf" rationale is already defeated by the root poller. This makes the per-issue interval redundant rather than harmful: App already owns a 1 Hz now tick and already passes now into IssueBox (App.tsx:93), so ElapsedTimer can read that prop and drop its own timer entirely — one clock for the run instead of one per issue.
4. A naive fake-timer test would pass vacuously. vi.advanceTimersByTime(5000) fires the interval but does not flush ink's render — the frame is byte-identical afterward, so an assertion that the header stopped moving succeeds even against today's broken code. Only await vi.advanceTimersByTimeAsync(...) flushes. Any test for this must use the async form.
Also confirmed while investigating, and not a defect: the two other completed cards had collapsed into ✔ 2 done. That is the #699 row cap working as designed. selectVisibleIssues with 4 issues returns exactly visible=[844, 850], rolledUp=2 for any terminal height from 37 to 47 rows, which reproduces the reported frame.
Acceptance Criteria
- AC-1:
ElapsedTimeraccepts an optionalcompletedAtand, when set, renders the frozencompletedAt - startedAtduration instead of measuring against the current time. - AC-2:
IssueBoxpassesstate.completedAtthrough toElapsedTimer, so apassedorfailedissue's header duration stops advancing. - AC-3: The freeze is computed during render, so an issue that transitions from
runningtopassedon the same mounted component freezes at the transition without remount. - AC-4:
ElapsedTimertakes the 1 HznowthatAppalready owns and passes toIssueBox, and no longer creates its own per-issue interval. - AC-5: A running issue's timer still advances once per second, and an issue with no
startedAtstill renders--:--. - AC-6: The frozen duration equals the plain renderer's duration for the same issue, in the TUI's own
MM:SSformat — the two renderers format differently on purpose (24m 7svs24:07), so this is a duration match, not a string match. - AC-7: Tests use
await vi.advanceTimersByTimeAsync(...)rather than the sync form, and a comment records why: the sync form does not flush ink's render, so the frozen-header assertion would pass against unfixed code. - AC-8: The frozen-timer test is mutation-verified by reverting the
completedAtprop inIssueBoxand confirming exactly that test fails, with the result recorded in the commit message or PR body.
Activity
admarble commentedon Jul 29, 2026
The run this came from has now finished, and its log quantifies the defect against real data rather than a synthetic fixture. Run
21feec76-20e3-468a-8393-cd43cab03df7, four issues at 3-way concurrency.The final frame put two contradictory durations for #850 on screen at once — the box header, and the summary table printed directly beneath it:
The header's own phase glyphs sum to 20m 02s, and the log records
totalDurationSeconds: 1203.303(20m 3s). The header said 35:59 — an overstatement of 15m 56s, or 79%.The drift is exactly the wall-clock gap between an issue finishing and the run ending, which is what a timer with no terminal condition predicts. #844 confirms the mechanism from the other direction: it finished last, so its header had no time to drift, and it reads
21:43against a logged 1302.296s (21m 42s) — correct to the second.Reconstructing from the timestamps: run start
15:32:29.443, run end16:08:47.777. A header of 35:59 at run end puts #850's start at15:32:48, 19s into the run — consistent with the orchestrator's staggered launch, so the header's start anchor is right and only the end anchor is missing.This strengthens AC-6. The frozen value is not merely "some stable number" — it must equal the per-issue duration already shown in the summary table and stored in the log, since the user sees all three at once.
Two notes for whoever picks this up:
The log is perishable evidence.
.sequant/logsheld 98 files against the 100-file rotation cap when I pulled these numbers, so the source run log may be gone within a couple of runs. Every figure above is transcribed here.Separately, the
SUMMARY · 4 issues · 1h 12mline in that same frame is wrong too — the run took 36m 18s. That is an unrelated defect in a different code path, filed as #867. Worth knowing about only so the two aren't conflated while fixing either one.admarble commentedon Jul 29, 2026
Implementation context, checked so the fix does not have to be scoped twice.
There are two producers of
IssueRuntimeState, and both already setcompletedAtcorrectly.RunOrchestratoris the obvious one (run-orchestrator.ts:556on success,:521on failure, cloned at:1688). The second isready-tui-adapter.ts, which drives the same Ink components forsequant readyafter #699 moved that command onto the boxed TUI. ItsmarkDonesetsthis.completedAt = new Date()unconditionally at:125— before the pass/fail branch, so both terminal statuses get a stamp — and exposes it in the snapshot at:143.That means fixing
ElapsedTimerandIssueBoxfixessequant readyat the same time, with no second wiring pass. Worth stating explicitly because this repo has bitten us before on exactly this shape, where two producers of the same config diverged because only one was guarded. Here they agree, and a reviewer should confirm they still do rather than assume it.Where the tests belong.
IssueBox.test.tsxandApp.test.tsxalready exist and useink-testing-librarywith alastFrame()assertion style.App.test.tsxhas anissue(number, status)helper that already setscompletedAtforpassed— it is used only for row-cap sort ordering today, so it is a ready-made fixture for the frozen-timer test. Note the file lives undersrc/ui/tui/with no.integration.infix, which puts it in theunitproject at a 5stestTimeout; the async timer advances the frozen-timer test needs are cheap, but do not let it grow into anything that sleeps.One caveat on
sequant readyspecifically.markDonealso flips the snapshot'sdoneflag, which unmounts theApp. So on that path the frozen value matters for the final rendered frame rather than for an indefinitely-climbing counter — thesequant runcase in the report above is the one where the timer visibly runs away, because other issues keep the TUI mounted for the rest of the batch.admarble commentedon Jul 29, 2026
#866 — fix(tui): completed issue box keeps counting — ElapsedTimer never freezes at completedAt
Open · bug, ui
────────────────────────────────────────────────────────────────
→ PROCEED — Verified against main — ElapsedTimer accepts only startedAt and IssueBox.tsx:65 passes only state.startedAt
Commands:
sequant run 866 -Q --phases spec,exec,qa
spec → exec → qa · 8 ACs
Flags:
-Q two components plus a prop-threading change through App, with a mutation-verified test gate
--phases spec,exec,qa suppress the browser test phase the ui label auto-inserts (phase-mapper.ts:201)
Considered:
--testgen the second comment names the target files, the ready-made issue() fixture and the required async timer form — generated stubs would duplicate that
────────────────────────────────────────────────────────────────
⚠ ui label auto-inserts the browser test phase, which does not apply to an Ink terminal TUI — phases pinned explicitly instead
⚠ src/ui/tui/ has no .integration. infix, so these tests run in the unit project at a 5s testTimeout — keep the async timer advances cheap
────────────────────────────────────────────────────────────────
admarble commentedon Jul 29, 2026
#866 — fix(tui): completed issue box keeps counting — ElapsedTimer never freezes at completedAt
Open · bug, ui
────────────────────────────────────────────────────────────────
Supersedes prior assess from 2026-07-29 (PROCEED)
→ PROCEED — Re-verified against main — ElapsedTimer still accepts only startedAt (ElapsedTimer.tsx:8) and IssueBox.tsx:65 still passes only state.startedAt
Commands:
sequant run 866 -Q --phases spec,exec,qa
spec → exec → qa · 8 ACs
Flags:
-Q two components plus a prop-threading change through App, with a mutation-verified test gate
--phases spec,exec,qa suppress the browser test phase the ui label auto-inserts (phase-mapper.ts)
Considered:
--testgen the implementation-context comment already names the target files, the ready-made issue() fixture and the required async timer form — generated stubs would duplicate that
────────────────────────────────────────────────────────────────
⚠ ui label auto-inserts the browser test phase, which does not apply to an Ink terminal TUI — phases pinned explicitly
⚠ src/ui/tui/ has no .integration. infix, so these tests run in the unit project at a 5s testTimeout — keep the async timer advances cheap
⚠ Same-run sibling of #867 but a different code path (Ink TUI vs run-display) — safe to run in parallel, do not conflate while fixing either
────────────────────────────────────────────────────────────────
admarble commentedon Jul 29, 2026
📋 Plan (spec)
Complexity: Standard (8 ACs, 1 directory) · Scope: ✅ SCOPE_OK
Root cause is fully diagnosed in the issue:
ElapsedTimermeasures against a live 1 HzDate.now()with no terminal condition, so apassed/failedissue's header counts up forever while the body cell readscompleted. Fix = freeze oncompletedAtin render, and readApp's existingnowinstead of a per-issue interval.Acceptance Criteria (verification)
ElapsedTimeracceptscompletedAt; renders frozencompletedAt − startedAtwhen set. (Unit)IssueBoxpassesstate.completedAtthrough (IssueBox.tsx:65). (Unit)completedAt?.getTime() ?? now), so a same-mountrunning → passedtransition freezes without remount. An[]-dep effect can't catch it. (Unit)ElapsedTimertakesApp's 1 Hznowprop; drops its ownuseState/useEffect/setInterval(the leaf interval is already redundant — the 10 Hz root poller re-renders the tree regardless). (Unit + inspection)startedAtstill renders--:--. (Unit)run-renderer.ts:1234) — a duration match (24:07↔24m 7s), not a string match. Oracle = the summary-table / log value. (Unit)await vi.advanceTimersByTimeAsync(...)(sync form doesn't flush ink → vacuous pass), with a comment recording why. (Test discipline)IssueBoxcompletedAtprop, confirm exactly that test fails, record in commit/PR. (Manual)Implementation Plan
Phase 1 — component (
src/ui/tui/)ElapsedTimer.tsx: signature →{ startedAt?: Date; completedAt?: Date; now: number }; drop the hooks/interval;const end = completedAt?.getTime() ?? now;; update the now-obsolete "scoped to this leaf" docstring.IssueBox.tsx:65: passcompletedAt={state.completedAt}andnow={now}(nowis already anIssueBoxprop).Phase 2 — tests
3. Fake timers, drive with
advanceTimersByTimeAsynconly (+ AC-7 comment).4. Frozen / transition / running /
--:--/ parity specs (AC-1,2,3,5,6).5. Mutation-verify the frozen test (AC-8).
Design Notes
issue.number) would never re-fire a[]-dep effect.completedAt − startedAtdone /completedAt ?? nowfailed).formatSinceActivity(now, …)is correctly gated behindstate.currentPhase(active only) — no sibling freeze bug.SUMMARYheader (fix(cli): post-run SUMMARY duration sums per-issue times instead of wall clock — 4-issue parallel run reported 1h 12m for 36m 18s #867) — out of scope.Recommended Workflow
exec → qa · quality loop disabled · skip testgen (bug fix, subtle hand-written tests) · skip browser test (ink terminal UI, not web).
Label: add
no-browser-test.admarble commentedon Jul 29, 2026
/exec Progress Update
PR: #869 ✅ Created
AC Coverage
ElapsedTimeracceptscompletedAt, freezescompletedAt - startedAtIssueBoxpassesstate.completedAtthroughrunning → passedfreezes without remountnow; per-issue interval removedstartedAt→--:--MM:SSawait vi.advanceTimersByTimeAsync(...)+ rationale commentFiles changed
src/ui/tui/ElapsedTimer.tsx— newcompletedAt/nowprops; interval dropped; freeze in rendersrc/ui/tui/IssueBox.tsx— passescompletedAt+nowtoElapsedTimersrc/ui/tui/ElapsedTimer.test.tsx— new unit tests (AC-1/3/5/6)src/ui/tui/App.test.tsx— App-level frozen-header test (AC-2/4/7/8)CHANGELOG.md— Fixed entryMutation verification (AC-8)
Reverting
IssueBoxto drop thecompletedAtprop makes exactly one test fail:Restoring the prop returns the full TUI suite to green (41 passed).
Checks
npm run build✅ ·npm run lint✅ (0 warnings) ·npx vitest run src/ui/tui/ …✅ 54 passedQuality Plan Alignment
N/A — no
/specquality plan comment on this issue; ACs were pre-specified in the issue body.admarble commentedon Jul 29, 2026
QA Review for Issue #866
AC Coverage
ElapsedTimeracceptscompletedAt, freezescompletedAt - startedAtElapsedTimer.tsx:24const end = completedAt?.getTime() ?? now;ElapsedTimer.test.tsx"freezes at completedAt - startedAt" asserts 01:30 stays frozen asnowadvancesIssueBoxpassesstate.completedAtthroughIssueBox.tsx:65-69passescompletedAt={state.completedAt}+now={now}useEffect;ElapsedTimer.test.tsx"freezes in render on a running → passed transition" rerenders same instance and gets 00:30 not live 00:45now; per-issue interval removeduseEffect/setIntervalremoved fromElapsedTimer.tsx;App.tsx:48owns the 1 Hz tick,App.tsx:93passesnowtoIssueBox. Grep confirms no interval remains in the componentstartedAt→--:--ElapsedTimer.test.tsxtwo cases:--:--when nostartedAt; 00:05→00:06 on advancingnowMM:SS(completedAt - startedAt)span asrun-renderer.tsstatusHeader; test asserts 1447s →24:07(the issue body's own example)await vi.advanceTimersByTimeAsync(...)+ rationale commentApp.test.tsx:83-88— async form with a 3-line comment explaining the sync form never flushes ink's rendercompletedAtprop inIssueBoxfails exactly one test (App freeze test) —1 failed / 13 passed; restored → 41 TUI tests greenCoverage: 8/8 AC items fully met · Original ACs: 8/8 · Derived ACs: none
CI Status
typecheckvalidate-pluginvalidate-skillsnode-floor-guardbuild (22.x)CI Summary: 4 passed, 1 pending, 0 failed. Diff is not markdown-only (touches
.tsx), so the build-matrix relaxation does not apply —build (22.x)is a gating pending check. No CI-dependent AC in the issue; this is the only merge gate outstanding.Quality Metrics
any)Local:
npm run build✅ ·npm run lint✅ (0 warnings) ·npx vitest run src/ui/tui/✅ 41 passed.Test Coverage Analysis
src/ui/tui/ElapsedTimer.tsxElapsedTimer.test.tsx(5 cases)src/ui/tui/IssueBox.tsxIssueBox.test.tsx+App.test.tsxfreeze test (through IssueBox)Coverage: 2/2 changed source files covered. No critical-path (auth/payment/security) files touched.
Code Review
Strengths:
completedAt?.getTime() ?? nowis the right render-time expression — correctly handles the mid-liferunning → passedtransition (AC-3) that an[]-dep effect could not.Math.max(0, …)clamp preserved, so clock skew (completedAt < startedAt) renders00:00rather than a negative duration.Issues: None.
Suggestions: None blocking.
Test Quality Review
MM:SSframes, not internals--:--, in-render transition, parity all coveredadvanceTimersByTimeAsync(AC-7) so frames actually flush;useRealTimersinfinallyAnti-Pattern Detection
Code patterns: none. No
package.jsonchange → dependency audit N/A. Note: this diff removes asetInterval, reducing per-issue timer churn.Risk Assessment
completedAt < startedAt) which the retainedMath.max(0, …)clamps to00:00. No data or control-flow impact.completedAt < startedAtclamp, but the clamp is unchanged from the original and low-risk.ElapsedTimer's only consumer isIssueBox; no other component renders an elapsed-since-start clock.formatSinceActivity(last-activity stamp) is intentionally live and only renders for a runningcurrentPhase, so it has no parallel freeze bug.run-renderer.tsalready froze correctly — this brings the TUI to parity, not a sibling defect.Trust-Boundary Check
Finding: Clean — the issue body is a genuine bug report with code references; no agent-directed instruction (command/network/file/exfiltration/override) is embedded. The diff implements only the product requirement (freeze the header at completion).
Status: Clean
Behavior-Rule Survival Check
setIntervalinElapsedTimer.tsx)Status: Clean
CHANGELOG Verification
fix(#866))(#866))Result: CHANGELOG requirements met.
Adversarial Re-Read
Findings: No gaps found because — (1) Fixtures: ran the implementation against the issue's own numbers — the frozen-duration test asserts
24:07(the issue body's example) and the App test reproduces "was counting, now frozen" by holding01:30acrossadvanceTimersByTimeAsync(5000); both pass. (2) Evidence audit: the AC-8 claim is a post-fix validation, not a pre-fix repro — I independently re-ran the mutation (dropcompletedAtprop → exactly 1 test fails, restore → 41 pass), so the gate test genuinely bites. (3) Process state: worktree clean, one commit, 0 behindorigin/main; no uncommitted/divergent/stashed state. (4) Sibling sites: cross-file —ElapsedTimerhas a single consumer (IssueBox); intra-file — one duration computation, andformatSinceActivityonly renders for a livecurrentPhaseso it carries no parallel freeze bug. (5) Non-Goals: the issue explicitly rules the✔ 2 donerollup collapse in/out of scope as working-as-designed (#699 row cap); the diff does not touch it, so no silent scope expansion.Status: Clean
Verdict: NEEDS_VERIFICATION
All 8 acceptance criteria are MET — verified against the code, local build/lint/test (41 TUI tests green), and an independent re-run of the AC-8 mutation. Code quality is A+: minimal, correct, well-documented, and a genuine simplification. The only outstanding item is the in-flight
build (22.x)CI leg (a gating pending check;typecheckand all other checks already green). Per QA policy, a gating-pending CI check precludesREADY_FOR_MERGE.This is A+ work — the verdict flips to READY_FOR_MERGE the moment
build (22.x)goes green. Re-run/qa 866 --forceafter CI completes, or merge once the check passes.Documentation
[Unreleased]entry present (fix(tui): completed issue box keeps counting — ElapsedTimer never freezes at completedAt #866)Next Steps
build (22.x)to finish (near-certain pass:typecheckalready green, local build passes)./qa 866 --forceto auto-flip the verdict to READY_FOR_MERGE.admarble commentedon Jul 30, 2026
QA Review — PR #869 (
fix(#866))Verdict: AC_MET_BUT_NOT_A_PLUS. All 8 ACs are literally satisfied and the reported bug is genuinely fixed. One reachable defect is introduced by the fix — the same class of bug (header disagreeing with reality), in the mirror direction — and it should be closed in this PR before merge.
Verified independently against the PR branch worktree at
b853e210:npx tsc --noEmitclean,npm run lintclean,npx vitest run src/ui/tui/ src/commands/ready-tui-adapter.test.ts→ 52 passed (10 files).Finding 1 — BLOCKING: the clock now freezes while the issue is still running (quality-loop recovery)
ElapsedTimeris status-agnostic:end = completedAt?.getTime() ?? now. ButcompletedAtis not exclusively terminal.run-orchestrator.ts:521writesstate.completedAt = new Date()on a non-loop phase failure, and:433flipsstate.statusback to"running"when the next phase starts — without clearingcompletedAt.findOrAppendPhasereuses the slot by name, so this is exactly the #766 quality-loop recovery path thatrun-state.test.ts:99-115already documents (qafails →loopfails →exec/qare-run on iteration 2).Reproduced by driving the real orchestrator through that sequence and rendering the real
App:The header sits at
00:45for the entire duration of iteration 2 — however many minutesexecandqatake — while the body cell correctly readsworking…and the spinner spins. Before this PR that window ticked correctly; the header only misbehaved after terminal completion. So this is a narrow new regression, not a pre-existing one. It self-corrects at final completion (:556overwritescompletedAt), so only the recovery window is affected.This also breaks the AC-6 parity claim in the running case. The plain renderer is immune because it branches on status first:
run-renderer.ts:1259-1263computes a running issue's elapsed asthis.now() - phase.startedAtand never readscompletedAt. Only itsdone/failedbranches consultcompletedAt. The TUI now consults it unconditionally.Suggested fix — gate on terminal status in
IssueBox(the adapter layer, mirroring the plain renderer's status branch) rather than teachingElapsedTimerabout status:A regression test belongs in
run-state.test.ts's#766describe or alongside the new App freeze test: afterprogress(1, "exec", "start", { iteration: 2 }), assert the header advances across anadvanceTimersByTimeAsyncrather than holding. Worth deciding separately whetherapplyProgressEvent'sstartbranch should also clearstate.completedAt— the snapshot currently exposesstatus: "running"alongside a populatedcompletedAtto every consumer, androw-cap.ts:95sorts on that field.AC-by-AC
completedAtfreezes durationElapsedTimer.tsx:24; unit test asserts01:30holds across twonowvalues 9 min apartIssueBoxpassescompletedAt:521/:556write →cloneIssueState:1688carries →App.tsx:93→IssueBox.tsx:65→ElapsedTimer. Thefailedhalf of the AC is untested but works — the implementation is status-agnostic and:521populatescompletedAton failureuseState+[]-dep-effect implementation renders00:45where the test demands00:30, so the test does kill that mutantnow, no own intervaluseEffect/useStateremoved;now: numberis a required prop so it cannot silently fall back. No test gates the absence of an interval — the running-timer test would pass either way. Structural, acceptablestartedAt→--:--App's 1 Hz tick confirmed atApp.tsx:46-49donecase (run-renderer.ts:1236uses the samecompletedAt - startedAt, same second-flooring). Two gaps: parity breaks in the running case (Finding 1), and the test hardcodes"24:07"without referencing the plain renderer orformatElapsedTimeat all — it would stay green if the plain renderer changed its freeze semantics, which is the only thing AC-6 is aboutadvanceTimersByTimeAsync+ comment01:30; async advance moves to01:40. The comment's rationale is accuratecompletedAtprop fromIssueBox→ `1 failedNote on AC-8's kill mechanism. The mutant dies at
App.test.tsx:81— the assertion beforeadvanceTimersByTimeAsync, becausestartedAtis an absolute epoch (new Date(1_000_000)) and the unfixed path renders29756227:04immediately. So the post-advance assertion and the async form are belt-and-braces here, not what kills the mutant. That's a stronger fail-fast signal, but it means the test doesn't actually exercise the property AC-7's comment describes. MakingstartedAtclock-relative (new Date(Date.now() - 90_000)) moves the kill to the post-advance assertion and makes the async form load-bearing — I verified that variant passes vacuously with the sync form and fails correctly with the async form.Also checked, no issues
last activity Xs agostamp is inside thestate.currentPhase ? …branch, andrun-orchestrator.ts:508setscurrentPhase = undefinedon phase end, so a completed issue rendersstatusLineinstead. Nothing else inIssueBoxmeasures against a live clock.ElapsedTimerconsumers —IssueBoxis the only one, so the newly-requirednowprop can't strand a caller.formatSinceActivity(same module) is untouched.**/*.test.tsxis in theunitvitest project and CI runsnpm test. The new tests are fast and in-process, well under the unit project's 5 s timeout.Unreleased → Fixed.finally.fix(#866): don't freeze a running issue's clock; harden the AC-4/6/8 …
test(#866): AC-6 parity gate must read the post-completion repaint
chore: merge main into feature/866 (#868 wall-clock summary)
fix(#866): freeze TUI ElapsedTimer at completedAt instead of counting…