Commit Graph

75 Commits

Author SHA1 Message Date
alan 4afcdff458 merge(app): land run-mode graph evidence component 2026-10-21 23:42:49 +01:00
alan f920c4f17f merge(app): land shell Search entry after retained-run recovery 2026-10-21 23:42:49 +01:00
alan 5b833e721e feat(app): add run-mode graph with recorded-visit evidence 2026-10-21 23:42:46 +01:00
alan fd380ef2f4 feat(app): open Search from the shell over the shared session 2026-10-21 23:42:41 +01:00
alan 90fc9e8a18 Merge branch 'main' into flutter/chat-markdown 2026-10-21 23:34:35 +01:00
alan a5afc55a9d feat(app): render native transcript markdown
Port the web markdown subset to a pure Dart parser and a native
Material/Cupertino block renderer, with a caller seam for assistant text
parts and safe http(s) link activation.

- parser: entities, paragraphs, H1-H6, fenced code, quotes, lists, tables,
  rules, inline code/emphasis/links; entity overflow stays literal
- renderer: host text roles, inline/fenced code fills, table header fill,
  heading level and list/columnHeader semantics, horizontal code/table
  scrolling, native selection
- tests cover parser safety, both hosts, the seam and real taps
- probe plus note record the web evidence and remaining limits
2026-10-21 23:34:33 +01:00
alan dac6232033 merge(app): land in-app artifact preview after retained-deadline recovery 2026-10-21 23:19:30 +01:00
alan 151bd1cbd9 feat(app): add in-app artifact preview with paging and honest limits 2026-10-21 23:19:25 +01:00
alan e2b1464b04 test(app): verify the Chat destination in the real app flow 2026-10-21 23:07:31 +01:00
alan 2de1c90730 merge(app): land retry and restart actions in the native run detail 2026-10-21 23:01:24 +01:00
alan 8d7ceffdbd merge(app): land live Chat destination after retained-deadline recovery 2026-10-21 22:58:45 +01:00
alan 86a9b4a664 feat(app): register the live Chat destination with read-only history 2026-10-21 22:57:08 +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 4f2f87b445 test(app): verify the artifact gallery inside the real app run detail 2026-10-21 22:44:40 +01:00
alan 665069ea09 merge(app): land recorded artifact gallery in run detail 2026-10-21 22:34:25 +01:00
alan df6524c7d9 feat(app): add recorded artifact gallery to the native run detail 2026-10-21 22:34:21 +01:00
alan 2bc2358b9a merge(app): land native stage definition pane after retained-review recovery 2026-10-21 22:26:38 +01:00
alan d88213deb4 feat(app): add native authored stage definition pane 2026-10-21 22:26:34 +01:00
alan 08e216a2fa test(app): verify recorded Changes navigation in the real app flow 2026-10-21 22:12:21 +01:00
alan 1e998a6679 Merge branch 'main' into flutter/templates-gallery 2026-10-21 22:04:02 +01:00
alan c56b5d45a4 feat(app): add native template gallery with detail and create 2026-10-21 22:03:55 +01:00
alan a1d3e539f3 Merge branch 'main' into flutter/schedule-form 2026-10-21 21:54:31 +01:00
alan 215755bb1e test(app): accept the Cupertino create prompt at 2x without role assumptions 2026-10-21 21:52:57 +01:00
alan 8760a01b17 feat(app): add native saved-schedule editor form 2026-10-21 21:51:15 +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 57ba909909 merge(app): land native chat message and disclosure surfaces 2026-10-21 21:10:58 +01:00
alan a9c39ed904 merge(app): land recovered measured definition graph canvas 2026-10-21 21:08:14 +01:00
alan 97d7be55ec fix(app): integrate Changes tests with shared actions gateway 2026-10-21 21:08:14 +01:00
alan bf378c94ca feat(app): finish measured native graph canvas and clear labels from wires 2026-10-21 21:06:57 +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 a4170fa5d5 merge(app): land native create-from-template prompt 2026-10-21 20:57:34 +01:00
alan e69883b5b6 feat(app): add native create-from-template prompt
Validate the template source first, then submit the typed name create-only,
matching the browser's P5 flow and wording. Refusals keep the prompt and the
typed name; the accepted detail is reported once through the callback. The
labelled field, visible feedback and native Material/Cupertino controls are
covered by focused widget tests and a loopback browser probe.
2026-10-21 20:57:30 +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 74475b9a4b Merge branch 'main' into flutter/chat-messages 2026-10-21 20:44:02 +01:00
alan 9e4a925587 feat(app): add native chat transcript message row
Render one transcriptRows row with native controls: role-labelled user and
agent messages, verbatim user text, client and attachment names (own name,
URI basename, else file), ordered agent parts, and collapsed reasoning, tool
and unknown-part bodies using ExpansionTile or a Cupertino disclosure.

