Part of #74. Stack for #74 (merge in order): 1. probe app → 2. hapi serve → 3. module boundaries → 4. pre-commit
Summary
src/hapi/
├── app.py create_api_app() public API (:8000), no probes
│ create_probe_app() internal listener (:8081)
└── platform/health.py GET /livez -> 200 {"status":"ok"} (ADR-0009)
Tooling: a uv project on Python 3.14, Ruff (incl. DTZ), pyright strict, and just test|lint. All of it is a dev dependency, so uv is the only tool needed outside the venv. uv.lock is marked as generated in .gitattributes (414 of the 553 lines).
Evidence
Before: no app. After:uv run just test, driving the ASGI app with httpx.ASGITransport:
livez returns constant ok on the probe listener PASSED
livez is not served on the public api (404) PASSED # fails if probe router is mounted on the API
uv run just lint: Ruff and pyright strict are clean.
Part of #74. Stack for #74 (merge in order): **1. probe app** → 2. `hapi serve` → 3. module boundaries → 4. pre-commit
## Summary
```text
src/hapi/
├── app.py create_api_app() public API (:8000), no probes
│ create_probe_app() internal listener (:8081)
└── platform/health.py GET /livez -> 200 {"status":"ok"} (ADR-0009)
```
Tooling: a uv project on Python 3.14, Ruff (incl. `DTZ`), pyright strict, and `just test|lint`. All of it is a dev dependency, so `uv` is the only tool needed outside the venv. `uv.lock` is marked as generated in `.gitattributes` (414 of the 553 lines).
## Evidence
- **Before:** no app.
**After:** `uv run just test`, driving the ASGI app with `httpx.ASGITransport`:
```text
livez returns constant ok on the probe listener PASSED
livez is not served on the public api (404) PASSED # fails if probe router is mounted on the API
```
`uv run just lint`: Ruff and pyright strict are clean.
## Merge Danger
**Door:** two-way
**Blast Radius:** none (greenfield)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #74. Stack for #74 (merge in order): 1. probe app → 2.
hapi serve→ 3. module boundaries → 4. pre-commitSummary
Tooling: a uv project on Python 3.14, Ruff (incl.
DTZ), pyright strict, andjust test|lint. All of it is a dev dependency, souvis the only tool needed outside the venv.uv.lockis marked as generated in.gitattributes(414 of the 553 lines).Evidence
After:
uv run just test, driving the ASGI app withhttpx.ASGITransport:uv run just lint: Ruff and pyright strict are clean.Merge Danger
Door: two-way
Blast Radius: none (greenfield)
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.