@jaimevalasek/aioson 1.33.1 → 1.37.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 +76 -0
- package/docs/en/1-understand/ecosystem-map.md +45 -29
- package/docs/en/1-understand/glossary.md +6 -6
- 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 +33 -39
- package/docs/en/2-start/initial-decisions.md +22 -19
- 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 +13 -3
- package/docs/en/3-recipes/full-feature-with-sheldon.md +329 -338
- package/docs/en/4-agents/README.md +33 -16
- package/docs/en/4-agents/briefing-refiner.md +146 -0
- 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/README.md +1 -0
- package/docs/en/5-reference/autopilot-handoff.md +286 -0
- package/docs/en/5-reference/cli-reference.md +57 -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 +5 -5
- package/docs/pt/1-entender/mapa-do-ecossistema.md +33 -22
- package/docs/pt/2-comecar/decisoes-iniciais.md +20 -18
- package/docs/pt/2-comecar/primeiro-projeto.md +2 -2
- 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/da-ideia-ao-prd-via-briefing.md +8 -1
- package/docs/pt/3-receitas/feature-completa-com-sheldon.md +291 -338
- package/docs/pt/4-agentes/README.md +13 -11
- package/docs/pt/4-agentes/analyst.md +9 -5
- package/docs/pt/4-agentes/architect.md +9 -5
- package/docs/pt/4-agentes/briefing-refiner.md +64 -40
- package/docs/pt/4-agentes/briefing.md +6 -1
- package/docs/pt/4-agentes/dev.md +38 -8
- package/docs/pt/4-agentes/deyvin.md +4 -0
- package/docs/pt/4-agentes/discover.md +4 -0
- package/docs/pt/4-agentes/discovery-design-doc.md +25 -23
- package/docs/pt/4-agentes/neo.md +4 -0
- package/docs/pt/4-agentes/orache.md +6 -0
- package/docs/pt/4-agentes/orchestrator.md +176 -118
- package/docs/pt/4-agentes/pentester.md +11 -5
- package/docs/pt/4-agentes/pm.md +15 -7
- package/docs/pt/4-agentes/product.md +19 -1
- package/docs/pt/4-agentes/qa.md +10 -2
- package/docs/pt/4-agentes/setup.md +3 -1
- package/docs/pt/4-agentes/sheldon.md +178 -99
- package/docs/pt/4-agentes/tester.md +6 -0
- package/docs/pt/4-agentes/ux-ui.md +9 -5
- package/docs/pt/5-referencia/README.md +1 -1
- package/docs/pt/5-referencia/agent-chain-continuity.md +14 -5
- package/docs/pt/5-referencia/autopilot-handoff.md +191 -74
- package/docs/pt/5-referencia/comandos-cli.md +16 -7
- 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/5-referencia/skills.md +2 -0
- package/docs/pt/README.md +4 -4
- package/docs/pt/agentes.md +50 -50
- package/package.json +2 -2
- package/src/agents.js +1 -1
- package/src/artifact-kinds.js +111 -0
- package/src/autopilot-signal.js +71 -0
- package/src/cli.js +112 -81
- package/src/commands/agent-epilogue.js +251 -186
- package/src/commands/agents.js +122 -50
- package/src/commands/audit-code.js +344 -0
- package/src/commands/briefing.js +337 -1
- package/src/commands/classify.js +389 -389
- package/src/commands/feature-close.js +122 -4
- package/src/commands/harness-check.js +259 -175
- package/src/commands/live.js +71 -11
- 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/update.js +5 -1
- package/src/commands/verification-plan.js +143 -0
- package/src/commands/verify-artifact.js +593 -0
- package/src/commands/workflow-execute.js +434 -316
- package/src/commands/workflow-next.js +193 -20
- package/src/commands/workflow-plan.js +5 -5
- package/src/constants.js +2 -0
- package/src/doctor.js +4 -2
- 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 +10 -5
- package/src/i18n/messages/es.js +10 -5
- package/src/i18n/messages/fr.js +10 -5
- package/src/i18n/messages/pt-BR.js +10 -5
- package/src/install-wizard.js +8 -8
- package/src/installer.js +13 -6
- package/src/lib/briefing-refiner/apply-feedback.js +18 -4
- package/src/lib/briefing-refiner/feedback-schema.js +73 -4
- package/src/lib/briefing-refiner/refinement-report.js +11 -0
- package/src/lib/briefing-refiner/review-html.js +388 -68
- package/src/parser.js +12 -0
- package/src/preflight-engine.js +12 -12
- package/src/verification/policy-engine.js +95 -95
- package/src/verification-policy.js +398 -0
- package/src/version.js +52 -1
- package/template/.aioson/agents/architect.md +34 -5
- package/template/.aioson/agents/briefing-refiner.md +91 -48
- package/template/.aioson/agents/briefing.md +4 -0
- package/template/.aioson/agents/committer.md +2 -1
- package/template/.aioson/agents/copywriter.md +30 -21
- package/template/.aioson/agents/design-hybrid-forge.md +10 -1
- package/template/.aioson/agents/dev.md +35 -23
- package/template/.aioson/agents/deyvin.md +4 -0
- package/template/.aioson/agents/discover.md +16 -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 +34 -30
- package/template/.aioson/agents/orache.md +24 -11
- package/template/.aioson/agents/orchestrator.md +100 -7
- package/template/.aioson/agents/pentester.md +4 -0
- package/template/.aioson/agents/pm.md +8 -8
- package/template/.aioson/agents/product.md +25 -1
- 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 +96 -31
- package/template/.aioson/agents/setup.md +12 -1
- package/template/.aioson/agents/sheldon.md +103 -13
- package/template/.aioson/agents/site-forge.md +11 -2
- package/template/.aioson/agents/squad.md +20 -5
- package/template/.aioson/agents/tester.md +4 -0
- package/template/.aioson/agents/ux-ui.md +2 -1
- 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/agent-help.md +126 -0
- package/template/.aioson/docs/autopilot-handoff.md +30 -20
- package/template/.aioson/docs/dev/execution-discipline.md +41 -0
- package/template/.aioson/docs/dev/phase-loop.md +50 -0
- package/template/.aioson/docs/play/llm-data-and-bindings.md +70 -7
- 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 +21 -4
- 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/SKILL.md +17 -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/prototype-forge/SKILL.md +6 -0
- package/template/.aioson/skills/process/reference-identity-extract/SKILL.md +164 -0
- package/template/.aioson/skills/static/multi-agent-patterns.md +5 -5
- package/template/AGENTS.md +36 -36
- package/template/CLAUDE.md +15 -11
package/template/AGENTS.md
CHANGED
|
@@ -7,15 +7,15 @@ You operate as AIOSON — an AI development squad with specialized agents.
|
|
|
7
7
|
- If missing: activate @setup agent immediately
|
|
8
8
|
- If present: read it before any action
|
|
9
9
|
2. Read `.aioson/config.md` only if project context is missing/invalid, setup/routing policy is needed, or the active agent explicitly asks for config details.
|
|
10
|
-
3. If `.aioson/rules/` contains `.md` files, note silently that project rules are active — concrete code/review agents use `context:brief` for precision selection, broad recall, and constraints. Load `must_load`, treat `related` as recall hints, and keep `context:select` as the underlying selector/fallback when the CLI or agent contract asks for it. Do not alarm if the directory is absent or empty.
|
|
10
|
+
3. If `.aioson/rules/` contains `.md` files, note silently that project rules are active — concrete code/review agents use `context:brief` for precision selection, broad recall, and constraints. Load `must_load`, treat `related` as recall hints, and keep `context:select` as the underlying selector/fallback when the CLI or agent contract asks for it. Do not alarm if the directory is absent or empty.
|
|
11
11
|
|
|
12
|
-
## Project knowledge
|
|
13
|
-
|
|
14
|
-
Read `.aioson/learnings/INDEX.md` if it exists. Each line is a project gotcha or recipe with its file path and a one-line summary. Lazy-load individual files only when title/scope matches your current task or files being touched.
|
|
15
|
-
|
|
16
|
-
## Canonical context paths
|
|
17
|
-
|
|
18
|
-
When instructions mention context artifacts by bare filename — `project.context.md`, `project-pulse.md`, `features.md`, `dev-state.md`, `workflow.state.json`, `last-handoff.json`, or `handoff-protocol.json` — resolve them to `.aioson/context/<filename>`. Never probe the project root or `.aioson/` root for these files.
|
|
12
|
+
## Project knowledge
|
|
13
|
+
|
|
14
|
+
Read `.aioson/learnings/INDEX.md` if it exists. Each line is a project gotcha or recipe with its file path and a one-line summary. Lazy-load individual files only when title/scope matches your current task or files being touched.
|
|
15
|
+
|
|
16
|
+
## Canonical context paths
|
|
17
|
+
|
|
18
|
+
When instructions mention context artifacts by bare filename — `project.context.md`, `project-pulse.md`, `features.md`, `dev-state.md`, `workflow.state.json`, `last-handoff.json`, or `handoff-protocol.json` — resolve them to `.aioson/context/<filename>`. Never probe the project root or `.aioson/` root for these files.
|
|
19
19
|
|
|
20
20
|
## No agent selected
|
|
21
21
|
|
|
@@ -107,8 +107,8 @@ When running Codex directly (without `aioson workflow:next`), these rules apply:
|
|
|
107
107
|
- For implementation requests (code changes, feature build, refactor, bugfix), default to workflow routing and execute via the next workflow stage agent (typically `@dev` after required upstream stages).
|
|
108
108
|
- Exception: if the user explicitly activates `@deyvin` (or the compatibility alias `@pair`), it may work directly only as a continuity / pair-programming agent for existing known context and a small validated slice. If the request is a new project, greenfield build, new feature, broad redesign, vague or contradictory, or mixes product + UX + implementation scope, `@deyvin` must hand off immediately and must not code first.
|
|
109
109
|
- Official workflow agents (`@setup`, `@product`, `@analyst`, `@scope-check`, `@architect`, `@ux-ui`, `@pm`, `@orchestrator`, `@dev`, `@qa`) must stay inside the workflow. Do not answer requests outside the current agent's scope.
|
|
110
|
-
- Between agent handoffs, your ONLY valid output is: which agent is next and why. Do not continue into that agent's work. Single exception: when `auto_handoff: true` is set in `.aioson/context/project.context.md
|
|
111
|
-
- If `.aioson/context/project.context.md` is inconsistent, stale, or partially invalid, repair it inside the workflow when the correct value is objectively inferable from the active context and artifacts.
|
|
110
|
+
- Between agent handoffs, your ONLY valid output is: which agent is next and why. Do not continue into that agent's work. Single exception: when `auto_handoff: true` is set in `.aioson/context/project.context.md` (or a seeded `.aioson/context/workflow-execute.json` with `agentic_policy.enabled` is present), the agents covered by `.aioson/docs/autopilot-handoff.md` auto-invoke the next agent's skill instead of stopping. That chain runs the whole feature — the spec authority (`@sheldon`/`@orchestrator`) seeds the agentic scheme and crosses into `@dev` via the `dev-state.md` cold-start packet, `@dev` runs all phases in one continuous drive, and the post-dev review cycle (`@dev` → `@qa` → `@tester`/`@pentester` when their `@qa` triggers fire → `@validator`) follows automatically. It stops only for a genuine human decision (product scope/sizing still open) and never auto-runs `feature:close`/publish — those require explicit human approval.
|
|
111
|
+
- If `.aioson/context/project.context.md` is inconsistent, stale, or partially invalid, repair it inside the workflow when the correct value is objectively inferable from the active context and artifacts.
|
|
112
112
|
- If a context field is still uncertain, route back to `@setup` inside the workflow instead of offering direct execution as a workaround.
|
|
113
113
|
- Never silently bypass workflow after `@setup` or after collecting requirements.
|
|
114
114
|
|
|
@@ -161,7 +161,7 @@ AIOSON uses the `aioson-spec-driven` process skill to enforce specification-firs
|
|
|
161
161
|
|
|
162
162
|
### Core artifacts
|
|
163
163
|
- `constitution.md` — governs all agents with 6 articles
|
|
164
|
-
- `.aioson/context/project-pulse.md` — global heartbeat, max 30 lines, updated by every agent at session end
|
|
164
|
+
- `.aioson/context/project-pulse.md` — global heartbeat, max 30 lines, updated by every agent at session end
|
|
165
165
|
- `spec-{slug}.md` — feature memory with `phase_gates`, `spec_version`, and `last_checkpoint`
|
|
166
166
|
- `conformance-{slug}.yaml` — machine-readable AC definitions (MEDIUM projects only)
|
|
167
167
|
|
|
@@ -177,7 +177,7 @@ Gates are blocking in MEDIUM, informational in MICRO/SMALL.
|
|
|
177
177
|
For concrete spec/workflow work, the active agent checks for `aioson-spec-driven` in `.aioson/installed-skills/` or `.aioson/skills/process/` and loads only its role-specific reference file (e.g., `references/dev.md`, `references/qa.md`). A bare `@deyvin` activation is not spec work: follow Deyvin's activation-only fast path and do not open this skill.
|
|
178
178
|
|
|
179
179
|
### Project pulse convention
|
|
180
|
-
Every agent updates `.aioson/context/project-pulse.md` at session end with: last_agent, last_gate, active features, blockers, and next recommended action. This enables crash recovery — any agent can read `.aioson/context/project-pulse.md` and know where to resume.
|
|
180
|
+
Every agent updates `.aioson/context/project-pulse.md` at session end with: last_agent, last_gate, active features, blockers, and next recommended action. This enables crash recovery — any agent can read `.aioson/context/project-pulse.md` and know where to resume.
|
|
181
181
|
|
|
182
182
|
## Process skill: aioson-spec-driven
|
|
183
183
|
|
|
@@ -199,29 +199,29 @@ Activated by: @design-hybrid-forge
|
|
|
199
199
|
Default output: `.aioson/installed-skills/{hybrid-name}/`
|
|
200
200
|
What to load: `SKILL.md` first, then only the `references/` file relevant to the current phase
|
|
201
201
|
|
|
202
|
-
## Process skill: prompt-sharpener
|
|
203
|
-
|
|
204
|
-
Located at: `.aioson/skills/process/prompt-sharpener/SKILL.md`
|
|
205
|
-
|
|
206
|
-
This is a first-party process skill for improving agents, skills, PRDs, plans, handoffs, and instruction-heavy markdown by turning vague guidance into evidence-driven decision behavior.
|
|
207
|
-
|
|
208
|
-
Use when: improving AIOSON prompts/skills, reducing dead context without losing contracts, or sharpening artifacts before downstream handoff.
|
|
209
|
-
What to load: `SKILL.md` first; load `references/prompt-diagnostics.md` only for multi-prompt audits or adoption planning.
|
|
210
|
-
|
|
211
|
-
## Process skills: feature expansion
|
|
212
|
-
|
|
213
|
-
Located at:
|
|
214
|
-
- `.aioson/skills/process/briefing-expansion-scout/SKILL.md`
|
|
215
|
-
- `.aioson/skills/process/product-scope-expansion/SKILL.md`
|
|
216
|
-
- `.aioson/skills/process/sheldon-expansion-audit/SKILL.md`
|
|
217
|
-
|
|
218
|
-
These are first-party process skills for richer feature thinking without uncontrolled MVP inflation.
|
|
219
|
-
|
|
220
|
-
Agents that load them: @briefing, @briefing-refiner, @product, @sheldon
|
|
221
|
-
When to load: only when the active idea/PRD has a rich surface, a prior expansion artifact exists, or the user asks for richer options.
|
|
222
|
-
Shared taxonomy: `.aioson/docs/feature-expansion-taxonomy.md`
|
|
223
|
-
|
|
224
|
-
## Shared research cache: researchs/
|
|
202
|
+
## Process skill: prompt-sharpener
|
|
203
|
+
|
|
204
|
+
Located at: `.aioson/skills/process/prompt-sharpener/SKILL.md`
|
|
205
|
+
|
|
206
|
+
This is a first-party process skill for improving agents, skills, PRDs, plans, handoffs, and instruction-heavy markdown by turning vague guidance into evidence-driven decision behavior.
|
|
207
|
+
|
|
208
|
+
Use when: improving AIOSON prompts/skills, reducing dead context without losing contracts, or sharpening artifacts before downstream handoff.
|
|
209
|
+
What to load: `SKILL.md` first; load `references/prompt-diagnostics.md` only for multi-prompt audits or adoption planning.
|
|
210
|
+
|
|
211
|
+
## Process skills: feature expansion
|
|
212
|
+
|
|
213
|
+
Located at:
|
|
214
|
+
- `.aioson/skills/process/briefing-expansion-scout/SKILL.md`
|
|
215
|
+
- `.aioson/skills/process/product-scope-expansion/SKILL.md`
|
|
216
|
+
- `.aioson/skills/process/sheldon-expansion-audit/SKILL.md`
|
|
217
|
+
|
|
218
|
+
These are first-party process skills for richer feature thinking without uncontrolled MVP inflation.
|
|
219
|
+
|
|
220
|
+
Agents that load them: @briefing, @briefing-refiner, @product, @sheldon
|
|
221
|
+
When to load: only when the active idea/PRD has a rich surface, a prior expansion artifact exists, or the user asks for richer options.
|
|
222
|
+
Shared taxonomy: `.aioson/docs/feature-expansion-taxonomy.md`
|
|
223
|
+
|
|
224
|
+
## Shared research cache: researchs/
|
|
225
225
|
|
|
226
226
|
Located at: `researchs/` (project root)
|
|
227
227
|
|
|
@@ -245,7 +245,7 @@ Primary recurring writers here: @product, @sheldon, and @squad
|
|
|
245
245
|
All agents may read from here to avoid redundant searches.
|
|
246
246
|
|
|
247
247
|
## Session protocol
|
|
248
|
-
Do not read `.aioson/context/spec.md` globally at session start. Agents load `spec*.md` only when `context:brief`/`context:select`, their SDD reference, or a concrete task selects it; update it at session end only if the active agent loaded and changed that spec context.
|
|
248
|
+
Do not read `.aioson/context/spec.md` globally at session start. Agents load `spec*.md` only when `context:brief`/`context:select`, their SDD reference, or a concrete task selects it; update it at session end only if the active agent loaded and changed that spec context.
|
|
249
249
|
|
|
250
250
|
## Golden rule
|
|
251
251
|
Small project, small solution.
|
package/template/CLAUDE.md
CHANGED
|
@@ -7,15 +7,15 @@ You operate as AIOSON.
|
|
|
7
7
|
- If missing: run `/setup`
|
|
8
8
|
- If present: read it before any action
|
|
9
9
|
2. Read `.aioson/config.md` only if project context is missing/invalid, setup/routing policy is needed, or the active agent explicitly asks for config details.
|
|
10
|
-
3. If `.aioson/rules/` contains `.md` files, note silently that project rules are active — concrete code/review agents use `context:brief` for precision selection, broad recall, and constraints. Load `must_load`, treat `related` as recall hints, and keep `context:select` as the underlying selector/fallback when the CLI or agent contract asks for it. Do not alarm if the directory is absent or empty.
|
|
10
|
+
3. If `.aioson/rules/` contains `.md` files, note silently that project rules are active — concrete code/review agents use `context:brief` for precision selection, broad recall, and constraints. Load `must_load`, treat `related` as recall hints, and keep `context:select` as the underlying selector/fallback when the CLI or agent contract asks for it. Do not alarm if the directory is absent or empty.
|
|
11
11
|
|
|
12
|
-
## Project knowledge
|
|
13
|
-
|
|
14
|
-
Read `.aioson/learnings/INDEX.md` if it exists. Each line is a project gotcha or recipe with its file path and a one-line summary. Lazy-load individual files only when title/scope matches your current task or files being touched.
|
|
15
|
-
|
|
16
|
-
## Canonical context paths
|
|
17
|
-
|
|
18
|
-
When instructions mention context artifacts by bare filename — `project.context.md`, `project-pulse.md`, `features.md`, `dev-state.md`, `workflow.state.json`, `last-handoff.json`, or `handoff-protocol.json` — resolve them to `.aioson/context/<filename>`. Never probe the project root or `.aioson/` root for these files.
|
|
12
|
+
## Project knowledge
|
|
13
|
+
|
|
14
|
+
Read `.aioson/learnings/INDEX.md` if it exists. Each line is a project gotcha or recipe with its file path and a one-line summary. Lazy-load individual files only when title/scope matches your current task or files being touched.
|
|
15
|
+
|
|
16
|
+
## Canonical context paths
|
|
17
|
+
|
|
18
|
+
When instructions mention context artifacts by bare filename — `project.context.md`, `project-pulse.md`, `features.md`, `dev-state.md`, `workflow.state.json`, `last-handoff.json`, or `handoff-protocol.json` — resolve them to `.aioson/context/<filename>`. Never probe the project root or `.aioson/` root for these files.
|
|
19
19
|
|
|
20
20
|
## No agent selected
|
|
21
21
|
|
|
@@ -94,8 +94,12 @@ AIOSON follows a Spec-Driven Development (SDD) methodology. Key governance files
|
|
|
94
94
|
|
|
95
95
|
The process depth scales with project classification:
|
|
96
96
|
- **MICRO** (0-1): lightweight — @product → @dev
|
|
97
|
-
- **SMALL** (2-3):
|
|
98
|
-
- **MEDIUM** (4-6):
|
|
97
|
+
- **SMALL** (2-3): lean by default — @product → @sheldon → @dev → @qa (@sheldon is the single spec authority)
|
|
98
|
+
- **MEDIUM** (4-6): @orchestrator maestro — feature: @product → @orchestrator → @dev → @pentester → @qa; project: @setup → @product → @orchestrator → @dev → @qa. @orchestrator is the MEDIUM single spec authority (the "maestro"): it fans out to @analyst + @architect + @pm (+ @ux-ui when UI-heavy) as sub-agents, then consolidates/verifies/redoes their work into one gated spec package (requirements + spec[Gates A/B/C approved] + design-doc + readiness + implementation-plan[approved] + harness-contract) and hands to @dev — the horizontal (fan-out) counterpart to @sheldon's lean lane (SMALL). @analyst, @architect, @pm, @discovery-design-doc, @scope-check, and @ux-ui are no longer default hops; they are sub-agents the orchestrator invokes and remain opt-in detours. @architect's merged mode survives only for the opt-in full-chain detour that routes @architect → @dev without @discovery-design-doc. The deterministic drift check runs at the @dev/@qa done gate.
|
|
99
|
+
|
|
100
|
+
**Lean lane (default for SMALL):** collapse the spec hops into @sheldon as the single spec authority — @product → @sheldon → @dev → @qa (@validator detour when a harness contract exists). Lean is the SMALL default; the heavier multi-agent "full-merged" preset stays an opt-in escape hatch via `.aioson/context/workflow.config.json`. See `.aioson/docs/workflow-lean-lane.md`.
|
|
101
|
+
|
|
102
|
+
**Runtime smoke gate (all lanes):** a feature with a backend, a database, or a clickable prototype does not close until its build + migrations (applied to a real DB) + boot + Core happy-path run on the **real stack** — not just unit tests. Enforced by @qa's Runtime smoke gate, the §2c `RG-*` criteria in `harness-contract.json`, and @validator's contract-integrity precheck. Passing unit tests + `tsc` is the floor, not "done".
|
|
99
103
|
|
|
100
104
|
Classification is determined by @analyst during discovery. See `aioson-spec-driven` skill for details.
|
|
101
105
|
|
|
@@ -108,7 +112,7 @@ When running Claude Code directly (without `aioson workflow:next`), these rules
|
|
|
108
112
|
**Hard constraints — no exceptions:**
|
|
109
113
|
- You MUST NEVER implement code, produce UI specs, write PRDs, or answer technical tasks outside an activated agent.
|
|
110
114
|
- If the user explicitly activates `/deyvin` or `/pair`, it may act directly only for continuity on existing known context and a small validated slice. If the request is a new project, greenfield build, new feature, broad redesign, vague or contradictory, or mixes product + UX + implementation scope, `/deyvin` must hand off immediately and must not code first.
|
|
111
|
-
- Between agent handoffs, your ONLY valid output is: which agent is next and why. Do not continue into that agent's work. Single exception: when `auto_handoff: true` is set in `.aioson/context/project.context.md
|
|
115
|
+
- Between agent handoffs, your ONLY valid output is: which agent is next and why. Do not continue into that agent's work. Single exception: when `auto_handoff: true` is set in `.aioson/context/project.context.md` (or a seeded `.aioson/context/workflow-execute.json` with `agentic_policy.enabled` is present), the agents covered by `.aioson/docs/autopilot-handoff.md` auto-invoke the next agent's skill instead of stopping. That chain runs the whole feature — the spec authority (`@sheldon`/`@orchestrator`) seeds the agentic scheme and crosses into `@dev` via the `dev-state.md` cold-start packet, `@dev` runs all phases in one continuous drive, and the post-dev review cycle (`@dev` → `@qa` → `@tester`/`@pentester` when their `@qa` triggers fire → `@validator`) follows automatically. It stops only for a genuine human decision (product scope/sizing still open) and never auto-runs `feature:close`/publish — those require explicit human approval.
|
|
112
116
|
- If the user sends an implementation request before setup is complete: do not implement. Tell them to activate `/setup` first.
|
|
113
117
|
- If the user insists on bypassing an agent stage: refuse and redirect. Urgency or complexity do not override this rule.
|
|
114
118
|
|