Commit Graph

52 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 97d09436c8 feat(app): artifact viewer previews the text family (logs, JSON, code, config) in bundled monospace 2026-10-23 14:54:00 +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 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 774372da10 merge(app): land runs-day-groups 2026-10-22 22:06:06 +01:00
alan c74eecf469 merge(app): land runs-filter-menu 2026-10-22 22:06: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 afc7b88366 fix(app): collapse the summary sections and correct the visit index for search hits 2026-10-22 18:54:27 +01:00
alan eb80092860 feat(app): mirror the attention count on the Runs tab 2026-10-22 18:40:55 +01:00
alan f2c33d2a1e feat(app): schedule a recorded run with its options
The run detail now offers the web's "Schedule this run" action when the
run names a positive pipeline and pinned version. It opens the existing
create editor seeded from the run and sends nothing until Save.

The seed preserves every field the browser's scheduleDraft({ run })
copies: title (following the title_source rule), all input keys with
prompt kept editable, pinned version, workspace, notify mode, write
paths, tool access, model, stage models and output format. build() emits
the same conditional payload as serializeSchedule.

One request key is minted per editor opening so a refused save retries
without duplicating the schedule. Advanced options are seed-only for
now: the editor has no controls for them yet.
2026-10-22 17:28:28 +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 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 bc98b6cab8 fix(app): wide Cupertino sidebar, compact run tabs, web-like chat bubbles 2026-10-22 12:25:12 +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 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 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 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 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 35a8aab772 feat(app): compose live Runs with deep links and reconnect retention 2026-10-21 17:26:36 +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