Skip to content

Commit 69b5628

Browse files
committed
refactor(workflow): update step engines and models
Update workflow steps to use 'cursor' engine with 'grok' model for plan-agent, task-breakdown, code-generation, runtime-prep, task-sanity-check, and git-commit steps. Change context-manager to use 'ccr' engine. Remove engine and fallback from plan-agent.
1 parent afb1284 commit 69b5628

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

templates/workflows/codemachine.workflow.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ export default {
55
resolveStep('principal-analyst', { executeOnce: true, engine: 'claude' }), // Review specifications and identify critical ambiguities
66
resolveUI("∴ Planning Phase ∴"),
77
resolveStep('blueprint-orchestrator', { executeOnce: true }), // Orchestrate architecture blueprint generation
8-
resolveStep('plan-agent', { executeOnce: true, engine: 'codex', notCompletedFallback: 'plan-fallback' }), // Generate comprehensive iterative development plan with architectural artifacts
9-
resolveStep('task-breakdown', { executeOnce: true, engine: 'codex' }), // Extract and structure tasks from project plan into JSON format
10-
resolveStep('git-commit', { executeOnce: true, engine: 'cursor' }), // Commit the task breakdown to git
8+
resolveStep('plan-agent', { executeOnce: true }), // Generate comprehensive iterative development plan with architectural artifacts
9+
resolveStep('task-breakdown', { executeOnce: true, engine: 'cursor', model: 'grok' }), // Extract and structure tasks from project plan into JSON format
10+
resolveStep('git-commit', { executeOnce: true, engine: 'cursor', model: 'grok' }), // Commit the task breakdown to git
1111
resolveUI("⟲ Development Cycle ⟲"),
12-
resolveStep('context-manager', { engine: 'codex' }), // Gather and prepare relevant context from architecture, plan, and codebase for task execution
13-
resolveStep('code-generation', { engine: 'claude' }), // Generate code implementation based on task specifications and design artifacts
14-
resolveStep('runtime-prep', { executeOnce: true, engine: 'claude' }), // Generate robust shell scripts for project automation (install, run, lint, test)
15-
resolveStep('task-sanity-check', { engine: 'claude' }), // Verify generated code against task requirements and acceptance criteria
16-
resolveStep('git-commit', { engine: 'cursor' }), // Commit the generated and verified code
12+
resolveStep('context-manager', { engine: 'ccr' }), // Gather and prepare relevant context from architecture, plan, and codebase for task execution
13+
resolveStep('code-generation', { engine: 'cursor', model: 'grok' }), // Generate code implementation based on task specifications and design artifacts
14+
resolveStep('runtime-prep', { executeOnce: true, engine: 'cursor', model: 'grok' }), // Generate robust shell scripts for project automation (install, run, lint, test)
15+
resolveStep('task-sanity-check', { engine: 'cursor', model: 'grok' }), // Verify generated code against task requirements and acceptance criteria
16+
resolveStep('git-commit', { engine: 'cursor', model: 'grok' }), // Commit the generated and verified code
1717
resolveUI("◈◈ Iteration Gate ◈◈"),
1818
resolveModule('check-task', { engine: 'cursor', loopSteps: 6, loopMaxIterations: 20, loopSkip: ['runtime-prep'] }), // Loop back if tasks are not completed
1919
],

0 commit comments

Comments
 (0)