agent-bober 0.8.0 → 0.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-bober",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Generator-Evaluator multi-agent harness for building applications autonomously with any LLM. Supports Claude, GPT, Gemini, Ollama. Includes MCP server for Cursor/Windsurf.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -66,9 +66,13 @@ Use the **Agent tool** to spawn an evaluator subagent.
66
66
  ```
67
67
  Agent tool call:
68
68
  description: "Evaluate: <sprint title>"
69
+ subagent_type: bober-evaluator
70
+ mode: auto
69
71
  prompt: <the full prompt below>
70
72
  ```
71
73
 
74
+ IMPORTANT: Use `mode: auto` — the evaluator needs bash access to run tests, builds, and verification commands.
75
+
72
76
  **Build the evaluator prompt with ALL of these sections:**
73
77
 
74
78
  ```
@@ -113,9 +113,13 @@ Use the **Agent tool** to spawn a planner subagent.
113
113
  ```
114
114
  Agent tool call:
115
115
  description: "Plan feature: <title from task description>"
116
+ subagent_type: bober-planner
117
+ mode: auto
116
118
  prompt: <the full prompt below>
117
119
  ```
118
120
 
121
+ IMPORTANT: The planner MUST have write access (`mode: auto` or `mode: bypassPermissions`) so it can save specs and contracts directly to `.bober/`. Do NOT use `mode: plan` — that makes the agent read-only and forces a wasteful second pass to write files.
122
+
119
123
  **Build the planner prompt with ALL of these sections:**
120
124
 
121
125
  ```
@@ -256,9 +260,13 @@ Use the **Agent tool** to spawn a generator subagent.
256
260
  ```
257
261
  Agent tool call:
258
262
  description: "Sprint <N>: <sprint title>"
263
+ subagent_type: bober-generator
264
+ mode: auto
259
265
  prompt: <the full prompt below>
260
266
  ```
261
267
 
268
+ IMPORTANT: The generator MUST have full write access (`mode: auto` or `mode: bypassPermissions`) — it writes code, runs commands, and commits.
269
+
262
270
  **Build the generator prompt:**
263
271
 
264
272
  ```
@@ -332,9 +340,13 @@ Use the **Agent tool** to spawn an evaluator subagent.
332
340
  ```
333
341
  Agent tool call:
334
342
  description: "Evaluate sprint <N>: <sprint title>"
343
+ subagent_type: bober-evaluator
344
+ mode: auto
335
345
  prompt: <the full prompt below>
336
346
  ```
337
347
 
348
+ NOTE: The evaluator has read + bash access but NO write/edit tools (enforced by the agent definition, not by mode). Use `mode: auto` so it can run bash commands (tests, builds, dev server).
349
+
338
350
  **Build the evaluator prompt:**
339
351
 
340
352
  ```
@@ -148,9 +148,13 @@ Save the handoff to `.bober/handoffs/<handoffId>.json`.
148
148
  ```
149
149
  Agent tool call:
150
150
  description: "Sprint <N>: <sprint title>"
151
+ subagent_type: bober-generator
152
+ mode: auto
151
153
  prompt: <the full prompt below>
152
154
  ```
153
155
 
156
+ IMPORTANT: Use `mode: auto` or `mode: bypassPermissions` — the generator needs full write access to create/edit files, run bash commands, and commit.
157
+
154
158
  **Generator prompt:**
155
159
 
156
160
  ```
@@ -209,9 +213,13 @@ When done, respond with EXACTLY this JSON structure (no other text):
209
213
  ```
210
214
  Agent tool call:
211
215
  description: "Evaluate sprint <N>: <sprint title>"
216
+ subagent_type: bober-evaluator
217
+ mode: auto
212
218
  prompt: <the full prompt below>
213
219
  ```
214
220
 
221
+ NOTE: The evaluator needs `mode: auto` for bash access (running tests, builds). It has no write/edit tools by agent definition.
222
+
215
223
  **Evaluator prompt:**
216
224
 
217
225
  ```