Skip to content

Commit 841a200

Browse files
committed
todo: capture reactive model bootstrap follow-up
1 parent 7292558 commit 841a200

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

TODO.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
- [x] Remove low-signal/noise tests and stale assertions (smoke test, legacy session-file assumptions, noisy debug logs).
1414
- [x] Add `mise run test-regressions` task (currently runs live-app regression tests).
1515
- [x] Split gates: `mise run check` (fast) and `mise run check-full` (includes regressions).
16-
- [x] Add path-aware regression gating for push/CI so live tests only run when integration-impacting files change.
16+
- [x] Add path-aware regression gating for push/CI so live tests only run when integration-impacting files changed.
1717
- [ ] Burn in the CI/hook split gate behavior (`check-full` skip/run on path filters + `PIWORK_FORCE_CHECK_FULL=1` local pre-push path), then mark this parent item done.
1818
- [x] Add fast protocol guardrail (`mise run audit-protocol`) via Vitest contract tests.
19+
- [ ] **Reactive model/bootstrap sequencing (P0 stability)** — move runtime model setup from timeout-driven polling to explicit task readiness states.
20+
- Add a per-task child-command queue in `taskd` so bootstrap `set_model` and first `get_available_models` are serialized.
21+
- Expose bootstrap readiness/error in `runtime_get_state` and gate UI model-fetch requests on that signal.
22+
- Keep timeout values only as fallback safety rails, not primary control flow.
23+
- Revisit trigger: after timeout tuning lands and CI regressions are green for several consecutive runs, implement this to reduce remaining flake/time spent in wait loops.
1924
- [x] **Kill v1 runtime** — remove `PIWORK_RUNTIME_V2_TASKD` flag, v1 code paths in runtimeService (`handleTaskSwitchV1`, `handleFolderChangeV1`, `ensureTaskSessionReady`), v1 `nc -l` loop in init script, `RuntimeMode` type. taskd is the only runtime.
2025
- [x] **Enforce V2-only host protocol** — removed legacy host request handling in taskd, host parser is strict `{ id, type, payload }`, and RuntimeService only resolves pending RPCs from taskd V2 response envelopes.
2126
- [x] **Finalize runtime naming cleanup (P0)** — dropped `handleV2*`/`sendV2*` helper names, removed the `__legacy__` sentinel path from runtime/UI mismatch logic, and switched to neutral runtime envelope naming.

0 commit comments

Comments
 (0)