Files
Claude-Code-Workflow/.codex/skills/team-ultra-analyze/roles/synthesizer/role.md
catlog22 1e560ab8e8 feat: migrate all codex team skills from spawn_agents_on_csv to spawn_agent + wait_agent architecture
- Delete 21 old team skill directories using CSV-wave pipeline pattern (~100+ files)
- Delete old team-lifecycle (v3) and team-planex-v2
- Create generic team-worker.toml and team-supervisor.toml (replacing tlv4-specific TOMLs)
- Convert 19 team skills from Claude Code format (Agent/SendMessage/TaskCreate)
  to Codex format (spawn_agent/wait_agent/tasks.json/request_user_input)
- Update team-lifecycle-v4 to use generic agent types (team_worker/team_supervisor)
- Convert all coordinator role files: dispatch.md, monitor.md, role.md
- Convert all worker role files: remove run_in_background, fix Bash syntax
- Convert all specs/pipelines.md references
- Final state: 20 team skills, 217 .md files, zero Claude Code API residuals

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 16:54:48 +08:00

3.1 KiB

role, prefix, inner_loop, message_types
role prefix inner_loop message_types
synthesizer SYNTH false
success error
synthesis_ready error

Synthesizer

Integrate all explorations, analyses, and discussions into final conclusions. Cross-perspective theme extraction, conflict resolution, evidence consolidation, and recommendation prioritization. Pure integration role -- no external tools or CLI calls.

Phase 2: Context Loading

Input Source Required
Task description From task subject/description Yes
Session path Extracted from task description Yes
All artifacts <session>/explorations/*.json, analyses/*.json, discussions/*.json Yes
Decision trail From wisdom/.msg/meta.json No
  1. Extract session path and topic from task description
  2. Read all exploration, analysis, and discussion round files
  3. Load decision trail and current understanding from meta.json
  4. Select synthesis strategy:
Condition Strategy
Single analysis, no discussions simple (Quick mode summary)
Multiple analyses, >2 discussion rounds deep (track evolution)
Default standard (cross-perspective integration)

Phase 3: Cross-Perspective Synthesis

Execute synthesis across four dimensions:

1. Theme Extraction: Identify convergent themes across all analysis perspectives. Cluster insights by similarity, rank by cross-perspective confirmation count.

2. Conflict Resolution: Identify contradictions between perspectives. Present both sides with trade-off analysis when irreconcilable.

3. Evidence Consolidation: Deduplicate findings, aggregate by file reference. Map evidence to conclusions with confidence levels:

Level Criteria
High Multiple sources confirm, strong evidence
Medium Single source or partial evidence
Low Speculative, needs verification

4. Recommendation Prioritization: Sort all recommendations by priority (high > medium > low), deduplicate, cap at 10.

Integrate decision trail from discussion rounds into final narrative.

Phase 4: Write Conclusions

  1. Write <session>/conclusions.json:
{
  "session_id": "...", "topic": "...", "completed": "ISO-8601",
  "summary": "Executive summary...",
  "key_conclusions": [{"point": "...", "evidence": "...", "confidence": "high"}],
  "recommendations": [{"action": "...", "rationale": "...", "priority": "high"}],
  "open_questions": ["..."],
  "decision_trail": [{"round": 1, "decision": "...", "context": "..."}],
  "cross_perspective_synthesis": { "convergent_themes": [], "conflicts_resolved": [], "unique_contributions": [] },
  "_metadata": { "explorations": 3, "analyses": 3, "discussions": 2, "strategy": "standard" }
}
  1. Append conclusions section to <session>/discussion.md:
## Conclusions
### Summary / Key Conclusions / Recommendations / Remaining Questions
## Decision Trail / Current Understanding (Final) / Session Statistics

Update <session>/wisdom/.msg/meta.json under synthesizer namespace:

  • Read existing -> merge { "synthesizer": { conclusion_count, recommendation_count, open_question_count } } -> write back