Commit Graph

1297 Commits

Author SHA1 Message Date
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 ae40329dcc merge(server): land bounded complete-export fix after isolated full-suite verification 2026-10-21 15:31:27 +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 edb2f3c22e merge: bring main into fix/session-export-limit 2026-10-21 15:26:31 +01:00
alan 22801a9b06 fix(stage): align session export render cap with artifact bound
Six computed Flutter runs stopped at the export handoff gate because the
rendered session.html cap was 2 MiB while their complete sessions (well inside
the 8 MiB source read bound) rendered between 2.25 and 4.28 MiB once html
escaping and the readable projection duplicated native text.

Raise SessionExportFileLimit to 8 MiB, the server's existing per-artifact file
bound, so a complete export is still listed and served. Normal export
verification, versioned repair and the handoff gate keep using the single
shared constant. The source read bound is unchanged, and an over-cap render is
still visibly truncated and recorded partial.

Add focused regressions for a complete export above the old cap, an over-new-cap
file rejected as partial, repair above the old cap leaving original evidence
untouched, the gate accepting the larger repair, and the constant staying inside
the artifact file bound. Update the artifact, handoff-gate and operations docs
and record the diagnosis in docs/notes/session-export-render-cap.md.
2026-10-21 15:26:29 +01:00
alan 9eb01b8f6a docs(app): record schedule and retry landings plus 98-test integration check 2026-10-21 15:20:36 +01:00
alan 804e531704 merge(app): land native retry and restart components 2026-10-21 15:18:59 +01:00
alan a290858373 merge(app): land revision-safe saved-schedule request layer 2026-10-21 15:17:47 +01:00
alan 515c500bb1 docs(app): verify rename component landing and start template-data slice 2026-10-21 15:17:13 +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 3dde2888b3 merge(app): land tested native rename-run component 2026-10-21 15:16:12 +01:00
alan 2c404f094d merge(app): bring main into flutter/s1-data candidate 2026-10-21 15:15:49 +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
alan 2d8ca0cc4d Merge branch 'main' into flutter/r2-title 2026-10-21 15:14:46 +01:00
alan f2643a0ff4 feat(app): add native rename-run action
Native Material/Cupertino prompt seeded from the run's stored title. Only
Save sends set_run_title {run_id, title} with the text untrimmed; typing and
Cancel send nothing, refusals stay verbatim with the draft kept, and only the
accepted run_detail is delivered once.
2026-10-21 15:14:44 +01:00
alan 178f22aec2 feat(app): add native retry and restart action 2026-10-21 15:13:00 +01:00
alan 09458812d5 docs(app): record export-fix exception and three small parallel feature slices 2026-10-21 15:07:43 +01:00
alan 0a00526692 docs(app): record verified cancellation and refusal correction landing 2026-10-21 14:54:36 +01:00
alan e8c5f071a1 merge(app): land native cancel action and responsive refusal handling 2026-10-21 14:54:12 +01:00
alan acd471a543 merge(app): bring main into flutter/r2-cancel candidate 2026-10-21 14:52:59 +01:00
alan 54493704c1 fix(app): show run action refusals before resyncing 2026-10-21 14:47:59 +01:00
alan c58395c559 docs(app): identify export size gate blocking six computed feature runs 2026-10-21 14:46:11 +01:00
alan 743da9bb34 docs(app): hold cancellation for responsive refusal-flow checks 2026-10-21 14:44:14 +01:00
alan 610e23baa3 merge(app): bring main into flutter/r2-cancel candidate 2026-10-21 14:41:37 +01:00
alan faa5866410 feat(app): add deliberate run cancellation action
Port the browser's canCancel rule and cancel_run request into a native
Material/Cupertino confirmation. Opening the prompt or choosing Keep sends
nothing; a refusal stays visible with the server's words and the run is
re-read so the owner always receives server truth. Includes eligibility,
double-submit, disposal and narrow 2x-text tests plus R2b evidence.
2026-10-21 14:41:33 +01:00
alan 54b7e875e1 docs(app): record decision component landing and cancel-action pipeline 2026-10-21 14:33:15 +01:00
alan 3e6f950991 merge(app): land verified reusable human-decision action 2026-10-21 14:31:55 +01:00
alan c1490b4705 merge(app): refresh main into flutter/r2-decision candidate 2026-10-21 14:23:07 +01:00
alan 76eda0ee0e docs(app): accept combined runs widgets and launch live composition checks 2026-10-21 14:22:51 +01:00
alan 7943df11e0 merge(app): bring main into flutter/r2-decision candidate 2026-10-21 14:22:31 +01:00
alan 42b21b86cd feat(app): add deliberate human-decision action for run detail
Adds HumanDecisionAction plus its native prompt, wording constants and
tests. The action renders only while pendingDecision() reports a genuine
human wait, sends decide_run only after an option is chosen and Confirm
pressed, sends the pending stage/trimmed option/optional feedback, blocks
double submits, shows server refusals verbatim with the draft intact, and
re-reads the run so the owner always receives server truth.
2026-10-21 14:22:29 +01:00
alan 38b7a849a7 Merge branch 'flutter/r1-detail' into flutter/r1-native 2026-10-21 14:21:29 +01:00
alan 23d6efbfb1 Merge branch 'main' into flutter/r1-detail 2026-10-21 14:20:45 +01:00
alan e14bb67825 feat(app): render run detail with native Material and Cupertino controls 2026-10-21 14:20:43 +01:00
alan 9cc61bc378 docs(app): verify native list integration and start search lane 2026-10-21 14:08:52 +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 fe50c7c52e Merge branch 'main' into flutter/r1-native 2026-10-21 14:06:29 +01:00
alan 7ecd3903c0 docs(app): accept controller checks and track native-list test recovery 2026-10-21 14:01:29 +01:00
alan a34c86e513 merge(app): sync main into flutter/r1-runs-ui 2026-10-21 13:58:30 +01:00
alan a2e7c43edb docs(app): preserve native run partial work and split widget acceptance 2026-10-21 13:57:19 +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
alan 38895a975b docs(app): parallelize run-controller final fixes and native presentation 2026-10-21 13:53:02 +01:00
alan 6b8d5ea32e feat(app): complete runs UI candidate 2026-10-21 13:51:07 +01:00
alan b404232f84 docs(app): route chat native-controls completion through pipeline 2026-10-21 13:50:32 +01:00
alan 0a0d287e49 Merge branch 'main' into flutter/r1-runs-ui 2026-10-21 13:50:26 +01:00
alan 13d8ddac5d Tidy chat catalog error handling 2026-10-21 13:49:18 +01:00
alan a2b02b3810 Improve chat session catalog creation 2026-10-21 13:48:35 +01:00