-
Notifications
You must be signed in to change notification settings - Fork 0
Detectors
Jacob Centner edited this page Apr 10, 2026
·
4 revisions
Sentinel ships with 14 built-in detectors organized by tier. Each detector produces evidence-backed findings with severity, confidence, and file location.
| Tier | Description | LLM needed? |
|---|---|---|
| DETERMINISTIC | Rule-based, repeatable, zero false negatives from judgment | No |
| HEURISTIC | Statistical/AST analysis, high confidence but uses thresholds | No |
| LLM_ASSISTED | Uses an LLM for semantic comparison or judgment | Yes (BASIC tier minimum) |
Note on LLM_ASSISTED tier: Docs-drift is tiered as LLM_ASSISTED but degrades gracefully — its deterministic sub-checks (stale references, dependency drift) run without any LLM. Only the doc-code semantic comparison requires a model. Semantic-drift and test-coherence produce no findings without an LLM provider.
[sentinel]
# Run only these detectors:
enabled_detectors = ["todo-scanner", "complexity", "dep-audit"]
# Or skip specific detectors:
disabled_detectors = ["lint-runner", "dead-code"]enabled_detectors and disabled_detectors are mutually exclusive.
sentinel scan /repo --detectors todo-scanner,complexity,dep-audit
sentinel scan /repo --skip-detectors lint-runner,dead-codesentinel init /repo --profile minimal # heuristic-only, no LLM
sentinel init /repo --profile standard # all detectors, basic LLM
sentinel init /repo --profile full # all detectors, enhanced analysis- The runner discovers all registered detectors (built-in + entry-point plugins)
- Filters by enabled/disabled lists
- Each detector receives a
DetectorContextwith repo root, scope, changed files, config, and optional model provider - Each detector returns a list of
Findingobjects with evidence - Findings are fingerprinted, deduplicated, and optionally judged by the LLM
See Writing Custom Detectors for building your own.
Local Repo Sentinel · MIT License
Getting Started
Reference
Detectors
- Detector: Todo Scanner
- Detector: Complexity
- Detector: Dead Code
- Detector: Dep Audit
- Detector: Docs Drift
- Detector: Unused Deps
- Detector: Lint Runner
- Detector: ESLint Runner
- Detector: Go Linter
- Detector: Rust Clippy
- Detector: Git Hotspots
- Detector: Stale Env
- Detector: Semantic Drift
- Detector: Test Coherence
- Detector: CI/CD Drift
- Detector: Architecture Drift
- Detector: Inline Comment Drift
- Detector: Intent Comparison
Advanced
Workflow