Commit Graph

75 Commits

Author SHA1 Message Date
alan bf378c94ca feat(app): finish measured native graph canvas and clear labels from wires 2026-10-21 21:06:57 +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
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
alan 73fc9ec2d6 merge(app): land recorded changes viewer with native-default corrections 2026-10-21 18:40:55 +01:00
alan 32e1cac46f fix(app): keep diff typography and colours native to the host 2026-10-21 18:40:49 +01:00
alan c001c53493 docs(app): describe the landed edge patch precisely 2026-10-21 18:34:42 +01:00
alan b61db02303 docs(app): record the edge candidate's committed state 2026-10-21 18:34:33 +01:00
alan 1f44107f6a docs(app): point the edge note at the landed diff 2026-10-21 18:34:23 +01:00
alan fb27886b44 docs(app): keep the graph edge layer within its 160-line budget
Join two doc-comment lines without changing the painter; the file is now 160
lines, matching the item's stated source budget.
2026-10-21 18:33:24 +01:00
alan 835f16c0bf feat(app): add passive routed graph edge layer
Paint the landed orthogonal EdgeRoutes on a caller-sized canvas: one polyline
per route, a filled arrow at the target port in the route's real arrival
direction, clipping, and value-based repaint. The layer is pointer transparent
so node widgets below it keep their gestures. Includes focused geometry,
painter and hit-test regressions, an isolated web probe with rendered evidence,
and a note recording the slice and its limits.
2026-10-21 18:31:38 +01:00
alan ada25a59e5 Merge branch 'main' into flutter/d1-diff-viewer 2026-10-21 18:26:55 +01:00
alan 15cca17aa4 feat(app): add run change captures and native diff viewer 2026-10-21 18:26:53 +01:00
alan a816e38e26 Merge branch 'main' into flutter/f4-chat 2026-10-21 17:42:42 +01:00
alan 41d30a4280 feat(app): split chat sessions into native Material and Cupertino views
Split the 406-line chat session browser into a controller, body, shared
adaptive primitives and separate standard Material and Cupertino lists and
dialogs. Preserve the existing server directory/backend catalogs,
instructions field, closed/starred grouping, directory headings and
empty/no-match states.

- keep refresh generations so stale replies are discarded
- open a created chat immediately and refresh the list in the background
- disable rename Save while the trimmed name is blank
- label row actions per session, with the id on duplicate titles
- wrap Cupertino empty/no-match/error messages instead of clipping, and
  give them a Cupertino text style under a bare MaterialApp
- allow the Material rename helper to wrap at large text scales
- cover both native branches, lifecycle ordering, create/rename/close/star
  and the Cupertino theme path with widget tests
2026-10-21 17:42:39 +01:00
alan 7125caf26c Merge branch 'main' into flutter/n1-settings 2026-10-21 17:39:20 +01:00
alan abd696b0d9 feat(app): add native Settings connection and workspace screen
Add the Settings destination under lib/features/settings with an editable
websocket endpoint, truthful connection states, one ping per connect/mount,
workspace validation and persistence under new feature-owned keys. Material
and Cupertino controls, wrapping copy at large text, pending ping state, and
isolated probe tools plus widget/unit coverage.
2026-10-21 17:39:18 +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 ed958929cf Merge branch 'main' into flutter/s1-list 2026-10-21 17:02:00 +01:00
alan 8ed29604a2 merge(app): land safe artifact records grouping and navigation 2026-10-21 17:01:37 +01:00
alan 155ce8f5e5 merge(app): land measured graph edge routing and label geometry 2026-10-21 17:01:37 +01:00
alan ec86ef0874 Merge branch 'main' into flutter/s1-list 2026-10-21 17:00:52 +01:00
alan ebfa7f7fac feat(app): add read-only saved-schedules list screen 2026-10-21 17:00:50 +01:00
alan 49783b04ab docs(app): record A1a candidate commit and main merge 2026-10-21 16:57:11 +01:00
alan a303368a18 Merge branch 'main' into flutter/a1-data 2026-10-21 16:56:14 +01:00
alan ff0f812e00 feat(app): add artifact records, grouping and safe url navigation
Pure Dart A1a artifact domain slice mirroring web/src/artifacts.js and
artifactNavigation.js: record parsing, capture facts, stage/visit grouping,
public attribution, kind vocabulary, summaries, viewer paging and safe
artifact url resolution. Tests mirror the domain directory; nothing is
wired into a screen or transport.
2026-10-21 16:56:11 +01:00
alan b381290f34 feat(app): add deterministic orthogonal graph edge routing
Pure-Dart P2c slice: interval-aware ports and corridors, label-aware lane spacing, measured label placement with fallback shelf, skipped diagnostics and routing bounds. 20 focused tests plus existing suite and web build pass.
2026-10-21 16:51:38 +01:00
alan d22ff42a13 Merge branch 'main' into flutter/x1-search 2026-10-21 16:41:34 +01:00
alan 51140cd3b7 feat(app): add native omni-search screen over the search gateway
Pure request/parse/row logic in lib/features/search/domain, a
gateway-backed repository, and Material plus Cupertino bodies.
The header and rows share one scroll view, and the server's
truncation, scan and cap facts stay visible even when a bounded
scan returns no matches.

