Commit Graph

64 Commits

Author SHA1 Message Date
alan ddc70488a5 test(app): run summary hashes use the bundled monospace family 2026-10-23 14:55:16 +01:00
alan 2eda713014 fix(app): an in-flight session export repair stays pending across remounts, as the web 2026-10-23 14:32:04 +01:00
alan 870bda1789 fix(app): visit pane title, tabs and field card share the content inset 2026-10-23 13:28:57 +01:00
alan 841ec1d34a fix(app): run decision is the web's full-width waiting banner 2026-10-23 13:24:04 +01:00
alan f19b7a85a8 feat(app): run detail leads with the web's status kicker 2026-10-23 13:06:57 +01:00
alan dbcc2d1ca0 feat(app): run rows lead with the web's coloured status glyph and meta line 2026-10-23 13:00:51 +01:00
alan 228ba12a39 test(app): run tab alignment asserts the label position 2026-10-23 12:50:42 +01:00
alan 1061b4460d fix(app): run detail tabs line up with the header inset 2026-10-23 12:48:38 +01:00
alan 7ad183cf89 fix(app): run actions share one compact native style, as the web's run-action buttons 2026-10-23 12:47:05 +01:00
alan a51dea0924 fix(app): runs attention action shares the filter toolbar row 2026-10-23 01:03:27 +01:00
alan fd0d67762e test(app): preserve list position on refresh 2026-10-22 23:46:37 +01:00
alan 94d3d9ee60 merge(app): bring main into runs-pipeline-url; main's filter menu supersedes the lane's pipeline menu 2026-10-22 22:21:45 +01:00
alan 774372da10 merge(app): land runs-day-groups 2026-10-22 22:06:06 +01:00
alan 8ff3b3f22e wip(app): runs-pipeline-url (retained from the cancelled overrun lane) 2026-10-22 21:59:06 +01:00
alan ebf86a31fb wip(app): runs-day-groups (retained from the cancelled overrun lane) 2026-10-22 21:59:06 +01:00
alan dc56795cfd wip(app): runs-filter-menu (retained from the cancelled overrun lane) 2026-10-22 21:59:06 +01:00
alan cf6da4acaa merge(app): land changes-paging 2026-10-22 16:15:50 +01:00
alan 2d1cd743ee fix(app): keep a search selection one-shot and always reach Summary
A retired or unknown field hit now selects the plain Summary instead of
leaving an open visit pane in place, matching the browser's searchFieldTab
and Android. The resolved target is a sealed Summary/visit value, so the
field mapping lives in one place.

An unapplied request is dropped when the shell leaves the run it names, so
Backing out of a loading detail no longer replays the selection on a later,
unrelated visit. Search/Templates/Schedules pages above the run keep it.
2026-10-22 16:03:18 +01:00
alan 9532ecddcf feat(app): page the run Changes surface one recorded visit at a time
The run-wide header, note, filter and matched-path counter still describe
every visit; below them Previous/Next move through the recorded visits in
run order without wrapping, and the shown visit keeps its own stage and
Visit N heading. A single recorded visit renders no pager.
2026-10-22 15:56:30 +01:00
alan 133df9301d feat(app): select a search hit's recorded run section or visit 2026-10-22 15:35:19 +01:00
alan 4c801efe36 merge(app): land runs-toolbar 2026-10-22 15:07:11 +01:00
alan 535dee0805 feat(app): compact runs filter and sort toolbar
Replace the full-width runs dropdowns and status chips with web-shaped
controls: a Material filter popup with checked statuses and triggers, a
sort menu, and removable applied-filter chips; Cupertino gets a compact
Filter/Sort row plus one action sheet with live check marks. Add
RunsController.activeFilterCount and clearFilters(), and use the shared
seven-state run vocabulary. Clarify the singular active-filter tooltip.
2026-10-22 14:20:05 +01:00
alan be6b6239fc feat(app): match the web run detail tabs and summary shape 2026-10-22 14:13:38 +01:00
alan 9344e6d3c0 feat(app): open a run's decision prompt from its URL
A /runs/:id?action=decide route now opens the landed decision prompt once the named detail loads, and only when that detail genuinely awaits a person. A non-waiting run consumes the request without inventing a prompt, and dismissing the prompt leaves the loaded detail. The route flag is forwarded through the existing destination seam; submission, refusal wording and the bounded re-read are shared with the detail's Decide button.
2026-10-22 11:52:22 +01:00
alan 9830312362 merge(app): land artifact-session-repair micro-slice 2026-10-22 11:09:47 +01:00
alan 776afcacea fix(app): offer the session export repair only where the web does
Suppress the export-only repair for a legacy session.html with no recorded
evidence, narrow the identity check to the web's own, and keep the stricter
partial rule for an unverified complete status. Fix the analyzer findings,
add gating/legacy/Cupertino coverage, format, and correct the parity docs.
2026-10-22 10:52:36 +01:00
alan f57d8eeb76 feat(app): open a recorded run visit from its URL
`/runs/:id/stage/:key?visit=N` now selects that stage's N-th recorded
visit in the run detail Timeline, matching the web client's stage-local
visit ordering. A stage key without a visit opens the latest recorded
visit, an out-of-range index clamps to the last one, and a stage with no
recorded visit selects only its Graph node instead of inventing a visit.

Route plumbing carries the query end to end: boot seeds the router from
path and query, the parser reads path plus query, and restore keeps `?`
a query separator instead of percent-encoding it. That also repairs the
existing `?action=decide` and `/runs?pipeline=` URLs.

