@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.
Files changed (158) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/README.md +19 -6
  3. package/docs/en/1-understand/ecosystem-map.md +45 -29
  4. package/docs/en/1-understand/glossary.md +5 -5
  5. package/docs/en/1-understand/what-is-aioson.md +5 -5
  6. package/docs/en/2-start/existing-project.md +7 -7
  7. package/docs/en/2-start/first-project.md +32 -38
  8. package/docs/en/2-start/initial-decisions.md +18 -17
  9. package/docs/en/3-recipes/README.md +2 -2
  10. package/docs/en/3-recipes/continuity-between-sessions.md +2 -2
  11. package/docs/en/3-recipes/from-idea-to-prd-via-briefing.md +5 -2
  12. package/docs/en/3-recipes/full-feature-with-sheldon.md +327 -338
  13. package/docs/en/4-agents/README.md +28 -14
  14. package/docs/en/4-agents/discovery-design-doc.md +20 -8
  15. package/docs/en/4-agents/forge-run.md +3 -2
  16. package/docs/en/5-reference/cli-reference.md +51 -48
  17. package/docs/en/5-reference/executable-verification.md +10 -7
  18. package/docs/en/5-reference/parallel.md +2 -0
  19. package/docs/en/5-reference/qa-browser.md +2 -2
  20. package/docs/en/README.md +3 -3
  21. package/docs/pt/1-entender/glossario.md +4 -4
  22. package/docs/pt/1-entender/mapa-do-ecossistema.md +32 -21
  23. package/docs/pt/2-comecar/decisoes-iniciais.md +16 -16
  24. package/docs/pt/2-comecar/primeiro-projeto.md +1 -1
  25. package/docs/pt/3-receitas/README.md +1 -1
  26. package/docs/pt/3-receitas/app-saas-do-zero.md +35 -122
  27. package/docs/pt/3-receitas/feature-completa-com-sheldon.md +289 -338
  28. package/docs/pt/4-agentes/analyst.md +9 -5
  29. package/docs/pt/4-agentes/architect.md +9 -5
  30. package/docs/pt/4-agentes/dev.md +19 -7
  31. package/docs/pt/4-agentes/discovery-design-doc.md +25 -23
  32. package/docs/pt/4-agentes/orchestrator.md +164 -118
  33. package/docs/pt/4-agentes/pentester.md +5 -5
  34. package/docs/pt/4-agentes/pm.md +15 -7
  35. package/docs/pt/4-agentes/sheldon.md +166 -99
  36. package/docs/pt/4-agentes/ux-ui.md +7 -4
  37. package/docs/pt/5-referencia/agent-chain-continuity.md +14 -5
  38. package/docs/pt/5-referencia/comandos-cli.md +1 -1
  39. package/docs/pt/5-referencia/harness-retro.md +2 -1
  40. package/docs/pt/5-referencia/sdd-automation-scripts.md +6 -6
  41. package/docs/pt/5-referencia/sdd-framework.md +53 -16
  42. package/docs/pt/5-referencia/sdd-planos-e-estrutura.md +27 -15
  43. package/docs/pt/README.md +4 -4
  44. package/docs/pt/agentes.md +48 -50
  45. package/package.json +2 -2
  46. package/src/artifact-kinds.js +110 -0
  47. package/src/cli.js +82 -42
  48. package/src/commands/agent-epilogue.js +251 -186
  49. package/src/commands/agents.js +104 -48
  50. package/src/commands/audit-code.js +344 -0
  51. package/src/commands/classify.js +75 -13
  52. package/src/commands/feature-close.js +43 -18
  53. package/src/commands/harness-check.js +259 -175
  54. package/src/commands/harness-retro-promote.js +387 -0
  55. package/src/commands/live.js +24 -0
  56. package/src/commands/prototype-check.js +163 -0
  57. package/src/commands/review-feature.js +189 -0
  58. package/src/commands/runtime.js +81 -66
  59. package/src/commands/sync-agents-copy.js +115 -0
  60. package/src/commands/verification-plan.js +116 -0
  61. package/src/commands/verify-artifact.js +530 -0
  62. package/src/commands/verify-implementation.js +428 -0
  63. package/src/commands/workflow-execute.js +309 -309
  64. package/src/commands/workflow-next.js +361 -19
  65. package/src/commands/workflow-plan.js +5 -5
  66. package/src/constants.js +4 -0
  67. package/src/gateway-pointer-merge.js +7 -1
  68. package/src/handoff-contract.js +267 -172
  69. package/src/harness/contract-integrity-gate.js +172 -0
  70. package/src/harness/contract-integrity.js +111 -0
  71. package/src/harness/contract-schema.js +377 -332
  72. package/src/harness/detect-runtime-feature.js +90 -0
  73. package/src/harness/static-criteria.js +192 -0
  74. package/src/i18n/messages/en.js +8 -4
  75. package/src/i18n/messages/es.js +8 -4
  76. package/src/i18n/messages/fr.js +8 -4
  77. package/src/i18n/messages/pt-BR.js +8 -4
  78. package/src/install-wizard.js +8 -8
  79. package/src/installer.js +13 -6
  80. package/src/lib/retro/retro-render.js +10 -1
  81. package/src/lib/retro/retro-sources.js +45 -27
  82. package/src/lib/retro/verification-reports.js +230 -0
  83. package/src/parser.js +6 -0
  84. package/src/preflight-engine.js +12 -12
  85. package/src/runtime-store.js +13 -9
  86. package/src/verification/evidence-bundle.js +251 -0
  87. package/src/verification/ledger-store.js +221 -0
  88. package/src/verification/path-policy.js +74 -0
  89. package/src/verification/policy-engine.js +95 -0
  90. package/src/verification/prompt-package.js +314 -0
  91. package/src/verification/redaction.js +77 -0
  92. package/src/verification/report-parser.js +132 -0
  93. package/src/verification/report-store.js +97 -0
  94. package/src/verification/result.js +16 -0
  95. package/src/verification/runners/index.js +319 -0
  96. package/src/verification/runtime-telemetry.js +144 -0
  97. package/src/verification/schema.js +276 -0
  98. package/src/verification/source-discovery.js +153 -0
  99. package/src/verification-policy.js +398 -0
  100. package/src/version.js +52 -1
  101. package/template/.aioson/agents/analyst.md +9 -6
  102. package/template/.aioson/agents/architect.md +34 -5
  103. package/template/.aioson/agents/briefing-refiner.md +25 -0
  104. package/template/.aioson/agents/briefing.md +69 -12
  105. package/template/.aioson/agents/committer.md +2 -1
  106. package/template/.aioson/agents/copywriter.md +30 -21
  107. package/template/.aioson/agents/design-hybrid-forge.md +28 -15
  108. package/template/.aioson/agents/dev.md +28 -10
  109. package/template/.aioson/agents/deyvin.md +3 -2
  110. package/template/.aioson/agents/discover.md +12 -3
  111. package/template/.aioson/agents/discovery-design-doc.md +7 -2
  112. package/template/.aioson/agents/genome.md +19 -10
  113. package/template/.aioson/agents/neo.md +30 -30
  114. package/template/.aioson/agents/orache.md +20 -11
  115. package/template/.aioson/agents/orchestrator.md +84 -7
  116. package/template/.aioson/agents/pm.md +8 -8
  117. package/template/.aioson/agents/product.md +15 -11
  118. package/template/.aioson/agents/profiler-enricher.md +20 -11
  119. package/template/.aioson/agents/profiler-forge.md +20 -11
  120. package/template/.aioson/agents/profiler-researcher.md +20 -11
  121. package/template/.aioson/agents/qa.md +87 -17
  122. package/template/.aioson/agents/scope-check.md +19 -5
  123. package/template/.aioson/agents/setup.md +12 -1
  124. package/template/.aioson/agents/sheldon.md +92 -9
  125. package/template/.aioson/agents/site-forge.md +11 -2
  126. package/template/.aioson/agents/squad.md +20 -5
  127. package/template/.aioson/agents/ux-ui.md +4 -2
  128. package/template/.aioson/agents/validator.md +33 -1
  129. package/template/.aioson/config/verification.json +61 -0
  130. package/template/.aioson/config.md +13 -9
  131. package/template/.aioson/docs/LAYERS.md +2 -2
  132. package/template/.aioson/docs/autopilot-handoff.md +10 -10
  133. package/template/.aioson/docs/dev/execution-discipline.md +41 -0
  134. package/template/.aioson/docs/dev/phase-loop.md +47 -0
  135. package/template/.aioson/docs/feature-expansion-taxonomy.md +31 -3
  136. package/template/.aioson/docs/presets/workflow.config.full-merged.json +15 -0
  137. package/template/.aioson/docs/presets/workflow.config.lean.json +15 -0
  138. package/template/.aioson/docs/product/prd-contract.md +12 -12
  139. package/template/.aioson/docs/prototype-contract.md +98 -0
  140. package/template/.aioson/docs/reference-identity.md +94 -0
  141. package/template/.aioson/docs/sheldon/harness-contract.md +155 -28
  142. package/template/.aioson/docs/verification-config.md +82 -0
  143. package/template/.aioson/docs/verify-artifact-gates.md +91 -0
  144. package/template/.aioson/docs/workflow-lean-lane.md +129 -0
  145. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +2 -0
  146. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +16 -14
  147. package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +2 -2
  148. package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +4 -4
  149. package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +15 -15
  150. package/template/.aioson/skills/process/briefing-expansion-scout/SKILL.md +25 -3
  151. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +5 -3
  152. package/template/.aioson/skills/process/design-hybrid-forge/references/external-source-ingestion.md +89 -0
  153. package/template/.aioson/skills/process/product-scope-expansion/SKILL.md +29 -2
  154. package/template/.aioson/skills/process/prototype-forge/SKILL.md +98 -0
  155. package/template/.aioson/skills/process/reference-identity-extract/SKILL.md +164 -0
  156. package/template/.aioson/skills/process/sheldon-expansion-audit/SKILL.md +23 -2
  157. package/template/.aioson/skills/static/multi-agent-patterns.md +5 -5
  158. 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 (pipeline order)
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` | PRD quality guardian gap detection, web research, sizing, in-place enrichment or phased plan |
19
- | `@analyst` | Domain discovery — entities, flows, brownfield mapping |
20
- | `@scope-check` | Alignment gate before implementation validates intent vs plan and catches scope drift |
21
- | `@architect` | Technical decisions — structure, libraries, integration boundaries |
22
- | `@ux-ui` | Design system and UI component specs (MEDIUM) |
23
- | `@pm` | Backlog and user stories (MEDIUM) |
24
- | `@orchestrator` | Parallel lane coordination (MEDIUM) |
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
- - **Pre-dev workflow mode:** when a SMALL/MEDIUM project has already passed through `@analyst` and `@architect`. In this case, it consolidates PRD, requirements, spec, and architecture into a living `design-doc` and a `readiness` note with a concrete technical plan for `@dev`.
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
- So it can be either a shortcut before the full cycle **or** a safety stage between architecture and implementation. In the current workflow, the second use is expected for SMALL/MEDIUM.
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
- Current SMALL flow:
52
+ **Default SMALL lean flow** — this agent is absorbed by `@sheldon`:
53
53
 
54
54
  ```text
