murmur8 4.3.3 → 4.4.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/.blueprint/agents/AGENT_BA_CASS.md +4 -12
- package/.blueprint/agents/AGENT_DEVELOPER_CODEY.md +1 -9
- package/.blueprint/agents/AGENT_SPECIFICATION_ALEX.md +0 -9
- package/.blueprint/agents/AGENT_TESTER_NIGEL.md +0 -9
- package/.blueprint/agents/GUARDRAILS.md +1 -1
- package/.blueprint/features/BACKLOG.md +91 -0
- package/.blueprint/prompts/TEMPLATE.md +6 -4
- package/.blueprint/prompts/alex-runtime.md +3 -5
- package/.blueprint/prompts/cass-runtime.md +5 -7
- package/.blueprint/prompts/codey-implement-runtime.md +2 -6
- package/.blueprint/prompts/codey-plan-runtime.md +21 -21
- package/.blueprint/prompts/nigel-runtime.md +4 -6
- package/.blueprint/prompts/skill-error-recovery.md +86 -0
- package/.blueprint/prompts/skill-murm-mode.md +143 -0
- package/README.md +46 -26
- package/SKILL.md +214 -800
- package/package.json +1 -1
- package/src/init.js +31 -3
- package/src/update.js +2 -0
package/README.md
CHANGED
|
@@ -211,6 +211,12 @@ The pipeline includes validation, smart routing, feedback loops, and history tra
|
|
|
211
211
|
│
|
|
212
212
|
▼
|
|
213
213
|
┌─────────────────────────────────────────────────────────────────┐
|
|
214
|
+
│ Feedback micro-Task: Cass reviews Alex's spec │
|
|
215
|
+
│ • Quality gate: proceed / pause / revise │
|
|
216
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
217
|
+
│
|
|
218
|
+
▼
|
|
219
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
214
220
|
│ Smart Routing (v2.7) │
|
|
215
221
|
│ • Classify feature as technical or user-facing │
|
|
216
222
|
│ • Technical → skip Cass (saves ~25-40k tokens) │
|
|
@@ -229,13 +235,25 @@ The pipeline includes validation, smart routing, feedback loops, and history tra
|
|
|
229
235
|
│
|
|
230
236
|
▼
|
|
231
237
|
┌─────────────────────────────────────────────────────────────────┐
|
|
232
|
-
│ Nigel
|
|
233
|
-
|
|
234
|
-
│
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
│
|
|
238
|
-
│
|
|
238
|
+
│ Feedback micro-Task: Nigel reviews Cass's stories │
|
|
239
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
240
|
+
│
|
|
241
|
+
▼
|
|
242
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
243
|
+
│ Nigel (Test Spec + Handoff) → Nigel (Executable Tests) │
|
|
244
|
+
│ • Split into two atomic calls for token efficiency │
|
|
245
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
246
|
+
│
|
|
247
|
+
▼
|
|
248
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
249
|
+
│ Feedback micro-Task: Codey reviews Nigel's tests │
|
|
250
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
251
|
+
│
|
|
252
|
+
▼
|
|
253
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
254
|
+
│ Codey (Plan) → Codey (Implement per-step) │
|
|
255
|
+
│ • Plan uses strict parseable format │
|
|
256
|
+
│ • Orchestrator spawns one Task per implementation step │
|
|
239
257
|
└─────────────────────────────────────────────────────────────────┘
|
|
240
258
|
│
|
|
241
259
|
On Failure│
|
|
@@ -320,13 +338,15 @@ your-project/
|
|
|
320
338
|
│ │ ├── AGENT_TESTER_NIGEL.md
|
|
321
339
|
│ │ ├── AGENT_DEVELOPER_CODEY.md
|
|
322
340
|
│ │ └── GUARDRAILS.md # Shared guardrails (v2.7)
|
|
323
|
-
│ ├── prompts/ #
|
|
341
|
+
│ ├── prompts/ # Self-contained runtime prompts (v4.4)
|
|
324
342
|
│ │ ├── TEMPLATE.md
|
|
325
343
|
│ │ ├── alex-runtime.md
|
|
326
344
|
│ │ ├── cass-runtime.md
|
|
327
345
|
│ │ ├── nigel-runtime.md
|
|
328
346
|
│ │ ├── codey-plan-runtime.md
|
|
329
|
-
│ │
|
|
347
|
+
│ │ ├── codey-implement-runtime.md
|
|
348
|
+
│ │ ├── skill-murm-mode.md # Murmuration steps (loaded on demand)
|
|
349
|
+
│ │ └── skill-error-recovery.md # Error handling (loaded on failure)
|
|
330
350
|
│ ├── templates/ # Spec and output templates
|
|
331
351
|
│ │ ├── SYSTEM_SPEC.md
|
|
332
352
|
│ │ ├── FEATURE_SPEC.md
|
|
@@ -357,15 +377,15 @@ your-project/
|
|
|
357
377
|
|
|
358
378
|
## Agent Guardrails
|
|
359
379
|
|
|
360
|
-
All agents follow strict guardrails to
|
|
380
|
+
All agents follow strict guardrails enforced via inlined rules in each self-contained runtime prompt. The authoritative source is `.blueprint/agents/GUARDRAILS.md`, with critical rules inlined directly into agent prompts so sub-agents never need to load external files at runtime.
|
|
361
381
|
|
|
362
382
|
| Guardrail | Description |
|
|
363
383
|
|-----------|-------------|
|
|
364
384
|
| **Source Restrictions** | Only use provided inputs (specs, code, business_context) |
|
|
365
385
|
| **Prohibited Sources** | No social media, forums, external APIs, training data for domain facts |
|
|
366
|
-
| **
|
|
386
|
+
| **Assumption Labeling** | All assumptions must be explicitly labeled |
|
|
367
387
|
| **Confidentiality** | Business context treated as confidential |
|
|
368
|
-
| **Escalation Protocol** | Clear rules for when to ask vs assume |
|
|
388
|
+
| **Escalation Protocol** | Clear rules for when to ask vs assume — flag ambiguity, don't guess |
|
|
369
389
|
|
|
370
390
|
## Self-Improvement Loop
|
|
371
391
|
|
|
@@ -423,21 +443,21 @@ npx murmur8 init
|
|
|
423
443
|
|
|
424
444
|
Both CLIs execute the same pipeline: Alex → Cass → Nigel → Codey. The skill uses each CLI's native agent/task mechanism.
|
|
425
445
|
|
|
426
|
-
## Token Efficiency (
|
|
446
|
+
## Token Efficiency (v4.4)
|
|
427
447
|
|
|
428
|
-
|
|
448
|
+
The pipeline is optimised to operate within strict token limits (4096 output, 1024 thinking per sub-agent):
|
|
429
449
|
|
|
430
|
-
| Optimization |
|
|
431
|
-
|
|
432
|
-
| **
|
|
433
|
-
| **
|
|
434
|
-
| **
|
|
435
|
-
| **
|
|
436
|
-
| **
|
|
437
|
-
| **
|
|
450
|
+
| Optimization | Impact | Description |
|
|
451
|
+
|--------------|--------|-------------|
|
|
452
|
+
| **Self-contained prompts** | ~660 lines/call eliminated | Agents never read full specs, guardrails, manifesto, or rituals at runtime |
|
|
453
|
+
| **Trusted handoff chain** | ~200-400 tokens/call saved | Each agent reads only the upstream handoff + its immediate inputs |
|
|
454
|
+
| **Split Nigel** | Prevents truncation | Test spec and executable tests are separate atomic calls |
|
|
455
|
+
| **Orchestrator-driven Codey** | Prevents truncation | One Task per implementation step instead of monolithic implement call |
|
|
456
|
+
| **Feedback micro-Tasks** | ~50 output tokens each | Separate review calls don't consume the main agent's output budget |
|
|
457
|
+
| **Hybrid SKILL.md** | 48% smaller | Murmuration and error recovery loaded on demand, not always |
|
|
458
|
+
| **Strict plan format** | Zero parsing overhead | Machine-parseable one-liner per step, orchestrator splits on regex |
|
|
438
459
|
| **Smart Story Routing** | ~25,000-40,000 tokens | Skip Cass for technical features |
|
|
439
|
-
|
|
440
|
-
**Total estimated savings: 10,000+ tokens per pipeline run** (more for technical features)
|
|
460
|
+
| **Lazy Business Context** | Variable | Only loaded when feature spec references it |
|
|
441
461
|
|
|
442
462
|
## Cost Tracking
|
|
443
463
|
|
|
@@ -517,8 +537,8 @@ murmur8 murm <slug-a> <slug-b> <slug-c>
|
|
|
517
537
|
│ Spawn Pipelines │
|
|
518
538
|
│ (max 3 concurrent by default) │
|
|
519
539
|
│ │
|
|
520
|
-
│ Each runs
|
|
521
|
-
│
|
|
540
|
+
│ Each runs full pipeline in isolation: │
|
|
541
|
+
│ Alex → [Cass] → Nigel → Codey │
|
|
522
542
|
└───────────────────────────────────────┘
|
|
523
543
|
│
|
|
524
544
|
▼
|