The Graph node click and the stage route share one sequence-ordered
resolver, so both open the same latest visit.
2026-10-22 10:48:36 +01:00
alan d78712aa77 feat(app): send the recorded session export-only repair 2026-10-22 10:12:45 +01:00
alan 3ee5d0e407 feat(app): finish the visit session export facts
Split the export model/classification from the session wording, add the
no-session, selected-repair and missing-evidence coverage, and update the
parity matrix and R4 note.

The visit probe now passes the scheme name its fixture reads, asserts the
painted theme before capture and re-captures the export states.
2026-10-22 04:43:25 +01:00
alan ddd8eacb1f feat(app): show recorded session export state in visit pane 2026-10-22 03:26:33 +01:00
alan 322f0a066f feat(app): open Changes for the selected visit from its pane
The opened recorded-visit pane gains one native Changes action next to
Back to timeline. It reuses showRunChanges with only that visit's step,
so the pushed page shows that visit's own capture and no run-wide
summary, and a visit without a capture reaches the honest missing-capture
state. The run-level Changes action and its title are unchanged.
2026-10-22 02:50:20 +01:00
alan 88c6e7740b merge(app): land run Summary recorded fields after main 2026-10-22 02:30:01 +01:00
alan 3da570e647 feat(app): show the run's recorded facts in its Summary
Stage, Started, Finished, Duration, Provider/model, Target and Verdict
come from the run reply and the current stage's latest recorded visit.
An absent fact reads Unavailable; tokens and cost keep their Metrics
home.
2026-10-22 02:29:57 +01:00
alan f6575fff11 Merge branch 'main' into flutter/start-pipeline 2026-10-22 02:07:51 +01:00
alan 53a8f668ca feat(app): start a pipeline from the detail view
Native Run action opens the web's prompt/workspace/notify dialog, sends the exact run_pipeline body against the pinned resolved version with one request key per confirmed attempt, keeps refusals in the dialog, reconciles a lost reply by key, and opens only the server-named run through the existing run route with one fresh Runs list read.

Adds a shared failure-reason helper so operators never see Dart runtime prefixes, and records the slice boundary in notes/P3-run.md.
2026-10-22 02:07:49 +01:00
alan f0d621250f feat(app): recorded visit pane in the run Timeline 2026-10-22 02:05:33 +01:00
alan d74e5c501f feat(app): add the Graph tab and recorded-stage selection to run detail 2026-10-22 00:39:42 +01:00
alan 0af62595c4 merge(app): land retry wiring in the native run detail
Conflicts: app/lib/features/runs/ui/run_detail_actions.dart.
Keep main's recorded-artifacts action and the retry branch's spaced,
render-gated Wrap: Rename, Retry, Cancel, then Recorded artifacts.
2026-10-21 22:52:00 +01:00
alan c53dedc544 feat(app): wire retry and restart into the native run detail
Render Retry beside Rename on a stopped failed run under both native
hosts, send only {run_id, request_key} for resume and add
retry_mode=restart for a fresh start, and open the run the accepted
reply names. Keep hidden actions out of the Wrap so native 8/4 dp
spacing is not doubled, and use a literal 2^32 entropy bound because
dart2js evaluates 1 << 32 as 0.

Adds wiring, guard and layout tests, a browser-only key regression and
the retry probe; notes/R2c-wire.md records the checks and limits.
2026-10-21 22:49:26 +01:00
alan df6524c7d9 feat(app): add recorded artifact gallery to the native run detail 2026-10-21 22:34:21 +01:00
alan 76fb2cdd87 merge(app): land native create-only template dialog
# Conflicts:
#	app/test/features/runs/ui/run_changes_action_test.dart
#	app/test/features/runs/ui/run_changes_status_test.dart
#	app/tool/diff_wiring_probe.dart
2026-10-21 21:14:29 +01:00
alan 97d7be55ec fix(app): integrate Changes tests with shared actions gateway 2026-10-21 21:08:14 +01:00
alan b7d5d026f4 fix(app): repair runs test wiring inherited from main
Main's Runs detail now requires the shared gateway, but three inherited
call sites (two Changes tests and the diff wiring probe) still constructed
it without one, and the Cupertino 2x detail test tapped Output before the
reveal scroll had been pumped. Pass the existing fake gateway at each call
site and settle after scrollUntilVisible. No production behaviour changes.
2026-10-21 21:01:09 +01:00
alan d401b9062c merge(app): land recovered Changes navigation and native form menus 2026-10-21 20:49:00 +01:00
alan 77c71eb45e feat(app): finish native run Changes wiring and scaled form menus 2026-10-21 20:48:45 +01:00
alan 1400780ee2 feat(app): expose recorded human decisions in native run detail 2026-10-21 20:18:55 +01:00
alan e20ac9f5a1 feat(app): wire native cancel and track complete port acceptance 2026-10-21 20:04:38 +01:00
alan 3d3ee3a3ab feat(app): wire run rename from the native run detail
Expose the existing RunTitleAction from the real run detail under both native hosts and fold the server's accepted run_detail into the open detail and the matching list row through RunsController, mirroring the web applyRunTitle path. Adds focused wiring/controller tests, a real-composition browser probe and an evidence note. Mobile remains unverified.
2026-10-21 19:16:49 +01:00
alan 6c6db719a7 merge(app): finish retained Runs integration after deadline 2026-10-21 17:26:41 +01:00
alan 35a8aab772 feat(app): compose live Runs with deep links and reconnect retention 2026-10-21 17:26:36 +01:00