// code-review · github app
Review beneath the surface.
CodeMole digs through every diff before it merges — structural tests, AI logic review, and line-level findings. No workflows, no noise.
32 trigger:
33+ - platform: state
34+ entity_id: binary_sensor.flur
35+ to: 'off'
// HOW IT DIGS
Three layers, top to bottom.
Every PR passes through three depths — from a quick surface check down to a deep logic review.
~0m
Structural tests
Lint on changed lines only, secret scan, diff size, config validation → a deterministic report.
~5m
Logic review
An LLM (currently Claude) reads the diff against your actual project rules and catches what no linter can see.
~10m
Inline findings
Every finding lands right on the line in your PR — as thecodemole[bot], with reasoning and a fix.
~15m
A dialogue, not a one-way street
Reply to a finding — the bot defends it or backs down and resolves the conversation. Ask it anything via @the-codemole right in the PR. Learn more →
Installed in three steps.
One GitHub App, no .yml per repo, no PATs.
- Install the app — add CodeMole, tick the repos you want.
- Push a PR — on your next push, the mole starts digging.
- Read the findings — a report plus inline comments as
thecodemole[bot].
This state trigger also fires on restart (
unavailable → off). Guard it withfrom: 'on', or the automation will kick in unexpectedly at night.