Repository navigation
Pluto CLI v0.11.0 — Typed lifecycle scaffolding
Adds pluto add state GROUP and a terminal wizard for explicit business lifecycles.
- Generates authored Go state/event definitions, a pure ownership guard, unit tests and a fuzz target under
internal/domain/GROUP. - Uses the published stdlib-only Pluto Core v0.4.0 state primitive; new apps pin Core v0.4.0.
- Preserves authored files, validates groups, rejects symlinks and supports
--dry-runand--no-input. - Existing apps explicitly upgrade Core before generation; the command resolves packages with
-mod=readonlyand never silently changes pins. - No manifest schema change, automatic route wiring or database migration. Applications own authorization, tenant scope and transactional state/audit/outbox persistence.
Validation includes complete repository/race checks, single- and multi-tenant generated consumers, bounded fuzzing, mutation smoke, disposable PostgreSQL/Valkey tests and terminal wizard checks.
go install github.com/plutoframework/cli/cmd/pluto@v0.11.0
pluto add state purchases --dry-run
pluto add state purchases