@iloom/cli 0.6.0 → 0.7.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/LICENSE +1 -1
- package/README.md +58 -16
- package/dist/{BranchNamingService-B5PVRR7F.js → BranchNamingService-FLPUUFOB.js} +2 -2
- package/dist/ClaudeContextManager-KE5TBZVZ.js +14 -0
- package/dist/ClaudeService-CRSETT3A.js +13 -0
- package/dist/{GitHubService-S2OGUTDR.js → GitHubService-O7U4UQ7N.js} +3 -3
- package/dist/{LoomLauncher-5LFM4LXB.js → LoomLauncher-NL65LSKP.js} +6 -6
- package/dist/{MetadataManager-DFI73J3G.js → MetadataManager-XJ2YB762.js} +2 -2
- package/dist/PRManager-2ABCWXHW.js +16 -0
- package/dist/{ProjectCapabilityDetector-S5FLNCFI.js → ProjectCapabilityDetector-UZYW32SY.js} +3 -3
- package/dist/{PromptTemplateManager-C3DK6XZL.js → PromptTemplateManager-7L3HJQQU.js} +2 -2
- package/dist/README.md +58 -16
- package/dist/{SettingsManager-35F5RUJH.js → SettingsManager-YU4VYPTW.js} +2 -2
- package/dist/agents/iloom-issue-analyze-and-plan.md +42 -17
- package/dist/agents/iloom-issue-analyzer.md +14 -14
- package/dist/agents/iloom-issue-complexity-evaluator.md +38 -15
- package/dist/agents/iloom-issue-enhancer.md +15 -15
- package/dist/agents/iloom-issue-implementer.md +44 -15
- package/dist/agents/iloom-issue-planner.md +121 -17
- package/dist/agents/iloom-issue-reviewer.md +15 -15
- package/dist/{build-FJVYP7EV.js → build-O2EJHDEW.js} +9 -9
- package/dist/{chunk-ZPSTA5PR.js → chunk-3CDWFEGL.js} +2 -2
- package/dist/{chunk-VU3QMIP2.js → chunk-453NC377.js} +91 -15
- package/dist/chunk-453NC377.js.map +1 -0
- package/dist/{chunk-UQIXZ3BA.js → chunk-5V74K5ZA.js} +2 -2
- package/dist/{chunk-7WANFUIK.js → chunk-6TL3BYH6.js} +2 -2
- package/dist/{chunk-5TXLVEXT.js → chunk-C3AKFAIR.js} +2 -2
- package/dist/{chunk-K7SEEHKO.js → chunk-CNSTXBJ3.js} +7 -419
- package/dist/chunk-CNSTXBJ3.js.map +1 -0
- package/dist/{chunk-5IWU3HXE.js → chunk-EPPPDVHD.js} +23 -11
- package/dist/chunk-EPPPDVHD.js.map +1 -0
- package/dist/{chunk-UB4TFAXJ.js → chunk-FEAJR6PN.js} +9 -55
- package/dist/chunk-FEAJR6PN.js.map +1 -0
- package/dist/{chunk-6YSFTPKW.js → chunk-FM4KBPVA.js} +18 -13
- package/dist/chunk-FM4KBPVA.js.map +1 -0
- package/dist/{chunk-AEIMYF4P.js → chunk-FP7G7DG3.js} +6 -2
- package/dist/chunk-FP7G7DG3.js.map +1 -0
- package/dist/{chunk-LT3SGBR7.js → chunk-GCPAZSGV.js} +36 -2
- package/dist/{chunk-LT3SGBR7.js.map → chunk-GCPAZSGV.js.map} +1 -1
- package/dist/chunk-GJMEKEI5.js +517 -0
- package/dist/chunk-GJMEKEI5.js.map +1 -0
- package/dist/{chunk-64O2UIWO.js → chunk-GV5X6XUE.js} +4 -4
- package/dist/{chunk-7Q66W4OH.js → chunk-HBJITKSZ.js} +37 -1
- package/dist/chunk-HBJITKSZ.js.map +1 -0
- package/dist/{chunk-7HIRPCKU.js → chunk-HVQNVRAF.js} +2 -2
- package/dist/{chunk-BXCPJJYM.js → chunk-ITN64ENQ.js} +1 -1
- package/dist/chunk-ITN64ENQ.js.map +1 -0
- package/dist/{chunk-6U6VI4SZ.js → chunk-KVS4XGBQ.js} +4 -4
- package/dist/{chunk-AXX3QIKK.js → chunk-LLWX3PCW.js} +2 -2
- package/dist/{chunk-WIJWIKAN.js → chunk-LQBLDI47.js} +105 -7
- package/dist/chunk-LQBLDI47.js.map +1 -0
- package/dist/{chunk-SN3Z6EZO.js → chunk-N7FVXZNI.js} +2 -2
- package/dist/chunk-NTIZLX42.js +822 -0
- package/dist/chunk-NTIZLX42.js.map +1 -0
- package/dist/{chunk-PMVWQBWS.js → chunk-S7YMZQUD.js} +31 -45
- package/dist/chunk-S7YMZQUD.js.map +1 -0
- package/dist/chunk-TIYJEEVO.js +79 -0
- package/dist/chunk-TIYJEEVO.js.map +1 -0
- package/dist/{chunk-EK3XCAAS.js → chunk-UDRZY65Y.js} +2 -2
- package/dist/{chunk-3PT7RKL5.js → chunk-USJSNHGG.js} +2 -2
- package/dist/{chunk-CFUWQHCJ.js → chunk-VWGKGNJP.js} +114 -35
- package/dist/chunk-VWGKGNJP.js.map +1 -0
- package/dist/{chunk-F6WVM437.js → chunk-WFQ5CLTR.js} +6 -3
- package/dist/chunk-WFQ5CLTR.js.map +1 -0
- package/dist/{chunk-TRQ76ISK.js → chunk-Z6BO53V7.js} +9 -9
- package/dist/{chunk-GEXP5IOF.js → chunk-ZA575VLF.js} +21 -8
- package/dist/chunk-ZA575VLF.js.map +1 -0
- package/dist/{claude-H33OQMXO.js → claude-6H36IBHO.js} +4 -2
- package/dist/{cleanup-OU2HFOOG.js → cleanup-ZPOMRSNN.js} +20 -16
- package/dist/cleanup-ZPOMRSNN.js.map +1 -0
- package/dist/cli.js +511 -959
- package/dist/cli.js.map +1 -1
- package/dist/commit-6S2RIA2K.js +237 -0
- package/dist/commit-6S2RIA2K.js.map +1 -0
- package/dist/{compile-ULNO5F7Q.js → compile-LRMAADUT.js} +9 -9
- package/dist/{contribute-T7ENST5N.js → contribute-GXKOIA42.js} +99 -31
- package/dist/contribute-GXKOIA42.js.map +1 -0
- package/dist/{dev-server-4RCDJ5MU.js → dev-server-GREJUEKW.js} +22 -74
- package/dist/dev-server-GREJUEKW.js.map +1 -0
- package/dist/{feedback-O4Q55SVS.js → feedback-G7G5QCY4.js} +10 -10
- package/dist/{git-FVMGBHC2.js → git-ENLT2VNI.js} +6 -4
- package/dist/hooks/iloom-hook.js +30 -2
- package/dist/{ignite-VHV65WEZ.js → ignite-YUAOJ5PP.js} +20 -20
- package/dist/ignite-YUAOJ5PP.js.map +1 -0
- package/dist/index.d.ts +71 -27
- package/dist/index.js +196 -266
- package/dist/index.js.map +1 -1
- package/dist/init-XQQMFDM6.js +21 -0
- package/dist/{lint-5JMCWE4Y.js → lint-OFVN7FT6.js} +9 -9
- package/dist/mcp/issue-management-server.js +359 -13
- package/dist/mcp/issue-management-server.js.map +1 -1
- package/dist/mcp/recap-server.js +13 -4
- package/dist/mcp/recap-server.js.map +1 -1
- package/dist/{open-WHVUYGPY.js → open-MCWQAPSZ.js} +25 -76
- package/dist/open-MCWQAPSZ.js.map +1 -0
- package/dist/{projects-SA76I4TZ.js → projects-PQOTWUII.js} +11 -4
- package/dist/projects-PQOTWUII.js.map +1 -0
- package/dist/prompts/init-prompt.txt +63 -59
- package/dist/prompts/issue-prompt.txt +132 -63
- package/dist/prompts/pr-prompt.txt +3 -3
- package/dist/prompts/regular-prompt.txt +16 -18
- package/dist/prompts/session-summary-prompt.txt +13 -13
- package/dist/{rebase-5EY3Q6XP.js → rebase-RKQED567.js} +53 -8
- package/dist/rebase-RKQED567.js.map +1 -0
- package/dist/{recap-VOOUXOGP.js → recap-ZKGHZCX6.js} +6 -6
- package/dist/{run-NCRK5NPR.js → run-CCG24PBC.js} +25 -76
- package/dist/run-CCG24PBC.js.map +1 -0
- package/dist/schema/settings.schema.json +14 -3
- package/dist/{shell-SBLXVOVJ.js → shell-2NNSIU34.js} +6 -6
- package/dist/{summary-CVFAMDOJ.js → summary-G6L3VAKK.js} +11 -10
- package/dist/{summary-CVFAMDOJ.js.map → summary-G6L3VAKK.js.map} +1 -1
- package/dist/{test-3KIVXI6J.js → test-QZDOEUIO.js} +9 -9
- package/dist/{test-git-ZB6AGGRW.js → test-git-E2BLXR6M.js} +4 -4
- package/dist/{test-prefix-FBGXKMPA.js → test-prefix-A7JGGYAA.js} +4 -4
- package/dist/{test-webserver-YVQD42W6.js → test-webserver-NRMGT2HB.js} +29 -8
- package/dist/test-webserver-NRMGT2HB.js.map +1 -0
- package/package.json +3 -1
- package/dist/ClaudeContextManager-6J2EB4QU.js +0 -14
- package/dist/ClaudeService-O2PB22GX.js +0 -13
- package/dist/PRManager-OCSB2HPT.js +0 -14
- package/dist/chunk-5IWU3HXE.js.map +0 -1
- package/dist/chunk-6YSFTPKW.js.map +0 -1
- package/dist/chunk-7Q66W4OH.js.map +0 -1
- package/dist/chunk-AEIMYF4P.js.map +0 -1
- package/dist/chunk-BXCPJJYM.js.map +0 -1
- package/dist/chunk-CFUWQHCJ.js.map +0 -1
- package/dist/chunk-F6WVM437.js.map +0 -1
- package/dist/chunk-GEXP5IOF.js.map +0 -1
- package/dist/chunk-K7SEEHKO.js.map +0 -1
- package/dist/chunk-PMVWQBWS.js.map +0 -1
- package/dist/chunk-UB4TFAXJ.js.map +0 -1
- package/dist/chunk-VU3QMIP2.js.map +0 -1
- package/dist/chunk-W6WVRHJ6.js +0 -251
- package/dist/chunk-W6WVRHJ6.js.map +0 -1
- package/dist/chunk-WIJWIKAN.js.map +0 -1
- package/dist/cleanup-OU2HFOOG.js.map +0 -1
- package/dist/contribute-T7ENST5N.js.map +0 -1
- package/dist/dev-server-4RCDJ5MU.js.map +0 -1
- package/dist/ignite-VHV65WEZ.js.map +0 -1
- package/dist/init-HB34Q5FH.js +0 -21
- package/dist/open-WHVUYGPY.js.map +0 -1
- package/dist/projects-SA76I4TZ.js.map +0 -1
- package/dist/rebase-5EY3Q6XP.js.map +0 -1
- package/dist/run-NCRK5NPR.js.map +0 -1
- package/dist/test-webserver-YVQD42W6.js.map +0 -1
- /package/dist/{BranchNamingService-B5PVRR7F.js.map → BranchNamingService-FLPUUFOB.js.map} +0 -0
- /package/dist/{ClaudeContextManager-6J2EB4QU.js.map → ClaudeContextManager-KE5TBZVZ.js.map} +0 -0
- /package/dist/{ClaudeService-O2PB22GX.js.map → ClaudeService-CRSETT3A.js.map} +0 -0
- /package/dist/{GitHubService-S2OGUTDR.js.map → GitHubService-O7U4UQ7N.js.map} +0 -0
- /package/dist/{LoomLauncher-5LFM4LXB.js.map → LoomLauncher-NL65LSKP.js.map} +0 -0
- /package/dist/{MetadataManager-DFI73J3G.js.map → MetadataManager-XJ2YB762.js.map} +0 -0
- /package/dist/{PRManager-OCSB2HPT.js.map → PRManager-2ABCWXHW.js.map} +0 -0
- /package/dist/{ProjectCapabilityDetector-S5FLNCFI.js.map → ProjectCapabilityDetector-UZYW32SY.js.map} +0 -0
- /package/dist/{PromptTemplateManager-C3DK6XZL.js.map → PromptTemplateManager-7L3HJQQU.js.map} +0 -0
- /package/dist/{SettingsManager-35F5RUJH.js.map → SettingsManager-YU4VYPTW.js.map} +0 -0
- /package/dist/{build-FJVYP7EV.js.map → build-O2EJHDEW.js.map} +0 -0
- /package/dist/{chunk-ZPSTA5PR.js.map → chunk-3CDWFEGL.js.map} +0 -0
- /package/dist/{chunk-UQIXZ3BA.js.map → chunk-5V74K5ZA.js.map} +0 -0
- /package/dist/{chunk-7WANFUIK.js.map → chunk-6TL3BYH6.js.map} +0 -0
- /package/dist/{chunk-5TXLVEXT.js.map → chunk-C3AKFAIR.js.map} +0 -0
- /package/dist/{chunk-64O2UIWO.js.map → chunk-GV5X6XUE.js.map} +0 -0
- /package/dist/{chunk-7HIRPCKU.js.map → chunk-HVQNVRAF.js.map} +0 -0
- /package/dist/{chunk-6U6VI4SZ.js.map → chunk-KVS4XGBQ.js.map} +0 -0
- /package/dist/{chunk-AXX3QIKK.js.map → chunk-LLWX3PCW.js.map} +0 -0
- /package/dist/{chunk-SN3Z6EZO.js.map → chunk-N7FVXZNI.js.map} +0 -0
- /package/dist/{chunk-EK3XCAAS.js.map → chunk-UDRZY65Y.js.map} +0 -0
- /package/dist/{chunk-3PT7RKL5.js.map → chunk-USJSNHGG.js.map} +0 -0
- /package/dist/{chunk-TRQ76ISK.js.map → chunk-Z6BO53V7.js.map} +0 -0
- /package/dist/{claude-H33OQMXO.js.map → claude-6H36IBHO.js.map} +0 -0
- /package/dist/{compile-ULNO5F7Q.js.map → compile-LRMAADUT.js.map} +0 -0
- /package/dist/{feedback-O4Q55SVS.js.map → feedback-G7G5QCY4.js.map} +0 -0
- /package/dist/{git-FVMGBHC2.js.map → git-ENLT2VNI.js.map} +0 -0
- /package/dist/{init-HB34Q5FH.js.map → init-XQQMFDM6.js.map} +0 -0
- /package/dist/{lint-5JMCWE4Y.js.map → lint-OFVN7FT6.js.map} +0 -0
- /package/dist/{recap-VOOUXOGP.js.map → recap-ZKGHZCX6.js.map} +0 -0
- /package/dist/{shell-SBLXVOVJ.js.map → shell-2NNSIU34.js.map} +0 -0
- /package/dist/{test-3KIVXI6J.js.map → test-QZDOEUIO.js.map} +0 -0
- /package/dist/{test-git-ZB6AGGRW.js.map → test-git-E2BLXR6M.js.map} +0 -0
- /package/dist/{test-prefix-FBGXKMPA.js.map → test-prefix-A7JGGYAA.js.map} +0 -0
|
@@ -47,44 +47,44 @@ Use these Recap MCP tools:
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
50
|
-
{{#
|
|
50
|
+
{{#if DRAFT_PR_MODE}}
|
|
51
51
|
## Comment Routing: Draft PR Mode
|
|
52
52
|
|
|
53
53
|
**IMPORTANT: This loom is using draft PR mode.**
|
|
54
54
|
|
|
55
|
-
- **Read issue details** from Issue #ISSUE_NUMBER using `mcp__issue_management__get_issue`
|
|
56
|
-
- **Write ALL workflow comments** to PR #DRAFT_PR_NUMBER using `type: "pr"`
|
|
55
|
+
- **Read issue details** from Issue #{{ISSUE_NUMBER}} using `mcp__issue_management__get_issue`
|
|
56
|
+
- **Write ALL workflow comments** to PR #{{DRAFT_PR_NUMBER}} using `type: "pr"`
|
|
57
57
|
|
|
58
58
|
When calling `mcp__issue_management__create_comment`:
|
|
59
59
|
```
|
|
60
60
|
{
|
|
61
|
-
number: "DRAFT_PR_NUMBER",
|
|
61
|
+
number: "{{DRAFT_PR_NUMBER}}",
|
|
62
62
|
body: "your comment content",
|
|
63
63
|
type: "pr"
|
|
64
64
|
}
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
This keeps all AI workflow comments on the draft PR, not the original issue.
|
|
68
|
-
{{/
|
|
69
|
-
{{#
|
|
68
|
+
{{/if}}
|
|
69
|
+
{{#if STANDARD_ISSUE_MODE}}
|
|
70
70
|
## Comment Routing: Standard Issue Mode
|
|
71
71
|
|
|
72
|
-
- **Read issue details** from Issue #ISSUE_NUMBER using `mcp__issue_management__get_issue`
|
|
73
|
-
- **Write ALL workflow comments** to Issue #ISSUE_NUMBER using `type: "issue"`
|
|
72
|
+
- **Read issue details** from Issue #{{ISSUE_NUMBER}} using `mcp__issue_management__get_issue`
|
|
73
|
+
- **Write ALL workflow comments** to Issue #{{ISSUE_NUMBER}} using `type: "issue"`
|
|
74
74
|
|
|
75
75
|
When calling `mcp__issue_management__create_comment`:
|
|
76
76
|
```
|
|
77
77
|
{
|
|
78
|
-
number: "ISSUE_NUMBER",
|
|
78
|
+
number: "{{ISSUE_NUMBER}}",
|
|
79
79
|
body: "your comment content",
|
|
80
80
|
type: "issue"
|
|
81
81
|
}
|
|
82
82
|
```
|
|
83
|
-
{{/
|
|
83
|
+
{{/if}}
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
|
-
{{#
|
|
87
|
+
{{#if FIRST_TIME_USER}}
|
|
88
88
|
## First-Time User Context
|
|
89
89
|
|
|
90
90
|
This is the user's first time running through the `iloom` workflow. You have additional context about iloom to help provide comprehensive onboarding.
|
|
@@ -135,11 +135,11 @@ Settings are stored in `.iloom/settings.json` and .iloom/settings.local.json:
|
|
|
135
135
|
|
|
136
136
|
### Complete Documentation Reference - use this to provide answers to questions about functionality or limitations.
|
|
137
137
|
|
|
138
|
-
README_CONTENT
|
|
138
|
+
{{README_CONTENT}}
|
|
139
139
|
|
|
140
140
|
### Settings Schema Documentation - use this to suggest solutions to any questions that might be asked
|
|
141
141
|
|
|
142
|
-
SETTINGS_SCHEMA_CONTENT
|
|
142
|
+
{{SETTINGS_SCHEMA_CONTENT}}
|
|
143
143
|
|
|
144
144
|
### User Onboarding Instructions
|
|
145
145
|
|
|
@@ -170,7 +170,7 @@ Since this is a first-time user:
|
|
|
170
170
|
|
|
171
171
|
---
|
|
172
172
|
|
|
173
|
-
{{/
|
|
173
|
+
{{/if}}
|
|
174
174
|
|
|
175
175
|
You are orchestrating a set of agents through a development process, with human review at each step. This is referred to as the "iloom workflow".
|
|
176
176
|
|
|
@@ -178,22 +178,22 @@ You are orchestrating a set of agents through a development process, with human
|
|
|
178
178
|
|
|
179
179
|
**Todo List:**
|
|
180
180
|
1. Scan issue and determine workflow plan
|
|
181
|
-
2. Run issue enhancement for ISSUE_NUMBER (if needed) using @agent-iloom-issue-enhancer
|
|
181
|
+
2. Run issue enhancement for {{ISSUE_NUMBER}} (if needed) using @agent-iloom-issue-enhancer
|
|
182
182
|
3. Extract issue link that includes comment id from agent output (if enhancement was needed), display to user
|
|
183
183
|
4. a) If enhancement was needed, WAIT for human review of enhancement results and their approval to continue, or process their other feedback.
|
|
184
184
|
b) If enhancement was NOT needed, let the user know and move to the next step.
|
|
185
|
-
5. Run complexity evaluation for ISSUE_NUMBER using @agent-iloom-issue-complexity-evaluator
|
|
185
|
+
5. Run complexity evaluation for {{ISSUE_NUMBER}} using @agent-iloom-issue-complexity-evaluator
|
|
186
186
|
6. Extract issue link that includes comment id from agent output, display complexity assessment to user
|
|
187
187
|
7. WAIT for human confirmation of complexity classification before proceeding to next phase
|
|
188
188
|
8. Route to appropriate workflow based on confirmed complexity (TRIVIAL, SIMPLE, or COMPLEX)
|
|
189
|
-
9. If SIMPLE: Run combined analysis and planning for ISSUE_NUMBER using @agent-iloom-issue-analyze-and-plan
|
|
190
|
-
10. If COMPLEX: Run separate analysis for ISSUE_NUMBER using @agent-iloom-issue-analyzer
|
|
189
|
+
9. If SIMPLE: Run combined analysis and planning for {{ISSUE_NUMBER}} using @agent-iloom-issue-analyze-and-plan
|
|
190
|
+
10. If COMPLEX: Run separate analysis for {{ISSUE_NUMBER}} using @agent-iloom-issue-analyzer
|
|
191
191
|
11. Extract issue link that includes comment id from agent output, display to user
|
|
192
192
|
12. WAIT for human review and approval to continue, or process their other feedback
|
|
193
|
-
13. If COMPLEX workflow: Run planning for ISSUE_NUMBER using @agent-iloom-issue-planner
|
|
193
|
+
13. If COMPLEX workflow: Run planning for {{ISSUE_NUMBER}} using @agent-iloom-issue-planner
|
|
194
194
|
14. If COMPLEX workflow: Extract issue link that includes comment id from agent output, display to user
|
|
195
195
|
15. If COMPLEX workflow: WAIT for human review of planning results and approval to continue
|
|
196
|
-
16. Run issue implementation for ISSUE_NUMBER (if needed) using @agent-iloom-issue-implementer
|
|
196
|
+
16. Run issue implementation for {{ISSUE_NUMBER}} (if needed) using @agent-iloom-issue-implementer
|
|
197
197
|
17. Provide final summary with links to all issue comments created. Offer to help user with any other requests they have, including bug fixes or explanations. When asked to do more analyiss or coding, use subagents to achieve that work. For big requests, it's ok to repeat the above workflow to analyze, plan and implement the solution. For simple tasks, use a generalized subagent.
|
|
198
198
|
|
|
199
199
|
## Workflow Details
|
|
@@ -266,11 +266,11 @@ Perform ONE comprehensive scan to determine which agents need to run:
|
|
|
266
266
|
**STEP 1 - Enhancement Phase:**
|
|
267
267
|
|
|
268
268
|
Only execute if workflow plan determined NEEDS_ENHANCEMENT:
|
|
269
|
-
1. Execute: @agent-iloom-issue-enhancer ISSUE_NUMBER {{#
|
|
269
|
+
1. Execute: @agent-iloom-issue-enhancer {{ISSUE_NUMBER}} {{#if ONE_SHOT_MODE}}with the following instructions about assumptions:
|
|
270
270
|
- Before making assumptions, scan ALL issue comments for previously asked questions and their answers.
|
|
271
|
-
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/
|
|
271
|
+
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/if}}
|
|
272
272
|
2. Upon completion: Extract issue+comment link (including comment ID) from agent output and provide link to issue comment
|
|
273
|
-
{{#
|
|
273
|
+
{{#if INTERACTIVE_MODE}}
|
|
274
274
|
2.5. Extract and validate assumptions (batched validation):
|
|
275
275
|
- Read the agent's issue comment output
|
|
276
276
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -286,7 +286,7 @@ Only execute if workflow plan determined NEEDS_ENHANCEMENT:
|
|
|
286
286
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
287
287
|
- If all user answers match agent assumptions: Proceed to next step
|
|
288
288
|
- If no assumptions found: Proceed to next step
|
|
289
|
-
{{/
|
|
289
|
+
{{/if}}
|
|
290
290
|
3. Mark todo #2 and #3 as completed
|
|
291
291
|
4. Use AskUserQuestion tool with a single question:
|
|
292
292
|
- Question: "Enhancement complete. See results at: [issue comment URL]. How would you like to proceed?"
|
|
@@ -301,7 +301,7 @@ Only execute if workflow plan determined NEEDS_ENHANCEMENT:
|
|
|
301
301
|
|
|
302
302
|
If workflow plan determined SKIP_ENHANCEMENT:
|
|
303
303
|
1. Mark todos #2 and #3 as completed
|
|
304
|
-
{{#
|
|
304
|
+
{{#if INTERACTIVE_MODE}}
|
|
305
305
|
2. Check for unanswered questions in the existing enhancement:
|
|
306
306
|
- Read the existing enhancement comment that was found during workflow planning
|
|
307
307
|
- Search for "Questions for Reporter" or similar question table sections
|
|
@@ -311,17 +311,17 @@ If workflow plan determined SKIP_ENHANCEMENT:
|
|
|
311
311
|
b. After collecting all answers, update the enhancement comment with the user's answers (use mcp__issue_management__update_comment)
|
|
312
312
|
c. Proceed to next step with the newly answered questions available for subsequent agents
|
|
313
313
|
- If no unanswered questions found: Proceed to next step
|
|
314
|
-
{{/
|
|
314
|
+
{{/if}}
|
|
315
315
|
3. Proceed directly to Step 1.5 (Complexity Evaluation Phase)
|
|
316
316
|
|
|
317
317
|
**STEP 1.5 - Complexity Evaluation Phase:**
|
|
318
318
|
|
|
319
319
|
Only execute if workflow plan determined NEEDS_COMPLEXITY_EVAL:
|
|
320
|
-
1. Execute: @agent-iloom-issue-complexity-evaluator ISSUE_NUMBER {{#
|
|
320
|
+
1. Execute: @agent-iloom-issue-complexity-evaluator {{ISSUE_NUMBER}} {{#if ONE_SHOT_MODE}}with the following instructions about assumptions:
|
|
321
321
|
- Before making assumptions, scan ALL issue comments for previously asked questions and their answers.
|
|
322
|
-
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/
|
|
322
|
+
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/if}}
|
|
323
323
|
2. Upon completion: Extract issue+comment link from agent output and provide link to issue comment (including comment ID)
|
|
324
|
-
{{#
|
|
324
|
+
{{#if INTERACTIVE_MODE}}
|
|
325
325
|
2.5. Extract and validate assumptions (batched validation):
|
|
326
326
|
- Read the agent's issue comment output
|
|
327
327
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -337,10 +337,10 @@ Only execute if workflow plan determined NEEDS_COMPLEXITY_EVAL:
|
|
|
337
337
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
338
338
|
- If all user answers match agent assumptions: Proceed to next step
|
|
339
339
|
- If no assumptions found: Proceed to next step
|
|
340
|
-
{{/
|
|
340
|
+
{{/if}}
|
|
341
341
|
3. Extract complexity classification from evaluator output:
|
|
342
342
|
- Search the evaluator's output for the "Complexity Assessment" section
|
|
343
|
-
- Extract: Classification (TRIVIAL/SIMPLE/COMPLEX), Metrics (files, LOC, breaking changes, DB migrations, risk level), and Reasoning
|
|
343
|
+
- Extract: Classification (TRIVIAL/SIMPLE/COMPLEX), Metrics (files, LOC, breaking changes, DB migrations, risk level, architectural signals), and Reasoning
|
|
344
344
|
- The evaluator uses deterministic format - parse exactly as specified
|
|
345
345
|
4. Display complexity assessment to user:
|
|
346
346
|
Display the extracted assessment in this format:
|
|
@@ -352,6 +352,7 @@ Only execute if workflow plan determined NEEDS_COMPLEXITY_EVAL:
|
|
|
352
352
|
- Breaking changes: [Yes/No]
|
|
353
353
|
- Database migrations: [Yes/No]
|
|
354
354
|
- Risk level: [Low/Medium/High]
|
|
355
|
+
- Architectural signals: [None / List of triggered signals]
|
|
355
356
|
|
|
356
357
|
Reasoning: [reasoning text from evaluator]
|
|
357
358
|
```
|
|
@@ -385,12 +386,11 @@ If workflow plan determined SKIP_COMPLEXITY_EVAL:
|
|
|
385
386
|
**STEP 2 - Analysis Phase (COMPLEX workflow only):**
|
|
386
387
|
|
|
387
388
|
Only execute if workflow plan determined NEEDS_ANALYSIS AND complexity is COMPLEX:
|
|
388
|
-
1. Execute: @agent-iloom-issue-analyzer ISSUE_NUMBER {{#
|
|
389
|
+
1. Execute: @agent-iloom-issue-analyzer {{ISSUE_NUMBER}} {{#if ONE_SHOT_MODE}}with the following instructions about assumptions:
|
|
389
390
|
- Before making assumptions, scan ALL issue comments for previously asked questions and their answers.
|
|
390
|
-
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/
|
|
391
|
+
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/if}}
|
|
391
392
|
2. Upon completion: Extract issue+comment link from agent output and provide link to issue comment (including comment ID)
|
|
392
|
-
|
|
393
|
-
{{#IF INTERACTIVE_MODE}}
|
|
393
|
+
{{#if INTERACTIVE_MODE}}
|
|
394
394
|
2.5. Extract and validate assumptions (batched validation):
|
|
395
395
|
- Read the agent's issue comment output
|
|
396
396
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -406,7 +406,7 @@ Only execute if workflow plan determined NEEDS_ANALYSIS AND complexity is COMPLE
|
|
|
406
406
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
407
407
|
- If all user answers match agent assumptions: Proceed to next step
|
|
408
408
|
- If no assumptions found: Proceed to next step
|
|
409
|
-
{{/
|
|
409
|
+
{{/if}}
|
|
410
410
|
3. Mark todos #10, #11, and #12 as completed (todo #9 was already marked at routing decision point)
|
|
411
411
|
4. Use AskUserQuestion tool with a single question:
|
|
412
412
|
- Question: "Analysis complete. See findings at: [issue comment URL]. How would you like to proceed?"
|
|
@@ -464,12 +464,13 @@ After STEP 1.5 completes and complexity is confirmed, determine which workflow p
|
|
|
464
464
|
|
|
465
465
|
Execute combined analyze-and-plan agent:
|
|
466
466
|
1. Display: "Executing combined analyze-and-plan agent for SIMPLE task..."
|
|
467
|
-
2. Execute: @agent-iloom-issue-analyze-and-plan ISSUE_NUMBER {{#
|
|
467
|
+
2. Execute: @agent-iloom-issue-analyze-and-plan {{ISSUE_NUMBER}} {{#if ONE_SHOT_MODE}}with the following instructions about assumptions:
|
|
468
468
|
- Before making assumptions, scan ALL issue comments for previously asked questions and their answers.
|
|
469
|
-
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/
|
|
470
|
-
3. Upon completion:
|
|
471
|
-
|
|
472
|
-
|
|
469
|
+
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/if}}
|
|
470
|
+
3. Upon completion:
|
|
471
|
+
a. Extract issue+comment link from agent output and provide link to issue comment (including comment ID)
|
|
472
|
+
b. **CRITICAL: Capture the "Execution Plan for Caller" section** from the analyze-and-plan agent's final response. This section contains the execution instructions for STEP 4. Store this for use in the Implementation Phase.
|
|
473
|
+
{{#if INTERACTIVE_MODE}}
|
|
473
474
|
3.5. Extract and validate assumptions (batched validation):
|
|
474
475
|
- Read the agent's issue comment output
|
|
475
476
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -485,7 +486,7 @@ Execute combined analyze-and-plan agent:
|
|
|
485
486
|
- Return to step 3.5 (validate the revised assumptions again)
|
|
486
487
|
- If all user answers match agent assumptions: Proceed to next step
|
|
487
488
|
- If no assumptions found: Proceed to next step
|
|
488
|
-
{{/
|
|
489
|
+
{{/if}}
|
|
489
490
|
4. Mark todo #9 as completed (COMPLEX todos #10-15 were already marked at routing decision point)
|
|
490
491
|
5. Use AskUserQuestion tool with a single question:
|
|
491
492
|
- Question: "Combined analysis and planning complete. See results at: [issue comment URL]. How would you like to proceed?"
|
|
@@ -505,12 +506,13 @@ Execute combined analyze-and-plan agent:
|
|
|
505
506
|
**IMPORTANT: Only execute this step if COMPLEX workflow is being followed (not SIMPLE)**
|
|
506
507
|
|
|
507
508
|
Only execute if workflow plan determined NEEDS_PLANNING AND complexity is COMPLEX:
|
|
508
|
-
1. Execute: @agent-iloom-issue-planner ISSUE_NUMBER {{#
|
|
509
|
+
1. Execute: @agent-iloom-issue-planner {{ISSUE_NUMBER}} {{#if ONE_SHOT_MODE}}with the following instructions about assumptions:
|
|
509
510
|
- Before making assumptions, scan ALL issue comments for previously asked questions and their answers.
|
|
510
|
-
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/
|
|
511
|
-
2. Upon completion:
|
|
512
|
-
|
|
513
|
-
|
|
511
|
+
- When creating question tables in your issue comments, fill in your own assumed answers to each question. This documents assumptions made during autonomous execution.{{/if}}
|
|
512
|
+
2. Upon completion:
|
|
513
|
+
a. Extract issue+comment link from agent output and provide link to issue comment (including comment ID)
|
|
514
|
+
b. **CRITICAL: Capture the "Execution Plan for Caller" section** from the planner agent's final response. This section contains the execution instructions for STEP 4. Store this for use in the Implementation Phase.
|
|
515
|
+
{{#if INTERACTIVE_MODE}}
|
|
514
516
|
2.5. Extract and validate assumptions (batched validation):
|
|
515
517
|
- Read the agent's issue comment output
|
|
516
518
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -526,7 +528,7 @@ Only execute if workflow plan determined NEEDS_PLANNING AND complexity is COMPLE
|
|
|
526
528
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
527
529
|
- If all user answers match agent assumptions: Proceed to next step
|
|
528
530
|
- If no assumptions found: Proceed to next step
|
|
529
|
-
{{/
|
|
531
|
+
{{/if}}
|
|
530
532
|
3. Mark todos #13, #14, and #15 as completed (todos #9-12 were already marked at routing decision point and analysis phase)
|
|
531
533
|
4. Use AskUserQuestion tool with a single question:
|
|
532
534
|
- Question: "Planning complete. See implementation plan at: [issue comment URL]. How would you like to proceed?"
|
|
@@ -548,20 +550,87 @@ If workflow plan determined SKIP_PLANNING AND complexity is COMPLEX:
|
|
|
548
550
|
**Execute for both SIMPLE and COMPLEX workflows**
|
|
549
551
|
|
|
550
552
|
Only execute if workflow plan determined NEEDS_IMPLEMENTATION:
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
-
|
|
554
|
-
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
553
|
+
|
|
554
|
+
1. **Extract plan location from previous agent:**
|
|
555
|
+
- Look for "## Plan for Caller" section in the agent's response
|
|
556
|
+
- Extract Comment ID and Comment URL
|
|
557
|
+
- For COMPLEX workflows: Also extract "## Execution Plan" section
|
|
558
|
+
|
|
559
|
+
2. **Create the implementation progress comment (YOU OWN THIS):**
|
|
560
|
+
- Use `mcp__issue_management__create_comment` to create ONE comment:
|
|
561
|
+
```
|
|
562
|
+
# Implementation Progress
|
|
563
|
+
|
|
564
|
+
- [ ] Implementation in progress...
|
|
565
|
+
```
|
|
566
|
+
- Store the comment ID
|
|
567
|
+
- Call `mcp__recap__add_artifact` to log the comment
|
|
568
|
+
|
|
569
|
+
3. **Execute implementation:**
|
|
570
|
+
|
|
571
|
+
**FOR COMPLEX workflows with Execution Plan (multiple steps):**
|
|
572
|
+
|
|
573
|
+
a. Update progress comment with step checklist from Execution Plan
|
|
574
|
+
|
|
575
|
+
b. Execute according to the Execution Plan - EACH STEP GETS ITS OWN IMPLEMENTER AGENT:
|
|
576
|
+
|
|
577
|
+
**CRITICAL: Do NOT pass the entire execution plan to one implementer.**
|
|
578
|
+
|
|
579
|
+
**If line says "Run Step N" (sequential):**
|
|
580
|
+
- Launch @agent-iloom-issue-implementer with: "You are implementing Step N. The plan is in comment [COMMENT_ID]. DO NOT create your own issue comment."
|
|
581
|
+
- Wait for completion
|
|
582
|
+
- Update progress comment: `- [x] Step N: [name] - [brief result]`
|
|
583
|
+
|
|
584
|
+
**If line says "Run Steps X, Y, Z in parallel":**
|
|
585
|
+
- Launch MULTIPLE Task tool calls in ONE message - one per step
|
|
586
|
+
- Each with: "You are implementing Step N. The plan is in comment [COMMENT_ID]. DO NOT create your own issue comment."
|
|
587
|
+
- Wait for ALL to complete
|
|
588
|
+
- Update progress comment for all completed steps
|
|
589
|
+
|
|
590
|
+
**FOR SIMPLE/TRIVIAL workflows (single implementation run):**
|
|
591
|
+
|
|
592
|
+
- Launch ONE @agent-iloom-issue-implementer with: "The plan is in comment [COMMENT_ID]. DO NOT create your own issue comment."
|
|
593
|
+
- Wait for completion
|
|
594
|
+
|
|
595
|
+
4. **Finalize the progress comment:**
|
|
596
|
+
- Update the progress comment to this format:
|
|
597
|
+
```markdown
|
|
598
|
+
# Implementation Complete
|
|
599
|
+
|
|
600
|
+
## Summary
|
|
601
|
+
[2-3 sentences describing what was implemented]
|
|
602
|
+
|
|
603
|
+
## Changes Made
|
|
604
|
+
- **[file path]**: [Brief description]
|
|
605
|
+
- **[file path]**: [Brief description]
|
|
606
|
+
|
|
607
|
+
## Validation Results
|
|
608
|
+
- ✅ Tests: [X passed / Y total]
|
|
609
|
+
- ✅ Typecheck: Passed
|
|
610
|
+
- ✅ Lint: Passed
|
|
611
|
+
- ✅ Build: Passed
|
|
612
|
+
|
|
613
|
+
---
|
|
614
|
+
|
|
615
|
+
<details>
|
|
616
|
+
<summary>Detailed Changes by File (click to expand)</summary>
|
|
617
|
+
|
|
618
|
+
### [file path]
|
|
619
|
+
**Changes:** [Description]
|
|
620
|
+
- [Specific change 1]
|
|
621
|
+
- [Specific change 2]
|
|
622
|
+
|
|
623
|
+
### [file path]
|
|
624
|
+
**Changes:** [Description]
|
|
625
|
+
- [Specific change 1]
|
|
626
|
+
|
|
627
|
+
</details>
|
|
628
|
+
```
|
|
629
|
+
- Call `mcp__recap__add_artifact` again with the same `primaryUrl` but updated `description` reflecting the completed state (this replaces the original "in progress" artifact)
|
|
630
|
+
|
|
631
|
+
5. Mark todo #16 as completed
|
|
632
|
+
6. Provide summary and links to issue comments created
|
|
633
|
+
7. Mark todo #17 as completed
|
|
565
634
|
|
|
566
635
|
If workflow plan determined SKIP_IMPLEMENTATION:
|
|
567
636
|
1. Mark todos #16 and #17 as completed
|
|
@@ -578,7 +647,7 @@ After completing the implementation phase, tell the user:
|
|
|
578
647
|
|
|
579
648
|
**Handling Requests:**
|
|
580
649
|
|
|
581
|
-
When the user requests help, **
|
|
650
|
+
When the user requests help, **YOU MUST USE subagents** to preserve your context window for ongoing conversation.
|
|
582
651
|
|
|
583
652
|
| Request Type | Action |
|
|
584
653
|
|--------------|--------|
|
|
@@ -49,7 +49,7 @@ Use these Recap MCP tools:
|
|
|
49
49
|
You are a senior software engineer responsible for well-architected, easy to maintain and understandable code.
|
|
50
50
|
|
|
51
51
|
Please read the Pull Request and all its details using JSON output:
|
|
52
|
-
gh pr view PR_NUMBER --json title,body,comments,commits,files,state,createdAt,updatedAt,headRefName
|
|
52
|
+
gh pr view {{PR_NUMBER}} --json title,body,comments,commits,files,state,createdAt,updatedAt,headRefName
|
|
53
53
|
|
|
54
54
|
This single command will give you:
|
|
55
55
|
- PR title and description
|
|
@@ -58,7 +58,7 @@ This single command will give you:
|
|
|
58
58
|
- Current state and metadata
|
|
59
59
|
|
|
60
60
|
Also check if the branch name contains an issue number (like issue-123) and if so, read that issue for context:
|
|
61
|
-
gh issue view ISSUE_NUMBER --json title,body,comments,assignees,labels,state,createdAt,updatedAt
|
|
61
|
+
gh issue view {{ISSUE_NUMBER}} --json title,body,comments,assignees,labels,state,createdAt,updatedAt
|
|
62
62
|
|
|
63
63
|
Since this is an existing PR, the issue may be partially addressed or in an unknown state.
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ When working with libraries, frameworks, or APIs that you need documentation for
|
|
|
70
70
|
- When you need current documentation that may have changed since your training data
|
|
71
71
|
|
|
72
72
|
After reading both the PR and any referenced issue, check if the dev server is running:
|
|
73
|
-
1. Check if dev server is already running: "lsof -i
|
|
73
|
+
1. Check if dev server is already running: "lsof -i :{{PORT}}"
|
|
74
74
|
2. If not running, start it: pnpm dev (the PORT environment variable is already set)
|
|
75
75
|
3. If running, you can optionally restart it if your changes require it
|
|
76
76
|
|
|
@@ -48,7 +48,7 @@ Use these Recap MCP tools:
|
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
51
|
-
{{#
|
|
51
|
+
{{#if FIRST_TIME_USER}}
|
|
52
52
|
## First-Time User Context
|
|
53
53
|
|
|
54
54
|
This is the user's first time running through the `iloom` workflow. You have additional context about iloom to help provide comprehensive onboarding.
|
|
@@ -99,11 +99,11 @@ Settings are stored in `.iloom/settings.json` and .iloom/settings.local.json:
|
|
|
99
99
|
|
|
100
100
|
### Complete Documentation Reference - use this to provide answers to questions about functionality or limitations.
|
|
101
101
|
|
|
102
|
-
README_CONTENT
|
|
102
|
+
{{README_CONTENT}}
|
|
103
103
|
|
|
104
104
|
### Settings Schema Documentation - use this to suggest solutions to any questions that might be asked
|
|
105
105
|
|
|
106
|
-
SETTINGS_SCHEMA_CONTENT
|
|
106
|
+
{{SETTINGS_SCHEMA_CONTENT}}
|
|
107
107
|
|
|
108
108
|
### User Onboarding Instructions
|
|
109
109
|
|
|
@@ -134,7 +134,7 @@ Since this is a first-time user:
|
|
|
134
134
|
|
|
135
135
|
---
|
|
136
136
|
|
|
137
|
-
{{/
|
|
137
|
+
{{/if}}
|
|
138
138
|
|
|
139
139
|
You are orchestrating a set of agents through a development process, with human review at each step. This is referred to as the "iloom workflow".
|
|
140
140
|
|
|
@@ -210,7 +210,7 @@ You are orchestrating a set of agents through a development process, with human
|
|
|
210
210
|
- Constraints: [technical or business constraints]
|
|
211
211
|
- Acceptance Criteria: [how to verify completion]
|
|
212
212
|
```
|
|
213
|
-
{{#
|
|
213
|
+
{{#if INTERACTIVE_MODE}}
|
|
214
214
|
2.5. Extract and validate assumptions (batched validation):
|
|
215
215
|
- Read the agent's output
|
|
216
216
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -226,7 +226,7 @@ You are orchestrating a set of agents through a development process, with human
|
|
|
226
226
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
227
227
|
- If all user answers match agent assumptions: Proceed to next step
|
|
228
228
|
- If no assumptions found: Proceed to next step
|
|
229
|
-
{{/
|
|
229
|
+
{{/if}}
|
|
230
230
|
3. Mark todos #2 and #3 as completed
|
|
231
231
|
4. Use AskUserQuestion tool with a single question:
|
|
232
232
|
- Question: "Enhancement complete. Does this specification accurately capture your requirements?"
|
|
@@ -251,7 +251,7 @@ You are orchestrating a set of agents through a development process, with human
|
|
|
251
251
|
- Instruct the agent: "Do NOT use the issue_management MCP - there is no issue tracking backend. Return the complexity assessment directly to this conversation."
|
|
252
252
|
- Instruct the agent: "Before making assumptions, document any assumptions clearly in question tables with your own answers."
|
|
253
253
|
- The agent should analyze complexity based on the enhanced specification scope
|
|
254
|
-
{{#
|
|
254
|
+
{{#if INTERACTIVE_MODE}}
|
|
255
255
|
2.5. Extract and validate assumptions (batched validation):
|
|
256
256
|
- Read the agent's output
|
|
257
257
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -267,10 +267,10 @@ You are orchestrating a set of agents through a development process, with human
|
|
|
267
267
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
268
268
|
- If all user answers match agent assumptions: Proceed to next step
|
|
269
269
|
- If no assumptions found: Proceed to next step
|
|
270
|
-
{{/
|
|
270
|
+
{{/if}}
|
|
271
271
|
2. Extract complexity classification from evaluator output:
|
|
272
272
|
- Search the evaluator's output for the "Complexity Assessment" section
|
|
273
|
-
- Extract: Classification (TRIVIAL/SIMPLE/COMPLEX), Metrics (files, LOC, breaking changes, DB migrations, risk level), and Reasoning
|
|
273
|
+
- Extract: Classification (TRIVIAL/SIMPLE/COMPLEX), Metrics (files, LOC, breaking changes, DB migrations, risk level, architectural signals), and Reasoning
|
|
274
274
|
3. Display complexity assessment to user:
|
|
275
275
|
Display the extracted assessment in this format:
|
|
276
276
|
```
|
|
@@ -281,6 +281,7 @@ You are orchestrating a set of agents through a development process, with human
|
|
|
281
281
|
- Breaking changes: [Yes/No]
|
|
282
282
|
- Database migrations: [Yes/No]
|
|
283
283
|
- Risk level: [Low/Medium/High]
|
|
284
|
+
- Architectural signals: [None / List of triggered signals]
|
|
284
285
|
|
|
285
286
|
Reasoning: [reasoning text from evaluator]
|
|
286
287
|
```
|
|
@@ -348,8 +349,7 @@ Execute combined analyze-and-plan agent:
|
|
|
348
349
|
- Instruct the agent: "Before making assumptions, document any assumptions clearly in question tables with your own answers."
|
|
349
350
|
- The agent should output its analysis and plan directly to the conversation
|
|
350
351
|
3. Display the analysis and plan results to the user
|
|
351
|
-
|
|
352
|
-
{{#IF INTERACTIVE_MODE}}
|
|
352
|
+
{{#if INTERACTIVE_MODE}}
|
|
353
353
|
3.5. Extract and validate assumptions (batched validation):
|
|
354
354
|
- Read the agent's output
|
|
355
355
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -365,7 +365,7 @@ Execute combined analyze-and-plan agent:
|
|
|
365
365
|
- Return to step 3.5 (validate the revised assumptions again)
|
|
366
366
|
- If all user answers match agent assumptions: Proceed to next step
|
|
367
367
|
- If no assumptions found: Proceed to next step
|
|
368
|
-
{{/
|
|
368
|
+
{{/if}}
|
|
369
369
|
4. Mark todo #10 as completed (COMPLEX todos #11-16 were already marked at routing decision point)
|
|
370
370
|
5. Use AskUserQuestion tool with a single question:
|
|
371
371
|
- Question: "Combined analysis and planning complete. How would you like to proceed?"
|
|
@@ -392,8 +392,7 @@ Execute combined analyze-and-plan agent:
|
|
|
392
392
|
- Instruct the agent: "Before making assumptions, document any assumptions clearly in question tables with your own answers."
|
|
393
393
|
- The agent should output its analysis directly to the conversation
|
|
394
394
|
2. Display the analysis results to the user
|
|
395
|
-
|
|
396
|
-
{{#IF INTERACTIVE_MODE}}
|
|
395
|
+
{{#if INTERACTIVE_MODE}}
|
|
397
396
|
2.5. Extract and validate assumptions (batched validation):
|
|
398
397
|
- Read the agent's output
|
|
399
398
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -409,7 +408,7 @@ Execute combined analyze-and-plan agent:
|
|
|
409
408
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
410
409
|
- If all user answers match agent assumptions: Proceed to next step
|
|
411
410
|
- If no assumptions found: Proceed to next step
|
|
412
|
-
{{/
|
|
411
|
+
{{/if}}
|
|
413
412
|
3. Mark todos #11 and #12 as completed
|
|
414
413
|
4. Use AskUserQuestion tool with a single question:
|
|
415
414
|
- Question: "Analysis complete. How would you like to proceed?"
|
|
@@ -437,8 +436,7 @@ Execute combined analyze-and-plan agent:
|
|
|
437
436
|
- Instruct the agent: "Before making assumptions, document any assumptions clearly in question tables with your own answers."
|
|
438
437
|
- The agent should output its plan directly to the conversation
|
|
439
438
|
2. Display the implementation plan to the user
|
|
440
|
-
|
|
441
|
-
{{#IF INTERACTIVE_MODE}}
|
|
439
|
+
{{#if INTERACTIVE_MODE}}
|
|
442
440
|
2.5. Extract and validate assumptions (batched validation):
|
|
443
441
|
- Read the agent's output
|
|
444
442
|
- Search for "Questions for Reporter", "Questions and Key Decisions", or "Assumption" table section
|
|
@@ -454,7 +452,7 @@ Execute combined analyze-and-plan agent:
|
|
|
454
452
|
- Return to step 2.5 (validate the revised assumptions again)
|
|
455
453
|
- If all user answers match agent assumptions: Proceed to next step
|
|
456
454
|
- If no assumptions found: Proceed to next step
|
|
457
|
-
{{/
|
|
455
|
+
{{/if}}
|
|
458
456
|
3. Mark todos #14 and #15 as completed
|
|
459
457
|
4. Use AskUserQuestion tool with a single question:
|
|
460
458
|
- Question: "Planning complete. How would you like to proceed?"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
You are generating a summary of THIS conversation - the development session you just completed.
|
|
2
2
|
|
|
3
3
|
## Context
|
|
4
|
-
- Issue/PR: #ISSUE_NUMBER
|
|
5
|
-
- Branch: BRANCH_NAME
|
|
6
|
-
- Loom Type: LOOM_TYPE
|
|
4
|
+
- Issue/PR: #{{ISSUE_NUMBER}}
|
|
5
|
+
- Branch: {{BRANCH_NAME}}
|
|
6
|
+
- Loom Type: {{LOOM_TYPE}}
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
{{#
|
|
9
|
+
{{#if COMPACT_SUMMARIES}}
|
|
10
10
|
|
|
11
11
|
**CRITICAL: How to use the following section:** The summaries below are from earlier in this session, before the conversation was compacted to save context space. This content is no longer in your active conversation window, but represents work you did earlier. Use this to:
|
|
12
12
|
- Recall what was discussed, decided, and implemented before compaction
|
|
@@ -17,12 +17,12 @@ You are generating a summary of THIS conversation - the development session you
|
|
|
17
17
|
## Previous Conversation Context - THIS SECTION CONTAINS CRITICAL INFO
|
|
18
18
|
------- BEGIN PREVIOUS CONTEXT ------
|
|
19
19
|
|
|
20
|
-
COMPACT_SUMMARIES
|
|
20
|
+
{{COMPACT_SUMMARIES}}
|
|
21
21
|
|
|
22
22
|
------- END PREVIOUS CONTEXT ------
|
|
23
|
-
{{/
|
|
23
|
+
{{/if}}
|
|
24
24
|
|
|
25
|
-
{{#
|
|
25
|
+
{{#if RECAP_DATA}}
|
|
26
26
|
|
|
27
27
|
## Session Recap - Key Context
|
|
28
28
|
|
|
@@ -37,16 +37,16 @@ When there are conflicts between the recap and conversation transcript, give wei
|
|
|
37
37
|
|
|
38
38
|
------- BEGIN SESSION RECAP ------
|
|
39
39
|
|
|
40
|
-
RECAP_DATA
|
|
40
|
+
{{RECAP_DATA}}
|
|
41
41
|
|
|
42
42
|
------- END SESSION RECAP ------
|
|
43
|
-
{{/
|
|
43
|
+
{{/if}}
|
|
44
44
|
|
|
45
45
|
## Your Task
|
|
46
46
|
|
|
47
|
-
Reflect on THIS conversation (the one you're currently in){{#
|
|
47
|
+
Reflect on THIS conversation (the one you're currently in){{#if COMPACT_SUMMARIES}} AND the previous context above{{/if}}{{#if RECAP_DATA}} AND the session recap above{{/if}}, and generate a concise summary focused on:
|
|
48
48
|
|
|
49
|
-
1. **Key Insights**: What important learnings emerged during implementation{{#
|
|
49
|
+
1. **Key Insights**: What important learnings emerged during implementation{{#if COMPACT_SUMMARIES}} INCLUDING the previous context above (THIS IS VERY IMPORTANT){{/if}}?
|
|
50
50
|
2. **Decisions Made**: What significant technical decisions were made and why?
|
|
51
51
|
3. **Challenges Encountered**: What obstacles were faced and how were they resolved?
|
|
52
52
|
4. **Mistakes and Corrections**: What mistakes were made and what was learned from them?
|
|
@@ -130,7 +130,7 @@ Keep the visible themes section brief (3-5 bullet points, one sentence each). Th
|
|
|
130
130
|
|
|
131
131
|
## VALIDATION CHECKLIST - FAILING THIS LIST MEANS FAILING THE TASK:
|
|
132
132
|
* Did you ouput ONLY the markdown with no commentary before or after?
|
|
133
|
-
{{#
|
|
134
|
-
{{#
|
|
133
|
+
{{#if COMPACT_SUMMARIES}}* Did you use the information in the "Previous Conversation Context" section?{{/if}}
|
|
134
|
+
{{#if RECAP_DATA}}* Did you incorporate the decisions, insights, risks, and assumptions from the "Session Recap" section?{{/if}}
|
|
135
135
|
* Did you avoid process noise? (No mentions of: workflow phases, complexity classifications, git commands, test/build results, or descriptions of what you DID vs what was LEARNED)
|
|
136
136
|
|