diff --git a/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-completed.json b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-completed.json new file mode 100644 index 000000000..02f127018 --- /dev/null +++ b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-completed.json @@ -0,0 +1,19 @@ +{ + "schema_version": 2, + "active_work_id": "work_1", + "works": { + "work_1": { + "work_id": "work_1", + "active_plan": "/repo/.omo/plans/plan-with-unchecked.md", + "plan_name": "completed-plan", + "status": "completed", + "started_at": "2026-05-28T00:00:00Z", + "session_ids": ["codex:sess_abc"] + } + }, + "active_plan": "/repo/.omo/plans/plan-with-unchecked.md", + "plan_name": "completed-plan", + "started_at": "2026-05-28T00:00:00Z", + "status": "completed", + "session_ids": ["codex:sess_abc"] +} diff --git a/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-mixed-platforms.json b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-mixed-platforms.json new file mode 100644 index 000000000..095bf7b9c --- /dev/null +++ b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-mixed-platforms.json @@ -0,0 +1,27 @@ +{ + "schema_version": 2, + "active_work_id": "codex_work", + "works": { + "opencode_work": { + "work_id": "opencode_work", + "active_plan": "/repo/.omo/plans/opencode-plan.md", + "plan_name": "opencode-plan", + "status": "active", + "started_at": "2026-05-28T00:00:00Z", + "session_ids": ["opencode:sess_abc"] + }, + "codex_work": { + "work_id": "codex_work", + "active_plan": "/repo/.omo/plans/plan-with-unchecked.md", + "plan_name": "codex-plan", + "status": "paused", + "started_at": "2026-05-28T00:00:00Z", + "session_ids": ["codex:def"] + } + }, + "active_plan": "/repo/.omo/plans/opencode-plan.md", + "plan_name": "legacy-opencode-plan", + "started_at": "2026-05-28T00:00:00Z", + "status": "active", + "session_ids": ["opencode:sess_abc"] +} diff --git a/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-single-codex-work.json b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-single-codex-work.json new file mode 100644 index 000000000..9c123ea40 --- /dev/null +++ b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/boulder-single-codex-work.json @@ -0,0 +1,19 @@ +{ + "schema_version": 2, + "active_work_id": "work_1", + "works": { + "work_1": { + "work_id": "work_1", + "active_plan": "/repo/.omo/plans/plan-with-unchecked.md", + "plan_name": "launch-plan", + "status": "active", + "started_at": "2026-05-28T00:00:00Z", + "session_ids": ["codex:sess_abc"] + } + }, + "active_plan": "/repo/.omo/plans/plan-with-unchecked.md", + "plan_name": "legacy-launch-plan", + "started_at": "2026-05-28T00:00:00Z", + "status": "active", + "session_ids": ["codex:sess_legacy"] +} diff --git a/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-all-done.md b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-all-done.md new file mode 100644 index 000000000..453ae07b4 --- /dev/null +++ b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-all-done.md @@ -0,0 +1,5 @@ +# Launch Plan + +## TODOs +- [x] First +- [x] Second diff --git a/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-with-nested-checkboxes.md b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-with-nested-checkboxes.md new file mode 100644 index 000000000..59cc4fe65 --- /dev/null +++ b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-with-nested-checkboxes.md @@ -0,0 +1,11 @@ +# Launch Plan + +## TODOs +- [ ] Top-level + +### Acceptance Criteria + - [ ] Nested under acceptance criteria + - [x] Nested done + +## Final Checklist + - [ ] Nested under final checklist diff --git a/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-with-unchecked.md b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-with-unchecked.md new file mode 100644 index 000000000..12a1d7ce4 --- /dev/null +++ b/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-with-unchecked.md @@ -0,0 +1,6 @@ +# Launch Plan + +## TODOs +- [ ] First +- [x] Done already +- [ ] Second