@sienklogic/plan-build-run 2.0.2 → 2.1.0
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/dashboard/src/routes/pages.routes.js +11 -4
- package/dashboard/src/services/dashboard.service.js +81 -17
- package/dashboard/src/services/phase.service.js +30 -24
- package/dashboard/src/services/roadmap.service.js +3 -3
- package/dashboard/src/views/partials/phase-content.ejs +5 -4
- package/package.json +1 -1
- package/plugins/cursor-pbr/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor-pbr/CHANGELOG.md +15 -0
- package/plugins/cursor-pbr/README.md +118 -0
- package/plugins/cursor-pbr/agents/codebase-mapper.md +108 -0
- package/plugins/cursor-pbr/agents/debugger.md +168 -0
- package/plugins/cursor-pbr/agents/executor.md +236 -0
- package/plugins/cursor-pbr/agents/general.md +87 -0
- package/plugins/cursor-pbr/agents/integration-checker.md +87 -0
- package/plugins/cursor-pbr/agents/plan-checker.md +198 -0
- package/plugins/cursor-pbr/agents/planner.md +180 -0
- package/plugins/cursor-pbr/agents/researcher.md +162 -0
- package/plugins/cursor-pbr/agents/synthesizer.md +101 -0
- package/plugins/cursor-pbr/agents/verifier.md +193 -0
- package/plugins/cursor-pbr/assets/logo.svg +21 -0
- package/plugins/cursor-pbr/hooks/hooks.json +189 -7
- package/plugins/cursor-pbr/references/agent-anti-patterns.md +25 -0
- package/plugins/cursor-pbr/references/agent-interactions.md +135 -0
- package/plugins/cursor-pbr/references/agent-teams.md +55 -0
- package/plugins/cursor-pbr/references/checkpoints.md +158 -0
- package/plugins/cursor-pbr/references/common-bug-patterns.md +14 -0
- package/plugins/cursor-pbr/references/config-reference.md +442 -0
- package/plugins/cursor-pbr/references/continuation-format.md +213 -0
- package/plugins/cursor-pbr/references/deviation-rules.md +113 -0
- package/plugins/cursor-pbr/references/git-integration.md +227 -0
- package/plugins/cursor-pbr/references/integration-patterns.md +118 -0
- package/plugins/cursor-pbr/references/model-profiles.md +100 -0
- package/plugins/cursor-pbr/references/model-selection.md +32 -0
- package/plugins/cursor-pbr/references/pbr-rules.md +194 -0
- package/plugins/cursor-pbr/references/plan-authoring.md +182 -0
- package/plugins/cursor-pbr/references/plan-format.md +288 -0
- package/plugins/cursor-pbr/references/planning-config.md +214 -0
- package/plugins/cursor-pbr/references/questioning.md +215 -0
- package/plugins/cursor-pbr/references/reading-verification.md +128 -0
- package/plugins/cursor-pbr/references/stub-patterns.md +161 -0
- package/plugins/cursor-pbr/references/subagent-coordination.md +120 -0
- package/plugins/cursor-pbr/references/ui-formatting.md +462 -0
- package/plugins/cursor-pbr/references/verification-patterns.md +199 -0
- package/plugins/cursor-pbr/references/wave-execution.md +96 -0
- package/plugins/cursor-pbr/rules/pbr-workflow.mdc +48 -0
- package/plugins/cursor-pbr/setup.ps1 +78 -0
- package/plugins/cursor-pbr/setup.sh +83 -0
- package/plugins/cursor-pbr/skills/begin/SKILL.md +566 -0
- package/plugins/cursor-pbr/skills/begin/templates/PROJECT.md.tmpl +34 -0
- package/plugins/cursor-pbr/skills/begin/templates/REQUIREMENTS.md.tmpl +19 -0
- package/plugins/cursor-pbr/skills/begin/templates/STATE.md.tmpl +50 -0
- package/plugins/cursor-pbr/skills/begin/templates/config.json.tmpl +64 -0
- package/plugins/cursor-pbr/skills/begin/templates/researcher-prompt.md.tmpl +20 -0
- package/plugins/cursor-pbr/skills/begin/templates/roadmap-prompt.md.tmpl +31 -0
- package/plugins/cursor-pbr/skills/begin/templates/synthesis-prompt.md.tmpl +17 -0
- package/plugins/cursor-pbr/skills/build/SKILL.md +902 -0
- package/plugins/cursor-pbr/skills/config/SKILL.md +253 -0
- package/plugins/cursor-pbr/skills/continue/SKILL.md +159 -0
- package/plugins/cursor-pbr/skills/debug/SKILL.md +512 -0
- package/plugins/cursor-pbr/skills/debug/templates/continuation-prompt.md.tmpl +17 -0
- package/plugins/cursor-pbr/skills/debug/templates/initial-investigation-prompt.md.tmpl +28 -0
- package/plugins/cursor-pbr/skills/discuss/SKILL.md +344 -0
- package/plugins/cursor-pbr/skills/discuss/templates/CONTEXT.md.tmpl +62 -0
- package/plugins/cursor-pbr/skills/discuss/templates/decision-categories.md +10 -0
- package/plugins/cursor-pbr/skills/explore/SKILL.md +375 -0
- package/plugins/cursor-pbr/skills/health/SKILL.md +218 -0
- package/plugins/cursor-pbr/skills/health/templates/check-pattern.md.tmpl +31 -0
- package/plugins/cursor-pbr/skills/health/templates/output-format.md.tmpl +64 -0
- package/plugins/cursor-pbr/skills/help/SKILL.md +152 -0
- package/plugins/cursor-pbr/skills/import/SKILL.md +499 -0
- package/plugins/cursor-pbr/skills/milestone/SKILL.md +701 -0
- package/plugins/cursor-pbr/skills/milestone/templates/audit-report.md.tmpl +49 -0
- package/plugins/cursor-pbr/skills/milestone/templates/stats-file.md.tmpl +31 -0
- package/plugins/cursor-pbr/skills/note/SKILL.md +228 -0
- package/plugins/cursor-pbr/skills/pause/SKILL.md +246 -0
- package/plugins/cursor-pbr/skills/pause/templates/continue-here.md.tmpl +72 -0
- package/plugins/cursor-pbr/skills/plan/SKILL.md +648 -0
- package/plugins/cursor-pbr/skills/plan/templates/checker-prompt.md.tmpl +22 -0
- package/plugins/cursor-pbr/skills/plan/templates/gap-closure-prompt.md.tmpl +33 -0
- package/plugins/cursor-pbr/skills/plan/templates/planner-prompt.md.tmpl +39 -0
- package/plugins/cursor-pbr/skills/plan/templates/researcher-prompt.md.tmpl +20 -0
- package/plugins/cursor-pbr/skills/plan/templates/revision-prompt.md.tmpl +24 -0
- package/plugins/cursor-pbr/skills/quick/SKILL.md +351 -0
- package/plugins/cursor-pbr/skills/resume/SKILL.md +399 -0
- package/plugins/cursor-pbr/skills/review/SKILL.md +649 -0
- package/plugins/cursor-pbr/skills/review/templates/debugger-prompt.md.tmpl +61 -0
- package/plugins/cursor-pbr/skills/review/templates/gap-planner-prompt.md.tmpl +41 -0
- package/plugins/cursor-pbr/skills/review/templates/verifier-prompt.md.tmpl +116 -0
- package/plugins/cursor-pbr/skills/scan/SKILL.md +301 -0
- package/plugins/cursor-pbr/skills/scan/templates/mapper-prompt.md.tmpl +202 -0
- package/plugins/cursor-pbr/skills/setup/SKILL.md +250 -0
- package/plugins/cursor-pbr/skills/shared/commit-planning-docs.md +36 -0
- package/plugins/cursor-pbr/skills/shared/config-loading.md +103 -0
- package/plugins/cursor-pbr/skills/shared/context-budget.md +41 -0
- package/plugins/cursor-pbr/skills/shared/context-loader-task.md +87 -0
- package/plugins/cursor-pbr/skills/shared/digest-select.md +80 -0
- package/plugins/cursor-pbr/skills/shared/domain-probes.md +126 -0
- package/plugins/cursor-pbr/skills/shared/error-reporting.md +80 -0
- package/plugins/cursor-pbr/skills/shared/gate-prompts.md +389 -0
- package/plugins/cursor-pbr/skills/shared/phase-argument-parsing.md +46 -0
- package/plugins/cursor-pbr/skills/shared/progress-display.md +54 -0
- package/plugins/cursor-pbr/skills/shared/revision-loop.md +82 -0
- package/plugins/cursor-pbr/skills/shared/state-loading.md +63 -0
- package/plugins/cursor-pbr/skills/shared/state-update.md +162 -0
- package/plugins/cursor-pbr/skills/shared/universal-anti-patterns.md +34 -0
- package/plugins/cursor-pbr/skills/status/SKILL.md +362 -0
- package/plugins/cursor-pbr/skills/todo/SKILL.md +195 -0
- package/plugins/cursor-pbr/templates/CONTEXT.md.tmpl +53 -0
- package/plugins/cursor-pbr/templates/INTEGRATION-REPORT.md.tmpl +152 -0
- package/plugins/cursor-pbr/templates/RESEARCH-SUMMARY.md.tmpl +98 -0
- package/plugins/cursor-pbr/templates/ROADMAP.md.tmpl +41 -0
- package/plugins/cursor-pbr/templates/SUMMARY.md.tmpl +82 -0
- package/plugins/cursor-pbr/templates/VERIFICATION-DETAIL.md.tmpl +117 -0
- package/plugins/cursor-pbr/templates/continue-here.md.tmpl +74 -0
- package/plugins/cursor-pbr/templates/prompt-partials/phase-project-context.md.tmpl +38 -0
- package/plugins/pbr/agents/codebase-mapper.md +41 -206
- package/plugins/pbr/agents/debugger.md +65 -171
- package/plugins/pbr/agents/executor.md +90 -275
- package/plugins/pbr/agents/general.md +27 -97
- package/plugins/pbr/agents/integration-checker.md +35 -112
- package/plugins/pbr/agents/plan-checker.md +71 -164
- package/plugins/pbr/agents/planner.md +75 -246
- package/plugins/pbr/agents/researcher.md +63 -255
- package/plugins/pbr/agents/synthesizer.md +49 -174
- package/plugins/pbr/agents/verifier.md +75 -366
- package/plugins/pbr/hooks/hooks.json +14 -10
- package/plugins/pbr/scripts/auto-continue.js +20 -4
- package/plugins/pbr/scripts/check-dangerous-commands.js +1 -1
- package/plugins/pbr/scripts/check-phase-boundary.js +1 -1
- package/plugins/pbr/scripts/check-plan-format.js +3 -3
- package/plugins/pbr/scripts/check-roadmap-sync.js +3 -3
- package/plugins/pbr/scripts/check-skill-workflow.js +1 -1
- package/plugins/pbr/scripts/check-state-sync.js +2 -2
- package/plugins/pbr/scripts/check-subagent-output.js +1 -1
- package/plugins/pbr/scripts/check-summary-gate.js +198 -0
- package/plugins/pbr/scripts/context-budget-check.js +1 -1
- package/plugins/pbr/scripts/event-handler.js +2 -2
- package/plugins/pbr/scripts/event-logger.js +1 -1
- package/plugins/pbr/scripts/log-subagent.js +1 -1
- package/plugins/pbr/scripts/pbr-tools.js +1 -1
- package/plugins/pbr/scripts/post-write-dispatch.js +1 -1
- package/plugins/pbr/scripts/post-write-quality.js +1 -1
- package/plugins/pbr/scripts/pre-bash-dispatch.js +1 -1
- package/plugins/pbr/scripts/pre-write-dispatch.js +16 -3
- package/plugins/pbr/scripts/session-cleanup.js +1 -1
- package/plugins/pbr/scripts/status-line.js +1 -1
- package/plugins/pbr/scripts/suggest-compact.js +1 -1
- package/plugins/pbr/scripts/task-completed.js +1 -1
- package/plugins/pbr/scripts/track-context-budget.js +11 -6
- package/plugins/pbr/scripts/validate-commit.js +1 -1
- package/plugins/pbr/scripts/validate-task.js +1 -1
- package/plugins/cursor-pbr/agents/.gitkeep +0 -0
- package/plugins/cursor-pbr/references/.gitkeep +0 -0
- package/plugins/cursor-pbr/rules/.gitkeep +0 -0
- package/plugins/cursor-pbr/skills/.gitkeep +0 -0
- package/plugins/cursor-pbr/templates/.gitkeep +0 -0
|
@@ -15,114 +15,45 @@ You are **synthesizer**, the fast synthesis agent for the Plan-Build-Run develop
|
|
|
15
15
|
|
|
16
16
|
## Core Purpose
|
|
17
17
|
|
|
18
|
-
When 2-4 research agents
|
|
18
|
+
When 2-4 research agents produce separate findings, you read all of them and produce a unified SUMMARY.md that:
|
|
19
19
|
1. Consolidates key findings
|
|
20
20
|
2. Resolves contradictions between sources
|
|
21
21
|
3. Provides clear, ranked recommendations
|
|
22
22
|
4. Is scannable by the planner (tables, not prose)
|
|
23
23
|
|
|
24
|
-
---
|
|
25
|
-
|
|
26
24
|
## Input
|
|
27
25
|
|
|
28
|
-
You receive paths to 2-4 research documents.
|
|
29
|
-
- `.planning/research/` (project-level research)
|
|
30
|
-
- `.planning/phases/{NN}/RESEARCH.md` (phase-level research)
|
|
31
|
-
- Any paths specified in the invocation
|
|
32
|
-
|
|
33
|
-
Each document was produced by researcher or a similar research process.
|
|
34
|
-
|
|
35
|
-
---
|
|
26
|
+
You receive paths to 2-4 research documents (in `.planning/research/`, `.planning/phases/{NN}/RESEARCH.md`, or specified paths). Each was produced by researcher or a similar process.
|
|
36
27
|
|
|
37
28
|
## Synthesis Process
|
|
38
29
|
|
|
39
30
|
### Step 1: Read All Research Documents
|
|
40
|
-
|
|
41
|
-
Read every document provided. For each, extract:
|
|
42
|
-
|
|
43
|
-
1. **Recommended technologies/libraries** with versions
|
|
44
|
-
2. **Architectural patterns** suggested
|
|
45
|
-
3. **Warnings and pitfalls** identified
|
|
46
|
-
4. **Confidence levels** of claims (HIGH/MEDIUM/LOW)
|
|
47
|
-
5. **Source quality** (S1-S6 hierarchy)
|
|
48
|
-
6. **Open questions** that weren't resolved
|
|
49
|
-
|
|
50
|
-
Track which document each finding came from.
|
|
31
|
+
Extract from each: recommended technologies/versions, architectural patterns, warnings/pitfalls, confidence levels (HIGH/MEDIUM/LOW), source quality (S1-S6), and open questions. Track which document each finding came from.
|
|
51
32
|
|
|
52
33
|
### Step 2: Build a Findings Matrix
|
|
53
34
|
|
|
54
|
-
Create an internal matrix mapping topics to findings across documents:
|
|
55
|
-
|
|
56
35
|
```
|
|
57
36
|
Topic | Doc A | Doc B | Doc C | Agreement?
|
|
58
37
|
Framework | Next.js 14 | Next.js 14 | - | YES
|
|
59
38
|
Database | PostgreSQL | MongoDB | PostgreSQL | CONFLICT
|
|
60
39
|
Auth method | JWT | JWT | Session | PARTIAL
|
|
61
|
-
Hosting | Vercel | - | AWS | CONFLICT
|
|
62
40
|
```
|
|
63
41
|
|
|
64
42
|
### Step 3: Resolve Contradictions
|
|
65
43
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
- S1 (Context7/MCP) > S2 (Official docs) > S3 (GitHub) > S4 (Verified WebSearch) > S5 (WebSearch) > S6 (Training)
|
|
72
|
-
|
|
73
|
-
#### Rule 2: Higher Confidence Wins
|
|
74
|
-
|
|
75
|
-
If same source level but different confidence:
|
|
76
|
-
- HIGH > MEDIUM > LOW > SPECULATIVE
|
|
77
|
-
|
|
78
|
-
#### Rule 3: Majority Wins (with caveat)
|
|
79
|
-
|
|
80
|
-
If same source level and confidence but documents disagree:
|
|
81
|
-
- If 2+ documents agree, their position wins
|
|
82
|
-
- BUT document the minority position as an alternative
|
|
83
|
-
|
|
84
|
-
#### Rule 4: Present Both (cannot resolve)
|
|
85
|
-
|
|
86
|
-
If truly equal sources with equal confidence and no majority:
|
|
87
|
-
- Present both options with tradeoffs
|
|
88
|
-
- Note that a decision is needed from the user/planner
|
|
89
|
-
- Provide a recommendation with reasoning, but mark it as `[NEEDS DECISION]`
|
|
90
|
-
|
|
91
|
-
### Contradiction Documentation Format
|
|
92
|
-
|
|
93
|
-
For each contradiction found:
|
|
94
|
-
|
|
95
|
-
```markdown
|
|
96
|
-
### {Topic}: {Document A} vs {Document B}
|
|
97
|
-
|
|
98
|
-
| Aspect | Document A | Document B |
|
|
99
|
-
|--------|-----------|-----------|
|
|
100
|
-
| Recommends | {option A} | {option B} |
|
|
101
|
-
| Source level | {S-level} | {S-level} |
|
|
102
|
-
| Confidence | {level} | {level} |
|
|
103
|
-
| Rationale | {why A recommends this} | {why B recommends this} |
|
|
104
|
-
|
|
105
|
-
**Resolution**: {Which option was chosen and why}
|
|
106
|
-
**Alternative**: {The rejected option, preserved for reference}
|
|
107
|
-
```
|
|
44
|
+
Resolution priority (apply in order):
|
|
45
|
+
1. **Higher Source Wins**: S1 (Context7/MCP) > S2 (Official docs) > S3 (GitHub) > S4 (Verified WebSearch) > S5 (WebSearch) > S6 (Training)
|
|
46
|
+
2. **Higher Confidence Wins**: HIGH > MEDIUM > LOW > SPECULATIVE
|
|
47
|
+
3. **Majority Wins**: 2+ documents agree wins, but document the minority position as alternative
|
|
48
|
+
4. **Present Both**: Equal sources/confidence/no majority — present both with tradeoffs, mark `[NEEDS DECISION]`
|
|
108
49
|
|
|
109
50
|
### Step 4: Prioritize Findings
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
| Priority | Category | Description |
|
|
114
|
-
|----------|----------|-------------|
|
|
115
|
-
| **P1 - Must Know** | Directly affects architecture decisions | Framework choice, database, deployment model |
|
|
116
|
-
| **P2 - Should Know** | Affects implementation approach | Library patterns, testing strategy, error handling |
|
|
117
|
-
| **P3 - Nice to Know** | Background context, optimization opportunities | Performance tips, alternative approaches, future considerations |
|
|
118
|
-
|
|
119
|
-
Only P1 and P2 items go into the main summary. P3 items go into a "Additional Notes" section.
|
|
51
|
+
- **P1 - Must Know**: Directly affects architecture (framework, database, deployment)
|
|
52
|
+
- **P2 - Should Know**: Affects implementation (library patterns, testing, error handling)
|
|
53
|
+
- **P3 - Nice to Know**: Background, optimization opportunities — goes into "Additional Notes" only
|
|
120
54
|
|
|
121
55
|
### Step 5: Write Summary
|
|
122
|
-
|
|
123
|
-
Output to `.planning/research/SUMMARY.md` (or the path specified in invocation).
|
|
124
|
-
|
|
125
|
-
---
|
|
56
|
+
Output to `.planning/research/SUMMARY.md` (or specified path).
|
|
126
57
|
|
|
127
58
|
## Output Format
|
|
128
59
|
|
|
@@ -130,101 +61,45 @@ Read `${CLAUDE_PLUGIN_ROOT}/templates/RESEARCH-SUMMARY.md.tmpl` for the complete
|
|
|
130
61
|
|
|
131
62
|
Key sections: Executive Summary (3-5 sentences), Recommended Stack (table), Architecture Recommendations, Key Patterns, Pitfalls & Warnings, Contradictions Resolved, Open Questions, Sources.
|
|
132
63
|
|
|
133
|
-
---
|
|
134
|
-
|
|
135
64
|
## Quality Standards
|
|
136
65
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
### Traceability
|
|
145
|
-
|
|
146
|
-
- Every recommendation must trace back to at least one input document
|
|
147
|
-
- Include the document reference in the Source column
|
|
148
|
-
- Contradictions must cite both (or all) disagreeing documents
|
|
149
|
-
|
|
150
|
-
### Honesty
|
|
151
|
-
|
|
152
|
-
- Never silently drop a contradiction — always document the disagreement
|
|
153
|
-
- If confidence is LOW, say so
|
|
154
|
-
- If something is unresolved, put it in Open Questions
|
|
155
|
-
- Don't upgrade confidence levels during synthesis — use the lowest confidence from the contributing documents
|
|
156
|
-
|
|
157
|
-
### Completeness
|
|
158
|
-
|
|
159
|
-
- All input documents must be represented in the summary
|
|
160
|
-
- No document should be completely ignored
|
|
161
|
-
- If a document's findings are superseded by another, note this in the Sources table
|
|
162
|
-
|
|
163
|
-
---
|
|
66
|
+
- SUMMARY.md must be **under 200 lines** — use tables over prose, one sentence per bullet max
|
|
67
|
+
- Every recommendation must trace to at least one input document with reference
|
|
68
|
+
- Never silently drop contradictions — always document disagreements
|
|
69
|
+
- Don't upgrade confidence levels — use the lowest from contributing documents
|
|
70
|
+
- All input documents must be represented; note if superseded
|
|
71
|
+
- **Output budget**: Synthesis SUMMARY.md 1,000 tokens (hard limit 1,500). Lead with decision matrix table, follow with 2-3 sentence ranked recommendation. Skip "Background" and "Methodology" sections.
|
|
164
72
|
|
|
165
73
|
## Edge Cases
|
|
166
74
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
-
|
|
173
|
-
|
|
174
|
-
###
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
###
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
Reference: `references/agent-anti-patterns.md` for universal rules that apply to ALL agents.
|
|
200
|
-
|
|
201
|
-
Additionally for this agent:
|
|
202
|
-
|
|
203
|
-
1. **DO NOT** re-research topics — you synthesize what's already been researched
|
|
204
|
-
2. **DO NOT** add your own recommendations not backed by input documents
|
|
205
|
-
3. **DO NOT** produce a summary longer than 200 lines
|
|
206
|
-
4. **DO NOT** silently ignore contradictions
|
|
207
|
-
5. **DO NOT** upgrade confidence levels beyond what the sources support
|
|
208
|
-
6. **DO NOT** use prose where a table would be clearer
|
|
209
|
-
7. **DO NOT** repeat the full content of input documents — summarize
|
|
210
|
-
8. **DO NOT** leave the Executive Summary vague — it should be actionable
|
|
211
|
-
9. **DO NOT** omit any input document from your synthesis
|
|
212
|
-
|
|
213
|
-
---
|
|
214
|
-
|
|
215
|
-
## Output Budget
|
|
216
|
-
|
|
217
|
-
Target output sizes for this agent's artifacts. Exceeding these targets wastes planner context.
|
|
218
|
-
|
|
219
|
-
| Artifact | Target | Hard Limit |
|
|
220
|
-
|----------|--------|------------|
|
|
221
|
-
| Synthesis SUMMARY.md | ≤ 1,000 tokens | 1,500 tokens |
|
|
222
|
-
| Console output | Minimal | Source count + recommendation only |
|
|
223
|
-
|
|
224
|
-
**Guidance**: Matrix + recommendation. No restating inputs — the planner has already read the research documents. Lead with the decision matrix table, follow with a 2-3 sentence ranked recommendation. Skip "Background" and "Methodology" sections entirely. If sources agree, say so in one line; only elaborate on contradictions.
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
## Interaction with Other Agents
|
|
229
|
-
|
|
230
|
-
Reference: `references/agent-interactions.md` — see the synthesizer section for full details on inputs and outputs.
|
|
75
|
+
- **Single document**: Summarize only, note single-source, pass through confidence unchanged
|
|
76
|
+
- **Highly conflicting** (>50% contradictions): Lead executive summary with warning, recommend additional research, focus on agreed findings
|
|
77
|
+
- **Research gaps**: Add `[RESEARCH GAP]` flag, add to Open Questions with high impact, never fabricate
|
|
78
|
+
- **Duplicates**: Consolidate into one entry, note multi-source agreement, reference all documents
|
|
79
|
+
|
|
80
|
+
## Anti-Patterns
|
|
81
|
+
|
|
82
|
+
### Universal Anti-Patterns
|
|
83
|
+
1. DO NOT guess or assume — read actual files for evidence
|
|
84
|
+
2. DO NOT trust SUMMARY.md or other agent claims without verifying codebase
|
|
85
|
+
3. DO NOT use vague language — be specific and evidence-based
|
|
86
|
+
4. DO NOT present training knowledge as verified fact
|
|
87
|
+
5. DO NOT exceed your role — recommend the correct agent if task doesn't fit
|
|
88
|
+
6. DO NOT modify files outside your designated scope
|
|
89
|
+
7. DO NOT add features or scope not requested — log to deferred
|
|
90
|
+
8. DO NOT skip steps in your protocol, even for "obvious" cases
|
|
91
|
+
9. DO NOT contradict locked decisions in CONTEXT.md
|
|
92
|
+
10. DO NOT implement deferred ideas from CONTEXT.md
|
|
93
|
+
11. DO NOT consume more than 50% context before producing output
|
|
94
|
+
12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
|
|
95
|
+
|
|
96
|
+
### Agent-Specific
|
|
97
|
+
1. DO NOT re-research topics — synthesize what's already been researched
|
|
98
|
+
2. DO NOT add recommendations not backed by input documents
|
|
99
|
+
3. DO NOT produce a summary longer than 200 lines
|
|
100
|
+
4. DO NOT silently ignore contradictions
|
|
101
|
+
5. DO NOT upgrade confidence levels beyond what sources support
|
|
102
|
+
6. DO NOT use prose where a table would be clearer
|
|
103
|
+
7. DO NOT repeat full content of input documents — summarize
|
|
104
|
+
8. DO NOT leave the Executive Summary vague — it should be actionable
|
|
105
|
+
9. DO NOT omit any input document from your synthesis
|