55
- @product -> @analyst -> @scope-check(pre-dev) -> @architect -> @discovery-design-doc -> @dev -> @qa
55
+ @product -> @sheldon -> @dev -> @qa
56
56
  ```
57
57
 
58
- Current MEDIUM flow:
58
+ **Opt-in SMALL detour** (explicit invocation after @sheldon or between @analyst and @dev):
59
59
 
60
60
  ```text
61
- @product -> @analyst -> @architect -> @discovery-design-doc -> @ux-ui -> @pm -> @orchestrator -> @scope-check(pre-dev) -> @dev -> @qa
61
+ @product -> @sheldon -> [@analyst] -> @discovery-design-doc -> @dev -> @qa
62
62
  ```
63
63
 
64
- Its role in the middle of a feature is not to replace `@analyst` or `@architect`. It turns those artifacts into an executable implementation package.
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 -> @analyst -> @architect -> @sheldon (authors verification) ->
61
- @pm (Wave column) -> @scope-check (spec:analyze clean) -> @forge-run (Lane B)
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 (optional) → @dev`
305
- - `SMALL`: `@setup → @product → @analyst → @scope-check → @architect @dev @qa`
306
- - `MEDIUM`: `@setup → @product → @analyst → @architect → @ux-ui → @pm @orchestrator @scope-check @dev → @qa`
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 → @analyst → @scope-check → @dev → @qa
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` and registers the feature in `features.md`. `@analyst` produces `requirements-{slug}.md` and `spec-{slug}.md`. `@scope-check` compares intent against the planned implementation before coding. `@dev` reads the feature spec. `@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}/`.
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 `@scope-check``@dev``@qa` → `@validator` is **unchanged**. The new pieces tighten the verification surface without rerouting existing flows.
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`. `@scope-check` runs `spec:analyze` in preflight: **errors are blockers, warnings are pre-computed drift evidence**.
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 authors verification ──► harness:check (deterministic, exit 0 = pass) [Phase 1]
146
+ @sheldon (SMALL) / @orchestrator (MEDIUM) authors verification
147
+ ──► harness:check (deterministic, exit 0 = pass) [Phase 1]
147
148
 
