zer0-mistakes 1.0 introduces a modular CLI (scripts/bin/install) with subcommands and declarative profiles. The legacy install.sh flags still work as a bootstrap path — they translate to the new CLI under the hood and emit a one-line deprecation notice — but new sites and scripts should adopt the CLI directly.
install.sh is now a bootstrap. The 2,400-line monolith from 0.22 is gone — its logic moved into scripts/lib/install/*.sh and templates/. The curl | bash entrypoint behaves identically from the user's perspective.
templates/profiles/*.yml replaces the if/elif mode dispatcher. Adding a new install mode no longer requires touching install.sh.
templates/deploy/<target>/ + scripts/lib/install/deploy/<target>.sh replaces the inline Azure workflow generator. Adding a new deploy target is a self-contained drop-in.
scripts/lib/install/ai/* — new opt-in AI integration (wizard, diagnose, suggest, openai client).
.zer0-installed — new marker file at the site root tracking which theme version installed it. Used by install upgrade for idempotency. Safe to commit or .gitignore.
You don't have to do anything. Existing sites continue to work with the 1.0 theme as a remote theme or a gem. To adopt the new CLI on an existing site:
cd/path/to/your-existing-site
curl-fsSLhttps://raw.githubusercontent.com/bamr87/zer0-mistakes/main/install.sh|bash-s----target.--force
# or, after cloning the theme repo locally:/path/to/zer0-mistakes/scripts/bin/installupgrade/path/to/your-existing-site
/path/to/zer0-mistakes/scripts/bin/installagents/path/to/your-existing-site--all
install.sh no longer maintains its own copy of every generated file. A stripped distribution (theme tarball without templates/) will fail. The bootstrap downloads the templates tarball alongside install.sh for curl | bash. If you previously vendored only install.sh, vendor templates/ too.
scripts/migrate.sh scope narrowed. It still installs the 6 admin pages but no longer attempts to scaffold a full site — use install init --profile full for that.
The --azure flag is gone. Use install deploy azure-swa. The old flag emits a clear error pointing at the new command.
Deprecation timeline. Legacy mode flags (--full, --minimal, --fork, --remote, --github) print a one-line deprecation warning in 1.0.x and will be removed in 2.0.
Last updated: 2026-04-20 — Phase 7. Targeted release: 1.0.0.