[PR #6272] feat: add workflow strategy infrastructure with TDD #11811

Closed
opened 2026-02-16 18:16:45 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6272

State: closed
Merged: No


Implements Phase 1.1 of workflow strategy architecture:

  • Add WorkflowStrategy interface with lifecycle hooks
  • Implement WorkflowRegistry for strategy management
  • Create comprehensive test suite (5/5 tests passing)
  • Support context management, model selection, and audit hooks

Tests demonstrate full TDD cycle (RED → GREEN):

  • registry.test.ts: 100% coverage of registry functions
  • session-workflow.test.ts: prepared for Session integration

This establishes the foundation for multiple workflow types (traditional, hierarchical, research) as discussed in the plan.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6272 **State:** closed **Merged:** No --- Implements Phase 1.1 of workflow strategy architecture: - Add WorkflowStrategy interface with lifecycle hooks - Implement WorkflowRegistry for strategy management - Create comprehensive test suite (5/5 tests passing) - Support context management, model selection, and audit hooks Tests demonstrate full TDD cycle (RED → GREEN): - registry.test.ts: 100% coverage of registry functions - session-workflow.test.ts: prepared for Session integration This establishes the foundation for multiple workflow types (traditional, hierarchical, research) as discussed in the plan.
yindo added the pull-request label 2026-02-16 18:16:45 -05:00
yindo closed this issue 2026-02-16 18:16:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11811