Make your first verified change
You need Git, Docker with Compose v2, and at least 5 GiB of free space.
- Clone LeonAid into a fresh checkout and create a working branch.
- Run
./leonaid bootstrap, followed by./leonaid doctor. - Read
PERSONAS.md, the affected domain or UI implementation, and the nearest executable test. Use specs and ADRs as context. - Make one coherent change. If it affects the API, configuration, user flow, or operations, update the relevant docs at the same code revision.
- Run the narrowest relevant
./leonaid test-…command first. For a docs-only change, run./leonaid docs-checkanddocs-build. - While you work,
./leonaid check-fastgives feedback in about 30 seconds (Python lint, types and unit tests; TypeScript packages changed againstorigin/main)../leonaid install-pre-push-hookruns it before everygit push;git push --no-verifyskips it once. Before handoff, run the full./leonaid checkfrom a clean working tree. - Inspect the diff, generated files, secrets, and unexpected changes.
./leonaid test-handoff repeats this setup in a fresh checkout and proves that
the documented prerequisites are complete. One targeted green test does not
replace the full gate required for the actual change.