fix(orchestrator): pass enriched task description to all subagents

Verification, execution optimizer, and final review agents were receiving
the raw taskDescription instead of effectiveTaskDescription (which includes
research context). This caused them to work with outdated/wrong prompts
when regenerating plans.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-28 06:19:03 +01:00
co-authored by Claude Opus 4.5
parent c17dc57fd9
commit 9eccd061b9
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ When user says "COM":
1. Increment version in BOTH `package.json` AND `CLAUDE.md` 1. Increment version in BOTH `package.json` AND `CLAUDE.md`
2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web` 2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web`
**Version**: 0.1414 (must match `package.json`) **Version**: 0.1415 (must match `package.json`)
## Project Overview ## Project Overview
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "claudeman", "name": "claudeman",
"version": "0.1414", "version": "0.1415",
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence", "description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
+4 -4
View File
@@ -1088,10 +1088,10 @@ Check \`${caseDir}/ralph-wizard/research/result.json\` for:
onProgress?.('synthesis', 'Synthesizing subagent outputs...'); onProgress?.('synthesis', 'Synthesizing subagent outputs...');
const synthesisResult = this.synthesizeResults(subagentResults); const synthesisResult = this.synthesizeResults(subagentResults);
// Phase 3: Verification // Phase 3: Verification (use enriched task description from research)
onProgress?.('verification', 'Running verification subagent...'); onProgress?.('verification', 'Running verification subagent...');
const verificationResult = await this.runVerification( const verificationResult = await this.runVerification(
taskDescription, effectiveTaskDescription,
synthesisResult.items, synthesisResult.items,
onProgress, onProgress,
onSubagent onSubagent
@@ -1112,7 +1112,7 @@ Check \`${caseDir}/ralph-wizard/research/result.json\` for:
try { try {
onProgress?.('execution-optimization', 'Running execution optimizer for Claude Code...'); onProgress?.('execution-optimization', 'Running execution optimizer for Claude Code...');
executionResult = await this.runExecutionOptimizer( executionResult = await this.runExecutionOptimizer(
taskDescription, effectiveTaskDescription,
planWithReviews, planWithReviews,
onProgress, onProgress,
onSubagent onSubagent
@@ -1146,7 +1146,7 @@ Check \`${caseDir}/ralph-wizard/research/result.json\` for:
try { try {
onProgress?.('final-review', 'Running final review for holistic validation...'); onProgress?.('final-review', 'Running final review for holistic validation...');
finalReviewResult = await this.runFinalReview( finalReviewResult = await this.runFinalReview(
taskDescription, effectiveTaskDescription,
optimizedPlan, optimizedPlan,
onProgress, onProgress,
onSubagent onSubagent