Commit Graph

107 Commits

Author SHA1 Message Date
alan 4afcdff458 merge(app): land run-mode graph evidence component 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 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 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 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 224f8eec07 fix(app): keep attention dismissals in this client's own storage namespace 2026-10-21 22:17:20 +01:00
alan 11440efd90 Merge branch 'main' into flutter/attention-model 2026-10-21 22:14:06 +01:00
alan 38f8576c84 feat(app): add the pure native attention model
Port the browser's Needs-you list, dismissal bookkeeping and attention
transition ledger as widget-free Dart under lib/features/attention/domain/.
Includes the local-day window, export-wait exclusion, {runId}:{kind}
identities, sorted dismissal storage and focused regressions.
2026-10-21 22:14:04 +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 634092a6b7 Merge branch 'main' into flutter/schedule-form 2026-10-21 21:51:18 +01:00
alan 8760a01b17 feat(app): add native saved-schedule editor form 2026-10-21 21:51:15 +01:00
alan caede7b89b Merge branch 'main' into flutter/chat-composer 2026-10-21 21:25:54 +01:00
alan 565cdaaa1b feat(app): add native chat composer draft and send state
Persist the exact per-session draft, send one plain prompt with a stable operation/native identity, restore a refused draft without overwriting newer typing, track the reply's queued flag and stop through chat_interrupt. No UI, transport, server or platform change; the optimistic/rejection callbacks and loadDraft are the thread integration seam.
2026-10-21 21:25:51 +01:00
alan 37332a3d40 fix(app): keep template controls small and verify create confirmation 2026-10-21 21:22:02 +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 2088d4607e fix(app): preserve unknown user parts and native transcript typography 2026-10-21 21:12:50 +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 87220fe886 fix(app): reject schedule edits without exact identity and revision 2026-10-21 20:21:48 +01:00
alan 8807f2b1c3 merge(app): land lossless schedule editor draft validation 2026-10-21 20:20:13 +01:00
alan 1400780ee2 feat(app): expose recorded human decisions in native run detail 2026-10-21 20:18:55 +01:00
alan c970aa5d16 fix(app): expose refused chat watches without losing readable history 2026-10-21 20:09:36 +01:00
alan e3d94cde3c Merge branch 'main' into flutter/schedule-draft 2026-10-21 20:08:05 +01:00
alan 914866f640 feat(app): add pure schedule editor draft and validation
Build a save_schedule record from server schedule records with the web
editor's field messages. The draft preserves unknown record, input, rule
and run-option fields, keeps the exact revision, writes the operator's
workspace and sends no payload while any field is invalid.
2026-10-21 20:08:02 +01:00
alan f251a9f779 Merge branch 'main' into flutter/chat-thread 2026-10-21 20:04:40 +01:00
alan 76437db018 feat(app): add chat thread controller for live conversations
Owns one open chat session: subscribes with chat_subscribe, reads the newest
history page, folds only this session's chat_event frames, pages older history
with the opaque cursor, and replaces the held turn on resync. Failures keep the
held transcript and surface an error; disposal only cancels the local stream.

Co-authored-by: C2 pipeline <noreply@pipeline.local>
2026-10-21 20:04:38 +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