Blank known parts draw nothing so they no longer fall through to the
unknown-part disclosure; closed bodies build lazily. Adds focused widget
tests, the fixture probe pair and the C2 evidence note.
2026-10-21 20:44:00 +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 698e9791ca Merge branch 'main' into flutter/p1-wire 2026-10-21 19:47:11 +01:00
alan 8476cfd740 feat(app): wire the native pipelines browser on the shared session
Register the landed PipelinesScreen at /pipelines through AppSession, with
an honest first-connection gate, a native reconnect banner that retains the
open list and detail, and an in-place refresh on reconnect. Move the shared
connection chrome out of RunsDestination so both destinations use one
implementation and one wording.

Add destination, registration and reconnect coverage plus an isolated
loopback Chrome probe that drives the real runPipelinesApp() composition.
2026-10-21 19:47:08 +01:00
alan 4f67dc0b9b merge(app): expose native run rename in live details 2026-10-21 19:23:56 +01:00
alan 28b93ae6d0 fix(app): retain native pipeline tabs at every text scale 2026-10-21 19:21:41 +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 9a29208d56 Merge branch 'main' into flutter/p1-pipelines 2026-10-21 19:09:32 +01:00
alan a44f31b989 feat(app): add native pipelines list and detail screen
Read-only Pipelines screen for the Flutter client:

- list_pipelines and list_runs with a last-run join, plus get_pipeline
  with an explicit version (0 = latest); no mutation requests.
- Name, run-presence, last-run-status and schedule filters; six sort
  orders; clear filters; truthful loading, empty and error states.
- Detail Summary, selectable Source and version history with selection
  and return to latest.
- Sequenced list/detail requests so stale replies cannot replace a newer
  selection or open a cleared one; refresh keeps the selected pipeline
  and version.
- Material controls on Android/desktop and Cupertino on iOS; a
  per-label segmented tab row at narrow widths and scaled text, with the
  native control kept wherever an equal share fits.
- Fixture probe entry and Chrome scripts for the rendered evidence;
  widget tests cover filters, sorting, formatting, sequencing, layout
  and the tab row.

Graph rendering remains P2: the Graph tab states that it is pending and
exposes a host hook. PipelinesScreen is not yet registered in the shell.

Evidence and limits: app/notes/P1.md.
2026-10-21 19:09:29 +01:00
alan fadeaff1cc merge(app): land recorded artifact visit list 2026-10-21 18:56:54 +01:00
alan 31c5585609 merge(app): land native measured graph stage control 2026-10-21 18:56:54 +01:00
alan d05aa0cfbc feat(app): register native Settings on the shared live session 2026-10-21 18:55:50 +01:00
alan 7eaab4b359 docs(app): record real dark-theme evidence for the stage-node probe
The fixture had no darkTheme, so its Material "dark" captures were the
default light theme. Supply the stock dark theme and themeMode.system, rerun
the probe in both schemes, and correct the note's test counts, capture names
and branch state.
2026-10-21 18:47:56 +01:00