@the-bearded-bear/claude-craft 8.26.0 → 8.27.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/Dev/i18n/base/Common/commands/aliases.md +48 -48
- package/Dev/i18n/base/Common/skills/sub-agents-patterns/SKILL.md +1 -0
- package/Dev/i18n/de/Common/agents/devops-engineer.md +19 -14
- package/Dev/i18n/de/Common/agents/migration-specialist.md +10 -15
- package/Dev/i18n/de/Common/agents/mlops-engineer.md +19 -15
- package/Dev/i18n/de/Common/agents/ralph-conductor.md +4 -15
- package/Dev/i18n/de/Common/agents/refactoring-specialist.md +0 -9
- package/Dev/i18n/de/Common/agents/tdd-coach.md +0 -9
- package/Dev/i18n/de/Common/agents/uiux-orchestrator.md +0 -9
- package/Dev/i18n/de/Common/commands/ralph-run.md +52 -0
- package/Dev/i18n/de/Common/commands/research-context7.md +5 -253
- package/Dev/i18n/de/Common/rules/12-context-management.md +10 -8
- package/Dev/i18n/de/Common/templates/settings.json.template +4 -0
- package/Dev/i18n/de/Python/skills/coding-standards/SKILL.md +1 -1
- package/Dev/i18n/de/Python/skills/testing-python/SKILL.md +1 -1
- package/Dev/i18n/de/Python/skills/tooling/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/commands/check-security.md +20 -20
- package/Dev/i18n/de/Symfony/skills/aggregates/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/skills/async/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/skills/cqrs/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/skills/domain-events/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/skills/i18n/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/skills/multitenant/SKILL.md +1 -1
- package/Dev/i18n/de/Symfony/skills/value-objects/SKILL.md +1 -1
- package/Dev/i18n/de/Team/commands/audit.md +29 -4
- package/Dev/i18n/de/Team/commands/delivery.md +29 -4
- package/Dev/i18n/de/Team/commands/security.md +31 -4
- package/Dev/i18n/de/Team/commands/sprint.md +30 -5
- package/Dev/i18n/de/UIUX/commands/audit.md +1 -30
- package/Dev/i18n/de/UIUX/commands/component-spec.md +1 -5
- package/Dev/i18n/de/UIUX/commands/orchestrator.md +5 -98
- package/Dev/i18n/de/Workflow/commands/auto-sprint.md +7 -4
- package/Dev/i18n/de/Workflow/commands/plan.md +1 -2
- package/Dev/i18n/en/Common/agents/devops-engineer.md +19 -14
- package/Dev/i18n/en/Common/agents/migration-specialist.md +10 -15
- package/Dev/i18n/en/Common/agents/mlops-engineer.md +19 -15
- package/Dev/i18n/en/Common/agents/ralph-conductor.md +4 -15
- package/Dev/i18n/en/Common/agents/refactoring-specialist.md +0 -9
- package/Dev/i18n/en/Common/agents/tdd-coach.md +0 -9
- package/Dev/i18n/en/Common/agents/uiux-orchestrator.md +0 -9
- package/Dev/i18n/en/Common/commands/ralph-run.md +52 -0
- package/Dev/i18n/en/Common/commands/research-context7.md +5 -253
- package/Dev/i18n/en/Common/rules/12-context-management.md +12 -10
- package/Dev/i18n/en/Common/templates/settings.json.template +4 -0
- package/Dev/i18n/en/Python/skills/coding-standards/SKILL.md +1 -1
- package/Dev/i18n/en/Python/skills/testing-python/SKILL.md +1 -1
- package/Dev/i18n/en/Python/skills/tooling/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/commands/check-security.md +20 -20
- package/Dev/i18n/en/Symfony/skills/aggregates/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/skills/async/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/skills/cqrs/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/skills/domain-events/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/skills/i18n/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/skills/multitenant/SKILL.md +1 -1
- package/Dev/i18n/en/Symfony/skills/value-objects/SKILL.md +1 -1
- package/Dev/i18n/en/Team/commands/audit.md +29 -4
- package/Dev/i18n/en/Team/commands/delivery.md +29 -4
- package/Dev/i18n/en/Team/commands/security.md +31 -4
- package/Dev/i18n/en/Team/commands/sprint.md +30 -5
- package/Dev/i18n/en/UIUX/commands/audit.md +1 -30
- package/Dev/i18n/en/UIUX/commands/component-spec.md +1 -5
- package/Dev/i18n/en/UIUX/commands/orchestrator.md +5 -98
- package/Dev/i18n/en/Workflow/commands/auto-sprint.md +7 -4
- package/Dev/i18n/en/Workflow/commands/plan.md +1 -2
- package/Dev/i18n/es/Common/agents/devops-engineer.md +19 -14
- package/Dev/i18n/es/Common/agents/migration-specialist.md +10 -15
- package/Dev/i18n/es/Common/agents/mlops-engineer.md +19 -15
- package/Dev/i18n/es/Common/agents/ralph-conductor.md +4 -15
- package/Dev/i18n/es/Common/agents/refactoring-specialist.md +0 -9
- package/Dev/i18n/es/Common/agents/tdd-coach.md +0 -9
- package/Dev/i18n/es/Common/agents/uiux-orchestrator.md +0 -9
- package/Dev/i18n/es/Common/commands/ralph-run.md +52 -0
- package/Dev/i18n/es/Common/commands/research-context7.md +5 -253
- package/Dev/i18n/es/Common/rules/12-context-management.md +9 -7
- package/Dev/i18n/es/Common/templates/settings.json.template +4 -0
- package/Dev/i18n/es/Python/skills/coding-standards/SKILL.md +1 -1
- package/Dev/i18n/es/Python/skills/testing-python/SKILL.md +1 -1
- package/Dev/i18n/es/Python/skills/tooling/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/commands/check-security.md +20 -20
- package/Dev/i18n/es/Symfony/skills/aggregates/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/skills/async/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/skills/cqrs/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/skills/domain-events/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/skills/i18n/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/skills/multitenant/SKILL.md +1 -1
- package/Dev/i18n/es/Symfony/skills/value-objects/SKILL.md +1 -1
- package/Dev/i18n/es/Team/commands/audit.md +29 -4
- package/Dev/i18n/es/Team/commands/delivery.md +29 -4
- package/Dev/i18n/es/Team/commands/security.md +31 -4
- package/Dev/i18n/es/Team/commands/sprint.md +30 -5
- package/Dev/i18n/es/UIUX/commands/audit.md +1 -30
- package/Dev/i18n/es/UIUX/commands/component-spec.md +1 -5
- package/Dev/i18n/es/UIUX/commands/orchestrator.md +5 -98
- package/Dev/i18n/es/Workflow/commands/auto-sprint.md +7 -4
- package/Dev/i18n/es/Workflow/commands/plan.md +1 -2
- package/Dev/i18n/fr/Common/agents/devops-engineer.md +19 -14
- package/Dev/i18n/fr/Common/agents/migration-specialist.md +10 -15
- package/Dev/i18n/fr/Common/agents/mlops-engineer.md +19 -15
- package/Dev/i18n/fr/Common/agents/ralph-conductor.md +4 -15
- package/Dev/i18n/fr/Common/agents/refactoring-specialist.md +0 -9
- package/Dev/i18n/fr/Common/agents/tdd-coach.md +0 -9
- package/Dev/i18n/fr/Common/agents/uiux-orchestrator.md +0 -9
- package/Dev/i18n/fr/Common/commands/ralph-run.md +52 -0
- package/Dev/i18n/fr/Common/commands/research-context7.md +5 -253
- package/Dev/i18n/fr/Common/rules/12-context-management.md +10 -8
- package/Dev/i18n/fr/Common/templates/settings.json.template +4 -0
- package/Dev/i18n/fr/React/commands/check-compliance.md +1 -1
- package/Dev/i18n/fr/React/commands/check-security.md +2 -2
- package/Dev/i18n/fr/Symfony/commands/check-security.md +20 -20
- package/Dev/i18n/fr/Symfony/skills/aggregates/SKILL.md +1 -1
- package/Dev/i18n/fr/Symfony/skills/async/SKILL.md +1 -1
- package/Dev/i18n/fr/Symfony/skills/cqrs/SKILL.md +1 -1
- package/Dev/i18n/fr/Symfony/skills/domain-events/SKILL.md +1 -1
- package/Dev/i18n/fr/Symfony/skills/i18n/SKILL.md +1 -1
- package/Dev/i18n/fr/Symfony/skills/multitenant/SKILL.md +1 -1
- package/Dev/i18n/fr/Symfony/skills/value-objects/SKILL.md +1 -1
- package/Dev/i18n/fr/Team/commands/audit.md +29 -4
- package/Dev/i18n/fr/Team/commands/delivery.md +29 -4
- package/Dev/i18n/fr/Team/commands/security.md +31 -4
- package/Dev/i18n/fr/Team/commands/sprint.md +30 -5
- package/Dev/i18n/fr/UIUX/commands/audit.md +1 -30
- package/Dev/i18n/fr/UIUX/commands/component-spec.md +1 -5
- package/Dev/i18n/fr/UIUX/commands/orchestrator.md +5 -98
- package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +7 -4
- package/Dev/i18n/fr/Workflow/commands/plan.md +1 -2
- package/Dev/i18n/pt/Common/agents/devops-engineer.md +19 -14
- package/Dev/i18n/pt/Common/agents/migration-specialist.md +10 -15
- package/Dev/i18n/pt/Common/agents/mlops-engineer.md +19 -15
- package/Dev/i18n/pt/Common/agents/ralph-conductor.md +4 -15
- package/Dev/i18n/pt/Common/agents/refactoring-specialist.md +0 -9
- package/Dev/i18n/pt/Common/agents/tdd-coach.md +0 -9
- package/Dev/i18n/pt/Common/agents/uiux-orchestrator.md +0 -9
- package/Dev/i18n/pt/Common/commands/ralph-run.md +52 -0
- package/Dev/i18n/pt/Common/commands/research-context7.md +5 -253
- package/Dev/i18n/pt/Common/rules/12-context-management.md +9 -7
- package/Dev/i18n/pt/Common/templates/settings.json.template +4 -0
- package/Dev/i18n/pt/Python/skills/coding-standards/SKILL.md +1 -1
- package/Dev/i18n/pt/Python/skills/testing-python/SKILL.md +1 -1
- package/Dev/i18n/pt/Python/skills/tooling/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/commands/check-security.md +20 -20
- package/Dev/i18n/pt/Symfony/skills/aggregates/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/skills/async/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/skills/cqrs/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/skills/domain-events/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/skills/i18n/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/skills/multitenant/SKILL.md +1 -1
- package/Dev/i18n/pt/Symfony/skills/value-objects/SKILL.md +1 -1
- package/Dev/i18n/pt/Team/commands/audit.md +29 -4
- package/Dev/i18n/pt/Team/commands/delivery.md +29 -4
- package/Dev/i18n/pt/Team/commands/security.md +31 -4
- package/Dev/i18n/pt/Team/commands/sprint.md +30 -5
- package/Dev/i18n/pt/UIUX/commands/audit.md +1 -30
- package/Dev/i18n/pt/UIUX/commands/component-spec.md +1 -5
- package/Dev/i18n/pt/UIUX/commands/orchestrator.md +5 -98
- package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +7 -4
- package/Dev/i18n/pt/Workflow/commands/plan.md +1 -2
- package/Dev/scripts/install-common-rules.sh +8 -0
- package/README.md +12 -8
- package/Tools/Ralph/lib/checkpoint.sh +3 -3
- package/Tools/Ralph/lib/circuit-breaker.sh +10 -10
- package/Tools/Ralph/lib/context-manager.sh +56 -65
- package/Tools/Ralph/lib/context-reconstruction.sh +46 -79
- package/Tools/Ralph/lib/dod-templates.sh +2 -2
- package/Tools/Ralph/lib/dod-validator.sh +18 -18
- package/Tools/Ralph/lib/escalation-service.sh +9 -7
- package/Tools/Ralph/lib/hooks-generator.sh +2 -1
- package/Tools/Ralph/lib/loop-finalizer.sh +1 -1
- package/Tools/Ralph/lib/loop.sh +44 -10
- package/Tools/Ralph/lib/metrics-exporter.sh +1 -1
- package/Tools/Ralph/lib/parallel-manager.sh +173 -88
- package/Tools/Ralph/lib/project-detector.sh +3 -3
- package/Tools/Ralph/lib/recovery-engine.sh +8 -8
- package/Tools/Ralph/lib/session.sh +2 -2
- package/Tools/Ralph/lib/sprint-conductor.sh +167 -124
- package/Tools/Ralph/lib/sprint-progress.sh +9 -9
- package/Tools/Ralph/ralph.sh +66 -38
- package/Tools/StatusLine/statusline.sh +0 -0
- package/Tools/i18n/ralph/de.sh +165 -33
- package/Tools/i18n/ralph/en.sh +132 -0
- package/Tools/i18n/ralph/es.sh +209 -77
- package/Tools/i18n/ralph/fr.sh +234 -102
- package/Tools/i18n/ralph/pt.sh +227 -95
- package/bundles/cursor/.cursorrules +3 -3
- package/bundles/windsurf/.windsurfrules +3 -3
- package/cli/lib/doctor.js +1 -1
- package/config/removed-commands.yaml +61 -1
- package/package.json +1 -1
|
@@ -55,7 +55,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli cat /app/config/packages/security.yam
|
|
|
55
55
|
|
|
56
56
|
### Step 3 : OWASP Top 10 - Injection
|
|
57
57
|
|
|
58
|
-
####
|
|
58
|
+
#### A05:2025 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
# Vérifier l'utilisation de requêtes préparées
|
|
@@ -79,9 +79,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -rE "\"SELECT.*\\..*\$" /app/src
|
|
|
79
79
|
|
|
80
80
|
**Points obtained** : ___/3
|
|
81
81
|
|
|
82
|
-
### Step 4 : OWASP Top 10 -
|
|
82
|
+
### Step 4 : OWASP Top 10 - Authentication Failures
|
|
83
83
|
|
|
84
|
-
#### A07:
|
|
84
|
+
#### A07:2025 – Authentication Failures (3 points)
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
87
|
# Vérifier la configuration des mots de passe
|
|
@@ -104,9 +104,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "RateLimiter" /app/config --i
|
|
|
104
104
|
|
|
105
105
|
**Points obtained** : ___/3
|
|
106
106
|
|
|
107
|
-
### Step 5 : OWASP Top 10 -
|
|
107
|
+
### Step 5 : OWASP Top 10 - Cryptographic Failures
|
|
108
108
|
|
|
109
|
-
####
|
|
109
|
+
#### A04:2025 – Cryptographic Failures (3 points)
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
112
|
# Vérifier les secrets dans le code
|
|
@@ -131,7 +131,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "SECURE_SCHEME" /app/.env.exa
|
|
|
131
131
|
|
|
132
132
|
### Step 6 : OWASP Top 10 - Broken Access Control
|
|
133
133
|
|
|
134
|
-
#### A01:
|
|
134
|
+
#### A01:2025 – Broken Access Control (3 points)
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
137
|
# Vérifier les Voters
|
|
@@ -156,7 +156,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "@IsGranted" /app/src --inclu
|
|
|
156
156
|
|
|
157
157
|
### Step 7 : OWASP Top 10 - XSS et CSRF
|
|
158
158
|
|
|
159
|
-
####
|
|
159
|
+
#### A05:2025 – Injection : XSS (Cross-Site Scripting) (2 points)
|
|
160
160
|
|
|
161
161
|
```bash
|
|
162
162
|
# Vérifier l'auto-échappement Twig
|
|
@@ -179,7 +179,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "|raw" /app/templates --inclu
|
|
|
179
179
|
|
|
180
180
|
**Points obtained** : ___/2
|
|
181
181
|
|
|
182
|
-
####
|
|
182
|
+
#### A01:2025 – Broken Access Control : CSRF (Cross-Site Request Forgery) (2 points)
|
|
183
183
|
|
|
184
184
|
```bash
|
|
185
185
|
# Vérifier CSRF protection
|
|
@@ -201,7 +201,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "csrf_protection" /app/config
|
|
|
201
201
|
|
|
202
202
|
### Step 8 : OWASP Top 10 - Autres Vulnérabilités
|
|
203
203
|
|
|
204
|
-
####
|
|
204
|
+
#### A02:2025 – Security Misconfiguration (2 points)
|
|
205
205
|
|
|
206
206
|
```bash
|
|
207
207
|
# Vérifier le mode debug
|
|
@@ -224,7 +224,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli composer audit
|
|
|
224
224
|
|
|
225
225
|
**Points obtained** : ___/2
|
|
226
226
|
|
|
227
|
-
####
|
|
227
|
+
#### A03:2025 – Software Supply Chain Failures (1 point)
|
|
228
228
|
|
|
229
229
|
```bash
|
|
230
230
|
# Audit de sécurité Composer
|
|
@@ -398,16 +398,16 @@ Fixed in: 5.4.25
|
|
|
398
398
|
OWASP TOP 10 - RÉSUMÉ
|
|
399
399
|
=================================================
|
|
400
400
|
|
|
401
|
-
A01:
|
|
402
|
-
A02:
|
|
403
|
-
A03:
|
|
404
|
-
A04:
|
|
405
|
-
A05:
|
|
406
|
-
A06:
|
|
407
|
-
A07:
|
|
408
|
-
A08:
|
|
409
|
-
A09:
|
|
410
|
-
A10:
|
|
401
|
+
A01:2025 - Broken Access Control : [✅|⚠️|❌]
|
|
402
|
+
A02:2025 - Security Misconfiguration : [✅|⚠️|❌]
|
|
403
|
+
A03:2025 - Software Supply Chain Failures : [✅|⚠️|❌]
|
|
404
|
+
A04:2025 - Cryptographic Failures : [✅|⚠️|❌]
|
|
405
|
+
A05:2025 - Injection : [✅|⚠️|❌]
|
|
406
|
+
A06:2025 - Insecure Design : [✅|⚠️|❌]
|
|
407
|
+
A07:2025 - Authentication Failures : [✅|⚠️|❌]
|
|
408
|
+
A08:2025 - Software or Data Integrity Failures : [✅|⚠️|❌]
|
|
409
|
+
A09:2025 - Logging & Alerting Failures : [✅|⚠️|❌]
|
|
410
|
+
A10:2025 - Mishandling of Exceptional Conditions : [✅|⚠️|❌]
|
|
411
411
|
|
|
412
412
|
=================================================
|
|
413
413
|
CONFORMITÉ RGPD
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cqrs
|
|
3
|
-
description: Règle 07 : CQRS - Command Query Responsibility Segregation. Use when implementing DDD patterns.
|
|
3
|
+
description: "Règle 07 : CQRS - Command Query Responsibility Segregation. Use when implementing DDD patterns."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Règle 07 : CQRS - Command Query Responsibility Segregation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: multitenant
|
|
3
|
-
description: Règle 08 : Multitenant - Isolation et Sécurité. Use when working with multitenant.
|
|
3
|
+
description: "Règle 08 : Multitenant - Isolation et Sécurité. Use when working with multitenant."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Règle 08 : Multitenant - Isolation et Sécurité
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Full Audit Team - Parallel multi-technology audit using Agent Teams
|
|
3
|
-
argument-hint: "[--techs=auto|tech1,tech2] [--max-workers=4]"
|
|
2
|
+
description: Full Audit Team - Parallel multi-technology audit using sub-agents (Agent Teams optional)
|
|
3
|
+
argument-hint: "[--techs=auto|tech1,tech2] [--max-workers=4] [--engine=subagents|teams]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Full Audit Team - Parallel Multi-Technology Audit
|
|
@@ -13,16 +13,41 @@ $ARGUMENTS
|
|
|
13
13
|
|
|
14
14
|
- `--techs=auto`: Auto-detect technologies (default). Or specify comma-separated: `--techs=symfony,react`
|
|
15
15
|
- `--max-workers=4`: Maximum parallel auditor workers (default: 4, max: 4)
|
|
16
|
+
- `--engine=subagents`: Execution engine (default: `subagents`). Options: `subagents` (delegation to sub-agents via the `Agent` tool, no prerequisite), `teams` (experimental Agent Teams). See "Execution engine"
|
|
16
17
|
- `--output-dir=<path>`: Custom output directory for audit results
|
|
17
18
|
- `--max-cost=<dollars>`: Maximum budget in dollars. If the estimated parallel cost exceeds this threshold, execution is blocked with an OVER BUDGET message
|
|
18
19
|
- `--dry-run`: Show team composition and estimated cost without executing
|
|
19
20
|
- `--skip-aggregation`: Output per-stack results without merging
|
|
20
21
|
- `--sequential`: Run audits sequentially instead of in parallel (no Agent Teams overhead). Useful for single-technology projects or when Agent Teams is not available.
|
|
21
22
|
|
|
23
|
+
## Execution engine (`--engine`)
|
|
24
|
+
|
|
25
|
+
The default engine relies on no experimental feature: the command works even when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is not set.
|
|
26
|
+
|
|
27
|
+
| Engine | Activation | Prerequisites | Behavior |
|
|
28
|
+
|--------|------------|---------------|----------|
|
|
29
|
+
| `subagents` (default) | no flag or `--engine=subagents` | None (native `Agent` tool) | The current session acts as the lead and delegates each worker task to a sub-agent via the `Agent` tool (worker model passed through the `model` parameter). Independent sub-agents are launched in a single message so they run in parallel; each one writes its result to its isolated directory and returns only a short summary. Workers do not talk to each other: the lead relays. Works interactively, with `claude -p` and in CI. |
|
|
30
|
+
| `teams` | `--engine=teams` | `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`, Claude Code v2.1.32+ | Agent Teams team: persistent workers coordinated through `TaskCreate` / `TaskList` / `SendMessage`, direct teammate messaging, `TeammateIdle` / `TaskCompleted` hooks. |
|
|
31
|
+
|
|
32
|
+
**Fallback**: if `--engine=teams` is requested while `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is missing, do not fail — print `ℹ️ Agent Teams unavailable: falling back to --engine=subagents` and continue with the `subagents` engine.
|
|
33
|
+
|
|
34
|
+
**`teams` engine limits**: no non-interactive mode (`claude -p`) and no CI runs; one team per session (finish the current team before starting another); research preview API, subject to change.
|
|
35
|
+
|
|
36
|
+
The process below is written with Agent Teams primitives. With `--engine=subagents`, apply this mapping:
|
|
37
|
+
|
|
38
|
+
| Agent Teams (`teams`) | Sub-agents (`subagents`) |
|
|
39
|
+
|------------------------|---------------------------|
|
|
40
|
+
| `TaskCreate` + worker spawn | One `Agent` tool call whose prompt carries the task description |
|
|
41
|
+
| `TaskList` polling / synchronization barrier | Wait for every `Agent` call of the batch to return |
|
|
42
|
+
| `SendMessage` to a worker | Resume the sub-agent (`SendMessage` to its ID) or a new `Agent` call with the needed context |
|
|
43
|
+
| `shutdown_request` | Not needed: a sub-agent ends when it returns |
|
|
44
|
+
|
|
45
|
+
**Audit specifics**: one sub-agent per stack, using the spawn template prompt from Step 4. `--sequential` remains available to process everything in the current session, without delegation.
|
|
46
|
+
|
|
22
47
|
## Prerequisites
|
|
23
48
|
|
|
24
|
-
- Claude Code v2.1.32+ with Agent Teams support
|
|
25
|
-
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set
|
|
49
|
+
- Claude Code v2.1.32+ with Agent Teams support — only with `--engine=teams`
|
|
50
|
+
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set — only with `--engine=teams`
|
|
26
51
|
- Project with 2+ detected technology stacks (single-stack projects should use `--sequential` flag)
|
|
27
52
|
- `Tools/AgentTeams/lib/compatibility-check.sh` available
|
|
28
53
|
- `Tools/AgentTeams/lib/result-aggregator.sh` available
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Delivery Team - Full sprint lifecycle (writing + implementation) using Agent Teams
|
|
3
|
-
argument-hint: <sprint-name|prd-path> [--phase=all|writing|implementation] [--max-workers=3]
|
|
2
|
+
description: Delivery Team - Full sprint lifecycle (writing + implementation) using sub-agents (Agent Teams optional)
|
|
3
|
+
argument-hint: <sprint-name|prd-path> [--phase=all|writing|implementation] [--max-workers=3] [--engine=subagents|teams]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Delivery Team - Full Sprint Lifecycle (Writing + Implementation)
|
|
@@ -14,6 +14,7 @@ $ARGUMENTS
|
|
|
14
14
|
- `<sprint-name|prd-path>`: Sprint name/ID or path to the PRD document
|
|
15
15
|
- `--phase=all`: Phase to execute (default: `all`). Options: `all`, `writing`, `implementation`
|
|
16
16
|
- `--max-workers=3`: Maximum parallel workers per phase (default: 3, max: 3)
|
|
17
|
+
- `--engine=subagents`: Execution engine (default: `subagents`). Options: `subagents` (delegation to sub-agents via the `Agent` tool, no prerequisite), `teams` (experimental Agent Teams). See "Execution engine"
|
|
17
18
|
- `--overnight`: Run in overnight mode (bounded, stops at 6am)
|
|
18
19
|
- `--supervised`: Pause before each story for human confirmation
|
|
19
20
|
- `--max-stories=10`: Maximum stories to process (default: 10)
|
|
@@ -23,10 +24,34 @@ $ARGUMENTS
|
|
|
23
24
|
- `--max-rewrites=2`: Maximum rewrite loops per artefact in Phase 1 (default: 2)
|
|
24
25
|
- `--max-cost=<dollars>`: Maximum budget in dollars. If the estimated parallel cost exceeds this threshold, execution is blocked with an OVER BUDGET message
|
|
25
26
|
|
|
27
|
+
## Execution engine (`--engine`)
|
|
28
|
+
|
|
29
|
+
The default engine relies on no experimental feature: the command works even when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is not set.
|
|
30
|
+
|
|
31
|
+
| Engine | Activation | Prerequisites | Behavior |
|
|
32
|
+
|--------|------------|---------------|----------|
|
|
33
|
+
| `subagents` (default) | no flag or `--engine=subagents` | None (native `Agent` tool) | The current session acts as the lead and delegates each worker task to a sub-agent via the `Agent` tool (worker model passed through the `model` parameter). Independent sub-agents are launched in a single message so they run in parallel; each one writes its result to its isolated directory and returns only a short summary. Workers do not talk to each other: the lead relays. Works interactively, with `claude -p` and in CI. |
|
|
34
|
+
| `teams` | `--engine=teams` | `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`, Claude Code v2.1.32+ | Agent Teams team: persistent workers coordinated through `TaskCreate` / `TaskList` / `SendMessage`, direct teammate messaging, `TeammateIdle` / `TaskCompleted` hooks. |
|
|
35
|
+
|
|
36
|
+
**Fallback**: if `--engine=teams` is requested while `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is missing, do not fail — print `ℹ️ Agent Teams unavailable: falling back to --engine=subagents` and continue with the `subagents` engine.
|
|
37
|
+
|
|
38
|
+
**`teams` engine limits**: no non-interactive mode (`claude -p`) and no CI runs; one team per session (finish the current team before starting another); research preview API, subject to change.
|
|
39
|
+
|
|
40
|
+
The process below is written with Agent Teams primitives. With `--engine=subagents`, apply this mapping:
|
|
41
|
+
|
|
42
|
+
| Agent Teams (`teams`) | Sub-agents (`subagents`) |
|
|
43
|
+
|------------------------|---------------------------|
|
|
44
|
+
| `TaskCreate` + worker spawn | One `Agent` tool call whose prompt carries the task description |
|
|
45
|
+
| `TaskList` polling / synchronization barrier | Wait for every `Agent` call of the batch to return |
|
|
46
|
+
| `SendMessage` to a worker | Resume the sub-agent (`SendMessage` to its ID) or a new `Agent` call with the needed context |
|
|
47
|
+
| `shutdown_request` | Not needed: a sub-agent ends when it returns |
|
|
48
|
+
|
|
49
|
+
**Delivery specifics**: in Phase 1, cross-review goes through the lead, which hands the drafted artifact to a reviewer sub-agent and sends its feedback back to the writer. In Phase 2, launch each developer worker with `isolation: "worktree"`.
|
|
50
|
+
|
|
26
51
|
## Prerequisites
|
|
27
52
|
|
|
28
|
-
- Claude Code v2.1.32+ with Agent Teams support
|
|
29
|
-
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set
|
|
53
|
+
- Claude Code v2.1.32+ with Agent Teams support — only with `--engine=teams`
|
|
54
|
+
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set — only with `--engine=teams`
|
|
30
55
|
- PRD or tech spec available (for Phase 1) or BMAD sprint backlog with `ready-for-dev` stories (for Phase 2 only)
|
|
31
56
|
- Sprint metadata in `.bmad/sprint-status.yaml`
|
|
32
57
|
- `Tools/AgentTeams/lib/compatibility-check.sh` available
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Security Review Team - Parallel multi-dimension security audit using Agent Teams"
|
|
3
|
-
argument-hint: "[--scope=full|code|deps|infra] [--max-workers=3]"
|
|
2
|
+
description: "Security Review Team - Parallel multi-dimension security audit using sub-agents (Agent Teams optional)"
|
|
3
|
+
argument-hint: "[--scope=full|code|deps|infra] [--max-workers=3] [--engine=subagents|teams]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Security Review Team - Parallel Multi-Dimension Security Audit
|
|
@@ -13,16 +13,43 @@ $ARGUMENTS
|
|
|
13
13
|
|
|
14
14
|
- `--scope=full`: Audit scope (default: `full`). Options: `full`, `code`, `deps`, `infra`
|
|
15
15
|
- `--max-workers=3`: Maximum parallel reviewers (default: 3, max: 3)
|
|
16
|
+
- `--engine=subagents`: Execution engine (default: `subagents`). Options: `subagents` (delegation to sub-agents via the `Agent` tool, no prerequisite), `teams` (experimental Agent Teams). See "Execution engine"
|
|
16
17
|
- `--severity=medium`: Minimum severity to report: `low`, `medium`, `high`, `critical`
|
|
17
18
|
- `--output-dir=<path>`: Custom output directory for security results
|
|
18
19
|
- `--dry-run`: Show team composition and scan plan without executing
|
|
19
20
|
- `--sarif`: Output results in SARIF format (for CI/CD integration)
|
|
20
21
|
- `--max-cost=<dollars>`: Maximum budget in dollars. If the estimated parallel cost exceeds this threshold, execution is blocked with an OVER BUDGET message
|
|
21
22
|
|
|
23
|
+
## Execution engine (`--engine`)
|
|
24
|
+
|
|
25
|
+
The default engine relies on no experimental feature: the command works even when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is not set.
|
|
26
|
+
|
|
27
|
+
| Engine | Activation | Prerequisites | Behavior |
|
|
28
|
+
|--------|------------|---------------|----------|
|
|
29
|
+
| `subagents` (default) | no flag or `--engine=subagents` | None (native `Agent` tool) | The current session acts as the lead and delegates each worker task to a sub-agent via the `Agent` tool (worker model passed through the `model` parameter). Independent sub-agents are launched in a single message so they run in parallel; each one writes its result to its isolated directory and returns only a short summary. Workers do not talk to each other: the lead relays. Works interactively, with `claude -p` and in CI. |
|
|
30
|
+
| `teams` | `--engine=teams` | `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`, Claude Code v2.1.32+ | Agent Teams team: persistent workers coordinated through `TaskCreate` / `TaskList` / `SendMessage`, direct teammate messaging, `TeammateIdle` / `TaskCompleted` hooks. |
|
|
31
|
+
|
|
32
|
+
**Fallback**: if `--engine=teams` is requested while `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is missing, do not fail — print `ℹ️ Agent Teams unavailable: falling back to --engine=subagents` and continue with the `subagents` engine.
|
|
33
|
+
|
|
34
|
+
**`teams` engine limits**: no non-interactive mode (`claude -p`) and no CI runs; one team per session (finish the current team before starting another); research preview API, subject to change.
|
|
35
|
+
|
|
36
|
+
The process below is written with Agent Teams primitives. With `--engine=subagents`, apply this mapping:
|
|
37
|
+
|
|
38
|
+
| Agent Teams (`teams`) | Sub-agents (`subagents`) |
|
|
39
|
+
|------------------------|---------------------------|
|
|
40
|
+
| `TaskCreate` + worker spawn | One `Agent` tool call whose prompt carries the task description |
|
|
41
|
+
| `TaskList` polling / synchronization barrier | Wait for every `Agent` call of the batch to return |
|
|
42
|
+
| `SendMessage` to a worker | Resume the sub-agent (`SendMessage` to its ID) or a new `Agent` call with the needed context |
|
|
43
|
+
| `shutdown_request` | Not needed: a sub-agent ends when it returns |
|
|
44
|
+
|
|
45
|
+
**Scope**: `--scope=full|code|deps|infra` applies to both engines (`full` = 3 reviewers in parallel, a single scope = a single reviewer).
|
|
46
|
+
|
|
47
|
+
**Difference with native `/security-review`**: Claude Code's built-in `/security-review` only analyzes the diff (pending changes on the current branch). `/team:security` audits the whole repository for the chosen scope (code, dependencies, infrastructure). Use `/security-review` before a commit or a PR, `/team:security` for a full audit.
|
|
48
|
+
|
|
22
49
|
## Prerequisites
|
|
23
50
|
|
|
24
|
-
- Claude Code v2.1.32+ with Agent Teams support
|
|
25
|
-
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set
|
|
51
|
+
- Claude Code v2.1.32+ with Agent Teams support — only with `--engine=teams`
|
|
52
|
+
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set — only with `--engine=teams`
|
|
26
53
|
- Docker available for running security scanners
|
|
27
54
|
- `Tools/AgentTeams/lib/compatibility-check.sh` available
|
|
28
55
|
- `Tools/AgentTeams/lib/result-aggregator.sh` available
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Sprint Development Team - Parallel story implementation using Agent Teams
|
|
3
|
-
argument-hint: <sprint-name> [--max-workers=3] [--overnight]
|
|
2
|
+
description: Sprint Development Team - Parallel story implementation using sub-agents (Agent Teams optional)
|
|
3
|
+
argument-hint: <sprint-name> [--max-workers=3] [--overnight] [--engine=subagents|teams]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Sprint Development Team - Parallel Story Implementation
|
|
@@ -13,18 +13,43 @@ $ARGUMENTS
|
|
|
13
13
|
|
|
14
14
|
- `<sprint-name>`: Name or ID of the sprint to process
|
|
15
15
|
- `--max-workers=3`: Maximum parallel dev workers (default: 2, max: 3)
|
|
16
|
+
- `--engine=subagents`: Execution engine (default: `subagents`). Options: `subagents` (delegation to sub-agents via the `Agent` tool, no prerequisite), `teams` (experimental Agent Teams). See "Execution engine"
|
|
16
17
|
- `--overnight`: Run in overnight mode (bounded, stops at 6am)
|
|
17
18
|
- `--supervised`: Pause before each story for human confirmation
|
|
18
19
|
- `--max-stories=10`: Maximum stories to process (default: 10)
|
|
19
20
|
- `--timeout=12`: Maximum runtime in hours (default: 12)
|
|
20
21
|
- `--dry-run`: Show team composition and story assignments without executing
|
|
21
22
|
- `--max-cost=<dollars>`: Maximum budget in dollars. If the estimated parallel cost exceeds this threshold, execution is blocked with an OVER BUDGET message
|
|
22
|
-
- `--ralph-mode`: Enable Ralph recovery engine (error classification, auto-retry, escalation service) alongside Agent Teams parallelism.
|
|
23
|
+
- `--ralph-mode`: Enable Ralph recovery engine (error classification, auto-retry, escalation service) alongside Agent Teams parallelism. Requires `--engine=teams`: the Ralph Teams adapter relies on `TaskCreate` / `SendMessage`.
|
|
24
|
+
|
|
25
|
+
## Execution engine (`--engine`)
|
|
26
|
+
|
|
27
|
+
The default engine relies on no experimental feature: the command works even when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is not set.
|
|
28
|
+
|
|
29
|
+
| Engine | Activation | Prerequisites | Behavior |
|
|
30
|
+
|--------|------------|---------------|----------|
|
|
31
|
+
| `subagents` (default) | no flag or `--engine=subagents` | None (native `Agent` tool) | The current session acts as the lead and delegates each worker task to a sub-agent via the `Agent` tool (worker model passed through the `model` parameter). Independent sub-agents are launched in a single message so they run in parallel; each one writes its result to its isolated directory and returns only a short summary. Workers do not talk to each other: the lead relays. Works interactively, with `claude -p` and in CI. |
|
|
32
|
+
| `teams` | `--engine=teams` | `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`, Claude Code v2.1.32+ | Agent Teams team: persistent workers coordinated through `TaskCreate` / `TaskList` / `SendMessage`, direct teammate messaging, `TeammateIdle` / `TaskCompleted` hooks. |
|
|
33
|
+
|
|
34
|
+
**Fallback**: if `--engine=teams` is requested while `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is missing, do not fail — print `ℹ️ Agent Teams unavailable: falling back to --engine=subagents` and continue with the `subagents` engine.
|
|
35
|
+
|
|
36
|
+
**`teams` engine limits**: no non-interactive mode (`claude -p`) and no CI runs; one team per session (finish the current team before starting another); research preview API, subject to change.
|
|
37
|
+
|
|
38
|
+
The process below is written with Agent Teams primitives. With `--engine=subagents`, apply this mapping:
|
|
39
|
+
|
|
40
|
+
| Agent Teams (`teams`) | Sub-agents (`subagents`) |
|
|
41
|
+
|------------------------|---------------------------|
|
|
42
|
+
| `TaskCreate` + worker spawn | One `Agent` tool call whose prompt carries the task description |
|
|
43
|
+
| `TaskList` polling / synchronization barrier | Wait for every `Agent` call of the batch to return |
|
|
44
|
+
| `SendMessage` to a worker | Resume the sub-agent (`SendMessage` to its ID) or a new `Agent` call with the needed context |
|
|
45
|
+
| `shutdown_request` | Not needed: a sub-agent ends when it returns |
|
|
46
|
+
|
|
47
|
+
**Sprint specifics**: with `subagents`, launch each developer worker with `isolation: "worktree"` so parallel stories do not edit the same working tree.
|
|
23
48
|
|
|
24
49
|
## Prerequisites
|
|
25
50
|
|
|
26
|
-
- Claude Code v2.1.32+ with Agent Teams support
|
|
27
|
-
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set
|
|
51
|
+
- Claude Code v2.1.32+ with Agent Teams support — only with `--engine=teams`
|
|
52
|
+
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` environment variable set — only with `--engine=teams`
|
|
28
53
|
- BMAD sprint backlog with stories in `ready-for-dev` status
|
|
29
54
|
- Sprint metadata in `.bmad/sprint-status.yaml`
|
|
30
55
|
- At least 2 independent stories (single-story sprints use sequential Ralph)
|
|
@@ -24,36 +24,7 @@ Example: `/uiux:audit src/pages/Dashboard.tsx AAA`
|
|
|
24
24
|
|
|
25
25
|
### Step 1: Accessibility Audit (A11y Expert)
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Run if available
|
|
30
|
-
npx axe-cli {URL}
|
|
31
|
-
npx pa11y {URL}
|
|
32
|
-
# Or check Lighthouse
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
#### 1.2 Manual WCAG 2.2 AAA verification
|
|
36
|
-
|
|
37
|
-
**Perceivable**
|
|
38
|
-
- [ ] Images with alt text
|
|
39
|
-
- [ ] Semantic structure (h1-h6, landmarks)
|
|
40
|
-
- [ ] Contrast ≥ 7:1 (AAA)
|
|
41
|
-
- [ ] Reflow at 320px
|
|
42
|
-
|
|
43
|
-
**Operable**
|
|
44
|
-
- [ ] Complete keyboard navigation
|
|
45
|
-
- [ ] No keyboard trap
|
|
46
|
-
- [ ] Visible focus (≥ 2px)
|
|
47
|
-
- [ ] Touch targets ≥ 44px
|
|
48
|
-
|
|
49
|
-
**Understandable**
|
|
50
|
-
- [ ] lang on html
|
|
51
|
-
- [ ] Labels on inputs
|
|
52
|
-
- [ ] Clear error messages
|
|
53
|
-
|
|
54
|
-
**Robust**
|
|
55
|
-
- [ ] Correct ARIA
|
|
56
|
-
- [ ] aria-live for dynamic
|
|
27
|
+
Run `/uiux:a11y-audit {URL or path} {level}` and carry its report (score, failing WCAG criteria, remediations) into the synthesis. Do not repeat the automated audit or the WCAG checklist here: `/uiux:a11y-audit` is the single source.
|
|
57
28
|
|
|
58
29
|
### Step 2: UX/Ergonomics Audit (UX Expert)
|
|
59
30
|
|
|
@@ -41,11 +41,7 @@ Define visuals:
|
|
|
41
41
|
|
|
42
42
|
### Step 3: A11y Specification (A11y Expert)
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
- HTML semantics
|
|
46
|
-
- ARIA attributes
|
|
47
|
-
- Keyboard navigation
|
|
48
|
-
- Screen reader announcements
|
|
44
|
+
Run `/uiux:a11y-component {NAME}` and carry its specification (HTML semantics, ARIA attributes, keyboard navigation, focus, contrast, screen reader announcements) into the ♿ section of the synthesis. Do not redefine it here.
|
|
49
45
|
|
|
50
46
|
### Step 4: Synthesis
|
|
51
47
|
|
|
@@ -1,102 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
3
|
-
|
|
2
|
+
description: "Deprecated (removed in 9.0): use the @uiux-orchestrator agent"
|
|
3
|
+
deprecated: true
|
|
4
|
+
replaced-by: "@uiux-orchestrator"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
> ⚠️ `/uiux:orchestrator` is deprecated and will be removed in 9.0. Use the `@uiux-orchestrator` agent.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
$ARGUMENTS
|
|
12
|
-
|
|
13
|
-
Arguments:
|
|
14
|
-
- Request type: component, audit, flow, tokens
|
|
15
|
-
- Objective or description
|
|
16
|
-
|
|
17
|
-
Example: `/uiux:orchestrator component "Date picker"` or `/uiux:orchestrator audit "Checkout page"`
|
|
18
|
-
|
|
19
|
-
## Plan Mode
|
|
20
|
-
|
|
21
|
-
> Plan mode is activated automatically when the scope spans multiple modules or requires cross-cutting investigation.
|
|
22
|
-
|
|
23
|
-
## MISSION
|
|
24
|
-
|
|
25
|
-
### Step 1: Analyze the request
|
|
26
|
-
|
|
27
|
-
Identify:
|
|
28
|
-
- Expected deliverable type
|
|
29
|
-
- Expert(s) to involve
|
|
30
|
-
- Order of intervention
|
|
31
|
-
|
|
32
|
-
### Step 2: Delegate to experts
|
|
33
|
-
|
|
34
|
-
| Type | Experts | Order |
|
|
35
|
-
|------|---------|-------|
|
|
36
|
-
| New component | UI → UX → A11y | Sequential |
|
|
37
|
-
| Audit | A11y → UX → UI | Sequential |
|
|
38
|
-
| User flow | UX → UI → A11y | Sequential |
|
|
39
|
-
| Design tokens | UI only | Direct |
|
|
40
|
-
|
|
41
|
-
### Step 3: Consolidate and arbitrate
|
|
42
|
-
|
|
43
|
-
In case of conflict, apply priority rules:
|
|
44
|
-
1. AAA Accessibility (non-negotiable)
|
|
45
|
-
2. Lighthouse 100/100
|
|
46
|
-
3. UX > Aesthetics
|
|
47
|
-
4. Mobile-first
|
|
48
|
-
5. Design system consistency
|
|
49
|
-
|
|
50
|
-
### Step 4: Deliver synthesis
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
══════════════════════════════════════════════════════════════
|
|
54
|
-
📋 UI/UX SYNTHESIS: {TOPIC}
|
|
55
|
-
══════════════════════════════════════════════════════════════
|
|
56
|
-
|
|
57
|
-
Type: {Component | Audit | Flow | Tokens}
|
|
58
|
-
Date: {date}
|
|
59
|
-
|
|
60
|
-
──────────────────────────────────────────────────────────────
|
|
61
|
-
🧠 UX
|
|
62
|
-
──────────────────────────────────────────────────────────────
|
|
63
|
-
|
|
64
|
-
{UX contributions summary}
|
|
65
|
-
|
|
66
|
-
──────────────────────────────────────────────────────────────
|
|
67
|
-
🎨 UI
|
|
68
|
-
──────────────────────────────────────────────────────────────
|
|
69
|
-
|
|
70
|
-
{UI contributions summary}
|
|
71
|
-
|
|
72
|
-
──────────────────────────────────────────────────────────────
|
|
73
|
-
♿ ACCESSIBILITY
|
|
74
|
-
──────────────────────────────────────────────────────────────
|
|
75
|
-
|
|
76
|
-
{A11y contributions summary}
|
|
77
|
-
|
|
78
|
-
──────────────────────────────────────────────────────────────
|
|
79
|
-
⚖️ ARBITRATIONS
|
|
80
|
-
──────────────────────────────────────────────────────────────
|
|
81
|
-
|
|
82
|
-
| Conflict | Decision | Justification |
|
|
83
|
-
|----------|----------|---------------|
|
|
84
|
-
| {conflict} | {decision} | {rule applied} |
|
|
85
|
-
|
|
86
|
-
──────────────────────────────────────────────────────────────
|
|
87
|
-
✅ VALIDATION CHECKLIST
|
|
88
|
-
──────────────────────────────────────────────────────────────
|
|
89
|
-
|
|
90
|
-
- [ ] WCAG 2.2 AAA compliant
|
|
91
|
-
- [ ] Lighthouse 100/100 preserved
|
|
92
|
-
- [ ] Mobile-first respected
|
|
93
|
-
- [ ] Only tokens (no hardcode)
|
|
94
|
-
- [ ] All 3 experts consulted
|
|
95
|
-
|
|
96
|
-
──────────────────────────────────────────────────────────────
|
|
97
|
-
🎯 NEXT STEPS
|
|
98
|
-
──────────────────────────────────────────────────────────────
|
|
99
|
-
|
|
100
|
-
1. {priority action}
|
|
101
|
-
2. {next action}
|
|
102
|
-
```
|
|
9
|
+
Delegate "$ARGUMENTS" to the `uiux-orchestrator` agent (Agent tool) and return its answer.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: End-to-end sprint orchestrator (start -> decompose -> validate -> implement -> PR -> CI -> review -> retro -> merge)
|
|
3
|
-
argument-hint: "<N> [--from-prd] [--auto-merge] [--max-fix-attempts=2] [--max-workers=3] [--base=main] [--dry-run] [--overnight]"
|
|
3
|
+
argument-hint: "<N> [--from-prd] [--auto-merge] [--max-fix-attempts=2] [--max-workers=3] [--base=main] [--dry-run] [--overnight] [--engine=subagents|teams]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Auto Sprint — End-to-End Sprint Orchestrator
|
|
@@ -31,14 +31,15 @@ $ARGUMENTS
|
|
|
31
31
|
rule 09, and the Karpathy "no auto-merge without human review" principle).
|
|
32
32
|
- `--max-fix-attempts=2` : Max auto-fix retries per failing gate before aborting (default: 2).
|
|
33
33
|
- `--max-workers=3` : Max parallel dev workers in the implementation phase (default: 2, max: 3).
|
|
34
|
+
- `--engine=subagents`: Engine of the implementation phase (default: `subagents`, delegation via the `Agent` tool). `teams`: experimental Agent Teams, falling back to `subagents` when unavailable. See `/team:sprint`, "Execution engine" section
|
|
34
35
|
- `--base=main` : Base branch for the PR (default: `main`).
|
|
35
36
|
- `--dry-run` : Print the planned 9 phases and the resolved sprint context, then stop. **No writes.**
|
|
36
37
|
- `--overnight` : Pass-through to the implementation phase (bounded, stops at 6am).
|
|
37
38
|
|
|
38
39
|
## Prerequisites
|
|
39
40
|
|
|
40
|
-
- Claude Code v2.1.32+ with Agent Teams support
|
|
41
|
-
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` set
|
|
41
|
+
- Claude Code v2.1.32+ with Agent Teams support — only with `--engine=teams`
|
|
42
|
+
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` set — only with `--engine=teams`
|
|
42
43
|
- `gh` CLI authenticated (PR create / checks / merge)
|
|
43
44
|
- Docker available (all tests run via Docker — see project CLAUDE.md)
|
|
44
45
|
- BMAD v6 project: `.bmad/sprint-status.yaml` is created by `/workflow:start` (phase 1) if missing
|
|
@@ -106,6 +107,8 @@ Spawn one isolated sub-agent:
|
|
|
106
107
|
|
|
107
108
|
Assume the **`/team:sprint` conductor role directly** (do **not** spawn a nested Agent Team):
|
|
108
109
|
|
|
110
|
+
**Engine**: with `--engine=subagents` (default), in step 4 launch one sub-agent per story via the `Agent` tool (`isolation: "worktree"`, all in a single message) instead of `TaskCreate`, and in step 5 wait for them to return instead of polling `TaskList` (full mapping in `/team:sprint`, "Execution engine" section). With `--engine=teams`, follow the steps as written.
|
|
111
|
+
|
|
109
112
|
1. Read `.bmad/sprint-status.yaml`; filter stories at `ready-for-dev`.
|
|
110
113
|
2. Analyze file-domain independence (flag `**/Shared/**`, `**/Common/**`, `**/Utils/**`,
|
|
111
114
|
`**/Helpers/**` overlaps → sequence in the same worker).
|
|
@@ -195,7 +198,7 @@ Phase | Status | Notes
|
|
|
195
198
|
| Story DoD miss after retries | Mark `blocked`, continue, report at the end |
|
|
196
199
|
| CI red after retries | Abort with failing-check report |
|
|
197
200
|
| Merge blocked (protection / scope) | Surface the error + suggested flag, do not force |
|
|
198
|
-
| Agent Teams unavailable |
|
|
201
|
+
| Agent Teams unavailable with `--engine=teams` | Fall back to `--engine=subagents` (no abort); set `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` to use `--engine=teams` |
|
|
199
202
|
|
|
200
203
|
## Notes
|
|
201
204
|
|