mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-14 02:42:04 +08:00
Fix 3 issues found by Gemini full-chain analysis:
1. (High) cross_cutting_specs path format mismatch: feature-index.json
uses relative paths ("role/file.md") but context-package uses full
paths (".workflow/.../role/file.md"). Changed action-planning-agent
to use endsWith() matching and read from context-package objects
instead of raw feature-index strings.
2. (Medium) Add explicit feature_index_path field to context-package
schema in context-search-agent, so task-generate-agent can read it
directly instead of hardcoding paths. Updated both single-module
and multi-module prompt templates with fallback logic.
3. (Medium) Expand synthesis_output in context-search-agent to include
feature_driven sub-object pointing to feature-index.json and
feature-specs/ directory alongside legacy synthesis-specification.md.