148
- @scope-check runs spec:analyze ◄────────┤ (errors block, warnings = drift) [Phase 3]
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
- default lane: @dev ► @qa ► harness:validate (review payload) [Phase 2]
152
- └► @validator in a FRESH, ISOLATED context
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 [Phase 5]
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 → @analyst → @architect → @dev
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)** — the main trail: `@product → @sheldon → @analyst → @architect @ux-ui @pm → @orchestrator → @scope-check → @dev → @qa` (with optional gates from `@tester` and `@pentester`)
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** (`@setup → @product → @analyst → @scope-check → @architect @dev @qa`)
77
- - 4–6 pontos → **MEDIUM** (workflow completo, todos os gates, todos os artefatos)
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 (opcional) → @dev`
74
- **SMALL:** `@setup → @product → @sheldon (opcional) → @analyst → @scope-check → @architect → @dev → @qa`
75
- **MEDIUM:** `@setup → @product → @sheldon → @analyst → @architect → @ux-ui → @pm → @orchestrator → @scope-check → @dev → @qa`
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` aparece tão cedo?** Ele é o **PRD quality guardian** roda *entre* `@product` e `@analyst` para detectar gaps, validar premissas técnicas com pesquisa web, e decidir entre enriquecer o PRD in-place ou criar um phased plan em `.aioson/plans/{slug}/`. Pode ser invocado N vezes no mesmo PRD. Pular essa etapa em features sérias custa caro na frente.
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`** | PRD quality guardian — gap analysis, web research, sizing, decide in-place vs phased plan | `sheldon-enrichment-{slug}.md` ou `.aioson/plans/{slug}/` |
83
- | **`@analyst`** | Descobre domínio, entidades, fluxos no codebase | `architecture.md`, ER diagrams |
84
- | **`@architect`** | Decisões técnicas: estrutura, libs, integração | `architecture.md` (decisões) |
85
- | **`@ux-ui`** | Design system e specs de componentes (MEDIUM) | `design-doc.md`, `discovery.md` |
86
- | **`@pm`** | Backlog, user stories, ACs (MEDIUM) | `tasks.md`, user stories |
87
- | **`@orchestrator`** | Coordena lanes paralelas (MEDIUM) | `parallel/`, plano de execução |
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...] Spec criada em context/features/checkout-stripe/spec.md.
210
- @product > Próximo: @analyst para mapear o domínio.
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: @analyst.
215
- Você > @analyst
216
- @analyst > [lê spec.md, examina codebase] Mapeei: Order, Customer, Payment, OrderItem.
217
- @analyst > Decisão registrada em architecture.md. Próximo: @architect.
218
-
219
- ─── e assim por diante até @qa ───
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 (opcional) → @dev`
31
+ #### MICRO — `@setup → @product @dev → @qa`
32
32
 
33
33
  - Para: scripts, automações, protótipos, apps pessoais simples.
34
- - Não há `@analyst` nem `@architect`. Você fala direto com `@dev`.
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
- - Sem `@qa` no fluxo padrão (você pode invocar manualmente).
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 — `@setup @product @analyst → @scope-check → @architect → @dev → @qa`
44
+ #### SMALL — lean lane (padrão) `@setup → @product → @sheldon → @dev → @qa`
45
45
 
46
46
  - Para: a maioria dos apps reais.
47
- - Tem o ciclo completo de discovery+desenvolvimento+QA.
48
- - Sem `@ux-ui`, `@pm` ou `@orchestrator` no fluxo padrão (você pode invocar pontualmente).
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 — workflow completo
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
- - Adiciona `@ux-ui`, `@pm`, `@orchestrator`.
60
- - Gates de qualidade aplicados em cada handoff.
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. `@product` cria nova feature → `@analyst` → `@architect``@dev``@qa`. O `@setup` não precisa rodar de novo (já tem o contexto).
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 completa (a mais usada) | @product → @sheldon → @analyst → @architect @ux-ui @pm → @orchestrator → @scope-check → @dev → @qa |
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