Commit Graph

39 Commits

Author SHA1 Message Date
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 f64cd974b7 merge(app): land run Summary recorded fields 2026-10-22 02:34:49 +01:00
alan e7165f7722 feat(app): deliver live attention notifications and show permission in Settings 2026-10-22 02:33:12 +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 a309d9d571 feat(app): show the live Needs-you bell over the Runs list rows 2026-10-22 00:54:17 +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 97d7be55ec fix(app): integrate Changes tests with shared actions gateway 2026-10-21 21:08:14 +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
alan 56f3e12183 merge(app): bring main into flutter/r2-retry candidate 2026-10-21 15:16:22 +01:00
alan f2643a0ff4 feat(app): add native rename-run action
Native Material/Cupertino prompt seeded from the run's stored title. Only
Save sends set_run_title {run_id, title} with the text untrimmed; typing and
Cancel send nothing, refusals stay verbatim with the draft kept, and only the
accepted run_detail is delivered once.
2026-10-21 15:14:44 +01:00
alan 178f22aec2 feat(app): add native retry and restart action 2026-10-21 15:13:00 +01:00
alan 54493704c1 fix(app): show run action refusals before resyncing 2026-10-21 14:47:59 +01:00
alan faa5866410 feat(app): add deliberate run cancellation action
Port the browser's canCancel rule and cancel_run request into a native
Material/Cupertino confirmation. Opening the prompt or choosing Keep sends
nothing; a refusal stays visible with the server's words and the run is
re-read so the owner always receives server truth. Includes eligibility,
double-submit, disposal and narrow 2x-text tests plus R2b evidence.
2026-10-21 14:41:33 +01:00
alan 42b21b86cd feat(app): add deliberate human-decision action for run detail
Adds HumanDecisionAction plus its native prompt, wording constants and
tests. The action renders only while pendingDecision() reports a genuine
human wait, sends decide_run only after an option is chosen and Confirm
pressed, sends the pending stage/trimmed option/optional feedback, blocks
double submits, shows server refusals verbatim with the draft intact, and
re-reads the run so the owner always receives server truth.
2026-10-21 14:22:29 +01:00
alan 38b7a849a7 Merge branch 'flutter/r1-detail' into flutter/r1-native 2026-10-21 14:21:29 +01:00
alan e14bb67825 feat(app): render run detail with native Material and Cupertino controls 2026-10-21 14:20:43 +01:00
alan 275e4bef90 Merge branch 'flutter/r1-runs-ui' into flutter/r1-native 2026-10-21 14:07:51 +01:00
alan 40aa98e20b feat(app): add native runs list interactions 2026-10-21 14:07:02 +01:00
alan b2b2b56fd3 wip(app): preserve partial runs navigation before native widget slices 2026-10-21 13:56:09 +01:00
alan 4bc95f47be fix(app): isolate runs list and detail request generations 2026-10-21 13:55:47 +01:00
alan 6b8d5ea32e feat(app): complete runs UI candidate 2026-10-21 13:51:07 +01:00
alan 774d5d78cc feat(app): add native runs list and detail screen 2026-10-21 13:42:47 +01:00
alan 1515ebee99 fix flutter runs foundation parity gaps 2026-10-21 13:34:56 +01:00
alan 444bd62996 feat(app): add run foundation repository and models 2026-10-21 13:21:30 +01:00