summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-10 23:35:50 -0400
committerGitHub <[email protected]>2026-04-10 23:35:50 -0400
commit9ca06e033605d3670f1e61b5f31ff0a975f569dc (patch)
tree5543d30753d4c75e345c3fcef4cba54a5d9ba824
parent3b523b32f5c88141ba50a76e4e6ccab22cee8e5c (diff)
downloadopencode-9ca06e033605d3670f1e61b5f31ff0a975f569dc.tar.gz
opencode-9ca06e033605d3670f1e61b5f31ff0a975f569dc.zip
docs(effect): mark SessionTodo migrated (#21987)
-rw-r--r--packages/opencode/specs/effect-migration.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/opencode/specs/effect-migration.md b/packages/opencode/specs/effect-migration.md
index 8ada3f738..b0ce4a3ee 100644
--- a/packages/opencode/specs/effect-migration.md
+++ b/packages/opencode/specs/effect-migration.md
@@ -223,7 +223,7 @@ Fully migrated (single namespace, InstanceState where needed, flattened facade):
Still open:
-- [ ] `SessionTodo` — `session/todo.ts`
+- [x] `SessionTodo` — `session/todo.ts`
- [ ] `SyncEvent` — `sync/index.ts`
- [ ] `Workspace` — `control-plane/workspace.ts`
@@ -338,4 +338,5 @@ For each service, the migration is roughly:
- `SessionStatus` — migrated 2026-04-11. Replaced the last route and retry-policy callers with `AppRuntime.runPromise(SessionStatus.Service.use(...))` and removed the `makeRuntime(...)` facade.
- `ShareNext` — migrated 2026-04-11. Swapped remaining async callers to `AppRuntime.runPromise(ShareNext.Service.use(...))`, removed the `makeRuntime(...)` facade, and kept instance bootstrap on the shared app runtime.
+- `SessionTodo` — migrated 2026-04-10. Already matched the target service shape in `session/todo.ts`: single namespace, traced Effect methods, and no `makeRuntime(...)` facade remained; checklist updated to reflect the completed migration.
- `Storage` — migrated 2026-04-10. One production caller (`Session.diff`) and all storage.test.ts tests converted to effectful style. Facades and `makeRuntime` removed.