2.6 KiB
2.6 KiB
Title
Implement Orch Markdown Test Cases As Automated Tests
Status
completed
Owner
- Codex main agent
Started At
2026-03-19
Goal
- Add automated
orchcoverage for the command-level cases documented underdocs/tests/orch/. - Keep roadmap and implementation status synchronized while the work is in progress.
Scope
- Add or expand Go tests for currently undocumented automation gaps under
internal/cli/orch/. - Update
docs/implementation-roadmap.mdto reflect the broaderorchautomated coverage. - Update
docs/tests/orch/ROADMAP.mdto reflect the alignment between Markdown cases and automated coverage.
Checklist
- Review repository instructions, implementation roadmap, and
docs/tests/orch/case inventory. - Map Markdown cases to existing
orchautomated coverage and identify missing scenarios. - Implement missing non-council command tests.
- Implement missing council/report command tests.
- Run targeted and full
orchtest validation. - Update roadmap documents and archive this execution roadmap.
Files
internal/cli/orch/command_contracts_core_test.gointernal/cli/orch/command_contracts_edges_test.gointernal/cli/orch/command_contracts_remaining_test.gointernal/cli/orch/council_report_contracts_test.godocs/implementation-roadmap.mddocs/tests/orch/ROADMAP.mddocs/roadmaps/archive/orch-test-case-implementation.md
Decisions
- Start from the existing
internal/cli/orch/integration_test.gosuite instead of creating a second parallel harness. - Use sub-agents with isolated write scopes where practical, while keeping shared roadmap and final integration in the main thread.
- Split the missing coverage into four focused test files:
command_contracts_core_test.goforrun show,task add, andreadycommand_contracts_edges_test.goforanswerandcleanupcommand_contracts_remaining_test.gofor the remaining command and workflow gapscouncil_report_contracts_test.gofor council report edge/default behavior
Blockers
- none
Next Step
- none
Completion Summary
- Added 19 focused
orchtests across four new test files to close the documented Markdown-case gaps underdocs/tests/orch/. - Covered the remaining command contracts for
run init/show,task add,ready,dispatch,blocked,answer,cleanup,status,reconcile, and council report edge/default behavior. - Added explicit workflow coverage for strict-worktree dispatch-to-cleanup and council-review end-to-end.
- Validation passed with
go test ./internal/cli/orchandgo test ./....