squads-cli 0.2.0 → 0.2.2
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/README.md +521 -288
- package/dist/auth-YW3UPFSB.js +23 -0
- package/dist/auth-YW3UPFSB.js.map +1 -0
- package/dist/autonomy-GARI6J2J.js +105 -0
- package/dist/autonomy-GARI6J2J.js.map +1 -0
- package/dist/chunk-67RO2HKR.js +174 -0
- package/dist/chunk-67RO2HKR.js.map +1 -0
- package/dist/chunk-7OCVIDC7.js +12 -0
- package/dist/chunk-7OCVIDC7.js.map +1 -0
- package/dist/chunk-BODLDQY7.js +452 -0
- package/dist/chunk-BODLDQY7.js.map +1 -0
- package/dist/chunk-EHQJHRIW.js +103 -0
- package/dist/chunk-EHQJHRIW.js.map +1 -0
- package/dist/chunk-FFFCFZ6A.js +121 -0
- package/dist/chunk-FFFCFZ6A.js.map +1 -0
- package/dist/chunk-FIWT2NMM.js +165 -0
- package/dist/chunk-FIWT2NMM.js.map +1 -0
- package/dist/chunk-HF4WR7RA.js +154 -0
- package/dist/chunk-HF4WR7RA.js.map +1 -0
- package/dist/chunk-J6QF4ZQX.js +230 -0
- package/dist/chunk-J6QF4ZQX.js.map +1 -0
- package/dist/chunk-LOA3KWYJ.js +294 -0
- package/dist/chunk-LOA3KWYJ.js.map +1 -0
- package/dist/chunk-M5FXNY6Y.js +384 -0
- package/dist/chunk-M5FXNY6Y.js.map +1 -0
- package/dist/chunk-NP5BDPE6.js +240 -0
- package/dist/chunk-NP5BDPE6.js.map +1 -0
- package/dist/chunk-O632SBON.js +62 -0
- package/dist/chunk-O632SBON.js.map +1 -0
- package/dist/chunk-QJ7C7CMB.js +223 -0
- package/dist/chunk-QJ7C7CMB.js.map +1 -0
- package/dist/chunk-QRNR4GIT.js +88 -0
- package/dist/chunk-QRNR4GIT.js.map +1 -0
- package/dist/chunk-RM6BWILN.js +74 -0
- package/dist/chunk-RM6BWILN.js.map +1 -0
- package/dist/chunk-TYFTF53O.js +613 -0
- package/dist/chunk-TYFTF53O.js.map +1 -0
- package/dist/chunk-TZXD6WFN.js +420 -0
- package/dist/chunk-TZXD6WFN.js.map +1 -0
- package/dist/chunk-WVOIY5GW.js +621 -0
- package/dist/chunk-WVOIY5GW.js.map +1 -0
- package/dist/chunk-XTHZT53Y.js +364 -0
- package/dist/chunk-XTHZT53Y.js.map +1 -0
- package/dist/chunk-Z2UKDBNL.js +162 -0
- package/dist/chunk-Z2UKDBNL.js.map +1 -0
- package/dist/chunk-ZTQ7ISUR.js +338 -0
- package/dist/chunk-ZTQ7ISUR.js.map +1 -0
- package/dist/cli.js +3371 -5852
- package/dist/cli.js.map +1 -1
- package/dist/context-PYTO2UQG.js +291 -0
- package/dist/context-PYTO2UQG.js.map +1 -0
- package/dist/context-feed-TLVZZ24S.js +394 -0
- package/dist/context-feed-TLVZZ24S.js.map +1 -0
- package/dist/cost-OALPURUQ.js +275 -0
- package/dist/cost-OALPURUQ.js.map +1 -0
- package/dist/create-BLFGG6PF.js +286 -0
- package/dist/create-BLFGG6PF.js.map +1 -0
- package/dist/dashboard-HQIEHTZC.js +951 -0
- package/dist/dashboard-HQIEHTZC.js.map +1 -0
- package/dist/dashboard-RMK2BOD2.js +794 -0
- package/dist/dashboard-RMK2BOD2.js.map +1 -0
- package/dist/doctor-TWHMR23W.js +374 -0
- package/dist/doctor-TWHMR23W.js.map +1 -0
- package/dist/env-config-SQEI3Y7Y.js +21 -0
- package/dist/env-config-SQEI3Y7Y.js.map +1 -0
- package/dist/exec-DYLI4TXY.js +223 -0
- package/dist/exec-DYLI4TXY.js.map +1 -0
- package/dist/feedback-5AEACUX6.js +229 -0
- package/dist/feedback-5AEACUX6.js.map +1 -0
- package/dist/github-UQTM5KMS.js +23 -0
- package/dist/github-UQTM5KMS.js.map +1 -0
- package/dist/goal-XUNV3CKV.js +168 -0
- package/dist/goal-XUNV3CKV.js.map +1 -0
- package/dist/health-ZF3HSA4W.js +218 -0
- package/dist/health-ZF3HSA4W.js.map +1 -0
- package/dist/history-WP6R5BNG.js +232 -0
- package/dist/history-WP6R5BNG.js.map +1 -0
- package/dist/index.d.ts +736 -8
- package/dist/index.js +1312 -6
- package/dist/index.js.map +1 -1
- package/dist/init-BQSCG57S.js +921 -0
- package/dist/init-BQSCG57S.js.map +1 -0
- package/dist/kpi-VBGDO4GI.js +413 -0
- package/dist/kpi-VBGDO4GI.js.map +1 -0
- package/dist/learn-C4B2PQ5J.js +269 -0
- package/dist/learn-C4B2PQ5J.js.map +1 -0
- package/dist/login-F6ITE7PR.js +155 -0
- package/dist/login-F6ITE7PR.js.map +1 -0
- package/dist/memory-33HYD6AN.js +560 -0
- package/dist/memory-33HYD6AN.js.map +1 -0
- package/dist/memory-VNF2VFRB.js +23 -0
- package/dist/memory-VNF2VFRB.js.map +1 -0
- package/dist/observability-CL23L7LD.js +20 -0
- package/dist/observability-CL23L7LD.js.map +1 -0
- package/dist/org-cycle-Q74OT4I4.js +130 -0
- package/dist/org-cycle-Q74OT4I4.js.map +1 -0
- package/dist/progress-P2EIZBKP.js +202 -0
- package/dist/progress-P2EIZBKP.js.map +1 -0
- package/dist/providers-LE744DM6.js +65 -0
- package/dist/providers-LE744DM6.js.map +1 -0
- package/dist/repo-enforcement-JJQMKDAU.js +75 -0
- package/dist/repo-enforcement-JJQMKDAU.js.map +1 -0
- package/dist/results-6TH33HPN.js +224 -0
- package/dist/results-6TH33HPN.js.map +1 -0
- package/dist/run-DOY5SGF3.js +4074 -0
- package/dist/run-DOY5SGF3.js.map +1 -0
- package/dist/run-context-GB6GUCKZ.js +26 -0
- package/dist/run-context-GB6GUCKZ.js.map +1 -0
- package/dist/session-HBU6KZOD.js +64 -0
- package/dist/session-HBU6KZOD.js.map +1 -0
- package/dist/sessions-CK25VGPL.js +333 -0
- package/dist/sessions-CK25VGPL.js.map +1 -0
- package/dist/squad-parser-DCG65BJS.js +35 -0
- package/dist/squad-parser-DCG65BJS.js.map +1 -0
- package/dist/stats-G6NAU5BD.js +334 -0
- package/dist/stats-G6NAU5BD.js.map +1 -0
- package/dist/status-PFFB2NV6.js +352 -0
- package/dist/status-PFFB2NV6.js.map +1 -0
- package/dist/sync-FR6LQJ4C.js +836 -0
- package/dist/sync-FR6LQJ4C.js.map +1 -0
- package/dist/templates/core/AGENTS.md.template +51 -0
- package/dist/templates/core/BUSINESS_BRIEF.md.template +29 -0
- package/dist/templates/core/CLAUDE.md.template +48 -0
- package/dist/templates/core/provider.yaml.template +5 -0
- package/dist/templates/first-squad/SQUAD.md.template +23 -0
- package/dist/templates/first-squad/lead.md.template +44 -0
- package/dist/templates/memory/getting-started/state.md.template +19 -0
- package/dist/templates/seed/BUSINESS_BRIEF.md.template +27 -0
- package/dist/templates/seed/CLAUDE.md.template +119 -0
- package/dist/templates/seed/README.md.template +42 -0
- package/dist/templates/seed/config/SYSTEM.md +58 -0
- package/dist/templates/seed/config/provider.yaml +4 -0
- package/dist/templates/seed/hooks/settings.json.template +31 -0
- package/dist/templates/seed/idp/catalog/service.yaml.template +25 -0
- package/dist/templates/seed/memory/_squad/goals.md +23 -0
- package/dist/templates/seed/memory/_squad/priorities.md +25 -0
- package/dist/templates/seed/memory/company/company.md +31 -0
- package/dist/templates/seed/memory/company/directives.md +37 -0
- package/dist/templates/seed/memory/company/manager/state.md +16 -0
- package/dist/templates/seed/memory/engineering/issue-solver/state.md +12 -0
- package/dist/templates/seed/memory/intelligence/intel-lead/state.md +9 -0
- package/dist/templates/seed/memory/marketing/content-drafter/state.md +12 -0
- package/dist/templates/seed/memory/operations/ops-lead/state.md +12 -0
- package/dist/templates/seed/memory/product/lead/state.md +14 -0
- package/dist/templates/seed/memory/research/lead/state.md +14 -0
- package/dist/templates/seed/skills/gh/SKILL.md +57 -0
- package/dist/templates/seed/skills/squads-cli/SKILL.md +329 -0
- package/dist/templates/seed/skills/squads-cli/references/commands.md +181 -0
- package/dist/templates/seed/squads/company/SQUAD.md +51 -0
- package/dist/templates/seed/squads/company/company-critic.md +57 -0
- package/dist/templates/seed/squads/company/company-eval.md +57 -0
- package/dist/templates/seed/squads/company/event-dispatcher.md +53 -0
- package/dist/templates/seed/squads/company/goal-tracker.md +51 -0
- package/dist/templates/seed/squads/company/manager.md +60 -0
- package/dist/templates/seed/squads/engineering/SQUAD.md +48 -0
- package/dist/templates/seed/squads/engineering/code-reviewer.md +69 -0
- package/dist/templates/seed/squads/engineering/issue-solver.md +66 -0
- package/dist/templates/seed/squads/engineering/test-writer.md +60 -0
- package/dist/templates/seed/squads/intelligence/SQUAD.md +38 -0
- package/dist/templates/seed/squads/intelligence/intel-critic.md +53 -0
- package/dist/templates/seed/squads/intelligence/intel-eval.md +48 -0
- package/dist/templates/seed/squads/intelligence/intel-lead.md +79 -0
- package/dist/templates/seed/squads/marketing/SQUAD.md +47 -0
- package/dist/templates/seed/squads/marketing/content-drafter.md +81 -0
- package/dist/templates/seed/squads/marketing/growth-analyst.md +61 -0
- package/dist/templates/seed/squads/marketing/social-poster.md +56 -0
- package/dist/templates/seed/squads/operations/SQUAD.md +45 -0
- package/dist/templates/seed/squads/operations/finance-tracker.md +55 -0
- package/dist/templates/seed/squads/operations/goal-tracker.md +60 -0
- package/dist/templates/seed/squads/operations/ops-lead.md +68 -0
- package/dist/templates/seed/squads/product/SQUAD.md +41 -0
- package/dist/templates/seed/squads/product/lead.md +64 -0
- package/dist/templates/seed/squads/product/scanner.md +58 -0
- package/dist/templates/seed/squads/product/worker.md +63 -0
- package/dist/templates/seed/squads/research/SQUAD.md +38 -0
- package/dist/templates/seed/squads/research/analyst.md +58 -0
- package/dist/templates/seed/squads/research/lead.md +58 -0
- package/dist/templates/seed/squads/research/synthesizer.md +67 -0
- package/dist/templates/skills/squads-learn/SKILL.md +86 -0
- package/dist/templates/skills/squads-workflow/instruction.md +70 -0
- package/dist/terminal-FBQFQTKZ.js +55 -0
- package/dist/terminal-FBQFQTKZ.js.map +1 -0
- package/dist/tier-detect-YX2HPNNR.js +15 -0
- package/dist/tier-detect-YX2HPNNR.js.map +1 -0
- package/dist/update-D7CGIZ3M.js +18 -0
- package/dist/update-D7CGIZ3M.js.map +1 -0
- package/dist/update-STU276HR.js +83 -0
- package/dist/update-STU276HR.js.map +1 -0
- package/package.json +31 -13
- package/templates/core/AGENTS.md.template +51 -0
- package/templates/core/BUSINESS_BRIEF.md.template +29 -0
- package/templates/core/CLAUDE.md.template +48 -0
- package/templates/core/provider.yaml.template +5 -0
- package/templates/first-squad/SQUAD.md.template +23 -0
- package/templates/first-squad/lead.md.template +44 -0
- package/templates/memory/getting-started/state.md.template +19 -0
- package/templates/seed/BUSINESS_BRIEF.md.template +27 -0
- package/templates/seed/CLAUDE.md.template +119 -0
- package/templates/seed/README.md.template +42 -0
- package/templates/seed/config/SYSTEM.md +58 -0
- package/templates/seed/config/provider.yaml +4 -0
- package/templates/seed/hooks/settings.json.template +31 -0
- package/templates/seed/idp/catalog/service.yaml.template +25 -0
- package/templates/seed/memory/_squad/goals.md +23 -0
- package/templates/seed/memory/_squad/priorities.md +25 -0
- package/templates/seed/memory/company/company.md +31 -0
- package/templates/seed/memory/company/directives.md +37 -0
- package/templates/seed/memory/company/manager/state.md +16 -0
- package/templates/seed/memory/engineering/issue-solver/state.md +12 -0
- package/templates/seed/memory/intelligence/intel-lead/state.md +9 -0
- package/templates/seed/memory/marketing/content-drafter/state.md +12 -0
- package/templates/seed/memory/operations/ops-lead/state.md +12 -0
- package/templates/seed/memory/product/lead/state.md +14 -0
- package/templates/seed/memory/research/lead/state.md +14 -0
- package/templates/seed/skills/gh/SKILL.md +57 -0
- package/templates/seed/skills/squads-cli/SKILL.md +329 -0
- package/templates/seed/skills/squads-cli/references/commands.md +181 -0
- package/templates/seed/squads/company/SQUAD.md +51 -0
- package/templates/seed/squads/company/company-critic.md +57 -0
- package/templates/seed/squads/company/company-eval.md +57 -0
- package/templates/seed/squads/company/event-dispatcher.md +53 -0
- package/templates/seed/squads/company/goal-tracker.md +51 -0
- package/templates/seed/squads/company/manager.md +60 -0
- package/templates/seed/squads/engineering/SQUAD.md +48 -0
- package/templates/seed/squads/engineering/code-reviewer.md +69 -0
- package/templates/seed/squads/engineering/issue-solver.md +66 -0
- package/templates/seed/squads/engineering/test-writer.md +60 -0
- package/templates/seed/squads/intelligence/SQUAD.md +38 -0
- package/templates/seed/squads/intelligence/intel-critic.md +53 -0
- package/templates/seed/squads/intelligence/intel-eval.md +48 -0
- package/templates/seed/squads/intelligence/intel-lead.md +79 -0
- package/templates/seed/squads/marketing/SQUAD.md +47 -0
- package/templates/seed/squads/marketing/content-drafter.md +81 -0
- package/templates/seed/squads/marketing/growth-analyst.md +61 -0
- package/templates/seed/squads/marketing/social-poster.md +56 -0
- package/templates/seed/squads/operations/SQUAD.md +45 -0
- package/templates/seed/squads/operations/finance-tracker.md +55 -0
- package/templates/seed/squads/operations/goal-tracker.md +60 -0
- package/templates/seed/squads/operations/ops-lead.md +68 -0
- package/templates/seed/squads/product/SQUAD.md +41 -0
- package/templates/seed/squads/product/lead.md +64 -0
- package/templates/seed/squads/product/scanner.md +58 -0
- package/templates/seed/squads/product/worker.md +63 -0
- package/templates/seed/squads/research/SQUAD.md +38 -0
- package/templates/seed/squads/research/analyst.md +58 -0
- package/templates/seed/squads/research/lead.md +58 -0
- package/templates/seed/squads/research/synthesizer.md +67 -0
- package/templates/skills/squads-learn/SKILL.md +86 -0
- package/templates/skills/squads-workflow/instruction.md +70 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
apiVersion: squads/v1
|
|
2
|
+
kind: Service
|
|
3
|
+
metadata:
|
|
4
|
+
name: "{{SERVICE_NAME}}"
|
|
5
|
+
description: "{{BUSINESS_DESCRIPTION}}"
|
|
6
|
+
owner: "{{OWNER_SQUAD}}"
|
|
7
|
+
repo: "{{REPO_NAME}}"
|
|
8
|
+
tags: []
|
|
9
|
+
spec:
|
|
10
|
+
type: "{{SERVICE_TYPE}}"
|
|
11
|
+
stack: "{{SERVICE_STACK}}"
|
|
12
|
+
branches:
|
|
13
|
+
default: main
|
|
14
|
+
development: {{BRANCHES_DEVELOPMENT}}
|
|
15
|
+
workflow: "{{BRANCHES_WORKFLOW}}"
|
|
16
|
+
ci:
|
|
17
|
+
template: {{CI_TEMPLATE}}
|
|
18
|
+
required_checks: []
|
|
19
|
+
build_command: {{BUILD_COMMAND}}
|
|
20
|
+
test_command: {{TEST_COMMAND}}
|
|
21
|
+
deploy: null
|
|
22
|
+
health: []
|
|
23
|
+
dependencies:
|
|
24
|
+
runtime: []
|
|
25
|
+
scorecard: "{{SERVICE_SCORECARD}}"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
squad: "{{SQUAD_NAME}}"
|
|
3
|
+
updated: "{{CURRENT_DATE}}"
|
|
4
|
+
review_by: "{{REVIEW_DATE}}"
|
|
5
|
+
owner: "{{SQUAD_LEAD}}"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# {{SQUAD_LABEL}} Goals
|
|
9
|
+
|
|
10
|
+
## Active
|
|
11
|
+
|
|
12
|
+
(No goals set yet — add your first goal here)
|
|
13
|
+
|
|
14
|
+
Example format:
|
|
15
|
+
1. **Goal name** — metric: what_to_measure | baseline: unknown | target: X | deadline: YYYY-MM-DD | status: not-started
|
|
16
|
+
|
|
17
|
+
## Achieved
|
|
18
|
+
|
|
19
|
+
(none yet)
|
|
20
|
+
|
|
21
|
+
## Abandoned
|
|
22
|
+
|
|
23
|
+
(none yet)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
squad: "{{SQUAD_NAME}}"
|
|
3
|
+
updated: "{{CURRENT_DATE}}"
|
|
4
|
+
review_by: "{{REVIEW_DATE}}"
|
|
5
|
+
owner: "{{SQUAD_LEAD}}"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# {{SQUAD_LABEL}} Priorities
|
|
9
|
+
|
|
10
|
+
## Focus
|
|
11
|
+
|
|
12
|
+
1. **Deliver first results** — produce at least one concrete output per cycle
|
|
13
|
+
2. **Learn the context** — read BUSINESS_BRIEF.md and recent squad state before acting
|
|
14
|
+
3. **Collaborate** — coordinate with other squads through memory, not direct calls
|
|
15
|
+
|
|
16
|
+
## Not Now
|
|
17
|
+
|
|
18
|
+
- Deep refactoring without a clear need
|
|
19
|
+
- Experimental features not tied to business goals
|
|
20
|
+
|
|
21
|
+
## Standing Rules
|
|
22
|
+
|
|
23
|
+
- Always read state.md before starting — don't repeat work
|
|
24
|
+
- Always write state.md after completing — enable the next run
|
|
25
|
+
- Escalate blockers immediately — don't spin in place
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: "company-context"
|
|
3
|
+
updated: "{{CURRENT_DATE}}"
|
|
4
|
+
owner: "manager"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Company Context
|
|
8
|
+
|
|
9
|
+
## Mission
|
|
10
|
+
|
|
11
|
+
{{BUSINESS_DESCRIPTION}}
|
|
12
|
+
|
|
13
|
+
## What We Build
|
|
14
|
+
|
|
15
|
+
(Add product or service details here)
|
|
16
|
+
|
|
17
|
+
## Who Uses It
|
|
18
|
+
|
|
19
|
+
(Add target customer details here)
|
|
20
|
+
|
|
21
|
+
## Product
|
|
22
|
+
|
|
23
|
+
| Offering | Role |
|
|
24
|
+
|----------|------|
|
|
25
|
+
| (Add your products/services) | |
|
|
26
|
+
|
|
27
|
+
## Alignment
|
|
28
|
+
|
|
29
|
+
- Results over promises — ship working things
|
|
30
|
+
- Simple over clever — prefer straightforward solutions
|
|
31
|
+
- Customer zero — use your own product
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Strategic Directives
|
|
2
|
+
|
|
3
|
+
> Updated by: Human operator (you)
|
|
4
|
+
> Read by: All squad leads and agents before every run
|
|
5
|
+
> This file overrides any conflicting guidance in SQUAD.md goals
|
|
6
|
+
|
|
7
|
+
## Mission
|
|
8
|
+
|
|
9
|
+
{{BUSINESS_DESCRIPTION}}
|
|
10
|
+
|
|
11
|
+
## P0: First Value
|
|
12
|
+
|
|
13
|
+
**All squads work toward delivering visible, useful output from the very first run.**
|
|
14
|
+
|
|
15
|
+
Research focus: {{BUSINESS_FOCUS}}
|
|
16
|
+
|
|
17
|
+
### What "useful" means
|
|
18
|
+
- Intelligence produces a brief with sourced facts, not generic summaries
|
|
19
|
+
- Research identifies specific competitors and opportunities, not "the market is growing"
|
|
20
|
+
- Product translates findings into concrete next steps, not vague roadmaps
|
|
21
|
+
- Company evaluates whether outputs actually advanced the business goals
|
|
22
|
+
|
|
23
|
+
## Decision Framework
|
|
24
|
+
|
|
25
|
+
1. Does this advance the research focus above?
|
|
26
|
+
2. Is there a simpler approach for 80% of the value?
|
|
27
|
+
3. What's the opportunity cost — what are we NOT doing?
|
|
28
|
+
|
|
29
|
+
## Constraints
|
|
30
|
+
|
|
31
|
+
- Learning phase. Explore, experiment, report findings.
|
|
32
|
+
- Don't over-invest in process. Produce output first, optimize later.
|
|
33
|
+
- Every agent output should be something the human operator can act on today.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
*Update this file as your business goals evolve. Run `squads goal set` for squad-level goals.*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Manager State
|
|
2
|
+
|
|
3
|
+
## Last Run
|
|
4
|
+
Never — awaiting first execution.
|
|
5
|
+
|
|
6
|
+
## Business Understanding
|
|
7
|
+
Pending — will be populated after reading BUSINESS_BRIEF.md.
|
|
8
|
+
|
|
9
|
+
## Active Squads
|
|
10
|
+
- company (5 agents)
|
|
11
|
+
- research (4 agents)
|
|
12
|
+
|
|
13
|
+
## Priorities
|
|
14
|
+
1. Read and understand business context
|
|
15
|
+
2. Run initial research
|
|
16
|
+
3. Establish operational rhythm
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Product Lead State
|
|
2
|
+
|
|
3
|
+
Last update: {{CURRENT_DATE}}
|
|
4
|
+
|
|
5
|
+
## Active Roadmap
|
|
6
|
+
- [ ] Initialize product strategy from BUSINESS_BRIEF.md
|
|
7
|
+
- [ ] Define initial feature set and priorities
|
|
8
|
+
- [ ] Establish feedback synthesis loop
|
|
9
|
+
|
|
10
|
+
## Current Focus
|
|
11
|
+
Initial project setup and alignment with business objectives.
|
|
12
|
+
|
|
13
|
+
## Insights & Learnings
|
|
14
|
+
- No insights yet. Run the product squad to start capturing memory.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Research Lead State
|
|
2
|
+
|
|
3
|
+
Last update: {{CURRENT_DATE}}
|
|
4
|
+
|
|
5
|
+
## Active Research Topics
|
|
6
|
+
- [ ] Initial market landscape from BUSINESS_BRIEF.md
|
|
7
|
+
- [ ] Key competitor identification
|
|
8
|
+
- [ ] Strategic growth opportunities
|
|
9
|
+
|
|
10
|
+
## Current Focus
|
|
11
|
+
Initial project setup and market alignment.
|
|
12
|
+
|
|
13
|
+
## Findings Summary
|
|
14
|
+
- No findings yet. Run the research squad to start capturing memory.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# gh — GitHub CLI Operations
|
|
2
|
+
|
|
3
|
+
You have access to `gh` (GitHub CLI) for repository and project management.
|
|
4
|
+
|
|
5
|
+
## Issues
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
gh issue list # List open issues
|
|
9
|
+
gh issue list --label "bug" # Filter by label
|
|
10
|
+
gh issue view <number> # View issue details
|
|
11
|
+
gh issue create --title "..." --body "..." # Create issue
|
|
12
|
+
gh issue close <number> # Close issue
|
|
13
|
+
gh issue comment <number> --body "..." # Add comment
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Pull Requests
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
gh pr list # List open PRs
|
|
20
|
+
gh pr view <number> # View PR details
|
|
21
|
+
gh pr create --title "..." --body "..." # Create PR
|
|
22
|
+
gh pr merge <number> # Merge PR
|
|
23
|
+
gh pr review <number> --approve # Approve PR
|
|
24
|
+
gh pr checks <number> # View CI status
|
|
25
|
+
gh pr diff <number> # View PR diff
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Repository
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
gh repo view # View repo info
|
|
32
|
+
gh repo clone <owner/repo> # Clone repo
|
|
33
|
+
gh api repos/<owner>/<repo> # Raw API access
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Workflow Runs
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
gh run list # List recent runs
|
|
40
|
+
gh run view <id> # View run details
|
|
41
|
+
gh run watch <id> # Watch run in progress
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Search
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
gh search repos "<query>" # Search repos
|
|
48
|
+
gh search issues "<query>" # Search issues
|
|
49
|
+
gh search prs "<query>" # Search PRs
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Best Practices
|
|
53
|
+
|
|
54
|
+
- **Check before creating**: Search existing issues/PRs before creating duplicates
|
|
55
|
+
- **Use labels**: Filter and organize with labels
|
|
56
|
+
- **Link issues**: Reference issues in PR descriptions with `Fixes #N`
|
|
57
|
+
- **Review CI**: Always check `gh pr checks` before merging
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: squads-cli
|
|
3
|
+
description: Squads CLI reference for autonomous agents — run squads, manage memory, check status, set goals, and operate the AI workforce. TRIGGER when using squads commands, dispatching agents, reading/writing memory, checking squad status, or operating the autonomous loop.
|
|
4
|
+
context: fork
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Squads CLI
|
|
8
|
+
|
|
9
|
+
The `squads` CLI is the operating system for your AI workforce. Agents are the primary users — they call these commands during execution to understand context, persist learnings, and coordinate with other squads.
|
|
10
|
+
|
|
11
|
+
## Core Concepts
|
|
12
|
+
|
|
13
|
+
| Concept | Description |
|
|
14
|
+
|---------|-------------|
|
|
15
|
+
| **Squad** | A team of agents in `.agents/squads/{name}/` — defined by `SQUAD.md` |
|
|
16
|
+
| **Agent** | A markdown file (`{agent}.md`) inside a squad directory |
|
|
17
|
+
| **Memory** | Persistent state in `.agents/memory/{squad}/{agent}/` — survives across runs |
|
|
18
|
+
| **Target** | `squad/agent` notation (e.g., `engineering/issue-solver`) |
|
|
19
|
+
| **Context cascade** | Layered context injection: SYSTEM → SQUAD → priorities → directives → state |
|
|
20
|
+
|
|
21
|
+
## File Structure
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
.agents/
|
|
25
|
+
├── config/SYSTEM.md # Immutable rules (all agents)
|
|
26
|
+
├── squads/{squad}/
|
|
27
|
+
│ ├── SQUAD.md # Squad identity, goals, KPIs
|
|
28
|
+
│ └── {agent}.md # Agent definition
|
|
29
|
+
└── memory/
|
|
30
|
+
├── {squad}/
|
|
31
|
+
│ ├── priorities.md # Current operational focus
|
|
32
|
+
│ ├── feedback.md # Last cycle evaluation
|
|
33
|
+
│ ├── active-work.md # Open PRs/issues
|
|
34
|
+
│ └── {agent}/
|
|
35
|
+
│ ├── state.md # Agent's persistent state
|
|
36
|
+
│ └── learnings.md # Accumulated insights
|
|
37
|
+
├── company/directives.md # Strategic overlay
|
|
38
|
+
└── daily-briefing.md # Cross-squad context
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Running Agents
|
|
44
|
+
|
|
45
|
+
### Single Agent
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Run specific agent (two equivalent notations)
|
|
49
|
+
squads run engineering/issue-solver
|
|
50
|
+
squads run engineering -a issue-solver
|
|
51
|
+
|
|
52
|
+
# With founder directive (replaces lead briefing)
|
|
53
|
+
squads run engineering/issue-solver --task "Fix CI pipeline for PR #593"
|
|
54
|
+
|
|
55
|
+
# Dry run — preview without executing
|
|
56
|
+
squads run engineering --dry-run
|
|
57
|
+
|
|
58
|
+
# Background execution
|
|
59
|
+
squads run engineering/scanner -b # Detached
|
|
60
|
+
squads run engineering/scanner -w # Detached but tail logs
|
|
61
|
+
|
|
62
|
+
# Use different LLM provider
|
|
63
|
+
squads run research/analyst --provider=google
|
|
64
|
+
squads run research/analyst --provider=google --model=gemini-2.5-flash
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Squad Conversation
|
|
68
|
+
|
|
69
|
+
Run an entire squad as a coordinated team. Lead briefs → workers execute → lead reviews → iterate until convergence.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
squads run research # Sequential conversation
|
|
73
|
+
squads run research --parallel # All agents in parallel (tmux)
|
|
74
|
+
squads run research --lead # Single orchestrator with Task tool
|
|
75
|
+
squads run research --max-turns 10 # Limit conversation turns
|
|
76
|
+
squads run research --cost-ceiling 15 # Budget cap in USD
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Autopilot (Autonomous Dispatch)
|
|
80
|
+
|
|
81
|
+
No target = autopilot mode. CLI scores squads by priority, dispatches automatically.
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
squads run # Start autopilot
|
|
85
|
+
squads run --once # Single cycle then exit
|
|
86
|
+
squads run --once --dry-run # Preview what would dispatch
|
|
87
|
+
squads run -i 15 --budget 50 # 15-min cycles, $50/day cap
|
|
88
|
+
squads run --phased # Respect depends_on ordering
|
|
89
|
+
squads run --max-parallel 3 # Up to 3 squads simultaneously
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Execution Options
|
|
93
|
+
|
|
94
|
+
| Flag | Purpose |
|
|
95
|
+
|------|---------|
|
|
96
|
+
| `--verbose` | Detailed output with context sections logged |
|
|
97
|
+
| `--timeout <min>` | Execution timeout (default: 30 min) |
|
|
98
|
+
| `--effort <level>` | `high`, `medium`, `low` (default: from SQUAD.md or high) |
|
|
99
|
+
| `--skills <ids>` | Load additional skills |
|
|
100
|
+
| `--cloud` | Dispatch to cloud worker (requires `squads login`) |
|
|
101
|
+
| `--no-verify` | Skip post-execution verification |
|
|
102
|
+
| `--no-eval` | Skip post-run COO evaluation |
|
|
103
|
+
| `--json` | Machine-readable output |
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Memory Operations
|
|
108
|
+
|
|
109
|
+
Memory is how agents persist knowledge across runs. Files-first — everything is markdown on disk.
|
|
110
|
+
|
|
111
|
+
### Read Memory
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
# View all memory for a squad
|
|
115
|
+
squads memory read engineering
|
|
116
|
+
|
|
117
|
+
# Search across ALL squad memory
|
|
118
|
+
squads memory query "CI pipeline failures"
|
|
119
|
+
squads memory query "agent performance"
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Write Memory
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# Write insight to squad memory
|
|
126
|
+
squads memory write research "MCP adoption rate at 15% — up from 8% last month"
|
|
127
|
+
|
|
128
|
+
# Write to specific agent
|
|
129
|
+
squads memory write engineering --agent issue-solver "PR #593 blocked by flaky test"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Capture Learnings
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Quick learning capture
|
|
136
|
+
squads learn "Google blocks headless Chrome OAuth — use cookie injection" \
|
|
137
|
+
--squad engineering --category pattern --tags "auth,chrome,e2e"
|
|
138
|
+
|
|
139
|
+
# View learnings
|
|
140
|
+
squads learnings
|
|
141
|
+
squads learnings --squad engineering
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Sync Memory
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
squads sync # Pull remote changes
|
|
148
|
+
squads sync --push # Pull + push local changes
|
|
149
|
+
squads sync --postgres # Also sync to Postgres
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Status & Monitoring
|
|
155
|
+
|
|
156
|
+
### Squad Status
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
squads status # All squads overview
|
|
160
|
+
squads status engineering # Specific squad details
|
|
161
|
+
squads status -v # Verbose with agent details
|
|
162
|
+
squads status --json # Machine-readable
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Dashboards
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
squads dash # Overview dashboard
|
|
169
|
+
squads dash engineering # Squad-specific dashboard
|
|
170
|
+
squads dash --ceo # Executive summary
|
|
171
|
+
squads dash --full # Include GitHub PR/issue stats (~30s)
|
|
172
|
+
squads dash --list # List available dashboards
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Execution History
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
squads exec list # Recent executions
|
|
179
|
+
squads exec list --squad eng # Filter by squad
|
|
180
|
+
squads exec show <id> # Execution details
|
|
181
|
+
squads exec stats # Aggregate statistics
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Cost Tracking
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
squads cost # Today + this week
|
|
188
|
+
squads cost --squad research # Squad-specific costs
|
|
189
|
+
squads cost --json # Machine-readable
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Health & Readiness
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
squads doctor # Check tools, auth, project readiness
|
|
196
|
+
squads doctor -v # Verbose with install hints
|
|
197
|
+
squads eval engineering/scanner # Agent readiness score
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Goals & Priorities
|
|
203
|
+
|
|
204
|
+
Goals are aspirational (in SQUAD.md). Priorities are operational (in priorities.md).
|
|
205
|
+
|
|
206
|
+
### Set Goals
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
squads goal set engineering "Zero CI failures on main branch"
|
|
210
|
+
squads goal list # All squads
|
|
211
|
+
squads goal list engineering # Specific squad
|
|
212
|
+
squads goal complete engineering 1 # Mark done
|
|
213
|
+
squads goal progress engineering 1 "75%"
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Business Context
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
squads context # Full business context
|
|
220
|
+
squads context --squad engineering # Squad-focused context
|
|
221
|
+
squads context --topic "pricing" # Topic-focused search
|
|
222
|
+
squads context --json # Agent-consumable format
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Environment & Configuration
|
|
228
|
+
|
|
229
|
+
### Execution Environment
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
squads env show engineering # View MCP servers, skills, model, budget
|
|
233
|
+
squads env show engineering --json # Machine-readable
|
|
234
|
+
squads env prompt engineering # Ready-to-use prompt for Claude Code
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Provider Management
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
squads providers # List available LLM CLI providers
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Sessions
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
squads sessions # Active Claude Code sessions
|
|
247
|
+
squads session start # Start new session
|
|
248
|
+
squads session end # End current session
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Autonomous Scheduling
|
|
254
|
+
|
|
255
|
+
The daemon runs agents on configured schedules without human intervention.
|
|
256
|
+
|
|
257
|
+
```bash
|
|
258
|
+
squads auto start # Start scheduling daemon
|
|
259
|
+
squads auto stop # Stop daemon
|
|
260
|
+
squads auto status # Show daemon status + next runs
|
|
261
|
+
squads auto pause "quota exhausted" # Pause with reason
|
|
262
|
+
squads auto resume # Resume after pause
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Common Patterns
|
|
268
|
+
|
|
269
|
+
### Agent Self-Context (during execution)
|
|
270
|
+
|
|
271
|
+
Agents call these to understand their environment:
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
# What am I working with?
|
|
275
|
+
squads env show ${SQUAD_NAME} --json
|
|
276
|
+
|
|
277
|
+
# What do I know?
|
|
278
|
+
squads memory read ${SQUAD_NAME}
|
|
279
|
+
|
|
280
|
+
# What's happening across the org?
|
|
281
|
+
squads status --json
|
|
282
|
+
|
|
283
|
+
# What's the business context?
|
|
284
|
+
squads context --squad ${SQUAD_NAME} --json
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### Post-Execution Memory Update
|
|
288
|
+
|
|
289
|
+
```bash
|
|
290
|
+
# Persist what you learned
|
|
291
|
+
squads memory write ${SQUAD_NAME} "Key finding from this run"
|
|
292
|
+
squads learn "Pattern discovered: X causes Y" --squad ${SQUAD_NAME} --category pattern
|
|
293
|
+
|
|
294
|
+
# Sync to remote
|
|
295
|
+
squads sync --push
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### Dispatch Another Agent
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
# From within an agent, trigger another
|
|
302
|
+
squads run engineering/issue-solver --task "Fix the bug I found in #461" -b
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
### Check Before Creating
|
|
306
|
+
|
|
307
|
+
Before creating issues/PRs, check what exists:
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
squads status engineering -v # See active work
|
|
311
|
+
squads memory read engineering # See known issues
|
|
312
|
+
squads context --squad engineering --json # Full context
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
## Full Command Reference
|
|
316
|
+
|
|
317
|
+
See `references/commands.md` for complete command listing with all flags.
|
|
318
|
+
|
|
319
|
+
## Troubleshooting
|
|
320
|
+
|
|
321
|
+
| Problem | Fix |
|
|
322
|
+
|---------|-----|
|
|
323
|
+
| `squads: command not found` | `npm install -g squads-cli` |
|
|
324
|
+
| No squads found | Run `squads init` to create `.agents/` |
|
|
325
|
+
| Agent not found | Check path: `.agents/squads/{squad}/{agent}.md` |
|
|
326
|
+
| Memory not persisting | Check `.agents/memory/` exists, run `squads sync` |
|
|
327
|
+
| Wrong provider | Set `--provider` flag or `provider:` in SQUAD.md frontmatter |
|
|
328
|
+
| API quota exhausted | `squads auto pause "quota"`, switch provider, or wait |
|
|
329
|
+
| Context too large | Use `--effort low` or reduce context layers |
|