Local hooks run the same Ruff, pyright and import-linter checks as
`just lint` through `uv run`, so versions come from uv.lock; gitleaks
comes from its upstream hook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Domain packages (finance, fitness, maintenance, smart_home) and `bots/`,
with contracts: composition root above domains above platform; each
domain reachable from others only through its `service` module; `bots/`
forbidden from importing `hapi`. `just lint` runs import-linter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two uvicorn servers, the public API on :8000 and the internal probe
listener on :8081, share one event loop (ADR-0009), so a wedged loop
fails liveness. SIGINT/SIGTERM stops both; if one listener stops or
fails to start, the other stops with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uv project on Python 3.14 with Ruff (incl. DTZ), pyright strict, and
`just test/lint` as dev dependencies. The internal probe app serves a
constant `/livez`; the public API app doesn't serve it (ADR-0009).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>