@jaimevalasek/aioson 1.30.2 → 1.36.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/CHANGELOG.md +75 -0
- package/README.md +19 -6
- package/docs/en/1-understand/ecosystem-map.md +45 -29
- package/docs/en/1-understand/glossary.md +5 -5
- package/docs/en/1-understand/what-is-aioson.md +5 -5
- package/docs/en/2-start/existing-project.md +7 -7
- package/docs/en/2-start/first-project.md +32 -38
- package/docs/en/2-start/initial-decisions.md +18 -17
- package/docs/en/3-recipes/README.md +2 -2
- package/docs/en/3-recipes/continuity-between-sessions.md +2 -2
- package/docs/en/3-recipes/from-idea-to-prd-via-briefing.md +5 -2
- package/docs/en/3-recipes/full-feature-with-sheldon.md +327 -338
- package/docs/en/4-agents/README.md +28 -14
- package/docs/en/4-agents/discovery-design-doc.md +20 -8
- package/docs/en/4-agents/forge-run.md +3 -2
- package/docs/en/5-reference/cli-reference.md +51 -48
- package/docs/en/5-reference/executable-verification.md +10 -7
- package/docs/en/5-reference/parallel.md +2 -0
- package/docs/en/5-reference/qa-browser.md +2 -2
- package/docs/en/README.md +3 -3
- package/docs/pt/1-entender/glossario.md +4 -4
- package/docs/pt/1-entender/mapa-do-ecossistema.md +32 -21
- package/docs/pt/2-comecar/decisoes-iniciais.md +16 -16
- package/docs/pt/2-comecar/primeiro-projeto.md +1 -1
- package/docs/pt/3-receitas/README.md +1 -1
- package/docs/pt/3-receitas/app-saas-do-zero.md +35 -122
- package/docs/pt/3-receitas/feature-completa-com-sheldon.md +289 -338
- package/docs/pt/4-agentes/analyst.md +9 -5
- package/docs/pt/4-agentes/architect.md +9 -5
- package/docs/pt/4-agentes/dev.md +19 -7
- package/docs/pt/4-agentes/discovery-design-doc.md +25 -23
- package/docs/pt/4-agentes/orchestrator.md +164 -118
- package/docs/pt/4-agentes/pentester.md +5 -5
- package/docs/pt/4-agentes/pm.md +15 -7
- package/docs/pt/4-agentes/sheldon.md +166 -99
- package/docs/pt/4-agentes/ux-ui.md +7 -4
- package/docs/pt/5-referencia/agent-chain-continuity.md +14 -5
- package/docs/pt/5-referencia/comandos-cli.md +1 -1
- package/docs/pt/5-referencia/harness-retro.md +2 -1
- package/docs/pt/5-referencia/sdd-automation-scripts.md +6 -6
- package/docs/pt/5-referencia/sdd-framework.md +53 -16
- package/docs/pt/5-referencia/sdd-planos-e-estrutura.md +27 -15
- package/docs/pt/README.md +4 -4
- package/docs/pt/agentes.md +48 -50
- package/package.json +2 -2
- package/src/artifact-kinds.js +110 -0
- package/src/cli.js +82 -42
- package/src/commands/agent-epilogue.js +251 -186
- package/src/commands/agents.js +104 -48
- package/src/commands/audit-code.js +344 -0
- package/src/commands/classify.js +75 -13
- package/src/commands/feature-close.js +43 -18
- package/src/commands/harness-check.js +259 -175
- package/src/commands/harness-retro-promote.js +387 -0
- package/src/commands/live.js +24 -0
- package/src/commands/prototype-check.js +163 -0
- package/src/commands/review-feature.js +189 -0
- package/src/commands/runtime.js +81 -66
- package/src/commands/sync-agents-copy.js +115 -0
- package/src/commands/verification-plan.js +116 -0
- package/src/commands/verify-artifact.js +530 -0
- package/src/commands/verify-implementation.js +428 -0
- package/src/commands/workflow-execute.js +309 -309
- package/src/commands/workflow-next.js +361 -19
- package/src/commands/workflow-plan.js +5 -5
- package/src/constants.js +4 -0
- package/src/gateway-pointer-merge.js +7 -1
- package/src/handoff-contract.js +267 -172
- package/src/harness/contract-integrity-gate.js +172 -0
- package/src/harness/contract-integrity.js +111 -0
- package/src/harness/contract-schema.js +377 -332
- package/src/harness/detect-runtime-feature.js +90 -0
- package/src/harness/static-criteria.js +192 -0
- package/src/i18n/messages/en.js +8 -4
- package/src/i18n/messages/es.js +8 -4
- package/src/i18n/messages/fr.js +8 -4
- package/src/i18n/messages/pt-BR.js +8 -4
- package/src/install-wizard.js +8 -8
- package/src/installer.js +13 -6
- package/src/lib/retro/retro-render.js +10 -1
- package/src/lib/retro/retro-sources.js +45 -27
- package/src/lib/retro/verification-reports.js +230 -0
- package/src/parser.js +6 -0
- package/src/preflight-engine.js +12 -12
- package/src/runtime-store.js +13 -9
- package/src/verification/evidence-bundle.js +251 -0
- package/src/verification/ledger-store.js +221 -0
- package/src/verification/path-policy.js +74 -0
- package/src/verification/policy-engine.js +95 -0
- package/src/verification/prompt-package.js +314 -0
- package/src/verification/redaction.js +77 -0
- package/src/verification/report-parser.js +132 -0
- package/src/verification/report-store.js +97 -0
- package/src/verification/result.js +16 -0
- package/src/verification/runners/index.js +319 -0
- package/src/verification/runtime-telemetry.js +144 -0
- package/src/verification/schema.js +276 -0
- package/src/verification/source-discovery.js +153 -0
- package/src/verification-policy.js +398 -0
- package/src/version.js +52 -1
- package/template/.aioson/agents/analyst.md +9 -6
- package/template/.aioson/agents/architect.md +34 -5
- package/template/.aioson/agents/briefing-refiner.md +25 -0
- package/template/.aioson/agents/briefing.md +69 -12
- package/template/.aioson/agents/committer.md +2 -1
- package/template/.aioson/agents/copywriter.md +30 -21
- package/template/.aioson/agents/design-hybrid-forge.md +28 -15
- package/template/.aioson/agents/dev.md +28 -10
- package/template/.aioson/agents/deyvin.md +3 -2
- package/template/.aioson/agents/discover.md +12 -3
- package/template/.aioson/agents/discovery-design-doc.md +7 -2
- package/template/.aioson/agents/genome.md +19 -10
- package/template/.aioson/agents/neo.md +30 -30
- package/template/.aioson/agents/orache.md +20 -11
- package/template/.aioson/agents/orchestrator.md +84 -7
- package/template/.aioson/agents/pm.md +8 -8
- package/template/.aioson/agents/product.md +15 -11
- package/template/.aioson/agents/profiler-enricher.md +20 -11
- package/template/.aioson/agents/profiler-forge.md +20 -11
- package/template/.aioson/agents/profiler-researcher.md +20 -11
- package/template/.aioson/agents/qa.md +87 -17
- package/template/.aioson/agents/scope-check.md +19 -5
- package/template/.aioson/agents/setup.md +12 -1
- package/template/.aioson/agents/sheldon.md +92 -9
- package/template/.aioson/agents/site-forge.md +11 -2
- package/template/.aioson/agents/squad.md +20 -5
- package/template/.aioson/agents/ux-ui.md +4 -2
- package/template/.aioson/agents/validator.md +33 -1
- package/template/.aioson/config/verification.json +61 -0
- package/template/.aioson/config.md +13 -9
- package/template/.aioson/docs/LAYERS.md +2 -2
- package/template/.aioson/docs/autopilot-handoff.md +10 -10
- package/template/.aioson/docs/dev/execution-discipline.md +41 -0
- package/template/.aioson/docs/dev/phase-loop.md +47 -0
- package/template/.aioson/docs/feature-expansion-taxonomy.md +31 -3
- package/template/.aioson/docs/presets/workflow.config.full-merged.json +15 -0
- package/template/.aioson/docs/presets/workflow.config.lean.json +15 -0
- package/template/.aioson/docs/product/prd-contract.md +12 -12
- package/template/.aioson/docs/prototype-contract.md +98 -0
- package/template/.aioson/docs/reference-identity.md +94 -0
- package/template/.aioson/docs/sheldon/harness-contract.md +155 -28
- package/template/.aioson/docs/verification-config.md +82 -0
- package/template/.aioson/docs/verify-artifact-gates.md +91 -0
- package/template/.aioson/docs/workflow-lean-lane.md +129 -0
- package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +2 -0
- package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +16 -14
- package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +2 -2
- package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +4 -4
- package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +15 -15
- package/template/.aioson/skills/process/briefing-expansion-scout/SKILL.md +25 -3
- package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +5 -3
- package/template/.aioson/skills/process/design-hybrid-forge/references/external-source-ingestion.md +89 -0
- package/template/.aioson/skills/process/product-scope-expansion/SKILL.md +29 -2
- package/template/.aioson/skills/process/prototype-forge/SKILL.md +98 -0
- package/template/.aioson/skills/process/reference-identity-extract/SKILL.md +164 -0
- package/template/.aioson/skills/process/sheldon-expansion-audit/SKILL.md +23 -2
- package/template/.aioson/skills/static/multi-agent-patterns.md +5 -5
- package/template/CLAUDE.md +15 -11
|
@@ -6,28 +6,40 @@ Cards are being translated progressively. Until a card is available here, the PT
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## Default lanes (v1.35.0)
|
|
10
|
+
|
|
11
|
+
| Classification | Default lane |
|
|
12
|
+
|---|---|
|
|
13
|
+
| **MICRO** | `@product → @dev → @qa` |
|
|
14
|
+
| **SMALL** (lean — default) | `@product → @sheldon → @dev → @qa` |
|
|
15
|
+
| **MEDIUM** (maestro) | `@product → @orchestrator → @dev → @pentester → @qa` |
|
|
16
|
+
|
|
17
|
+
`@sheldon` (SMALL) and `@orchestrator` (MEDIUM) are the **single spec authorities** for their respective sizes. Agents like `@analyst`, `@architect`, `@pm`, `@ux-ui`, `@scope-check`, and `@discovery-design-doc` are **opt-in detours** or **fan-out sub-agents** — none deleted, none in the default hop sequence.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
9
21
|
## The 29 agents (plus @pair alias)
|
|
10
22
|
|
|
11
|
-
### Workflow core
|
|
23
|
+
### Workflow core
|
|
12
24
|
|
|
13
25
|
| Agent | Role |
|
|
14
26
|
|---|---|
|
|
15
27
|
| `@setup` | Project onboarding — detect stack, classify MICRO/SMALL/MEDIUM, write `project.context.md` |
|
|
16
28
|
| `@briefing` | Pre-PRD framing — turn `plans/` sketches into structured briefings with gap analysis |
|
|
17
29
|
| `@product` | PRD — vision, problem, users, scope, acceptance criteria |
|
|
18
|
-
| `@sheldon` |
|
|
19
|
-
| `@analyst` | Domain discovery — entities, flows, brownfield mapping |
|
|
20
|
-
| `@scope-check` |
|
|
21
|
-
| `@architect` | Technical decisions — structure, libraries, integration boundaries |
|
|
22
|
-
| `@ux-ui` |
|
|
23
|
-
| `@pm` | Backlog
|
|
24
|
-
| `@orchestrator` |
|
|
25
|
-
| `@dev` | Feature implementation — any stack |
|
|
26
|
-
| `@qa` | Risk-first review, test generation, autonomous fix/test loop |
|
|
27
|
-
| `@validator` | Binary contract verification against `harness-contract.json` |
|
|
30
|
+
| `@sheldon` | **SMALL single spec authority** (RF-LEAN): one pass produces requirements + spec (Gates A/B/C) + design-doc + readiness + implementation-plan + harness-contract. Also a PRD-hardening / enrichment capability usable in any lane. |
|
|
31
|
+
| `@analyst` | Domain discovery — entities, flows, brownfield mapping. **Opt-in detour / fan-out sub-agent** (invoked by `@orchestrator` in MEDIUM) |
|
|
32
|
+
| `@scope-check` | Scope-drift gate — `spec:analyze` runs **automatically** at the `@dev`/`@qa` done gate; also available as an explicit detour |
|
|
33
|
+
| `@architect` | Technical decisions — structure, libraries, integration boundaries. **Opt-in detour / fan-out sub-agent**; runs in **merged mode** (also produces design-doc + readiness + dev-state) when `@discovery-design-doc` is omitted |
|
|
34
|
+
| `@ux-ui` | UI/UX spec — **opt-in detour** for UI-heavy specs; `@dev` applies design skills directly by default |
|
|
35
|
+
| `@pm` | Backlog, user stories, implementation plan (Gate C). **Opt-in detour / fan-out sub-agent** (MEDIUM) |
|
|
36
|
+
| `@orchestrator` | **MEDIUM maestro / single spec authority** — fans out `@analyst`/`@architect`/`@pm` (+ `@ux-ui` for UI-heavy) as sub-agents, consolidates the gated spec package. Secondary: coordinate parallel `@dev` lanes post-spec. |
|
|
37
|
+
| `@dev` | Feature implementation — any stack. Runs the plan as a **phase loop**: auto-continues between phases, per-phase verification (light sub-agent), context compaction between phases. Full Runtime smoke runs once at end-of-feature. |
|
|
38
|
+
| `@qa` | Risk-first review, test generation, autonomous fix/test loop (cap 2). Owns Gate D: **Runtime smoke gate** (build + migrations on real DB + boot + Core happy-path on REAL stack). |
|
|
39
|
+
| `@validator` | Binary contract verification against `harness-contract.json` in a **fresh isolated context** (detour when a harness contract exists) |
|
|
28
40
|
| [`@forge-run`](./forge-run.md) | Lane B (opt-in) — compile a MEDIUM feature's specs into an executable workflow and run it (`forge:compile`) |
|
|
29
|
-
| `@tester` | Systematic test engineering — legacy and coverage gaps |
|
|
30
|
-
| `@pentester` | Adversarial security review — OWASP Top 10, LLM Top 10, supply chain |
|
|
41
|
+
| `@tester` | Systematic test engineering — legacy and coverage gaps. Triggered by `@qa` when conditions fire. |
|
|
42
|
+
| `@pentester` | Adversarial security review — OWASP Top 10, LLM Top 10, supply chain. Inline in MEDIUM; opt-in in SMALL. |
|
|
31
43
|
|
|
32
44
|
### Continuity & delivery
|
|
33
45
|
|
|
@@ -51,10 +63,12 @@ Cards are being translated progressively. Until a card is available here, the PT
|
|
|
51
63
|
| `@design-hybrid-forge` | Combine two design skills into a hybrid |
|
|
52
64
|
| `@orache` | Domain investigation and strategic research |
|
|
53
65
|
| `@copywriter` | Conversion copy — landing pages, VSL scripts |
|
|
54
|
-
| [`@discovery-design-doc`](./discovery-design-doc.md) | Discovery, readiness, and design doc package |
|
|
66
|
+
| [`@discovery-design-doc`](./discovery-design-doc.md) | Discovery, readiness, and design doc package — opt-in; absorbed by `@architect` merged mode, `@sheldon`, or `@orchestrator` by default |
|
|
55
67
|
|
|
56
68
|
---
|
|
57
69
|
|
|
58
70
|
For the executable-verification theme that `@forge-run`, `@validator`, `@scope-check`, `@sheldon`, and `@pm` participate in, see [Executable verification](../5-reference/executable-verification.md).
|
|
59
71
|
|
|
72
|
+
For the full lane walkthrough and opt-in detour guide, see [Full feature with @sheldon](../3-recipes/full-feature-with-sheldon.md).
|
|
73
|
+
|
|
60
74
|
Full PT cards with dialogue examples, disk outputs, and handoff maps: [`docs/pt/4-agentes/`](../../pt/4-agentes/README.md)
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
`@discovery-design-doc` has two valid uses:
|
|
15
15
|
|
|
16
16
|
- **Exploratory mode:** when a request is still vague, such as a ticket, feature idea, or meeting note. It normalizes the problem, identifies ambiguities, and recommends the next agent.
|
|
17
|
-
- **
|
|
17
|
+
- **Explicit pre-dev opt-in:** when you want a standalone design doc + readiness package between the spec phase and `@dev`. In the default SMALL lean and MEDIUM maestro lanes, this role is absorbed by `@sheldon` (SMALL) or `@architect` in merged mode / `@orchestrator` (MEDIUM) — invoke `@discovery-design-doc` explicitly only when you need it as a separate step.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
**Note (v1.35.0):** this agent is **not in the default hop sequence** for either SMALL or MEDIUM. It is an opt-in detour.
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -43,25 +43,37 @@ So it can be either a shortcut before the full cycle **or** a safety stage betwe
|
|
|
43
43
|
|
|
44
44
|
## Where it fits in the workflow
|
|
45
45
|
|
|
46
|
-
Manual exploratory flow:
|
|
46
|
+
**Manual exploratory flow** (unchanged):
|
|
47
47
|
|
|
48
48
|
```text
|
|
49
49
|
@setup -> @discovery-design-doc -> recommended next agent
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
**Default SMALL lean flow** — this agent is absorbed by `@sheldon`:
|
|
53
53
|
|
|
54
54
|
```text
|
|
55
|
-
@product -> @
|
|
55
|
+
@product -> @sheldon -> @dev -> @qa
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
**Opt-in SMALL detour** (explicit invocation after @sheldon or between @analyst and @dev):
|
|
59
59
|
|
|
60
60
|
```text
|
|
61
|
-
@product -> @
|
|
61
|
+
@product -> @sheldon -> [@analyst] -> @discovery-design-doc -> @dev -> @qa
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
**Default MEDIUM maestro flow** — this agent is absorbed by `@orchestrator` (via `@architect` sub-agent in merged mode):
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
@product -> @orchestrator -> @dev -> @pentester -> @qa
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Opt-in MEDIUM detour** (explicit invocation after @orchestrator):
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
@product -> @orchestrator -> @discovery-design-doc -> @dev -> @pentester -> @qa
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
When invoked, its role is not to replace `@analyst` or `@architect` — it turns those artifacts into an executable implementation package.
|
|
65
77
|
|
|
66
78
|
---
|
|
67
79
|
|
|
@@ -57,8 +57,9 @@ Lane B only compiles when every prerequisite is present — otherwise the hard p
|
|
|
57
57
|
Lane B is an opt-in branch off the standard MEDIUM flow, taken after the spec and plan are ready:
|
|
58
58
|
|
|
59
59
|
```text
|
|
60
|
-
@product -> @
|
|
61
|
-
@
|
|
60
|
+
@product -> @orchestrator (fans out @analyst/@architect/@pm; @pm fills Wave column;
|
|
61
|
+
@orchestrator or @sheldon authors harness-contract verification fields) ->
|
|
62
|
+
spec:analyze clean (scope-drift gate) -> @forge-run (Lane B)
|
|
62
63
|
```
|
|
63
64
|
|
|
64
65
|
It never replaces the default lane — it compiles the same artifacts into a single executable workflow. (`@pm`, `@sheldon`, and `@validator` cards are tracked in the [agents index](./README.md); PT is canonical until each is translated.)
|
|
@@ -300,22 +300,25 @@ Notes:
|
|
|
300
300
|
— Framework not installed: agents will include installation steps.
|
|
301
301
|
```
|
|
302
302
|
|
|
303
|
-
**Sequences by classification:**
|
|
304
|
-
- `MICRO`: `@setup → @product
|
|
305
|
-
- `SMALL
|
|
306
|
-
- `MEDIUM
|
|
303
|
+
**Sequences by classification (v1.35.0):**
|
|
304
|
+
- `MICRO`: `@setup → @product → @dev → @qa`
|
|
305
|
+
- `SMALL` (lean default): `@setup → @product → @sheldon → @dev → @qa` — `@sheldon` is the single spec authority
|
|
306
|
+
- `MEDIUM` (maestro): `@setup → @product → @orchestrator → @dev → @pentester → @qa` — `@orchestrator` fans out `@analyst`/`@architect`/`@pm` as sub-agents
|
|
307
|
+
|
|
308
|
+
Spec agents (`@analyst`, `@architect`, `@pm`, `@ux-ui`, `@scope-check`, `@discovery-design-doc`) are **opt-in detours** or fan-out sub-agents — not default hops.
|
|
307
309
|
|
|
308
310
|
**Feature development workflow (after initial setup):**
|
|
309
311
|
|
|
310
312
|
Once the project is set up, each new feature follows a shorter sequence — no `@setup` required:
|
|
311
313
|
|
|
312
314
|
```
|
|
313
|
-
/aioson:agent:product → @
|
|
315
|
+
SMALL: /aioson:agent:product → @sheldon → @dev → @qa
|
|
316
|
+
MEDIUM: /aioson:agent:product → @orchestrator → @dev → @pentester → @qa
|
|
314
317
|
```
|
|
315
318
|
|
|
316
|
-
`@product` creates a feature-scoped `prd-{slug}.md`
|
|
319
|
+
`@product` creates a feature-scoped `prd-{slug}.md`. `@sheldon` (SMALL) produces the full spec package: requirements, design-doc, readiness, implementation-plan, and harness-contract. `@orchestrator` (MEDIUM) fans out `@analyst`/`@architect`/`@pm` and consolidates the gated spec package. `@dev` runs the implementation-plan phase by phase. `@qa` closes the feature by running `feature:close --verdict=PASS`, which updates `spec-{slug}.md` with a QA sign-off, marks it `done` in `features.md`, and automatically archives all feature artefacts to `.aioson/context/done/{slug}/`.
|
|
317
320
|
|
|
318
|
-
The `SMALL` and MEDIUM outputs include a note reminding you of this sequence.
|
|
321
|
+
The `SMALL` and `MEDIUM` outputs include a note reminding you of this sequence.
|
|
319
322
|
|
|
320
323
|
---
|
|
321
324
|
|
|
@@ -677,53 +680,53 @@ aioson harness:check . --slug=checkout
|
|
|
677
680
|
# Run only a subset of criteria
|
|
678
681
|
aioson harness:check . --slug=checkout --criteria=C1,C3
|
|
679
682
|
|
|
680
|
-
# Custom timeout and JSON output (exit 0 = pass)
|
|
681
|
-
aioson harness:check . --slug=checkout --timeout=120000 --json
|
|
682
|
-
|
|
683
|
-
# Strict mode: binary criteria without verification block the result
|
|
684
|
-
aioson harness:check . --slug=checkout --strict
|
|
683
|
+
# Custom timeout and JSON output (exit 0 = pass)
|
|
684
|
+
aioson harness:check . --slug=checkout --timeout=120000 --json
|
|
685
|
+
|
|
686
|
+
# Strict mode: binary criteria without verification block the result
|
|
687
|
+
aioson harness:check . --slug=checkout --strict
|
|
685
688
|
```
|
|
686
689
|
|
|
687
690
|
**Options:**
|
|
688
691
|
- `--slug=<feature>` — feature slug matching the harness contract. If omitted, the active contract is auto-discovered.
|
|
689
|
-
- `--criteria=C1,C2` — run only the listed criteria instead of all verifiable ones.
|
|
690
|
-
- `--timeout=<ms>` — per-criterion timeout override.
|
|
691
|
-
- `--strict` — fail when binary criteria lack executable `verification` or no executable criterion exists.
|
|
692
|
-
- `--json` — structured output; exit code propagated.
|
|
692
|
+
- `--criteria=C1,C2` — run only the listed criteria instead of all verifiable ones.
|
|
693
|
+
- `--timeout=<ms>` — per-criterion timeout override.
|
|
694
|
+
- `--strict` — fail when binary criteria lack executable `verification` or no executable criterion exists.
|
|
695
|
+
- `--json` — structured output; exit code propagated.
|
|
693
696
|
|
|
694
697
|
**What it does:** the `verification` field is authored per criterion by `@sheldon` for every mechanically-checkable `binary: true` criterion (prefer the project test runner; deterministic; cross-platform; exit 0 = pass). `harness:check` is the standalone deterministic verification of those criteria — it never touches the circuit-breaker state (that stays exclusive to `harness:validate`/`apply-validation`). Legacy contracts without `verification` remain valid; `validateContract` only emits an advisory **warning** for `binary: true` criteria lacking it. `@validator` runs `harness:check` first and copies the exit-code verdicts verbatim into `results[].passed`, LLM-judging only the criteria without `verification`.
|
|
695
698
|
|
|
696
|
-
See [Executable verification](./executable-verification.md) for the full theme.
|
|
697
|
-
|
|
698
|
-
---
|
|
699
|
-
|
|
700
|
-
## ac:test-audit
|
|
701
|
-
|
|
702
|
-
Map declared acceptance criteria to deterministic test evidence.
|
|
703
|
-
|
|
704
|
-
```bash
|
|
705
|
-
aioson ac:test-audit . --feature=checkout
|
|
706
|
-
aioson ac:test-audit . --feature=checkout --json
|
|
707
|
-
```
|
|
708
|
-
|
|
709
|
-
**What it does:** extracts `AC-*` IDs from `requirements-{slug}.md`, `prd-{slug}.md`, and `conformance-{slug}.yaml`, then checks whether each ID appears in a test file or an executable harness criterion. Gate D treats missing evidence as blocking when ACs are declared.
|
|
710
|
-
|
|
711
|
-
---
|
|
712
|
-
|
|
713
|
-
## sdd:benchmark
|
|
714
|
-
|
|
715
|
-
Generate a deterministic SDD quality snapshot for a feature.
|
|
716
|
-
|
|
717
|
-
```bash
|
|
718
|
-
aioson sdd:benchmark . --feature=checkout
|
|
719
|
-
aioson sdd:benchmark . --feature=checkout --strict --json
|
|
720
|
-
```
|
|
721
|
-
|
|
722
|
-
**What it does:** combines artifact presence, `spec:analyze`, and `ac:test-audit` into a reproducible score and writes `.aioson/context/retro/sdd-benchmark-{slug}.md`.
|
|
723
|
-
|
|
724
|
-
---
|
|
725
|
-
|
|
726
|
-
## harness:validate
|
|
699
|
+
See [Executable verification](./executable-verification.md) for the full theme.
|
|
700
|
+
|
|
701
|
+
---
|
|
702
|
+
|
|
703
|
+
## ac:test-audit
|
|
704
|
+
|
|
705
|
+
Map declared acceptance criteria to deterministic test evidence.
|
|
706
|
+
|
|
707
|
+
```bash
|
|
708
|
+
aioson ac:test-audit . --feature=checkout
|
|
709
|
+
aioson ac:test-audit . --feature=checkout --json
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
**What it does:** extracts `AC-*` IDs from `requirements-{slug}.md`, `prd-{slug}.md`, and `conformance-{slug}.yaml`, then checks whether each ID appears in a test file or an executable harness criterion. Gate D treats missing evidence as blocking when ACs are declared.
|
|
713
|
+
|
|
714
|
+
---
|
|
715
|
+
|
|
716
|
+
## sdd:benchmark
|
|
717
|
+
|
|
718
|
+
Generate a deterministic SDD quality snapshot for a feature.
|
|
719
|
+
|
|
720
|
+
```bash
|
|
721
|
+
aioson sdd:benchmark . --feature=checkout
|
|
722
|
+
aioson sdd:benchmark . --feature=checkout --strict --json
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
**What it does:** combines artifact presence, `spec:analyze`, and `ac:test-audit` into a reproducible score and writes `.aioson/context/retro/sdd-benchmark-{slug}.md`.
|
|
726
|
+
|
|
727
|
+
---
|
|
728
|
+
|
|
729
|
+
## harness:validate
|
|
727
730
|
|
|
728
731
|
Generate the `validator-prompt.txt` for the binary success contract and append a self-contained **review payload** so the validator can judge in a fresh, isolated context. Consumes the verdict back through the circuit breaker.
|
|
729
732
|
|
|
@@ -820,7 +823,7 @@ aioson harness:retro . --feature=checkout --json
|
|
|
820
823
|
|
|
821
824
|
**Exit codes:** 0 = success (including empty dossier); 1 = unexpected I/O error; 12 = input error (invalid slug, conflicting flags, feature not found).
|
|
822
825
|
|
|
823
|
-
**Sources mined:** QA reports, correction plans, dossier FAIL→PASS cycles, execution events, attempt artifacts, failure signatures, devlogs.
|
|
826
|
+
**Sources mined:** QA reports, implementation verification reports (non-confirming `Machine Report` findings only), correction plans, dossier FAIL→PASS cycles, execution events, attempt artifacts, failure signatures, devlogs. Raw auditor output, stderr, prompt packages, and finding evidence text are not mined.
|
|
824
827
|
|
|
825
828
|
---
|
|
826
829
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
## The idea in one paragraph
|
|
12
12
|
|
|
13
|
-
AIOSON already has two strong foundations: the **`harness-contract.json`** (binary success criteria per feature) and the **SDD artifact chain** (PRD → spec → plan → conformance). The executable-verification theme builds on both to make verification **deterministic** (run a command, read an exit code) and to make specs **compilable** (turn a ready spec into an auditable workflow). Everything is **additive**: the default lane
|
|
13
|
+
AIOSON already has two strong foundations: the **`harness-contract.json`** (binary success criteria per feature) and the **SDD artifact chain** (PRD → spec → plan → conformance). The executable-verification theme builds on both to make verification **deterministic** (run a command, read an exit code) and to make specs **compilable** (turn a ready spec into an auditable workflow). Everything is **additive**: the default SMALL lean lane (`@sheldon → @dev → @qa`) and MEDIUM maestro lane (`@orchestrator → @dev → @pentester → @qa`) are **unchanged** in structure. The new pieces tighten the verification surface — `@scope-check`'s `spec:analyze` now runs **automatically at the `@dev`/`@qa` done gate** (scope-drift gate) in addition to being available as an explicit detour. `@validator` remains a detour when a harness contract exists.
|
|
14
14
|
|
|
15
15
|
The theme ships in five phases.
|
|
16
16
|
|
|
@@ -97,7 +97,7 @@ It runs five deterministic checks:
|
|
|
97
97
|
4. **Harness-contract sanity** — schema errors = error; executable-coverage = info.
|
|
98
98
|
5. **AC→contract linkage** = info.
|
|
99
99
|
|
|
100
|
-
An `error` flips `ok: false` (exit 1 in `--json`). Results persist to `spec-analyze-{slug}.json`.
|
|
100
|
+
An `error` flips `ok: false` (exit 1 in `--json`). Results persist to `spec-analyze-{slug}.json`. `spec:analyze` runs **automatically at the `@dev`/`@qa` done gate** (scope-drift gate) — errors block completion, warnings are pre-computed drift evidence. `@scope-check` also runs it in preflight when invoked as an explicit detour.
|
|
101
101
|
|
|
102
102
|
See [`spec:analyze`](./cli-reference.md#specanalyze) in the CLI reference.
|
|
103
103
|
|
|
@@ -143,15 +143,18 @@ See [`forge:compile`](./cli-reference.md#forgecompile) in the CLI reference and
|
|
|
143
143
|
## How the phases fit together
|
|
144
144
|
|
|
145
145
|
```text
|
|
146
|
-
@sheldon
|
|
146
|
+
@sheldon (SMALL) / @orchestrator (MEDIUM) authors verification
|
|
147
|
+
──► harness:check (deterministic, exit 0 = pass) [Phase 1]
|
|
147
148
|
│
|
|
148
|
-
|
|
149
|
+
spec:analyze runs automatically ◄───────┤ at @dev/@qa done gate (scope-drift) [Phase 3]
|
|
150
|
+
(also: @scope-check preflight) │ (errors block, warnings = drift evidence)
|
|
149
151
|
@pm fills the Wave column ──────────────┤ (parallelizable, file-disjoint) [Phase 4]
|
|
150
152
|
│
|
|
151
|
-
|
|
152
|
-
|
|
153
|
+
SMALL lane: @sheldon ► @dev ► @qa ► harness:validate (review payload) [Phase 2]
|
|
154
|
+
MEDIUM lane: @orchestrator ► @dev ► @pentester ► @qa ► harness:validate
|
|
155
|
+
└► @validator in a FRESH, ISOLATED context (detour)
|
|
153
156
|
│
|
|
154
|
-
Lane B (opt-in): @forge-run ► forge:compile ► run the compiled workflow
|
|
157
|
+
Lane B (opt-in): @forge-run ► forge:compile ► run the compiled workflow [Phase 5]
|
|
155
158
|
```
|
|
156
159
|
|
|
157
160
|
The default lane and Lane B consume the **same** contract, plan, and `spec:analyze` results — Lane B just compiles them into one executable script.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Parallel Orchestration Guide
|
|
2
2
|
|
|
3
|
+
> **v1.35.0 context:** In the MEDIUM maestro lane, `@orchestrator` is the **single spec authority** — it fans out `@analyst`/`@architect`/`@pm` as sub-agents, consolidates the gated spec package, and produces the parallel lane files that the commands below manage. The lane files (`agent-N.status.md`, `shared-decisions.md`) are part of the spec package handed to `@dev`.
|
|
4
|
+
|
|
3
5
|
Use `parallel:init` to bootstrap the parallel context files used by `@orchestrator`.
|
|
4
6
|
|
|
5
7
|
## Command
|
|
@@ -258,8 +258,8 @@ This means running `aioson qa:run` before `@qa` gives you a richer, more complet
|
|
|
258
258
|
Two terminals, running in parallel:
|
|
259
259
|
|
|
260
260
|
```bash
|
|
261
|
-
# Terminal 1 — aioson agents
|
|
262
|
-
/aioson:agent:setup → @product → @
|
|
261
|
+
# Terminal 1 — aioson agents (SMALL lean example)
|
|
262
|
+
/aioson:agent:setup → @product → @sheldon → @dev
|
|
263
263
|
|
|
264
264
|
# Terminal 2 — browser QA (while app is running)
|
|
265
265
|
aioson qa:init --url=http://localhost:3000
|
package/docs/en/README.md
CHANGED
|
@@ -23,7 +23,7 @@ This is the entry door to the English documentation. It is not an alphabetical i
|
|
|
23
23
|
### I want a recipe ready for my case
|
|
24
24
|
|
|
25
25
|
**Canonical trails — how features reach the dev:**
|
|
26
|
-
1. **[Full feature with @sheldon](./3-recipes/full-feature-with-sheldon.md)** —
|
|
26
|
+
1. **[Full feature with @sheldon](./3-recipes/full-feature-with-sheldon.md)** — SMALL lean default: `@product → @sheldon → @dev → @qa`; MEDIUM maestro: `@product → @orchestrator → @dev → @pentester → @qa`
|
|
27
27
|
2. [From idea to PRD via @briefing](./3-recipes/from-idea-to-prd-via-briefing.md) — when the idea is still vague
|
|
28
28
|
3. [Continuity between sessions](./3-recipes/continuity-between-sessions.md) — feature dossier, dev-resume, drift detection
|
|
29
29
|
|
|
@@ -40,7 +40,7 @@ This is the entry door to the English documentation. It is not an alphabetical i
|
|
|
40
40
|
See [3-recipes/README.md](./3-recipes/README.md) for the full list.
|
|
41
41
|
|
|
42
42
|
### I want the technical reference for an agent or command
|
|
43
|
-
- **[Agent cards (in progress)](./4-agents/README.md)** — stub today; full set is in [docs/pt/4-agentes/](../pt/4-agentes/README.md) (29 cards)
|
|
43
|
+
- **[Agent cards (in progress)](./4-agents/README.md)** — stub today; full set is in [docs/pt/4-agentes/](../pt/4-agentes/README.md) (29 cards)
|
|
44
44
|
- **[Technical reference](./5-reference/README.md)** — 11 docs migrated from the previous flat structure (CLI, MCP, parallel, QA browser, squad dashboard, web3, i18n, JSON schemas, release flow)
|
|
45
45
|
|
|
46
46
|
### Highlights of `5-reference/`
|
|
@@ -109,7 +109,7 @@ This English portal is being **incrementally translated** from `docs/pt/`. The p
|
|
|
109
109
|
- 4-agents (stub README; full agent cards pending)
|
|
110
110
|
|
|
111
111
|
**Phase 2 (next)** — remaining 8 scenario recipes in 3-recipes/.
|
|
112
|
-
**Phase 3 (next)** — 29 agent cards in 4-agents/.
|
|
112
|
+
**Phase 3 (next)** — 29 agent cards in 4-agents/.
|
|
113
113
|
**Phase 4 (next)** — remaining ~18 reference docs in 5-reference/ (feature-dossier, agent-chain-continuity, sdd-framework, live-sessions, secure-by-default, aioson-com-store, etc.).
|
|
114
114
|
|
|
115
115
|
For anything not yet in English, the PT version is current and authoritative — the AIOSON behaviors, agent prompts, and CLI commands are language-agnostic.
|
|
@@ -72,9 +72,9 @@ Termos em ordem alfabética. Cada um tem **definição curta** + **exemplo concr
|
|
|
72
72
|
**Definição:** o tamanho do projeto, calculado a partir de 3 fatores (tipos de usuário, integrações externas, regras de negócio). Define quanta cerimônia o workflow vai aplicar.
|
|
73
73
|
|
|
74
74
|
**Como funciona:**
|
|
75
|
-
- 0–1 ponto → **MICRO** (`@setup → @product → @dev`)
|
|
76
|
-
- 2–3 pontos → **SMALL**
|
|
77
|
-
- 4–6 pontos → **MEDIUM**
|
|
75
|
+
- 0–1 ponto → **MICRO** (`@setup → @product → @dev → @qa`)
|
|
76
|
+
- 2–3 pontos → **SMALL** — lean lane: `@setup → @product → @sheldon → @dev → @qa` (`@sheldon` é a autoridade única de spec)
|
|
77
|
+
- 4–6 pontos → **MEDIUM** — maestro lane: `@setup → @product → @orchestrator → @dev → @pentester → @qa` (`@orchestrator` faz fan-out de spec)
|
|
78
78
|
|
|
79
79
|
**Onde aparece:** `classification:` no frontmatter do `project.context.md`.
|
|
80
80
|
|
|
@@ -255,7 +255,7 @@ Termos em ordem alfabética. Cada um tem **definição curta** + **exemplo concr
|
|
|
255
255
|
|
|
256
256
|
**Exemplo:** squad "compliance jurídico" com agentes `@regulator`, `@attorney`, `@auditor`, sob comando do `@squad`.
|
|
257
257
|
|
|
258
|
-
**Comandos:** `aioson squad:scaffold`, `squad:agent-create`, `squad:doctor`.
|
|
258
|
+
**Comandos:** `aioson squad:scaffold`, `squad:agent-create`, `squad:doctor`.
|
|
259
259
|
|
|
260
260
|
---
|
|
261
261
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **Para quem é:** quem quer ver o time inteiro de uma vez.
|
|
4
4
|
> **Tempo de leitura:** 8 min.
|
|
5
|
-
> **O que você vai sair sabendo:** quem são os 29 agentes, em que momento cada um entra, e como eles se conversam.
|
|
5
|
+
> **O que você vai sair sabendo:** quem são os 29 agentes, em que momento cada um entra, e como eles se conversam.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -68,23 +68,25 @@
|
|
|
68
68
|
|
|
69
69
|
### 2. Núcleo de desenvolvimento (workflow oficial)
|
|
70
70
|
|
|
71
|
-
A ordem padrão depende da classificação:
|
|
71
|
+
A ordem padrão depende da classificação (v1.35.0):
|
|
72
72
|
|
|
73
|
-
**MICRO:** `@setup → @product
|
|
74
|
-
**SMALL:** `@setup → @product → @sheldon
|
|
75
|
-
**MEDIUM:** `@setup → @product → @
|
|
73
|
+
**MICRO:** `@setup → @product → @dev → @qa`
|
|
74
|
+
**SMALL (lean — padrão):** `@setup → @product → @sheldon → @dev → @qa`
|
|
75
|
+
**MEDIUM (maestro):** `@setup → @product → @orchestrator → @dev → @pentester → @qa`
|
|
76
76
|
|
|
77
|
-
> **Por que `@sheldon`
|
|
77
|
+
> **Por que `@sheldon` substitui toda a cadeia de spec no SMALL?** Ele é a **autoridade única de spec**: em uma passada vertical produz requirements + decisões técnicas + design-doc + readiness + plano de implementação + harness-contract (Gates A/B/C aprovados). `@analyst`, `@architect`, `@scope-check` e outros viram **detours opt-in**, não hops padrão.
|
|
78
|
+
|
|
79
|
+
> **Por que `@orchestrator` substitui a cadeia longa no MEDIUM?** Ele é o **maestro de spec**: faz fan-out para `@analyst`, `@architect`, `@pm` (+ `@ux-ui` quando UI-heavy) como sub-agentes, consolida e verifica os artefatos. Mesma qualidade, menos hops manuais.
|
|
78
80
|
|
|
79
81
|
| Agente | O que faz | Saída principal |
|
|
80
82
|
|---|---|---|
|
|
81
83
|
| **`@product`** | Define visão, escopo, PRD da feature | `prd.md`, `spec.md` |
|
|
82
|
-
| **`@sheldon`** |
|
|
83
|
-
| **`@analyst`** |
|
|
84
|
-
| **`@architect`** | Decisões técnicas: estrutura, libs, integração | `architecture.md`
|
|
85
|
-
| **`@ux-ui`** |
|
|
86
|
-
| **`@pm`** | Backlog, user stories,
|
|
87
|
-
| **`@orchestrator`** |
|
|
84
|
+
| **`@sheldon`** | **SMALL:** autoridade única de spec (vertical/solo) — produz requirements + decisões técnicas + plano + harness-contract (Gates A/B/C) em uma passada. **Qualquer lane:** gap analysis, pesquisa web, endurecimento de PRD. | `sheldon-enrichment-{slug}.md`, `requirements-{slug}.md`, `implementation-plan-{slug}.md`, `harness-contract.json` |
|
|
85
|
+
| **`@analyst`** | Discovery de domínio: entidades, fluxos, regras de negócio. **MEDIUM:** sub-agente do `@orchestrator`. **Qualquer tamanho:** detour opt-in. | `requirements-{slug}.md`, ER diagrams |
|
|
86
|
+
| **`@architect`** | Decisões técnicas: estrutura, libs, integração. **Merged mode:** também produz design-doc + readiness quando `@discovery-design-doc` não está no fluxo. **MEDIUM:** sub-agente do `@orchestrator`. **Qualquer tamanho:** detour opt-in. | `architecture.md` |
|
|
87
|
+
| **`@ux-ui`** | Spec de UI/UX e componentes. **MEDIUM com UI pesada:** sub-agente do `@orchestrator`. **Qualquer tamanho:** detour opt-in. | `design-doc.md` |
|
|
88
|
+
| **`@pm`** | Backlog, user stories, plano de implementação. **MEDIUM:** sub-agente do `@orchestrator`. **Qualquer tamanho:** detour opt-in. | `tasks.md`, `implementation-plan-{slug}.md` |
|
|
89
|
+
| **`@orchestrator`** | **MEDIUM:** maestro de spec (faz fan-out para @analyst/@architect/@pm/@ux-ui, consolida e verifica, entrega pacote de spec com Gates A/B/C). Também coordena lanes paralelas de implementação pós-spec. | `parallel/`, `implementation-plan-{slug}.md`, `harness-contract.json` |
|
|
88
90
|
| **`@dev`** | Implementa a feature | Código + `dev-state.md` |
|
|
89
91
|
| **`@qa`** | Escreve testes, valida ACs, ciclo autônomo de correção (cap 2) | `test-plan.md`, `qa-report-*.md` |
|
|
90
92
|
| **`@validator`** | Valida tecnicamente contra `harness-contract.json` em sandbox de contexto | `.aioson/plans/{slug}/last-validator-output.json` (consumido por `harness:apply-validation`, atualiza `progress.json`) |
|
|
@@ -189,7 +191,7 @@ Você no Claude Code:
|
|
|
189
191
|
|
|
190
192
|
---
|
|
191
193
|
|
|
192
|
-
## Diálogo real — ciclo SMALL completo
|
|
194
|
+
## Diálogo real — ciclo SMALL completo (lean lane)
|
|
193
195
|
|
|
194
196
|
```
|
|
195
197
|
─── Sessão 1 ───
|
|
@@ -206,17 +208,26 @@ Você > pt-BR
|
|
|
206
208
|
Você > @product
|
|
207
209
|
@product > Vamos começar uma feature. Como ela se chama? Qual o problema?
|
|
208
210
|
Você > "checkout-stripe", finalizar pedido com cartão.
|
|
209
|
-
@product > [...várias perguntas...]
|
|
210
|
-
@product > Próximo: @
|
|
211
|
+
@product > [...várias perguntas...] PRD criado em context/prd-checkout-stripe.md.
|
|
212
|
+
@product > Próximo: @sheldon para produzir o pacote de spec.
|
|
211
213
|
|
|
212
214
|
─── Sessão 2 (no dia seguinte) ───
|
|
213
215
|
Você > @neo
|
|
214
|
-
@neo > Você parou em @product. Próximo: @
|
|
215
|
-
Você > @
|
|
216
|
-
@
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
@neo > Você parou em @product. Próximo: @sheldon.
|
|
217
|
+
Você > @sheldon
|
|
218
|
+
@sheldon > [lê PRD, varre codebase, detecta 3 gaps, pesquisa fontes] Gates A/B/C aprovados.
|
|
219
|
+
Pacote de spec: requirements + architecture + implementation-plan + harness-contract.
|
|
220
|
+
@sheldon > Próximo: @dev.
|
|
221
|
+
|
|
222
|
+
─── Sessão 3 ───
|
|
223
|
+
Você > @dev
|
|
224
|
+
@dev > [lê pacote de spec, implementa por fases com auto-continue, verifica por fase]
|
|
225
|
+
@dev > Todas as fases completas. dev-state.md atualizado.
|
|
226
|
+
@dev > Próximo: @qa.
|
|
227
|
+
|
|
228
|
+
Você > @qa
|
|
229
|
+
@qa > [runtime smoke gate + 12 ACs verificados. 12/12 passando.]
|
|
230
|
+
@qa > Veredicto: feature pronta.
|
|
220
231
|
```
|
|
221
232
|
|
|
222
233
|
---
|
|
@@ -28,12 +28,12 @@ Soma de três fatores (cada um vale 0, 1 ou 2 pontos):
|
|
|
28
28
|
|
|
29
29
|
### O que muda em cada uma
|
|
30
30
|
|
|
31
|
-
#### MICRO — `@setup → @product
|
|
31
|
+
#### MICRO — `@setup → @product → @dev → @qa`
|
|
32
32
|
|
|
33
33
|
- Para: scripts, automações, protótipos, apps pessoais simples.
|
|
34
|
-
- Não há
|
|
34
|
+
- Não há fase de spec formal. Você fala direto com `@dev`.
|
|
35
35
|
- `@product` é opcional — você pode passar a spec direto no chat se quiser.
|
|
36
|
-
-
|
|
36
|
+
- `@qa` é opcional no MICRO; verificação por fase do `@dev` é suprimida para economizar tokens.
|
|
37
37
|
|
|
38
38
|
**Exemplos típicos:**
|
|
39
39
|
- Script Python que processa CSV
|
|
@@ -41,11 +41,11 @@ Soma de três fatores (cada um vale 0, 1 ou 2 pontos):
|
|
|
41
41
|
- Página estática de portfólio
|
|
42
42
|
- Mini-API de 3 endpoints
|
|
43
43
|
|
|
44
|
-
#### SMALL —
|
|
44
|
+
#### SMALL — lean lane (padrão) — `@setup → @product → @sheldon → @dev → @qa`
|
|
45
45
|
|
|
46
46
|
- Para: a maioria dos apps reais.
|
|
47
|
-
-
|
|
48
|
-
-
|
|
47
|
+
- `@sheldon` é a **autoridade única de spec**: em uma passada, produz requirements, decisões técnicas, plano de implementação e contrato de harness — com Gates A/B/C aprovados — antes de passar para `@dev`.
|
|
48
|
+
- `@analyst`, `@architect`, `@scope-check` e outros agentes de spec são **detours opt-in**, não hops padrão.
|
|
49
49
|
|
|
50
50
|
**Exemplos típicos:**
|
|
51
51
|
- App SaaS para um único persona
|
|
@@ -53,12 +53,12 @@ Soma de três fatores (cada um vale 0, 1 ou 2 pontos):
|
|
|
53
53
|
- Loja online simples
|
|
54
54
|
- Blog com painel admin
|
|
55
55
|
|
|
56
|
-
#### MEDIUM —
|
|
56
|
+
#### MEDIUM — maestro lane — `@setup → @product → @orchestrator → @dev → @pentester → @qa`
|
|
57
57
|
|
|
58
58
|
- Para: produtos com múltiplos tipos de usuário, várias integrações, regras complexas.
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
- Lanes paralelas possíveis (`@orchestrator` coordena).
|
|
59
|
+
- `@orchestrator` é o **maestro de spec**: faz fan-out para `@analyst`, `@architect`, `@pm` (+ `@ux-ui` quando UI-heavy) como sub-agentes, consolida e verifica os artefatos, e entrega o pacote de spec com Gates A/B/C aprovados.
|
|
60
|
+
- `@pentester` é **inline** na lane (entre `@dev` e `@qa`), não apenas opt-in.
|
|
61
|
+
- Lanes paralelas possíveis (`@orchestrator` também coordena a execução paralela pós-spec).
|
|
62
62
|
- Threshold de contexto mais agressivo (55% — alerta cedo).
|
|
63
63
|
|
|
64
64
|
**Exemplos típicos:**
|
|
@@ -99,7 +99,7 @@ Você pode marcar **mais de um** no wizard — eles convivem no mesmo projeto.
|
|
|
99
99
|
|
|
100
100
|
### Development (padrão)
|
|
101
101
|
|
|
102
|
-
Inclui os 29 agentes oficiais (product, analyst, dev, qa, etc.). Suficiente para 95% dos projetos.
|
|
102
|
+
Inclui os 29 agentes oficiais (product, analyst, dev, qa, etc.). Suficiente para 95% dos projetos.
|
|
103
103
|
|
|
104
104
|
### Development + Squads
|
|
105
105
|
|
|
@@ -111,11 +111,11 @@ Adiciona o sistema de squads — você pode criar squads customizados para domí
|
|
|
111
111
|
- `@auditor` — checa conformidade
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
# Dentro do cliente AI
|
|
115
|
-
> @squad montar compliance
|
|
116
|
-
|
|
117
|
-
# Ou via CLI
|
|
118
|
-
npx @jaimevalasek/aioson squad:scaffold compliance
|
|
114
|
+
# Dentro do cliente AI
|
|
115
|
+
> @squad montar compliance
|
|
116
|
+
|
|
117
|
+
# Ou via CLI
|
|
118
|
+
npx @jaimevalasek/aioson squad:scaffold compliance
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
**Quando ativar Squads:**
|
|
@@ -276,7 +276,7 @@ Daqui a três meses, alguém (você ou outra IA) pode abrir esse projeto e enten
|
|
|
276
276
|
|
|
277
277
|
## E quando eu quiser uma feature nova?
|
|
278
278
|
|
|
279
|
-
Volte para o passo 4.
|
|
279
|
+
Volte para o passo 4. A lane depende do tamanho da feature: **SMALL** → `@product → @sheldon → @dev → @qa`; **MEDIUM** → `@product → @orchestrator → @dev → @pentester → @qa`. O `@setup` não precisa rodar de novo (já tem o contexto).
|
|
280
280
|
|
|
281
281
|
Se você se perder no meio, lembre:
|
|
282
282
|
|
|
@@ -8,7 +8,7 @@ Estas três trilhas mostram **como features chegam ao desenvolvimento** no AIOSO
|
|
|
8
8
|
|
|
9
9
|
| Trilha | Quando usar | Agentes-chave |
|
|
10
10
|
|---|---|---|
|
|
11
|
-
| **[Feature completa com @sheldon](./feature-completa-com-sheldon.md)** | Você tem PRD em mente e quer a trilha canônica
|
|
11
|
+
| **[Feature completa com @sheldon](./feature-completa-com-sheldon.md)** | Você tem PRD em mente e quer a trilha canônica (a mais usada) | SMALL: `@product → @sheldon → @dev → @qa` · MEDIUM: `@product → @orchestrator → @dev → @pentester → @qa` |
|
|
12
12
|
| [Da ideia ao PRD via @briefing](./da-ideia-ao-prd-via-briefing.md) | Sua ideia ainda é vaga, várias anotações soltas | @briefing → @product |
|
|
13
13
|
| [Plans externos para @product](./plans-externos-para-product.md) | Você já planejou em outro chat (ChatGPT, Claude.io Web) | @product (lê `/plans/`) |
|
|
14
14
|
|