snap-squad 0.4.0 → 0.5.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/dist/generator/index.js +158 -25
- package/dist/generator/index.js.map +1 -1
- package/package.json +1 -1
package/dist/generator/index.js
CHANGED
|
@@ -116,6 +116,23 @@ ${rows}
|
|
|
116
116
|
3. **Quick facts → coordinator answers directly.** Don't spawn for trivial questions.
|
|
117
117
|
4. **Two agents could handle it** → pick the one whose domain is the primary concern.
|
|
118
118
|
5. **Anticipate downstream.** Feature being built? Spawn tester simultaneously.
|
|
119
|
+
|
|
120
|
+
## Automatic Secondary Routing
|
|
121
|
+
|
|
122
|
+
These triggers fire every session, regardless of user request:
|
|
123
|
+
|
|
124
|
+
| When this happens... | Also activate... |
|
|
125
|
+
|---------------------|-----------------|
|
|
126
|
+
| Implementation work | Testing review (Lens/equivalent) |
|
|
127
|
+
| User-visible behavior changes | Documentation update (Quill/equivalent) |
|
|
128
|
+
| Prompt or agent changes | Eval baseline check (Val/equivalent) |
|
|
129
|
+
| Significant trade-off or decision | Decision logging (any agent) |
|
|
130
|
+
| Meaningful milestone reached | Journal update (Ledger/equivalent) |
|
|
131
|
+
|
|
132
|
+
## Completion Routing Check
|
|
133
|
+
|
|
134
|
+
Before finishing, ask: **"Which squad roles should have touched this work but haven't?"**
|
|
135
|
+
Resolve those gaps or explicitly report them before ending the session.
|
|
119
136
|
`;
|
|
120
137
|
}
|
|
121
138
|
function generateCharter(agent) {
|
|
@@ -192,18 +209,41 @@ function generateAgentsMd(arch, projectName) {
|
|
|
192
209
|
return `# AGENTS.md — ${name} Operating Instructions
|
|
193
210
|
|
|
194
211
|
> This file is read by AI agents working in this repository.
|
|
212
|
+
> **You are not just aware of the squad. You ARE the squad. Act accordingly.**
|
|
195
213
|
|
|
196
214
|
## You Are Part of a Squad
|
|
197
215
|
|
|
198
216
|
This repository uses [Squad](https://github.com/bradygaster/squad).
|
|
199
|
-
|
|
217
|
+
|
|
218
|
+
## Session Start — Do This First
|
|
219
|
+
|
|
220
|
+
Before responding to the user, complete this checklist:
|
|
200
221
|
|
|
201
222
|
1. **Read \`.squad/team.md\`** — Know the team and project context
|
|
202
223
|
2. **Read \`.squad/routing.md\`** — Route work to the right agent
|
|
203
|
-
3. **Read
|
|
204
|
-
4. **
|
|
205
|
-
5. **
|
|
206
|
-
|
|
224
|
+
3. **Read \`.squad/decisions.md\`** — Respect existing decisions
|
|
225
|
+
4. **Identify your role** — Which squad member leads this task? Adopt their expertise, voice, and boundaries.
|
|
226
|
+
5. **Anticipate downstream** — Will this work need tests? Docs? Evals? Journal entry? Plan for those NOW, not as cleanup.
|
|
227
|
+
|
|
228
|
+
## Always-On Duties
|
|
229
|
+
|
|
230
|
+
These are not suggestions. They are standing orders for every session:
|
|
231
|
+
|
|
232
|
+
- **Code changed → check tests.** If implementation changed, testing must be considered.
|
|
233
|
+
- **Behavior changed → check docs.** If user-visible behavior shifted, docs must reflect it.
|
|
234
|
+
- **Decision made → log it.** Any trade-off or design choice goes in \`.squad/decisions.md\`.
|
|
235
|
+
- **Milestone reached → journal it.** Update \`JOURNAL.md\` with what happened and why.
|
|
236
|
+
- **Another role needed → activate it.** Don't wait to be asked. If docs need updating, be Quill. If tests are missing, be Lens.
|
|
237
|
+
|
|
238
|
+
## Before You Say "Done"
|
|
239
|
+
|
|
240
|
+
Do not end the session without verifying:
|
|
241
|
+
|
|
242
|
+
- [ ] \`.squad/decisions.md\` updated if any decisions were made
|
|
243
|
+
- [ ] \`JOURNAL.md\` updated if a milestone was reached
|
|
244
|
+
- [ ] Docs updated if user-visible behavior changed
|
|
245
|
+
- [ ] Tests considered if code changed
|
|
246
|
+
- [ ] Open risks or follow-ups explicitly stated
|
|
207
247
|
|
|
208
248
|
## Quick Reference
|
|
209
249
|
|
|
@@ -234,18 +274,41 @@ You are working in a repository using the **${arch.displayName}** squad preset.
|
|
|
234
274
|
- **Squad:** ${arch.displayName} (${arch.vibe})
|
|
235
275
|
- **Theme:** ${arch.theme}
|
|
236
276
|
|
|
237
|
-
##
|
|
277
|
+
## Session Start Protocol
|
|
278
|
+
|
|
279
|
+
Immediately after reading this file, before responding to the user:
|
|
238
280
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
4. Identify which agent you're acting as for this task
|
|
281
|
+
1. Read \`.squad/team.md\`, \`.squad/routing.md\`, and \`.squad/decisions.md\`
|
|
282
|
+
2. Determine which squad member should lead this task
|
|
283
|
+
3. Check whether \`JOURNAL.md\` has recent entries — if stale, plan to update it
|
|
284
|
+
4. Identify downstream needs: will this work require tests? docs? evals? decisions? Include them in your plan.
|
|
244
285
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
286
|
+
## Non-Optional Operating Behaviors
|
|
287
|
+
|
|
288
|
+
These apply in **every session**, whether or not the user asks:
|
|
289
|
+
|
|
290
|
+
- **Code changed → tests reviewed.** Don't skip testing because it wasn't mentioned.
|
|
291
|
+
- **Behavior changed → docs updated.** If what the user sees changed, docs must change too.
|
|
292
|
+
- **Trade-off made → decision logged.** Record it in \`.squad/decisions.md\` with context and reasoning.
|
|
293
|
+
- **Milestone reached → journal updated.** \`JOURNAL.md\` captures the story, not just the code.
|
|
294
|
+
- **Another role's domain touched → activate that role.** Don't wait to be asked.
|
|
295
|
+
|
|
296
|
+
## Session Completion Gate
|
|
297
|
+
|
|
298
|
+
Before ending the session, verify:
|
|
299
|
+
|
|
300
|
+
1. \`.squad/decisions.md\` — Updated if any decisions were made
|
|
301
|
+
2. \`JOURNAL.md\` — Updated if a milestone was reached
|
|
302
|
+
3. Relevant docs — Updated if user-visible behavior changed
|
|
303
|
+
4. Open risks or follow-ups — Explicitly called out, not silently dropped
|
|
304
|
+
|
|
305
|
+
## First Session After Init
|
|
306
|
+
|
|
307
|
+
If this is the first working session after squad initialization:
|
|
308
|
+
|
|
309
|
+
1. Update project context above (Owner, Stack, Description)
|
|
310
|
+
2. Record the first real decision in \`.squad/decisions.md\`
|
|
311
|
+
3. Start the build story in \`JOURNAL.md\` — capture what's being built and why
|
|
249
312
|
`;
|
|
250
313
|
}
|
|
251
314
|
function generateCopilotInstructions(arch) {
|
|
@@ -269,6 +332,23 @@ function generateCopilotInstructions(arch) {
|
|
|
269
332
|
- Adopt their expertise, voice, and boundaries
|
|
270
333
|
- Log significant decisions to \`.squad/decisions.md\` after completing work
|
|
271
334
|
|
|
335
|
+
## Proactive Quality Triggers
|
|
336
|
+
|
|
337
|
+
These fire automatically — they are not optional:
|
|
338
|
+
|
|
339
|
+
| Trigger | Action |
|
|
340
|
+
|---------|--------|
|
|
341
|
+
| Code changed | Review tests — are they still correct and sufficient? |
|
|
342
|
+
| User-visible behavior changed | Update docs and README if affected |
|
|
343
|
+
| Prompt or agent behavior changed | Review eval baselines |
|
|
344
|
+
| Important trade-off made | Log decision to \`.squad/decisions.md\` |
|
|
345
|
+
| Meaningful milestone reached | Update \`JOURNAL.md\` with what happened and why |
|
|
346
|
+
| Another role's expertise needed | Activate that role — don't wait to be asked |
|
|
347
|
+
|
|
348
|
+
## Before You Respond With "Done"
|
|
349
|
+
|
|
350
|
+
Verify that all triggered duties above were handled or explicitly called out as deferred. Do not silently skip them.
|
|
351
|
+
|
|
272
352
|
## Managing This Squad
|
|
273
353
|
|
|
274
354
|
This squad was created with [snap-squad](https://github.com/paulyuk/snap-squad).
|
|
@@ -285,33 +365,86 @@ Available presets: ${presetList}
|
|
|
285
365
|
function generateJournalMd(arch, projectName) {
|
|
286
366
|
const name = projectName || arch.team.name;
|
|
287
367
|
const date = new Date().toISOString().split('T')[0];
|
|
368
|
+
const agentNames = arch.agents.map(a => a.name).join(', ');
|
|
288
369
|
return `# JOURNAL.md — Build Story
|
|
289
370
|
|
|
290
371
|
> How this project was built, the steering moments that shaped it, and why things are the way they are.
|
|
291
|
-
> Maintained by
|
|
372
|
+
> Maintained by **Ledger** (Historian / Build Journalist). Update after milestones.
|
|
292
373
|
|
|
293
374
|
---
|
|
294
375
|
|
|
295
376
|
## ${date} — Project Bootstrapped
|
|
296
377
|
|
|
297
|
-
|
|
378
|
+
**Squad:** ${arch.displayName} · **Vibe:** ${arch.vibe} · **Theme:** ${arch.theme}
|
|
298
379
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
380
|
+
### The Team
|
|
381
|
+
|
|
382
|
+
${agentNames}
|
|
383
|
+
|
|
384
|
+
### What Happened
|
|
385
|
+
|
|
386
|
+
Project initialized with the **${arch.displayName}** squad preset via \`npx snap-squad init\`. The full \`.squad/\` directory, hook chain (AGENTS.md, CLAUDE.md, copilot-instructions.md), and this journal were generated automatically.
|
|
387
|
+
|
|
388
|
+
### Steering Moment
|
|
389
|
+
|
|
390
|
+
The builder chose **${arch.name}** — ${arch.description.toLowerCase().replace(/\.\s*$/, '')}. This shapes everything that follows: who reviews code, how decisions get made, what gets tested first.
|
|
391
|
+
|
|
392
|
+
### What's Next
|
|
393
|
+
|
|
394
|
+
- [ ] First real feature or task
|
|
395
|
+
- [ ] Builder configures project context in \`.squad/team.md\`
|
|
396
|
+
- [ ] First decision logged to \`.squad/decisions.md\`
|
|
397
|
+
|
|
398
|
+
---
|
|
399
|
+
|
|
400
|
+
## How to Use This Journal
|
|
401
|
+
|
|
402
|
+
> *Ledger's guide for the builder and future contributors.*
|
|
403
|
+
|
|
404
|
+
This isn't a changelog. It's the **story of how the project was built** — the decisions, the pivots, the moments where the builder steered the squad in a new direction.
|
|
405
|
+
|
|
406
|
+
### What to capture
|
|
407
|
+
|
|
408
|
+
| Entry Type | When | Example |
|
|
409
|
+
|-----------|------|---------|
|
|
410
|
+
| **Steering Moment** | Builder redirects the squad | "Switched from REST to GraphQL after seeing the query complexity" |
|
|
411
|
+
| **Key Decision** | Trade-off was made | "Chose SQLite over Postgres — this is a CLI tool, not a service" |
|
|
412
|
+
| **Evolution** | Architecture shifted | "Split monolith into 3 modules after hitting circular deps" |
|
|
413
|
+
| **Milestone** | Something shipped | "v0.1.0 published to npm — first public release" |
|
|
414
|
+
| **Lesson Learned** | Something surprised you | "Vitest runs 10x faster than Jest for this project — switching permanently" |
|
|
415
|
+
|
|
416
|
+
### Template for new entries
|
|
417
|
+
|
|
418
|
+
\`\`\`markdown
|
|
419
|
+
## YYYY-MM-DD — Title
|
|
303
420
|
|
|
304
421
|
### What Happened
|
|
305
422
|
|
|
306
|
-
|
|
423
|
+
(What was built, changed, or decided)
|
|
424
|
+
|
|
425
|
+
### Why
|
|
426
|
+
|
|
427
|
+
(The reasoning — what alternatives existed, what trade-offs were made)
|
|
428
|
+
|
|
429
|
+
### Steering Moment
|
|
430
|
+
|
|
431
|
+
(How the builder directed the work — what prompt, feedback, or redirection shaped the outcome)
|
|
432
|
+
|
|
433
|
+
### Impact
|
|
434
|
+
|
|
435
|
+
(What this changes going forward)
|
|
436
|
+
\`\`\`
|
|
307
437
|
|
|
308
|
-
###
|
|
438
|
+
### Rules
|
|
309
439
|
|
|
310
|
-
|
|
440
|
+
1. **Write for future-you.** Six months from now, this journal explains *why* the code looks the way it does.
|
|
441
|
+
2. **Capture the steering, not the typing.** The git log shows what changed. The journal shows *why it changed*.
|
|
442
|
+
3. **Be honest about pivots.** The best journals include "we tried X, it didn't work, here's why we switched to Y."
|
|
443
|
+
4. **Update after milestones, not after every commit.** Quality over quantity.
|
|
311
444
|
|
|
312
445
|
---
|
|
313
446
|
|
|
314
|
-
*
|
|
447
|
+
*The code shows what was built. The journal shows why.*
|
|
315
448
|
`;
|
|
316
449
|
}
|
|
317
450
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,WA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