@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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,82 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.37.0] - 2026-07-06
|
|
6
|
+
|
|
7
|
+
**Full-feature autopilot + CLI-owned briefing refinement.** Two independent arcs land together. A feature built the normal way (`@product` → `@sheldon`/`@orchestrator` → `@dev`) can now run unattended through `@qa`/`@tester`/`@pentester`/`@validator` to `feature:close` — stopping only at genuine human decisions; `@product` asks the run mode once at kickoff (no hidden flag), settable inline (`--auto`/`--step`) or disarmed per feature. Separately, `@briefing-refiner`'s review surface stops being hand-written every round: the CLI now owns the schema, the render, and the apply, closing an explicit iterate-until-clean loop.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **Full-feature autopilot.** `workflow:execute --seed` seeds the agentic scheme without advancing (idempotent, feature-scoped); `@product`/`@sheldon`/`@orchestrator` seed it and cross the pre-`@dev` gate via the `dev-state.md` cold-start packet; `@dev`/`@qa` honor it through the post-dev review cycle. `@product` asks the run mode on screen at kickoff (Autopilot / Step by step / Always autopilot) — never silent-manual by default. (`e24bfa5`, `9afc993`)
|
|
11
|
+
- **Inline run-mode tokens** `--auto`/`--step` — `/product --auto <task>` / `/product --step <task>` answer the kickoff question inline (highest precedence); `/dev --auto` / `/dev --step` arm or disarm autopilot mid-chain for the current feature. Disarm is record-only (`workflow:execute --seed --step`) and beats a project-wide `auto_handoff: true` for that feature. (`70e826b`)
|
|
12
|
+
- **`--help` activation token** on the 13 most-used agents — localized quick help (what/when/options/artifacts/next agents), zero kernel-byte cost beyond a 3-line trigger to the shared `agent-help.md`. (`bafaa2a`)
|
|
13
|
+
- **`aioson briefing:review`** — parses `briefings.md`, strictly validates the agent's audit findings (`refinement-findings.json`: category/severity/blocking/recommendation per section), and renders the localized `review.html` + canonical `refinement-feedback.json` (schema **v1.1**: `findings[]` + `round`) + `refinement-report.md`. Refuses to clobber user-exported pending feedback (`--force` to override); the round counter survives applies via the per-round archives. (`43661a7`)
|
|
14
|
+
- **`aioson briefing:apply-feedback`** — dry-run validation + summary without `--confirm` (the agent presents it and asks), real apply with it: structured-JSON-only edits, mandatory sections preserved, `approved` → `draft` revert, consumed feedback/findings archived as `*.applied-round{N}.json`. A **pending blocking finding** forces `resolve_blockers` even when `blocking_items` is empty. `--declined` records skipped changes without touching the briefing. (`43661a7`)
|
|
15
|
+
- **`review.html` v2** — audit findings rendered per section with their own decision (`pending`/`accepted`/`rejected`/`deferred`) and working category filters; **localStorage autosave + draft restore** (closing the tab loses nothing); File System Access saves with a persistent handle and **degrades to download on SecurityError** (the sandboxed-preview bug); a **copy-path** affordance next to the save target and a stable save-picker id so the OS dialog reopens in the briefing folder on later rounds; en/pt localized surface. (`43661a7` + polish)
|
|
16
|
+
- **`verify:artifact --kind=review`** + `briefing-refiner` in `AGENT_ARTIFACT_KIND` — the done-gate auto-fires at `agent:done --slug=...` and rejects hand-rolled surfaces (missing marker / fallbacks / external resources / invalid feedback JSON); staleness after an apply is advisory. (`43661a7`)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- **`@dev` phase-loop no longer self-stops.** The loop told `@dev` to `/compact` between phases — on Claude Code that ends the turn, so a feature ran one phase and waited instead of driving to the end. `@dev` never self-issues `/compact` now; `verification:plan` emits a deterministic `continuation_directive` instead. (`3a0fd34`)
|
|
20
|
+
- **Autopilot chain-integrity audit** — four bugs behind the same reported symptom ("dev finished → manual /qa handoff"): a lean-lane `@sheldon` stage could re-activate backwards after `@dev` completed; tracked sessions didn't consult the seeded scheme as an autopilot signal; `--seed` hard-failed on a stale abandoned-feature guard instead of reseeding; downstream triggers didn't check the seeded scheme's feature slug against the current one. (`a0010cd`)
|
|
21
|
+
- **Boolean-only argv flags** — `--seed` / `--seed-only` / `--confirm` / `--declined` / `--allow-stale` / `--step` could each swallow the path positional (e.g. `--declined .` silently defaulted to cwd). (`8a9999a`, `abc1058`, `70e826b`)
|
|
22
|
+
- **`feature:close` retires per-feature runtime pointers** (`dev-state.md`, `workflow.state.json`, `workflow-execute.json`) when they reference the closed slug, so a future `@dev` cold-start can't "resume" a done feature and the next feature's `--seed` doesn't collide. (`bd34451`)
|
|
23
|
+
- **Declined feedback no longer dead-ends the loop** — `briefing:apply-feedback --declined` archives the consumed feedback (`refinement-feedback.declined-round{N}.json`, findings kept since the briefing did not change) so the next `briefing:review` regenerates without `--force`, the declined round still counts toward the round counter, and declining stale feedback is allowed (decline writes nothing, so the source-hash guard does not apply). `kind=review` external-resource check hardened against false positives from briefing text quoting HTML/CSS. (`abc1058`)
|
|
24
|
+
- **Windows executable resolver** never tests the extensionless candidate on `win32` — npm's extensionless shim is a shell script that `ENOENT`s on spawn despite existing (hit via `codex`/`opencode`); malformed `PATHEXT` empty segments are filtered, and a spawn failure between `spawn()` and the child-wait now fails cleanly instead of surfacing as an unhandled error (or a false exit code 0). (`25dcb60`)
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- **`@briefing-refiner`** rewritten around the CLI: explicit refinement-loop contract (generate → collect → dry-run + confirm apply → regenerate while blockers or material text changes remain → exit to `briefing:approve`/`@product` or prototype mode); handoff names the three feedback-return routes (direct save / download+replace / **paste JSON in the chat**) and instructs opening `review.html` in a real browser — editor previews are sandboxed; a non-blocking finding nudges the reference-image identity route for rich surfaces with no `identity.md`; the V1 "no dedicated refinement CLI" constraint is retired. Answers left in finding/section `note` fields are folded into `current_text` by the agent before the CLI writes — notes alone never reach the briefing. (`ad22cda`, `abc1058`)
|
|
28
|
+
- **`identity.md` reaches every consumer of the `interface-design` engine** — the engine's SKILL now resolves it first (briefing scope → project brand → intent-first) so any consumer inherits the step; `@dev` reads it as a feature-mode UI input next to the prototype reference (a lean-lane feature without prototype/ux-ui no longer ships generic visuals over an existing brand); `@ux-ui`'s blank-`design_skill` stop offers the reference-image route alongside presets, mirroring `@setup`. (`35891f9`)
|
|
29
|
+
- **Docs sweep** — `autopilot-handoff.md` rewritten to the current model (tokens, precedence, seeding, stop conditions) with an English counterpart; 14 PT/EN pages updated to the CLI-owned refinement loop and identity routes; agent-count headers and cycle-cap references corrected. (`95b99d5`, `90c77d1`, `16f9172`, `4c6507e`)
|
|
30
|
+
|
|
31
|
+
Suite green (3587 pass / 0 fail / 1 skip).
|
|
32
|
+
|
|
33
|
+
## [1.36.0] - 2026-06-30
|
|
34
|
+
|
|
35
|
+
**Reference-image-driven visual identity.** A project's UI no longer has to inherit a fixed design preset's identical look (the generic, "made-by-AI" sameness). The user provides reference images — a brand/identity set and an optional component/structure set — which are extracted **once** into a text `identity.md` that the `interface-design` engine applies. The build reads the text, never the images, so it ports to a vision-less harness, is user-editable, and is gateable. Purely **additive** — the fixed presets stay as raw material for `@design-hybrid-forge` / `@site-forge`; the new path is the recommended default alongside them.
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- **`reference-identity-extract` process skill.** One vision pass reads the identity + structure images and emits `identity.md` (palette / type / spacing / depth / motion / signature moves + per-component structure notes); the image-less fallback defers to `interface-design`'s intent-first Phase 0. Lives under `skills/process/` (always installed), not `skills/design/` (profile-gated at install). (`d0e21c3`)
|
|
39
|
+
- **`verify:artifact --kind=identity`** — a build-free gate (resolved via `--file`) proving the token skeleton, both anti-sameness anchors (pillars + signature moves), and the component-structure section are present, with no placeholder / unfilled hex. `availableKinds()` self-registers it; two new paths appended to `MANAGED_FILES` for `aioson update` backup-safety (no preset enumeration touched). (`d0e21c3`)
|
|
40
|
+
- **`docs/reference-identity.md`** documents the flow, the two scopes (per-briefing `.aioson/briefings/{slug}/identity.md` and project brand `.aioson/context/identity.md`), the gate, and the no-vision / cross-harness fallback. (`d0e21c3`)
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
- **`@briefing-refiner` prototype mode** gains the reference-image intake: the user drops images into `references/{identity,structure}/`, the agent extracts `identity.md` and self-gates; no images → `interface-design` runs intent-first (never blocks). **`@setup` Step 5** offers "interface-design + reference images" as the recommended visual route (still explicit-confirm, no auto-select). (`d0e21c3`)
|
|
44
|
+
- **`@ux-ui` Step 0** frames `identity.md` as the INPUT that parameterizes the single `interface-design` engine — not a second skill, so ONE SKILL ONLY is preserved. `prototype-forge` consumes it as the engine overlay; `interface-design`'s continuity note reuses it as the extracted-from-references form of `system.md`. (`d0e21c3`)
|
|
45
|
+
|
|
46
|
+
Suite green (3549 pass / 0 fail); +14 tests (5 `identity` ruleset, 9 wiring/parity).
|
|
47
|
+
|
|
48
|
+
## [1.35.0] - 2026-06-28
|
|
49
|
+
|
|
50
|
+
The **lean-harness redesign**: fewer default agent hops, with quality held by deterministic gates and configurable verification sub-agents rather than by agent count. SMALL and MEDIUM now each route through a single spec authority; `@analyst` / `@architect` / `@pm` / `@discovery-design-doc` / `@scope-check` / `@ux-ui` become opt-in detours (none deleted).
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
- **SMALL is the lean lane by default.** The default SMALL chain is now `@product → @sheldon → @dev → @qa` (was `@product → @analyst → @scope-check → @architect → @discovery-design-doc → @dev → @qa`), with `@sheldon` as the single spec authority. Supersedes 1.34.0's *opt-in* lean lane. Updated in both routing sources (`workflow-next.js` + `workflow-plan.js`). (`aea0894`)
|
|
54
|
+
- **MEDIUM is the `@orchestrator` maestro.** The default MEDIUM chain is now `@product → @orchestrator → @dev → @pentester → @qa` (project: `@setup → @product → @orchestrator → @dev → @qa`). `@orchestrator` is repurposed from a paper-protocol parallel-lane coordinator into the MEDIUM single spec authority — it **fans out** to `@analyst` / `@architect` / `@pm` (+ `@ux-ui` when UI-heavy) sub-agents, then consolidates / verifies / redoes their output into one gated spec package (requirements + spec [Gates A/B/C approved] + design-doc + readiness + implementation-plan + harness-contract) and hands to `@dev` — the horizontal counterpart to `@sheldon`'s vertical lean lane. (`d03e1ec`)
|
|
55
|
+
- **Spec hops demoted to opt-in detours** (none deleted): `@discovery-design-doc`, `@scope-check`, `@ux-ui` (3b) and `@analyst`, `@architect`, `@pm` (4a). `@architect` runs in **merged mode** by default (also producing design-doc + readiness + dev-state) when the active sequence omits `@discovery-design-doc`; `@scope-check`'s deterministic drift check (`spec:analyze`) is now enforced at the `@dev` / `@qa` done gate (`finalizeCurrentStage`), blocking on real drift (readiness-blocked / invalid harness contract) without false-blocking artifact-light features. (`6db76f9`)
|
|
56
|
+
|
|
57
|
+
### Added
|
|
58
|
+
- **Per-agent, per-host verification config.** `.aioson/config/verification.json` (auto-generated, hand-editable) declares which verification sub-agents (`qa` / `tester` / `pentester` / `validator`) run, when (`per-phase` / `end-of-feature` / `sensitive-surface`), and on which model — keyed by host harness with `native` (in-harness sub-agent on a Claude tier or the host's own model) vs `external` (cross-vendor auditor) dispatch, plus a token budget. `src/verification-policy.js` is the reader; degrades to safe defaults on a missing/malformed file. (`dc4bd42`)
|
|
59
|
+
- **`aioson verification:plan` + `@dev` phase loop.** The new deterministic command resolves, for a slug + trigger + host, which verifiers run and on which model. `@dev` now runs a phased plan as a loop that **auto-continues by default** (no human "continue?" between phases), compacts between phases (`dev:state:write` → `/compact` or fresh context → `dev:resume-data`), and runs the per-phase verification whose report replaces the human checkpoint. Per-phase checks are light and suppressed on MICRO; the full runtime smoke runs once at end-of-feature. Full protocol in `.aioson/docs/dev/phase-loop.md`. (`4c6ac66`)
|
|
60
|
+
- **Single-spec-authority handoff gate + `@sheldon` PRD-enrichment step.** `handoff-contract.js` now enforces the collapsed done-gate (Gates A/B/C + approved implementation-plan + contract integrity) for **both** the lean `@sheldon` lane and the maestro `@orchestrator` lane; the orchestrator's expected artifacts become the gated spec package in maestro mode. The MEDIUM maestro can optionally harden the PRD via `@sheldon`'s enrichment first (opt-in pre-step or a fan-out stream — never a mandatory hop). (`d03e1ec`, `da0c1dd`)
|
|
61
|
+
|
|
62
|
+
### Docs
|
|
63
|
+
- Swept the framework documentation to the new default chains — `CLAUDE.md`, `config.md`, `autopilot-handoff.md`, `workflow-lean-lane.md` (premise flipped: lean is the SMALL default, "full-merged" is the opt-in heavier chain), the `aioson-spec-driven` skill + references, `prd-contract.md`, `LAYERS.md`, and `pm.md`. (`75104d5`, `8e7b0e1`)
|
|
64
|
+
|
|
65
|
+
## [1.34.0] - 2026-06-27
|
|
66
|
+
|
|
67
|
+
### Added
|
|
68
|
+
- **Mandatory runtime smoke gate.** A feature with a backend, a database, or a clickable prototype no longer closes on green unit tests + `tsc` alone. The §2c `RG-build` / `RG-migrate` / `RG-boot` / `RG-smoke` criteria must run on the real stack. `@qa`'s Runtime smoke gate, `@validator`'s Step-0 precheck, and the `harness-contract` schema enforce it.
|
|
69
|
+
- **Deterministic contract-integrity gate.** New `src/harness/contract-integrity.js` + `contract-integrity-gate.js` flag a runtime feature whose contract is missing / has no `RG-*` / pads binary criteria with duplicate verification commands. It is wired as a real gate into `workflow:next --complete=dev|qa` and `feature:close --verdict=PASS` (hard-blocks, independent of `ready_for_done_gate`), and as a non-blocking advisory `contract:integrity` step in `agent:epilogue` for untracked sessions. Runtime detection uses prototype-manifest, migration/Prisma paths in `progress.*`, and the git working tree; the same detection backs standalone `aioson harness:check`.
|
|
70
|
+
- **Opt-in lean lane + full-merged preset.** Drop `.aioson/docs/presets/workflow.config.lean.json` into `.aioson/context/workflow.config.json` to route `@product → @sheldon → @dev → @qa`, with `@sheldon` as single spec authority (RF-LEAN) producing requirements/spec/design-doc/readiness/implementation-plan/harness-contract in one pass. The `full-merged` preset instead folds `@discovery-design-doc` into `@architect`. Built-in `src/` routing defaults are unchanged (full chain stays the default).
|
|
71
|
+
- **Deterministic lean detection for `@sheldon`.** `agent:prompt sheldon` reads `workflow.config.json` and injects the RF-LEAN directive when the lean lane is active, so a directly-activated `@sheldon` no longer falls back to enrichment mode and hands to `@analyst`.
|
|
72
|
+
- **`aioson review:feature`.** One-shot review pass for an already-implemented feature: resolves the slug, runs the deterministic `security:audit`, and prepares the `@pentester` + `@tester` activation prompts (`--scope`, `--skip-audit`, `--out-dir`, `--json`). `agent:prompt tester --feature=<slug>` now pins the slug so a standalone post-close test pass stays feature-scoped.
|
|
73
|
+
- **Git-build traceability.** `aioson --version` reports `1.34.0 (<sha>, <date>)` from a git checkout (JSON adds `git_sha`/`git_date`); `install`/`update` stamp `template_git_sha`/`template_git_date` into each project's `.aioson/install.json`. Lets a linked dev framework report exactly which commit is installed without a per-commit version bump.
|
|
74
|
+
|
|
75
|
+
### Fixed
|
|
76
|
+
- **Lean Gate-C dead-end.** The lean lane stalled at `@dev` because no agent produced `spec-{slug}.md`. `@sheldon`'s handoff contract now structurally requires the lean bridge artifacts (spec + approved gates A/B/C + approved implementation-plan + a valid runtime contract).
|
|
77
|
+
- **Runtime-gate coverage at all sizes.** A runtime feature now requires the `RG-*` contract at every classification (was MEDIUM-only), closing the hole where a MICRO/SMALL backend feature closed with prose-only gates.
|
|
78
|
+
- **Cross-platform `sync:agents`.** Replaced the `rsync` step (silently a no-op on Windows) with a Node copy, excluded live project-state from the sync, and preserved the `<!-- AIOSON:BEGIN/END -->` managed block in gateway files (CLAUDE.md / AGENTS.md / OPENCODE.md) instead of stripping it.
|
|
79
|
+
- **Windows `live:start` false "session already active".** `live` now reconciles a dead PID via a `tasklist` probe instead of leaving it `unknown` when `process.kill(pid, 0)` throws `EPERM`.
|
|
80
|
+
|
|
5
81
|
## [1.33.1] - 2026-06-24
|
|
6
82
|
|
|
7
83
|
### Fixed
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **Who this is for:** anyone who wants to see the full team at once.
|
|
4
4
|
> **Reading time:** 8 min
|
|
5
|
-
> **What you'll know after:** who the 29 agents are, when each one enters, and how they communicate.
|
|
5
|
+
> **What you'll know after:** who the 29 agents are, when each one enters, and how they communicate.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -27,11 +27,18 @@
|
|
|
27
27
|
┌──────────────────────────────────────┐
|
|
28
28
|
│ DEVELOPMENT CORE │
|
|
29
29
|
│ │
|
|
30
|
-
│ Product →
|
|
31
|
-
│
|
|
32
|
-
│
|
|
33
|
-
│
|
|
30
|
+
│ MICRO: Product → Dev → QA │
|
|
31
|
+
│ SMALL: Product → Sheldon → Dev │
|
|
32
|
+
│ → QA │
|
|
33
|
+
│ MEDIUM: Product → Orchestrator │
|
|
34
|
+
│ → Dev → Pentester → QA │
|
|
34
35
|
│ │
|
|
36
|
+
│ Spec sub-agents (opt-in/fan-out): │
|
|
37
|
+
│ Analyst · Architect · PM · UX-UI │
|
|
38
|
+
│ Scope-Check · Discovery-Design-Doc │
|
|
39
|
+
│ │
|
|
40
|
+
│ Post-dev (on demand): │
|
|
41
|
+
│ Validator · Tester · Pentester │
|
|
35
42
|
└──────────────────────────────────────┘
|
|
36
43
|
│
|
|
37
44
|
▼
|
|
@@ -68,28 +75,28 @@
|
|
|
68
75
|
|
|
69
76
|
### 2. Development core (official workflow)
|
|
70
77
|
|
|
71
|
-
The default
|
|
78
|
+
The default lane depends on the classification:
|
|
72
79
|
|
|
73
|
-
**MICRO:** `@setup → @product
|
|
74
|
-
**SMALL:** `@setup → @product → @sheldon
|
|
75
|
-
**MEDIUM:** `@setup → @product → @
|
|
80
|
+
**MICRO:** `@setup → @product → @dev → @qa`
|
|
81
|
+
**SMALL (lean — default):** `@setup → @product → @sheldon → @dev → @qa`
|
|
82
|
+
**MEDIUM (maestro):** `@setup → @product → @orchestrator → @dev → @pentester → @qa`
|
|
76
83
|
|
|
77
|
-
> **
|
|
84
|
+
> **The spec authority changes by size.** For SMALL, `@sheldon` is the **single spec authority** — in one pass it produces requirements + spec (Gates A/B/C approved) + design-doc + readiness + implementation-plan + harness-contract. For MEDIUM, `@orchestrator` is the **maestro** — it fans out `@analyst`/`@architect`/`@pm` (+ `@ux-ui` for UI-heavy) as sub-agents, then consolidates and gates the full spec package. 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 invoked by default in the new lanes.
|
|
78
85
|
|
|
79
86
|
| Agent | What it does | Main output |
|
|
80
87
|
|---|---|---|
|
|
81
88
|
| **`@product`** | Defines vision, scope, feature PRD | `prd.md`, `spec.md` |
|
|
82
|
-
| **`@sheldon`** |
|
|
83
|
-
| **`@analyst`** |
|
|
84
|
-
| **`@architect`** | Technical decisions: structure, libs, integrations | `architecture.md` (decisions) |
|
|
85
|
-
| **`@ux-ui`** |
|
|
86
|
-
| **`@pm`** | Backlog, user stories,
|
|
87
|
-
| **`@orchestrator`** |
|
|
88
|
-
| **`@dev`** | Implements the feature | Code + `dev-state.md` |
|
|
89
|
-
| **`@qa`** | Writes tests, validates ACs, autonomous fix cycle (cap
|
|
90
|
-
| **`@validator`** | Technically validates against `harness-contract.json` in a context
|
|
91
|
-
| **`@tester`** | Systematic test engineering (legacy/brownfield) | `test-inventory.md`, coverage tier |
|
|
92
|
-
| **`@pentester`** | Adversarial security review (OWASP, LLM Top 10) | `security-findings-*.json` |
|
|
89
|
+
| **`@sheldon`** | **SMALL single spec authority** — one pass: requirements + spec (Gates A/B/C) + design-doc + readiness + implementation-plan + harness-contract. Also a PRD-hardening / enrichment capability usable in any lane. | `requirements-{slug}.md`, `design-doc-{slug}.md`, `readiness-{slug}.md`, `implementation-plan.md`, `harness-contract.json` |
|
|
90
|
+
| **`@analyst`** | Domain discovery — entities, flows, brownfield mapping. **Opt-in detour / fan-out sub-agent** (invoked by `@orchestrator` in MEDIUM) | `architecture.md`, ER diagrams |
|
|
91
|
+
| **`@architect`** | Technical decisions: structure, libs, integrations. **Opt-in detour / fan-out sub-agent**; runs in **merged mode** (also produces design-doc + readiness) when `@discovery-design-doc` is omitted | `architecture.md` (decisions) |
|
|
92
|
+
| **`@ux-ui`** | UI/UX spec — **opt-in detour** for UI-heavy specs; `@dev` applies design skills directly | `design-doc.md`, `discovery.md` |
|
|
93
|
+
| **`@pm`** | Backlog, user stories, implementation plan (Gate C). **Opt-in detour / fan-out sub-agent** (MEDIUM) | `tasks.md`, user stories |
|
|
94
|
+
| **`@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. | `parallel/`, execution plan, consolidated spec package |
|
|
95
|
+
| **`@dev`** | Implements the feature — runs phases as a **loop**: auto-continues between phases, compacts context between phases, per-phase verification (light sub-agent). Full Runtime smoke runs once at end-of-feature. | Code + `dev-state.md` |
|
|
96
|
+
| **`@qa`** | Writes tests, validates ACs, autonomous fix cycle (cap 3), hub of the post-dev autopilot review cycle. Owns Gate D: **Runtime smoke gate** (build + migrations on real DB + boot + Core happy-path on REAL stack). | `test-plan.md`, `qa-report-*.md` |
|
|
97
|
+
| **`@validator`** | Technically validates against `harness-contract.json` in a **fresh isolated context** (detour when a harness contract exists) | `.aioson/plans/{slug}/last-validator-output.json` |
|
|
98
|
+
| **`@tester`** | Systematic test engineering (legacy/brownfield) — triggered by `@qa` when conditions fire | `test-inventory.md`, coverage tier |
|
|
99
|
+
| **`@pentester`** | Adversarial security review (OWASP, LLM Top 10). Inline in MEDIUM; opt-in in SMALL. | `security-findings-*.json` |
|
|
93
100
|
|
|
94
101
|
### 3. Continuity and delivery
|
|
95
102
|
|
|
@@ -112,7 +119,7 @@ The default order depends on the classification:
|
|
|
112
119
|
| **`@design-hybrid-forge`** | Combines two design skills into a hybrid |
|
|
113
120
|
| **`@orache`** | Domain investigation and strategic research |
|
|
114
121
|
| **`@copywriter`** | Conversion copy for landing pages, emails |
|
|
115
|
-
| **`@discovery-design-doc`** | Discovery + design doc combined
|
|
122
|
+
| **`@discovery-design-doc`** | Discovery + design doc combined — opt-in; absorbed by `@architect` merged mode, `@sheldon`, or `@orchestrator` by default |
|
|
116
123
|
|
|
117
124
|
---
|
|
118
125
|
|
|
@@ -207,16 +214,25 @@ You > @product
|
|
|
207
214
|
@product > Let's start a feature. What's it called? What's the problem?
|
|
208
215
|
You > "checkout-stripe", complete order with card payment.
|
|
209
216
|
@product > [...several questions...] Spec created at context/features/checkout-stripe/spec.md.
|
|
210
|
-
@product > Next: @
|
|
217
|
+
@product > Next: @sheldon to close the spec and produce the implementation package.
|
|
211
218
|
|
|
212
219
|
─── Session 2 (next day) ───
|
|
213
220
|
You > @neo
|
|
214
|
-
@neo > You stopped at @product. Next: @
|
|
215
|
-
You > @
|
|
216
|
-
@
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
221
|
+
@neo > You stopped at @product. Next: @sheldon (single spec authority for SMALL).
|
|
222
|
+
You > @sheldon
|
|
223
|
+
@sheldon > Reading spec.md + codebase... Detected 2 gaps: no idempotency policy on Stripe webhook,
|
|
224
|
+
no AC for payment failure retry. Researching Stripe docs...
|
|
225
|
+
@sheldon > Spec package ready: requirements, design-doc, readiness (Gate B), implementation-plan (2 phases),
|
|
226
|
+
harness-contract.json. Gates A/B/C: approved. Next: @dev.
|
|
227
|
+
|
|
228
|
+
─── Session 3 ───
|
|
229
|
+
You > @dev
|
|
230
|
+
@dev > Reading implementation-plan.md. 2 phases.
|
|
231
|
+
Phase 1/2: Stripe integration + webhook... harness:check OK. Compacting...
|
|
232
|
+
Phase 2/2: UI checkout flow... harness:check OK. dev-state.md updated. Next: @qa.
|
|
233
|
+
|
|
234
|
+
You > @qa
|
|
235
|
+
@qa > 12 ACs. Tests written. 12/12 OK. Runtime smoke: PASS. Feature ready.
|
|
220
236
|
```
|
|
221
237
|
|
|
222
238
|
---
|
|
@@ -72,9 +72,9 @@ Terms in alphabetical order. Each entry has a **short definition** + **concrete
|
|
|
72
72
|
**Definition:** the size of the project, calculated from 3 factors (user types, external integrations, business rules). Determines how much ceremony the workflow applies.
|
|
73
73
|
|
|
74
74
|
**How it works:**
|
|
75
|
-
- 0–1 points → **MICRO** (`@setup → @product → @dev`)
|
|
76
|
-
- 2–3 points → **SMALL** (`@setup → @product → @
|
|
77
|
-
- 4–6 points → **MEDIUM** (
|
|
75
|
+
- 0–1 points → **MICRO** (`@setup → @product → @dev → @qa`)
|
|
76
|
+
- 2–3 points → **SMALL** lean default (`@setup → @product → @sheldon → @dev → @qa`) — `@sheldon` is the single spec authority
|
|
77
|
+
- 4–6 points → **MEDIUM** maestro (`@setup → @product → @orchestrator → @dev → @pentester → @qa`) — `@orchestrator` fans out `@analyst`/`@architect`/`@pm` as sub-agents
|
|
78
78
|
|
|
79
79
|
**Where it appears:** `classification:` in the `project.context.md` frontmatter.
|
|
80
80
|
|
|
@@ -129,7 +129,7 @@ Terms in alphabetical order. Each entry has a **short definition** + **concrete
|
|
|
129
129
|
|
|
130
130
|
**Ready-made examples:** Clean SaaS UI, Aurora Command UI, Cognitive Core UI, Bold Editorial UI, Warm Craft UI, Glassmorphism UI, Neo Brutalist UI.
|
|
131
131
|
|
|
132
|
-
**Where to choose:** during `aioson init`, in the wizard.
|
|
132
|
+
**Where to choose:** during `aioson init`, in the wizard, or later with `@setup`/`@ux-ui`. The recommended route is the `interface-design` engine driven by your own **reference images**, extracted once into an `identity.md` the engine applies; the presets remain an explicit alternative.
|
|
133
133
|
|
|
134
134
|
---
|
|
135
135
|
|
|
@@ -197,7 +197,7 @@ Terms in alphabetical order. Each entry has a **short definition** + **concrete
|
|
|
197
197
|
|
|
198
198
|
## Pipeline / Workflow
|
|
199
199
|
|
|
200
|
-
**Definition:** the ordered sequence of agents that AIOSON applies to a feature, based on the classification.
|
|
200
|
+
**Definition:** the ordered sequence of agents that AIOSON applies to a feature, based on the classification. Three default lanes exist: MICRO (`@product → @dev → @qa`), SMALL lean (`@product → @sheldon → @dev → @qa`), and MEDIUM maestro (`@product → @orchestrator → @dev → @pentester → @qa`). Spec agents like `@analyst`, `@architect`, `@pm`, and `@ux-ui` are opt-in detours or fan-out sub-agents — not default hops.
|
|
201
201
|
|
|
202
202
|
**Central command:** `aioson workflow:next .` — shows which agent is next.
|
|
203
203
|
|
|
@@ -255,7 +255,7 @@ Terms in alphabetical order. Each entry has a **short definition** + **concrete
|
|
|
255
255
|
|
|
256
256
|
**Example:** a "legal compliance" squad with agents `@regulator`, `@attorney`, `@auditor`, under the command of `@squad`.
|
|
257
257
|
|
|
258
|
-
**Commands:** `aioson squad:scaffold`, `squad:agent-create`, `squad:doctor`.
|
|
258
|
+
**Commands:** `aioson squad:scaffold`, `squad:agent-create`, `squad:doctor`.
|
|
259
259
|
|
|
260
260
|
---
|
|
261
261
|
|
|
@@ -20,9 +20,9 @@ Imagine you want to build a house.
|
|
|
20
20
|
|
|
21
21
|
- **Briefing** listens to your raw idea (the "napkin sketch") and hands back a structured briefing — with risks and open questions — *before* it becomes a project.
|
|
22
22
|
- **Product** understands what you want to build and why — and writes the PRD.
|
|
23
|
-
- **Sheldon**
|
|
24
|
-
- **Analyst** discovers what already exists in the codebase and what's missing.
|
|
25
|
-
- **Architect** designs the structure.
|
|
23
|
+
- **Sheldon** is the spec authority for SMALL projects: in one pass it closes the PRD, writes the requirements, designs the technical structure, produces the implementation plan, and authors the harness contract. In larger (MEDIUM) projects it hardens the PRD before the full maestro phase.
|
|
24
|
+
- **Analyst** discovers what already exists in the codebase and what's missing (opt-in detour, or fan-out sub-agent in MEDIUM).
|
|
25
|
+
- **Architect** designs the structure (opt-in detour, or fan-out sub-agent in MEDIUM).
|
|
26
26
|
- **UX-UI** designs how the end user will live there.
|
|
27
27
|
- **Dev** builds.
|
|
28
28
|
- **Deyvin** is the site foreman who picks up the job when you return from a trip: reads what's confirmed, flags what's inferred, and proceeds one small step at a time without you having to re-explain anything.
|
|
@@ -56,7 +56,7 @@ your-project/
|
|
|
56
56
|
│ ├── rules/ ← hard rules agents follow (security, etc.)
|
|
57
57
|
│ ├── skills/ ← pluggable packages (design systems, processes)
|
|
58
58
|
│ └── runtime/ ← local telemetry (SQLite)
|
|
59
|
-
├── .claude/ .codex/ ← native client config
|
|
59
|
+
├── .claude/ .codex/ ← native client config
|
|
60
60
|
├── CLAUDE.md AGENTS.md OPENCODE.md ← per-client instructions
|
|
61
61
|
└── docs/ ← optional documentation
|
|
62
62
|
```
|
|
@@ -85,7 +85,7 @@ Agents are *prompts*, not plugins. They live in `.md` files and your AI client r
|
|
|
85
85
|
- **You want to explore an idea freely** in 5 minutes. AIOSON asks for setup first.
|
|
86
86
|
- **You won't open the project again.** The value is precisely in repeated sessions.
|
|
87
87
|
|
|
88
|
-
For these cases, AIOSON itself has a lightweight path — the **MICRO** classification (`@setup → @product → @dev`). But if even that doesn't fit, don't force it.
|
|
88
|
+
For these cases, AIOSON itself has a lightweight path — the **MICRO** classification (`@setup → @product → @dev → @qa`). But if even that doesn't fit, don't force it.
|
|
89
89
|
|
|
90
90
|
## Next step
|
|
91
91
|
|
|
@@ -30,9 +30,9 @@ The interactive wizard appears:
|
|
|
30
30
|
|
|
31
31
|
```
|
|
32
32
|
? Which AI tools? ›
|
|
33
|
-
◉ Claude Code
|
|
34
|
-
◉ Codex CLI
|
|
35
|
-
◯ OpenCode
|
|
33
|
+
◉ Claude Code
|
|
34
|
+
◉ Codex CLI
|
|
35
|
+
◯ OpenCode
|
|
36
36
|
|
|
37
37
|
? Mode? ›
|
|
38
38
|
◉ Development
|
|
@@ -100,8 +100,8 @@ You > Yes — discount policy by customer tier, commission rules
|
|
|
100
100
|
@setup > project.context.md created with MEDIUM classification.
|
|
101
101
|
@setup > Since you already have running code, I recommend:
|
|
102
102
|
- Run @discover to build the semantic cache
|
|
103
|
-
- Then @analyst to map the existing domain
|
|
104
|
-
- Only then start
|
|
103
|
+
- Then @analyst to map the existing domain (initial brownfield scan)
|
|
104
|
+
- Only then start features via @product → @orchestrator (MEDIUM maestro)
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
---
|
|
@@ -154,10 +154,10 @@ You > "order-cancellation" — allow canceling an order within 1 hour
|
|
|
154
154
|
@product > Acceptance criteria?
|
|
155
155
|
You > [...]
|
|
156
156
|
|
|
157
|
-
@product > Spec saved. Next: @analyst.
|
|
157
|
+
@product > Spec saved. Next: @orchestrator (MEDIUM maestro — will fan out @analyst, @architect, @pm).
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
-
From there the flow
|
|
160
|
+
From there, the MEDIUM maestro flow applies: `@product → @orchestrator → @dev → @pentester → @qa`. `@orchestrator` fans out `@analyst`, `@architect`, and `@pm` as sub-agents (the domain knowledge from Step 5 feeds into them), consolidates the gated spec package, and hands to `@dev`. See [Full feature with @sheldon — MEDIUM variant](../3-recipes/full-feature-with-sheldon.md#medium-maestro-variant) for the full walkthrough.
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
@@ -142,47 +142,37 @@ You'll see a structured spec with scope, ACs, and out-of-scope items.
|
|
|
142
142
|
|
|
143
143
|
---
|
|
144
144
|
|
|
145
|
-
## Step 5 — `@
|
|
145
|
+
## Step 5 — `@sheldon` closes the spec (single spec authority for SMALL)
|
|
146
146
|
|
|
147
147
|
```
|
|
148
|
-
You > @
|
|
149
|
-
|
|
150
|
-
@analyst > Reading spec... domain: personal tasks.
|
|
151
|
-
@analyst > Entities:
|
|
152
|
-
- Task { id, text, completed, created_at }
|
|
153
|
-
@analyst > No other entities in scope.
|
|
154
|
-
@analyst > Domain map saved to context/architecture.md.
|
|
155
|
-
@analyst > Next: @architect.
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
---
|
|
148
|
+
You > @sheldon
|
|
159
149
|
|
|
160
|
-
|
|
150
|
+
@sheldon > Reading spec.md... stack: Node + Express + SQLite.
|
|
151
|
+
@sheldon > No external gaps detected (simple scope). Producing spec package:
|
|
152
|
+
✓ design-doc-task-list.md (structure: src/{routes,db,server}.js)
|
|
153
|
+
✓ readiness-task-list.md (Gate B: ready)
|
|
154
|
+
✓ implementation-plan.md (1 phase — scope is tight)
|
|
155
|
+
✓ harness-contract.json (4 RG-smoke criteria matching the ACs)
|
|
161
156
|
|
|
162
|
-
|
|
163
|
-
You > @architect
|
|
164
|
-
|
|
165
|
-
@architect > Stack confirmed: Node + Express + SQLite.
|
|
166
|
-
@architect > Decisions:
|
|
167
|
-
- Structure: src/{routes,db,server}.js
|
|
157
|
+
@sheldon > Notes:
|
|
168
158
|
- Persistence: better-sqlite3 (synchronous SQLite, simple)
|
|
169
|
-
- Validation:
|
|
170
|
-
-
|
|
171
|
-
@
|
|
172
|
-
@architect > Next: @dev.
|
|
159
|
+
- Validation: manual (no extra libs — Article VI)
|
|
160
|
+
- Test framework: node:test (built-in, no dependency)
|
|
161
|
+
@sheldon > Gates A/B/C: approved. Next: @dev.
|
|
173
162
|
```
|
|
174
163
|
|
|
175
|
-
> **Note Article VI ("Simplicity Over Ceremony"):** `@
|
|
164
|
+
> **Note Article VI ("Simplicity Over Ceremony"):** `@sheldon` flagged no unnecessary libraries. On a simple project like this it produces a lean package; on a complex feature it would do web research and multi-phase planning.
|
|
176
165
|
|
|
177
166
|
---
|
|
178
167
|
|
|
179
|
-
## Step
|
|
168
|
+
## Step 6 — `@dev` implements
|
|
180
169
|
|
|
181
170
|
```
|
|
182
171
|
You > @dev
|
|
183
172
|
|
|
184
|
-
@dev > [reads
|
|
185
|
-
@dev >
|
|
173
|
+
@dev > [reads implementation-plan.md, spec, project.context]
|
|
174
|
+
@dev > Phase 1/1: full implementation (tight scope).
|
|
175
|
+
@dev > Creating:
|
|
186
176
|
package.json
|
|
187
177
|
src/db.js (init schema)
|
|
188
178
|
src/routes.js (POST /tasks, PATCH /tasks/:id, GET /tasks)
|
|
@@ -190,8 +180,7 @@ You > @dev
|
|
|
190
180
|
tests/tasks.test.js (placeholder — @qa covers)
|
|
191
181
|
|
|
192
182
|
@dev > [implements]
|
|
193
|
-
@dev >
|
|
194
|
-
$ node src/server.js → listening on 3000 ✓
|
|
183
|
+
@dev > aioson harness:check → 4/4 criteria pass.
|
|
195
184
|
@dev > dev-state.md updated.
|
|
196
185
|
@dev > Next: @qa.
|
|
197
186
|
```
|
|
@@ -208,7 +197,7 @@ cat .aioson/context/dev-state.md
|
|
|
208
197
|
|
|
209
198
|
---
|
|
210
199
|
|
|
211
|
-
## Step
|
|
200
|
+
## Step 7 — `@qa` tests
|
|
212
201
|
|
|
213
202
|
```
|
|
214
203
|
You > @qa
|
|
@@ -229,11 +218,11 @@ You > @qa
|
|
|
229
218
|
@qa > test-plan.md and qa-report.md saved. Feature ready.
|
|
230
219
|
```
|
|
231
220
|
|
|
232
|
-
> **What's new:** the *autonomous QA→Dev cycle* (cap
|
|
221
|
+
> **What's new:** the *autonomous QA→Dev cycle* (cap 3, `agentic_policy.review_cycle`) lets `@qa` request small fixes without you having to manually reactivate it. Under autopilot, this same cycle can chain all the way to `@tester`/`@pentester`/`@validator` and the `feature:close` recommendation without stopping — see [Autopilot handoff](../5-reference/autopilot-handoff.md).
|
|
233
222
|
|
|
234
223
|
---
|
|
235
224
|
|
|
236
|
-
## Step
|
|
225
|
+
## Step 8 — Clean commit with `@committer`
|
|
237
226
|
|
|
238
227
|
```
|
|
239
228
|
You > @committer
|
|
@@ -260,14 +249,19 @@ You > [Enter to accept]
|
|
|
260
249
|
|
|
261
250
|
```
|
|
262
251
|
.aioson/context/
|
|
263
|
-
├── project.context.md
|
|
264
|
-
├──
|
|
265
|
-
├──
|
|
266
|
-
├──
|
|
267
|
-
├──
|
|
252
|
+
├── project.context.md ← project view (step 3)
|
|
253
|
+
├── design-doc-task-list.md ← @sheldon spec (step 5)
|
|
254
|
+
├── readiness-task-list.md ← @sheldon Gate B (step 5)
|
|
255
|
+
├── implementation-plan.md ← @sheldon (step 5)
|
|
256
|
+
├── dev-state.md ← what @dev did (step 6)
|
|
257
|
+
├── test-plan.md ← @qa's plan (step 7)
|
|
258
|
+
├── qa-report-test-coverage.md ← QA report
|
|
268
259
|
└── features/
|
|
269
260
|
└── task-list/
|
|
270
|
-
└── spec.md
|
|
261
|
+
└── spec.md ← original spec (step 4)
|
|
262
|
+
|
|
263
|
+
.aioson/plans/task-list/
|
|
264
|
+
└── harness-contract.json ← @sheldon success contract
|
|
271
265
|
```
|
|
272
266
|
|
|
273
267
|
Three months from now, someone (you or another AI) can open this project and understand **everything** just by reading these files. No chat history needed.
|
|
@@ -276,7 +270,7 @@ Three months from now, someone (you or another AI) can open this project and und
|
|
|
276
270
|
|
|
277
271
|
## What if I want a new feature?
|
|
278
272
|
|
|
279
|
-
Go back to step 4. `@product` creates a new feature → `@
|
|
273
|
+
Go back to step 4. `@product` creates a new feature → `@sheldon` (closes the spec) → `@dev` → `@qa`. `@setup` doesn't need to run again (context is already there).
|
|
280
274
|
|
|
281
275
|
If you get lost in the middle:
|
|
282
276
|
|
|
@@ -28,12 +28,12 @@ The sum of three factors (each worth 0, 1, or 2 points):
|
|
|
28
28
|
|
|
29
29
|
### What changes at each level
|
|
30
30
|
|
|
31
|
-
#### MICRO — `@setup → @product
|
|
31
|
+
#### MICRO — `@setup → @product → @dev → @qa`
|
|
32
32
|
|
|
33
33
|
- For: scripts, automations, prototypes, simple personal apps.
|
|
34
|
-
- No
|
|
34
|
+
- No formal spec phase — no `@sheldon` or `@orchestrator`. Lightweight.
|
|
35
35
|
- `@product` is optional — you can pass the spec directly in chat if you prefer.
|
|
36
|
-
- No `@
|
|
36
|
+
- No per-phase verification; `@dev` phase checks are suppressed to save tokens.
|
|
37
37
|
|
|
38
38
|
**Typical examples:**
|
|
39
39
|
- Python script that processes CSV
|
|
@@ -41,11 +41,12 @@ The sum of three factors (each worth 0, 1, or 2 points):
|
|
|
41
41
|
- Static portfolio page
|
|
42
42
|
- Mini API with 3 endpoints
|
|
43
43
|
|
|
44
|
-
#### SMALL — `@setup → @product → @
|
|
44
|
+
#### SMALL — `@setup → @product → @sheldon → @dev → @qa` (lean default)
|
|
45
45
|
|
|
46
46
|
- For: most real apps.
|
|
47
|
-
-
|
|
48
|
-
-
|
|
47
|
+
- `@sheldon` is the **single spec authority**: in one pass it produces requirements + spec (Gates A/B/C) + design-doc + readiness + implementation-plan + harness-contract, then hands directly to `@dev`.
|
|
48
|
+
- `@analyst`, `@architect`, `@pm`, `@ux-ui`, `@scope-check` are opt-in detours — not in the default hop sequence.
|
|
49
|
+
- `@dev` runs a phase loop: auto-continues between phases, per-phase verification, context compaction.
|
|
49
50
|
|
|
50
51
|
**Typical examples:**
|
|
51
52
|
- SaaS app for a single persona
|
|
@@ -53,12 +54,12 @@ The sum of three factors (each worth 0, 1, or 2 points):
|
|
|
53
54
|
- Simple online store
|
|
54
55
|
- Blog with admin panel
|
|
55
56
|
|
|
56
|
-
#### MEDIUM —
|
|
57
|
+
#### MEDIUM — `@setup → @product → @orchestrator → @dev → @pentester → @qa` (maestro lane)
|
|
57
58
|
|
|
58
59
|
- For: products with multiple user types, several integrations, complex rules.
|
|
59
|
-
-
|
|
60
|
+
- `@orchestrator` is the **single spec authority**: fans out `@analyst`/`@architect`/`@pm` (+ `@ux-ui` for UI-heavy) as sub-agents, consolidates the gated spec package, then hands to `@dev`.
|
|
61
|
+
- `@pentester` runs inline (not opt-in) before `@qa`.
|
|
60
62
|
- Quality gates applied at each handoff.
|
|
61
|
-
- Parallel lanes possible (`@orchestrator` coordinates).
|
|
62
63
|
- More aggressive context threshold (55% — warns early).
|
|
63
64
|
|
|
64
65
|
**Typical examples:**
|
|
@@ -99,7 +100,7 @@ You can mark **more than one** in the wizard — they coexist in the same projec
|
|
|
99
100
|
|
|
100
101
|
### Development (default)
|
|
101
102
|
|
|
102
|
-
Includes the 29 official agents (product, analyst, dev, qa, etc.; `@pair` is alias of `@deyvin`). Sufficient for 95% of projects.
|
|
103
|
+
Includes the 29 official agents (product, analyst, dev, qa, etc.; `@pair` is alias of `@deyvin`). Sufficient for 95% of projects.
|
|
103
104
|
|
|
104
105
|
### Development + Squads
|
|
105
106
|
|
|
@@ -110,13 +111,13 @@ Adds the squad system — you can create custom squads for domains outside the s
|
|
|
110
111
|
- `@attorney` — interprets clauses
|
|
111
112
|
- `@auditor` — checks conformity
|
|
112
113
|
|
|
113
|
-
```bash
|
|
114
|
-
# Inside the AI client
|
|
115
|
-
> @squad scaffold compliance
|
|
116
|
-
|
|
117
|
-
# Or via CLI
|
|
118
|
-
npx @jaimevalasek/aioson squad:scaffold . --slug=compliance --name="Compliance" --mode=mixed
|
|
119
|
-
```
|
|
114
|
+
```bash
|
|
115
|
+
# Inside the AI client
|
|
116
|
+
> @squad scaffold compliance
|
|
117
|
+
|
|
118
|
+
# Or via CLI
|
|
119
|
+
npx @jaimevalasek/aioson squad:scaffold . --slug=compliance --name="Compliance" --mode=mixed
|
|
120
|
+
```
|
|
120
121
|
|
|
121
122
|
**When to activate Squads:**
|
|
122
123
|
- You know you'll need specialization outside the standard
|
|
@@ -133,7 +134,9 @@ npx @jaimevalasek/aioson squad:scaffold . --slug=compliance --name="Compliance"
|
|
|
133
134
|
|
|
134
135
|
## Choosing a Design System
|
|
135
136
|
|
|
136
|
-
|
|
137
|
+
> **Recommended route: `interface-design` + your own reference images.** Instead of inheriting a fixed preset's identical look, you provide reference images (identity/brand and, optionally, component structure); the `reference-identity-extract` skill converts them **once** into a text `identity.md` that the `interface-design` engine applies to everything downstream (prototype and build). `@setup` offers this route first — always with explicit confirmation, never auto-selected. The presets below remain available as an alternative.
|
|
138
|
+
|
|
139
|
+
Presets available in the wizard:
|
|
137
140
|
|
|
138
141
|
| Skill | Style | Use cases |
|
|
139
142
|
|---|---|---|
|
|
@@ -146,7 +149,7 @@ Available in the wizard:
|
|
|
146
149
|
| **Neo Brutalist UI** | Black outlines, strong colors, no shadow | Bold brands |
|
|
147
150
|
|
|
148
151
|
**Skipping** is a valid option. You can:
|
|
149
|
-
- Choose later with `@ux-ui`
|
|
152
|
+
- Choose later with `@ux-ui` — it offers the same two routes (reference images or preset)
|
|
150
153
|
- Clone a real site's design with `@site-forge`
|
|
151
154
|
- Create a hybrid with `@design-hybrid-forge` (e.g., clean-saas + neo-brutalist)
|
|
152
155
|
|
|
@@ -8,7 +8,7 @@ These three trails show **how features reach development** in AIOSON. You almost
|
|
|
8
8
|
|
|
9
9
|
| Trail | When to use | Key agents |
|
|
10
10
|
|---|---|---|
|
|
11
|
-
| **[Full feature with @sheldon](./full-feature-with-sheldon.md)** |
|
|
11
|
+
| **[Full feature with @sheldon](./full-feature-with-sheldon.md)** | SMALL lean (default) or MEDIUM maestro — the canonical feature trail | SMALL: `@product → @sheldon → @dev → @qa`; MEDIUM: `@product → @orchestrator → @dev → @pentester → @qa` |
|
|
12
12
|
| [From idea to PRD via @briefing](./from-idea-to-prd-via-briefing.md) | Your idea is still vague, several loose notes | @briefing → @product |
|
|
13
13
|
| [External plans for @product](./external-plans-for-product.md) *(coming soon)* | You already planned in another chat (ChatGPT, Claude.io Web) | @product (reads `/plans/`) |
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@ These three trails show **how features reach development** in AIOSON. You almost
|
|
|
17
17
|
| Recipe | Scenario | Main agents |
|
|
18
18
|
|---|---|---|
|
|
19
19
|
| [Landing page](./landing-page.md) *(coming soon)* | Create a presentation page with copy and design | @product, @copywriter, @ux-ui, @dev, @qa |
|
|
20
|
-
| [SaaS app from scratch](./saas-app-from-scratch.md) *(coming soon)* | Full SaaS: auth, Stripe billing, admin |
|
|
20
|
+
| [SaaS app from scratch](./saas-app-from-scratch.md) *(coming soon)* | Full SaaS: auth, Stripe billing, admin | `@product → @orchestrator → @dev → @pentester → @qa` (MEDIUM maestro) |
|
|
21
21
|
| [Integration in large codebase](./integration-in-large-codebase.md) *(coming soon)* | Install AIOSON on a 10k–100k line legacy project | @discover, @analyst |
|
|
22
22
|
| [Large refactor](./large-refactor.md) *(coming soon)* | Rewrite a critical module without breaking anything | @sheldon, @tester, @dev, @qa |
|
|
23
23
|
| [Security audit](./security-audit.md) *(coming soon)* | Review vulnerabilities before production | @pentester |
|
|
@@ -55,7 +55,7 @@ The file has standardized sections:
|
|
|
55
55
|
slug: checkout-stripe
|
|
56
56
|
status: in_progress
|
|
57
57
|
classification: SMALL
|
|
58
|
-
agents_trail: [@product, @
|
|
58
|
+
agents_trail: [@product, @sheldon, @dev]
|
|
59
59
|
last_agent: @dev
|
|
60
60
|
last_updated: 2026-05-06T14:32:00Z
|
|
61
61
|
|
|
@@ -196,7 +196,7 @@ npx @jaimevalasek/aioson dossier:show --slug=checkout-stripe
|
|
|
196
196
|
```
|
|
197
197
|
FEATURE: checkout-stripe
|
|
198
198
|
Status: in_progress
|
|
199
|
-
Agents: @product, @
|
|
199
|
+
Agents: @product, @sheldon, @dev, @deyvin
|
|
200
200
|
Progress: 4/5 steps done (80%)
|
|
201
201
|
Files: 5 (3 created, 2 pending)
|
|
202
202
|
Research: 1 (stripe webhooks)
|