feat(app): add run foundation repository and models

This commit is contained in:
2026-10-21 13:21:30 +01:00
parent 264f64c0bb
commit 444bd62996
4 changed files with 128 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# 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.
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.