Tests cover the exact search envelope, token parsing, stale replies,
retry, truncation bounds and platform layouts. A Web-only fixture
and CDP probe support rendered verification; the screen is not yet
registered in the shell.
2026-10-21 16:41:30 +01:00
alan c1f140bc78 feat(app): add deterministic content-sized graph node layout
Pure-Dart SCC ranking and column placement over the landed graph
identities. Every extent and gap is caller supplied; missing
measurements are rejected rather than defaulted.

Focused tests cover linear, diamond, cycle, self-loop, disconnected,
terminal, expanded-text and invalid-input cases.
2026-10-21 16:25:17 +01:00
alan e9f7eddce9 merge(app): land checked templates and create-only request layer 2026-10-21 15:35:43 +01:00
alan 8ea892959a docs(app): record final P2a merge and landing state 2026-10-21 15:33:22 +01:00
alan 2f316ac3b3 merge(app): bring main into flutter/t1-data candidate
Keep main's landed retry action and saved-schedules slices alongside the
templates data slice. Resolve app/.gitignore by keeping the single
test/**/data/ negation both sides added, with the explanatory comment.

Checks after merge: dart format clean, flutter analyze clean, 111 tests pass,
flutter build web succeeds.
2026-10-21 15:32:48 +01:00
alan 4548d66235 docs(app): record committed P2a candidate and merged main 2026-10-21 15:32:31 +01:00
alan 2c105074aa feat(app): add graph domain model for runs and definitions
Pure-Dart graph foundation mirroring the current web client:
terminal targets and labels, definition edges and nodes with web
outcome ordering, recorded run evidence (visited stages, taken
routes, current stage and live start), and sequence-ordered stage
visit selection with clamping.

No layout, widgets, screens or coordinates; fixtures cover linear,
diamond, self-loop, repeated visits, mixed outcomes, terminals and
missing/malformed evidence.
2026-10-21 15:31:43 +01:00
alan cd9ec62d28 feat(app): add template catalogue and create-only submit repository
Add the nonvisual templates data/domain slice: TemplateRepository over the
shared ApiGateway for list_templates, validate and create-only submit, and
TemplateEntry preserving every server field in a deeply read-only raw map.

Re-include test/**/data/ in app/.gitignore so the mirroring tests are not
silently dropped from a fresh checkout.

Tests cover exact request shapes, source preservation, blank-name refusal,
malformed replies, server refusals and immutability.
2026-10-21 15:31:10 +01:00
alan 804e531704 merge(app): land native retry and restart components 2026-10-21 15:18:59 +01:00
alan d9722ab724 merge(app): bring main into flutter/s1-data candidate 2026-10-21 15:16:36 +01:00
alan 56f3e12183 merge(app): bring main into flutter/r2-retry candidate 2026-10-21 15:16:22 +01:00
alan b9639650e5 feat(app): add saved-schedule repository and domain record
Port the web client's list/save/delete schedule request shapes and reply checks, with a typed record that preserves the whole server payload including unknown fields. Revision stays the CAS token; server refusals propagate unchanged.
2026-10-21 15:15:47 +01:00