Skip to content

Pluto CLI v0.11.0 — Typed lifecycle scaffolding

Choose a tag to compare

@DavidHoenisch DavidHoenisch released this 30 Oct 01:50
· 31 commits to main since this release

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-run and --no-input.
  • Existing apps explicitly upgrade Core before generation; the command resolves packages with -mod=readonly and 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