Commit Graph

856 Commits

Author SHA1 Message Date
alan 025142a97d merge(app): land native chat draft and send state controller 2026-10-21 21:54:28 +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 d6e6a65db1 docs(app): record the C3 composer candidate as committed
Keep the task note honest about the committed branch and the server-owned landing.
2026-10-21 21:27:10 +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 e0ec91ed28 merge(app): land paged live chat thread controller 2026-10-21 20:07:14 +01:00
alan 18b55603b2 docs(app): track full-port inventory and parallel feature slices 2026-10-21 20:06:24 +01:00
alan f251a9f779 Merge branch 'main' into flutter/chat-thread 2026-10-21 20:04:40 +01:00
alan e20ac9f5a1 feat(app): wire native cancel and track complete port acceptance 2026-10-21 20:04:38 +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 0eb3e23fc8 merge(app): expose pipeline browser through shared live session 2026-10-21 19:53:12 +01:00
alan b6ed1689d9 docs(app): record the landed pipelines candidate and merge verification 2026-10-21 19:49:09 +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 7be4456fbf docs(app): record native browser landing and Rename preview delivery 2026-10-21 19:26:44 +01:00
alan 4f67dc0b9b merge(app): expose native run rename in live details 2026-10-21 19:23:56 +01:00
alan cf5a2ecd44 merge(app): land native pipeline browser after control correction 2026-10-21 19:21:48 +01:00
alan 28b93ae6d0 fix(app): retain native pipeline tabs at every text scale 2026-10-21 19:21:41 +01:00
alan c756ec7461 Merge branch 'main' into flutter/r2-title-wire 2026-10-21 19:16:51 +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 d292fc96f1 docs(app): record Settings preview delivery and incremental wiring queue 2026-10-21 18:59: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
alan 596365d914 feat(app): add read-only native artifact visit list
Render recorded artifact groups for the active host, with visit-scoped
selection and an explicit selection callback. Material uses ListTile,
Cupertino uses inset grouped sections with separate heading semantics.
Recorded names, MIME and size are shown verbatim with honest fallbacks;
nothing is resolved, fetched, previewed, downloaded or fabricated.

Adds widget, host and semantics regressions plus an isolated browser probe.
2026-10-21 18:46:18 +01:00
alan d14db60460 Merge branch 'main' into flutter/p2-node-widget 2026-10-21 18:44:19 +01:00
alan e63b01154b feat(app): add native content-sized graph stage node
One content-sized stage node as an ordinary native control. Material uses
stock Card.outlined/Card.filled inside an InkWell; Cupertino uses
CupertinoButton.tinted/filled. onSelected reports the definition key
verbatim, one merged button semantics node carries the exact label and
selected state, recorded status is shown only when the caller supplies it,
and invisible U+200B break opportunities reproduce the web's anywhere
wrapping. Painted-boundary and painted-surface tests cover the UI-review
2x outline and Cupertino container defects.
2026-10-21 18:44:18 +01:00