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`
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
+1 -1
View File
@@ -1,6 +1,6 @@
{
"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",
"type": "module",
"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...');
const synthesisResult = this.synthesizeResults(subagentResults);
// Phase 3: Verification
// Phase 3: Verification (use enriched task description from research)
onProgress?.('verification', 'Running verification subagent...');
const verificationResult = await this.runVerification(
taskDescription,
effectiveTaskDescription,
synthesisResult.items,
onProgress,
onSubagent
@@ -1112,7 +1112,7 @@ Check \`${caseDir}/ralph-wizard/research/result.json\` for:
try {
onProgress?.('execution-optimization', 'Running execution optimizer for Claude Code...');
executionResult = await this.runExecutionOptimizer(
taskDescription,
effectiveTaskDescription,
planWithReviews,
onProgress,
onSubagent
@@ -1146,7 +1146,7 @@ Check \`${caseDir}/ralph-wizard/research/result.json\` for:
try {
onProgress?.('final-review', 'Running final review for holistic validation...');
finalReviewResult = await this.runFinalReview(
taskDescription,
effectiveTaskDescription,
optimizedPlan,
onProgress,
onSubagent