Skip to content

Make your first verified change

You need Git, Docker with Compose v2, and at least 5 GiB of free space.

  1. Clone LeonAid into a fresh checkout and create a working branch.
  2. Run ./leonaid bootstrap, followed by ./leonaid doctor.
  3. Read PERSONAS.md, the affected domain or UI implementation, and the nearest executable test. Use specs and ADRs as context.
  4. Make one coherent change. If it affects the API, configuration, user flow, or operations, update the relevant docs at the same code revision.
  5. Run the narrowest relevant ./leonaid test-… command first. For a docs-only change, run ./leonaid docs-check and docs-build.
  6. While you work, ./leonaid check-fast gives feedback in about 30 seconds (Python lint, types and unit tests; TypeScript packages changed against origin/main). ./leonaid install-pre-push-hook runs it before every git push; git push --no-verify skips it once. Before handoff, run the full ./leonaid check from a clean working tree.
  7. 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.