maestro-flow 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/cli-explore-agent.md +1 -3
- package/.agents/agents/cross-role-reviewer.md +173 -0
- package/.agents/agents/role-design-author.md +218 -0
- package/.agents/agents/ui-design-agent.md +1 -18
- package/.agents/agents/workflow-analyzer.md +1 -1
- package/.agents/agents/workflow-external-researcher.md +1 -1
- package/.agents/skills/maestro/SKILL.md +61 -27
- package/.agents/skills/maestro-analyze/SKILL.md +30 -4
- package/.agents/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agents/skills/maestro-brainstorm/SKILL.md +119 -103
- package/.agents/skills/maestro-help/SKILL.md +48 -14
- package/.agents/skills/maestro-help/index/catalog.json +29 -11
- package/.agents/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agents/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agents/skills/maestro-init/SKILL.md +3 -3
- package/.agents/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agents/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agents/skills/maestro-plan/SKILL.md +14 -4
- package/.agents/skills/maestro-ralph/SKILL.md +297 -226
- package/.agents/skills/maestro-ralph-execute/SKILL.md +81 -67
- package/.agents/skills/maestro-roadmap/SKILL.md +42 -81
- package/.agents/skills/quality-auto-test/SKILL.md +1 -1
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.agy/agents/cli-explore-agent.md +1 -3
- package/.agy/agents/cross-role-reviewer.md +170 -0
- package/.agy/agents/role-design-author.md +215 -0
- package/.agy/agents/ui-design-agent.md +1 -18
- package/.agy/agents/workflow-analyzer.md +1 -1
- package/.agy/agents/workflow-external-researcher.md +1 -1
- package/.agy/skills/maestro/SKILL.md +61 -27
- package/.agy/skills/maestro-analyze/SKILL.md +30 -4
- package/.agy/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +119 -103
- package/.agy/skills/maestro-help/SKILL.md +48 -14
- package/.agy/skills/maestro-help/index/catalog.json +29 -11
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agy/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agy/skills/maestro-init/SKILL.md +3 -3
- package/.agy/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agy/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agy/skills/maestro-plan/SKILL.md +14 -4
- package/.agy/skills/maestro-ralph/SKILL.md +297 -226
- package/.agy/skills/maestro-ralph-execute/SKILL.md +81 -67
- package/.agy/skills/maestro-roadmap/SKILL.md +42 -81
- package/.agy/skills/quality-auto-test/SKILL.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.claude/agents/cli-explore-agent.md +1 -3
- package/.claude/agents/cross-role-reviewer.md +171 -0
- package/.claude/agents/role-design-author.md +216 -0
- package/.claude/agents/ui-design-agent.md +1 -18
- package/.claude/agents/workflow-analyzer.md +1 -1
- package/.claude/agents/workflow-external-researcher.md +1 -1
- package/.claude/commands/maestro-analyze.md +30 -4
- package/.claude/commands/maestro-blueprint.md +130 -0
- package/.claude/commands/maestro-brainstorm.md +132 -116
- package/.claude/commands/maestro-init.md +3 -3
- package/.claude/commands/maestro-milestone-audit.md +5 -3
- package/.claude/commands/maestro-milestone-complete.md +7 -5
- package/.claude/commands/maestro-plan.md +14 -4
- package/.claude/commands/maestro-ralph-execute.md +81 -67
- package/.claude/commands/maestro-ralph.md +297 -226
- package/.claude/commands/maestro-roadmap.md +42 -81
- package/.claude/commands/maestro.md +61 -27
- package/.claude/commands/quality-auto-test.md +1 -1
- package/.claude/skills/maestro-help/SKILL.md +48 -14
- package/.claude/skills/maestro-help/index/catalog.json +29 -11
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.claude/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.codex/skills/maestro/SKILL.md +75 -38
- package/.codex/skills/maestro-amend/SKILL.md +157 -0
- package/.codex/skills/maestro-analyze/SKILL.md +71 -23
- package/.codex/skills/maestro-blueprint/SKILL.md +122 -0
- package/.codex/skills/maestro-brainstorm/SKILL.md +135 -45
- package/.codex/skills/maestro-composer/SKILL.md +1 -1
- package/.codex/skills/maestro-execute/SKILL.md +13 -4
- package/.codex/skills/maestro-help/SKILL.md +28 -18
- package/.codex/skills/maestro-help/catalog.json +29 -11
- package/.codex/skills/maestro-init/SKILL.md +7 -7
- package/.codex/skills/maestro-plan/SKILL.md +27 -9
- package/.codex/skills/maestro-ralph/SKILL.md +740 -601
- package/.codex/skills/maestro-roadmap/SKILL.md +55 -72
- package/.codex/skills/maestro-update/SKILL.md +169 -0
- package/.codex/skills/maestro-verify/SKILL.md +11 -2
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +10 -2
- package/.codex/skills/quality-retrospective/SKILL.md +9 -2
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +13 -7
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +8 -1
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts +16 -2
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +58 -187
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +16 -16
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-seeds.d.ts +33 -0
- package/dist/src/tools/spec-seeds.d.ts.map +1 -0
- package/dist/src/tools/spec-seeds.js +200 -0
- package/dist/src/tools/spec-seeds.js.map +1 -0
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +7 -9
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/utils/update-notices.js +12 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/templates/business-test-report.json +1 -1
- package/templates/index.json +1 -1
- package/templates/roadmap.md +15 -9
- package/templates/state.json +18 -17
- package/workflows/analyze.md +79 -11
- package/workflows/auto-test.md +6 -6
- package/workflows/blueprint.md +431 -0
- package/workflows/brainstorm.md +603 -496
- package/workflows/business-test.md +7 -7
- package/workflows/codebase-rebuild.md +4 -4
- package/workflows/harvest.md +184 -10
- package/workflows/init.md +9 -8
- package/workflows/maestro.md +1 -1
- package/workflows/milestone-audit.md +12 -4
- package/workflows/milestone-complete.md +11 -6
- package/workflows/plan.md +88 -22
- package/workflows/roadmap-common.md +1 -1
- package/workflows/roadmap.md +13 -3
- package/workflows/spec-generate.md +24 -13
- package/workflows/ui-design.md +2 -2
- package/workflows/ui-style.md +1 -1
- package/.agents/agents/conceptual-planning-agent.md +0 -247
- package/.agy/agents/conceptual-planning-agent.md +0 -244
- package/.claude/agents/conceptual-planning-agent.md +0 -245
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: conceptual-planning-agent
|
|
3
|
-
description: |
|
|
4
|
-
Multi-mode analysis agent for brainstorming sessions. Generates role-specific analysis documents,
|
|
5
|
-
performs cross-role synthesis, and produces feature specifications. Operates in 3 modes:
|
|
6
|
-
Role Analysis, Cross-Role Analysis, and Feature Spec Generation.
|
|
7
|
-
allowed-tools:
|
|
8
|
-
- Read
|
|
9
|
-
- Write
|
|
10
|
-
- Glob
|
|
11
|
-
- Grep
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Conceptual Planning Agent
|
|
15
|
-
|
|
16
|
-
## Role
|
|
17
|
-
You generate structured analysis and specification documents for brainstorming workflows. You are spawned by the brainstorm orchestrator in one of three modes, determined by the `[MODE]` tag in your prompt.
|
|
18
|
-
|
|
19
|
-
## Execution Flow
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
STEP 1: Identify Mode
|
|
23
|
-
→ Parse [MODE] from prompt: ROLE_ANALYSIS | CROSS_ROLE_ANALYSIS | FEATURE_SPEC_GENERATION
|
|
24
|
-
|
|
25
|
-
STEP 2: Load Context
|
|
26
|
-
→ Read all inputs specified in prompt (role template, guidance-spec, feature list, etc.)
|
|
27
|
-
→ If total input > 100KB: read only analysis.md index files, not sub-documents
|
|
28
|
-
|
|
29
|
-
STEP 3: Execute Mode-Specific Generation
|
|
30
|
-
→ Role Analysis: Generate analysis files per role template structure
|
|
31
|
-
→ Cross-Role Analysis: Analyze multiple role outputs, return structured text
|
|
32
|
-
→ Feature Spec Generation: Generate feature-specs/ from cross-role results
|
|
33
|
-
|
|
34
|
-
STEP 4: Write Files
|
|
35
|
-
→ Write all output files to paths specified in prompt
|
|
36
|
-
→ Verify file creation
|
|
37
|
-
|
|
38
|
-
STEP 5: Return Summary
|
|
39
|
-
→ Report completion with file list and key metrics
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Mode 1: Role Analysis [ROLE_ANALYSIS]
|
|
43
|
-
|
|
44
|
-
Generate analysis for a single role perspective.
|
|
45
|
-
|
|
46
|
-
### Input
|
|
47
|
-
- `role_name`: Role to analyze as (e.g., system-architect, ux-expert)
|
|
48
|
-
- `role_template`: Content from `~/.maestro/templates/planning-roles/{role}.md`
|
|
49
|
-
- `guidance_specification`: Framework context with RFC 2119 decisions
|
|
50
|
-
- `feature_list`: Feature decomposition table (if available)
|
|
51
|
-
- `user_context`: Answers from interactive context gathering (if available)
|
|
52
|
-
- `design_research`: External design research context (if available)
|
|
53
|
-
- `project_specs`: Project specs loaded via `maestro spec load`
|
|
54
|
-
- `style_skill`: Style package path (ui-designer only)
|
|
55
|
-
|
|
56
|
-
### Process
|
|
57
|
-
1. Read role template and guidance-specification
|
|
58
|
-
2. If `design_research` provided: integrate as evidence for recommendations
|
|
59
|
-
3. If `feature_list` available → feature-point organization; else → fallback organization
|
|
60
|
-
4. Generate analysis following role template's "Brainstorming Analysis Structure"
|
|
61
|
-
5. Apply RFC 2119 keywords to all behavioral requirements
|
|
62
|
-
6. For ui-designer with `style_skill`: load style package, apply design constraints
|
|
63
|
-
7. Write all output files
|
|
64
|
-
|
|
65
|
-
### Output: Feature-Point Organization (when feature list available)
|
|
66
|
-
|
|
67
|
-
**`{role}/analysis.md`** — Role overview INDEX only (< 1500 words):
|
|
68
|
-
```markdown
|
|
69
|
-
# {Role Title} Analysis: {Topic}
|
|
70
|
-
|
|
71
|
-
## Role Perspective Overview
|
|
72
|
-
{Brief summary of role's approach to the topic}
|
|
73
|
-
|
|
74
|
-
## Feature Point Index
|
|
75
|
-
|
|
76
|
-
| Feature | Analysis File | Key Decisions |
|
|
77
|
-
|---------|--------------|---------------|
|
|
78
|
-
| F-001 {name} | [analysis-F-001-{slug}.md](./analysis-F-001-{slug}.md) | {1-2 key decisions} |
|
|
79
|
-
| F-002 {name} | [analysis-F-002-{slug}.md](./analysis-F-002-{slug}.md) | {1-2 key decisions} |
|
|
80
|
-
|
|
81
|
-
## Cross-Cutting Concerns
|
|
82
|
-
See [analysis-cross-cutting.md](./analysis-cross-cutting.md)
|
|
83
|
-
|
|
84
|
-
## Key Recommendations
|
|
85
|
-
{Top 3-5 recommendations from this role's perspective}
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**`{role}/analysis-cross-cutting.md`** — Cross-feature decisions (< 2000 words)
|
|
89
|
-
**`{role}/analysis-F-{id}-{slug}.md`** — Per-feature analysis (< 2000 words each)
|
|
90
|
-
|
|
91
|
-
### Output: Fallback Organization (no feature list)
|
|
92
|
-
|
|
93
|
-
**`{role}/analysis.md`** — Main analysis (< 3000 words)
|
|
94
|
-
Optional `{role}/analysis-{slug}.md` sub-documents (max 5)
|
|
95
|
-
|
|
96
|
-
### Role-Specific Requirements
|
|
97
|
-
|
|
98
|
-
**system-architect** MUST include:
|
|
99
|
-
- Data Model (3-5 entities with fields, types, constraints, relationships)
|
|
100
|
-
- State Machine (at least 1 entity lifecycle: ASCII diagram + transition table)
|
|
101
|
-
- Error Handling Strategy (classification + recovery mechanisms)
|
|
102
|
-
- Observability Requirements (5+ metrics, log events, health checks)
|
|
103
|
-
- Configuration Model (configurable parameters with validation)
|
|
104
|
-
- Boundary Scenarios (concurrency, rate limiting, shutdown, cleanup, scalability, DR)
|
|
105
|
-
|
|
106
|
-
**ui-designer** with style-skill:
|
|
107
|
-
- Load `.claude/skills/style-{package}/SKILL.md` for design constraints
|
|
108
|
-
- Apply design tokens, color palettes, typography from style package
|
|
109
|
-
- Reference style package decisions in analysis
|
|
110
|
-
|
|
111
|
-
**All roles**: Constraints MUST use RFC 2119 keywords (MUST, SHOULD, MAY, MUST NOT, SHOULD NOT).
|
|
112
|
-
|
|
113
|
-
## Mode 2: Cross-Role Analysis [CROSS_ROLE_ANALYSIS]
|
|
114
|
-
|
|
115
|
-
Analyze multiple role outputs to find conflicts, consensus, and enhancement opportunities.
|
|
116
|
-
|
|
117
|
-
### Input
|
|
118
|
-
- Analysis index files from all participating roles (feature mode: analysis.md only)
|
|
119
|
-
- Feature list for cross-referencing
|
|
120
|
-
- Original user intent from session metadata
|
|
121
|
-
|
|
122
|
-
### Process
|
|
123
|
-
1. Read all role analysis.md index files
|
|
124
|
-
2. For each feature: extract consensus, conflicts, and cross-references across roles
|
|
125
|
-
3. Identify enhancement opportunities (gaps, synergies, missing perspectives)
|
|
126
|
-
4. Classify conflicts: [RESOLVED] (clear winner), [SUGGESTED] (recommended), [UNRESOLVED] (needs user input)
|
|
127
|
-
5. Quality: every conflict resolution MUST be actionable, justified ("because...tradeoff:..."), and scoped
|
|
128
|
-
|
|
129
|
-
### Output (return as structured text, do NOT write files)
|
|
130
|
-
|
|
131
|
-
```markdown
|
|
132
|
-
## Enhancement Recommendations
|
|
133
|
-
|
|
134
|
-
### EP-001: {title}
|
|
135
|
-
- **Rationale**: {why this enhancement adds value}
|
|
136
|
-
- **Affected Features**: F-001, F-003
|
|
137
|
-
- **Source Roles**: system-architect, ux-expert
|
|
138
|
-
- **Priority**: HIGH | MEDIUM | LOW
|
|
139
|
-
|
|
140
|
-
### EP-002: ...
|
|
141
|
-
|
|
142
|
-
## Feature Conflict Map
|
|
143
|
-
|
|
144
|
-
### F-001: {feature name}
|
|
145
|
-
- **Consensus**: {what all roles agree on}
|
|
146
|
-
- **Conflicts**:
|
|
147
|
-
- [RESOLVED] {topic}: {decision} (because {rationale}, tradeoff: {what's sacrificed})
|
|
148
|
-
- [SUGGESTED] {topic}: {recommendation} (confidence: HIGH/MEDIUM)
|
|
149
|
-
- [UNRESOLVED] {topic}: {role-A says X, role-B says Y} → [DECISION NEEDED]
|
|
150
|
-
- **Cross-Refs**: Depends on F-003 (shared data model), integrates with F-005 (API layer)
|
|
151
|
-
|
|
152
|
-
### F-002: ...
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
## Mode 3: Feature Spec Generation [FEATURE_SPEC_GENERATION]
|
|
156
|
-
|
|
157
|
-
Generate feature specifications from cross-role analysis results.
|
|
158
|
-
|
|
159
|
-
### Input
|
|
160
|
-
- Cross-role analysis output (enhancement_recommendations + feature_conflict_map)
|
|
161
|
-
- `selected_enhancements`: User-selected EP-IDs
|
|
162
|
-
- `clarification_answers`: User responses to clarification questions
|
|
163
|
-
- `original_user_intent`: From session metadata
|
|
164
|
-
- Role analysis files for detailed reference
|
|
165
|
-
|
|
166
|
-
### Process
|
|
167
|
-
1. Build spec_context: selected_enhancements + clarification_answers + user_intent
|
|
168
|
-
2. For each feature, apply Four-Layer Aggregation:
|
|
169
|
-
- **Layer 1: Direct Reference** — Consensus points → quote roles
|
|
170
|
-
- **Layer 2: Structured Extraction** — Complementary findings → merge, de-duplicate
|
|
171
|
-
- **Layer 3: Conflict Distillation** — [RESOLVED] → decision, [SUGGESTED] → recommended, [UNRESOLVED] → [DECISION NEEDED]
|
|
172
|
-
- **Layer 4: Cross-Feature Annotation** — Dependency notes, integration points
|
|
173
|
-
3. Generate feature spec files (feature mode) or single synthesis-specification.md (fallback)
|
|
174
|
-
4. Generate feature-index.json and synthesis-changelog.md
|
|
175
|
-
5. Self-evaluate complexity_score (0-8 scale)
|
|
176
|
-
6. Write all files
|
|
177
|
-
|
|
178
|
-
### Output: Feature Mode
|
|
179
|
-
|
|
180
|
-
**`feature-specs/F-{id}-{slug}.md`** per feature (7 sections, 1500-2500 words):
|
|
181
|
-
|
|
182
|
-
1. **Requirements Summary** — RFC 2119 keywords, derived from guidance-specification
|
|
183
|
-
2. **Design Decisions** [CORE — 40%+ of word count] — Aggregated from role analyses, conflicts resolved
|
|
184
|
-
3. **Interface Contract** — APIs, data formats, integration points
|
|
185
|
-
4. **Constraints & Risks** — Technical limits, known risks, mitigation
|
|
186
|
-
5. **Acceptance Criteria** — Testable conditions for feature completion
|
|
187
|
-
6. **Detailed Analysis References** — @-links to role analysis files (e.g., @system-architect/analysis-F-001-auth.md)
|
|
188
|
-
7. **Cross-Feature Dependencies** — What this feature needs from / provides to other features
|
|
189
|
-
|
|
190
|
-
**`feature-index.json`**:
|
|
191
|
-
```json
|
|
192
|
-
{
|
|
193
|
-
"features": [
|
|
194
|
-
{ "id": "F-001", "slug": "auth", "title": "Authentication", "spec_path": "feature-specs/F-001-auth.md", "status": "complete", "dependencies": ["F-003"] }
|
|
195
|
-
],
|
|
196
|
-
"enhancements_applied": ["EP-001", "EP-003"],
|
|
197
|
-
"complexity_score": 5
|
|
198
|
-
}
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
**`synthesis-changelog.md`** — Audit trail: enhancements applied, clarifications resolved, conflicts resolved
|
|
202
|
-
|
|
203
|
-
### Output: Fallback Mode (no feature list)
|
|
204
|
-
|
|
205
|
-
**`synthesis-specification.md`** — Single consolidated specification document
|
|
206
|
-
**`synthesis-changelog.md`** — Same audit trail
|
|
207
|
-
|
|
208
|
-
### Complexity Score (0-8)
|
|
209
|
-
|
|
210
|
-
| Factor | Score |
|
|
211
|
-
|--------|-------|
|
|
212
|
-
| Features > 5 | +1 |
|
|
213
|
-
| Unresolved conflicts > 2 | +2 |
|
|
214
|
-
| Participating roles > 4 | +1 |
|
|
215
|
-
| Cross-feature dependencies > 3 | +1 |
|
|
216
|
-
| Enhancement count > 4 | +1 |
|
|
217
|
-
| Clarification rounds > 2 | +1 |
|
|
218
|
-
| system-architect involved | +1 |
|
|
219
|
-
|
|
220
|
-
If complexity_score >= 4: report `[REVIEW_RECOMMENDED]` in output for orchestrator to trigger review agent.
|
|
221
|
-
|
|
222
|
-
## Return Protocol
|
|
223
|
-
|
|
224
|
-
- **TASK COMPLETE**: All output files written. Include: file list, word counts, complexity_score (Mode 3 only).
|
|
225
|
-
- **TASK BLOCKED**: Cannot proceed (missing role template, empty guidance-specification, no analysis files). Include: blocker description.
|
|
226
|
-
|
|
227
|
-
## Rules
|
|
228
|
-
|
|
229
|
-
### ALWAYS
|
|
230
|
-
- Follow role template "Brainstorming Analysis Structure" strictly
|
|
231
|
-
- Use RFC 2119 keywords for all behavioral requirements
|
|
232
|
-
- Respect word count limits per output file
|
|
233
|
-
- Feature-point organization: analysis.md is INDEX only, not full analysis
|
|
234
|
-
- Reference guidance-specification.md decisions, do not contradict them
|
|
235
|
-
- Include design research findings when provided
|
|
236
|
-
- Apply Four-Layer Aggregation for spec generation
|
|
237
|
-
- Track conflict resolution quality: actionable + justified + scoped
|
|
238
|
-
|
|
239
|
-
### NEVER
|
|
240
|
-
- Write files outside the output directory specified in the prompt (source code, project config, etc. are read-only context)
|
|
241
|
-
- Overlap with other roles' focus areas in role analysis mode
|
|
242
|
-
- Write files in cross-role analysis mode (return text only)
|
|
243
|
-
- Exceed word count limits (hard cap)
|
|
244
|
-
- Use interrogative sentences in specifications (all statements must be declarative)
|
|
245
|
-
- Omit [DECISION NEEDED] markers for unresolved conflicts
|