Commit Graph
4 Commits
Author SHA1 Message Date
BobbyandClaude Opus 5.5 2402a9dbdd new: pre-commit runs lint plus gitleaks (#74)
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>
2026-11-27 17:01:10 -05:00
BobbyandClaude Opus 5.5 a01c785842 new: import-linter module boundaries (#74)
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>
2026-11-27 17:01:01 -05:00
BobbyandClaude Opus 5.5 12b634b7e0 new: hapi serve runs the API and probes in one event loop (#74)
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>
2026-11-27 17:00:51 -05:00
BobbyandClaude Opus 5.5 586cd91f82 new: uv project with a /livez probe app (#74)
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>
2026-11-27 17:00:41 -05:00