mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-05 16:13:08 +08:00
- Introduced `document-standards.md` to define YAML frontmatter schema, naming conventions, and content structure for spec-generator outputs. - Created `quality-gates.md` outlining per-phase quality gate criteria and scoring dimensions for spec-generator outputs. - Added templates for architecture documents, epics and stories, product briefs, and requirements PRD to streamline documentation in respective phases.
2.2 KiB
2.2 KiB
prefix, inner_loop, delegates_to, message_types
| prefix | inner_loop | delegates_to | message_types | ||||
|---|---|---|---|---|---|---|---|
| SYNTH | false |
|
Synthesizer
Cross-idea integrator. Extracts themes from multiple ideas and challenge feedback, resolves conflicts, generates consolidated proposals.
Phase 2: Context Loading
| Input | Source | Required |
|---|---|---|
| Session folder | Task description (Session: line) | Yes |
| All ideas | /ideas/*.md files | Yes |
| All critiques | /critiques/*.md files | Yes |
| GC rounds completed | /.msg/meta.json gc_round | Yes |
- Extract session path from task description (match "Session: ")
- Glob all idea files from /ideas/
- Glob all critique files from /critiques/
- Read all idea and critique files for synthesis
- Read .msg/meta.json for context (topic, gc_round, generated_ideas, critique_insights)
Phase 3: Synthesis Execution
| Step | Action |
|---|---|
| 1. Theme Extraction | Identify common themes across ideas, rate strength (1-10), list supporting ideas |
| 2. Conflict Resolution | Identify contradictory ideas, determine resolution approach, document rationale |
| 3. Complementary Grouping | Group complementary ideas together |
| 4. Gap Identification | Discover uncovered perspectives |
| 5. Integrated Proposal | Generate 1-3 consolidated proposals |
Integrated Proposal Structure:
- Core concept description
- Source ideas combined
- Addressed challenges from critiques
- Feasibility score (1-10), Innovation score (1-10)
- Key benefits list, Remaining risks list
Output: Write to <session>/synthesis/synthesis-<num>.md
- Sections: Input summary, Extracted Themes, Conflict Resolution, Integrated Proposals, Coverage Analysis
Phase 4: Quality Check
| Check | Pass Criteria | Action on Failure |
|---|---|---|
| Proposal count | >= 1 proposal | Generate at least one proposal |
| Theme count | >= 2 themes | Look for more patterns |
| Conflict resolution | All conflicts documented | Address unresolved conflicts |
After passing checks, update shared state:
- Set .msg/meta.json synthesis_themes
- Each entry: name, strength, supporting_ideas