fix flutter runs foundation parity gaps

This commit is contained in:
2026-10-21 13:34:56 +01:00
parent 7dd21b08c6
commit 1515ebee99
9 changed files with 1229 additions and 96 deletions
+18 -8
View File
@@ -1,12 +1,22 @@
# F3 run foundation
Public API: `run_models.dart` provides run identity/state/filter/sort helpers,
`RunListResult`, decision draft/option values, and attention ordering/identity.
`run_events.dart` provides monotonic list/detail event folds and
`runDetailNeedsFullSync`. `data/runs_repository.dart` provides `RunsRepository`
for list/get/cancel/retry/decide/title/start calls through the shared gateway.
status wording, `RunListResult`, decision draft/option values, and attention
ordering/identity. `run_decisions.dart` resolves recorded human options and
prompt evidence with graph fallback. `run_events.dart` and
`run_step_evidence.dart` provide monotonic list/detail folds, immutable schedule
origin, graph evidence, and `runDetailNeedsFullSync`. `data/runs_repository.dart`
provides list/get/cancel/retry/decide/title/start calls through the shared gateway.
Focused tests cover stale lifecycle deltas, explicit resource-wait clearing,
unknown usage versus zero, decision refusal, attention identity/order, and exact
retry/start fields. This is a nonvisual foundation; browser UI captures were not
applicable. Mobile targets are unverified.
Focused tests cover stale and terminal lifecycle deltas, resource-wait clearing,
sparse step preservation, sticky cancel/cleanup flags, schedule provenance,
export gating, pending-decision evidence, list/detail agreement, filters/sorts,
exact request fields and server refusals. The repository file is deliberately
tracked despite the repository's `data/` ignore rule. This is a nonvisual
foundation; browser UI captures were not applicable. Mobile targets are
unverified.
This is not total web parity: date filtering uses Dart local-time conversion
rather than web's explicit IANA-zone/locale helpers; the complete attention
dismissal/persistence surface, retry key generation, and repository methods for
export repair/request-key reconciliation are not included in this foundation.