Closes #74. Stack: 1. probe app → 2. `hapi serve` → 3. module boundaries → **4. pre-commit**. Based on the 3/4 branch.
## Summary
```text
.pre-commit-config.yaml
local (uv run, versions from uv.lock): ruff check · ruff format --check · pyright · lint-imports
gitleaks/gitleaks v8.30.1: detect hardcoded secrets
```
These are the same checks as `just lint`, plus gitleaks. The hook itself isn't installed automatically; the README shows `uv run pre-commit install`.
## Evidence
- **Before:** no pre-commit config.
**After:**
```text
$ uv run pre-commit run --all-files
ruff check....................Passed
ruff format...................Passed
pyright.......................Passed
import-linter.................Passed
Detect hardcoded secrets......Passed
```
## Merge Danger
**Door:** two-way
**Blast Radius:** local commits only. The first run downloads a Go toolchain to build gitleaks into `~/.cache/pre-commit`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
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.
Closes #74. Stack: 1. probe app → 2.
hapi serve→ 3. module boundaries → 4. pre-commit. Based on the 3/4 branch.Summary
These are the same checks as
just lint, plus gitleaks. The hook itself isn't installed automatically; the README showsuv run pre-commit install.Evidence
After:
Merge Danger
Door: two-way
Blast Radius: local commits only. The first run downloads a Go toolchain to build gitleaks into
~/.cache/pre-commit.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.