@cluesmith/codev 2.0.0-rc.56 → 2.0.0-rc.57
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/dist/assets/{index-xOaDIZ0l.js → index-bhDjF0Oa.js} +26 -27
- package/dashboard/dist/assets/index-bhDjF0Oa.js.map +1 -0
- package/dashboard/dist/index.html +1 -1
- package/dist/agent-farm/commands/send.d.ts.map +1 -1
- package/dist/agent-farm/commands/send.js +55 -17
- package/dist/agent-farm/commands/send.js.map +1 -1
- package/dist/agent-farm/servers/tower-server.js +202 -0
- package/dist/agent-farm/servers/tower-server.js.map +1 -1
- package/package.json +1 -1
- package/skeleton/protocols/bugfix/prompts/pr.md +2 -17
- package/skeleton/protocols/spider/prompts/plan.md +4 -68
- package/skeleton/protocols/spider/prompts/review.md +5 -23
- package/skeleton/protocols/spider/prompts/specify.md +4 -57
- package/dashboard/dist/assets/index-xOaDIZ0l.js.map +0 -1
|
@@ -13,10 +13,6 @@ Create a comprehensive specification document that thoroughly explores the probl
|
|
|
13
13
|
- **Current State**: {{current_state}}
|
|
14
14
|
- **Spec File**: `codev/specs/{{project_id}}-{{title}}.md`
|
|
15
15
|
|
|
16
|
-
## CRITICAL: Multi-Agent Consultation is MANDATORY
|
|
17
|
-
|
|
18
|
-
The SPIDER protocol **requires** consultation with GPT-5 Codex AND Gemini Pro at specific checkpoints. This is BLOCKING - you cannot proceed without completing consultations.
|
|
19
|
-
|
|
20
16
|
## Process
|
|
21
17
|
|
|
22
18
|
### 0. Check for Existing Spec (ALWAYS DO THIS FIRST)
|
|
@@ -80,45 +76,9 @@ Define measurable acceptance criteria:
|
|
|
80
76
|
- Non-functional requirements (performance, security)
|
|
81
77
|
- Test scenarios
|
|
82
78
|
|
|
83
|
-
### 6.
|
|
84
|
-
|
|
85
|
-
After completing the initial spec draft:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
# Run consultations in parallel (REQUIRED)
|
|
89
|
-
consult --model gemini spec {{project_id}} &
|
|
90
|
-
consult --model codex spec {{project_id}} &
|
|
91
|
-
wait
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
- Review ALL feedback from both models
|
|
95
|
-
- Update the spec with incorporated feedback
|
|
96
|
-
- Add a **Consultation Log** section documenting:
|
|
97
|
-
- Key feedback received
|
|
98
|
-
- Changes made in response
|
|
99
|
-
- Any feedback intentionally not incorporated (with reasoning)
|
|
100
|
-
|
|
101
|
-
### 7. Human Review
|
|
102
|
-
|
|
103
|
-
After consultation feedback is incorporated:
|
|
104
|
-
- Present the spec for human review
|
|
105
|
-
- Wait for approval or change requests
|
|
106
|
-
- If changes requested, make them and proceed to Step 8
|
|
107
|
-
|
|
108
|
-
### 8. MANDATORY: Second Consultation (After Human Feedback)
|
|
79
|
+
### 6. Finalize
|
|
109
80
|
|
|
110
|
-
After
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
# Run consultations again (REQUIRED)
|
|
114
|
-
consult --model gemini spec {{project_id}} &
|
|
115
|
-
consult --model codex spec {{project_id}} &
|
|
116
|
-
wait
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
- Update Consultation Log with new feedback
|
|
120
|
-
- Incorporate changes
|
|
121
|
-
- Prepare final spec for approval
|
|
81
|
+
After completing the spec draft, signal completion. Porch will run 3-way consultation (Gemini, Codex, Claude) automatically via the verify step. If reviewers request changes, you'll be respawned with their feedback.
|
|
122
82
|
|
|
123
83
|
## Output
|
|
124
84
|
|
|
@@ -129,8 +89,6 @@ Create or update the specification file at `codev/specs/{{project_id}}-{{title}}
|
|
|
129
89
|
- Plan: `codev/plans/{{project_id}}-{{title}}.md`
|
|
130
90
|
- Review: `codev/reviews/{{project_id}}-{{title}}.md`
|
|
131
91
|
|
|
132
|
-
Include a **Consultation Log** section in the spec documenting all consultation feedback.
|
|
133
|
-
|
|
134
92
|
## Signals
|
|
135
93
|
|
|
136
94
|
Emit appropriate signals based on your progress:
|
|
@@ -152,15 +110,6 @@ Emit appropriate signals based on your progress:
|
|
|
152
110
|
<signal>SPEC_DRAFTED</signal>
|
|
153
111
|
```
|
|
154
112
|
|
|
155
|
-
- After incorporating consultation feedback:
|
|
156
|
-
```
|
|
157
|
-
<signal>CONSULTATION_INCORPORATED</signal>
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
- After final spec is ready for human approval:
|
|
161
|
-
```
|
|
162
|
-
<signal>SPEC_READY_FOR_APPROVAL</signal>
|
|
163
|
-
```
|
|
164
113
|
|
|
165
114
|
## Commit Cadence
|
|
166
115
|
|
|
@@ -177,15 +126,13 @@ git add codev/specs/{{project_id}}-{{title}}.md
|
|
|
177
126
|
|
|
178
127
|
## Important Notes
|
|
179
128
|
|
|
180
|
-
1. **
|
|
181
|
-
2. **Be thorough** - A good spec prevents implementation problems
|
|
129
|
+
1. **Be thorough** - A good spec prevents implementation problems
|
|
182
130
|
3. **Be specific** - Vague specs lead to wrong implementations
|
|
183
131
|
4. **Include examples** - Concrete examples clarify intent
|
|
184
|
-
5. **Document consultations** - Maintain the Consultation Log section
|
|
185
132
|
|
|
186
133
|
## What NOT to Do
|
|
187
134
|
|
|
188
|
-
- Don't
|
|
135
|
+
- Don't run `consult` commands yourself (porch handles consultations)
|
|
189
136
|
- Don't include implementation details (that's for the Plan phase)
|
|
190
137
|
- Don't estimate time (AI makes time estimates meaningless)
|
|
191
138
|
- Don't start coding (you're in Specify, not Implement)
|