Skip to content

Quick Start

Terminal window
sentrux # scan current directory
sentrux /path/to/project # scan a specific project

You’ll see a live treemap of your codebase — every file sized by lines of code, colored by language or quality. Dependency edges overlay the map.

Terminal window
sentrux check .
# ✓ All rules pass — Quality: 7342

Exit code 0 = pass, 1 = fail. Add to your CI pipeline.

Terminal window
# Before the agent starts
sentrux gate --save .
# ... agent writes code ...
# After the agent finishes
sentrux gate .
# ✗ Quality degraded: 7342 → 6891

sentrux computes one number: Quality Signal (0–10,000).

It’s the geometric mean of 5 root cause metrics:

MetricWhat it measures
ModularityDo files cluster into independent modules? (Newman’s Q)
AcyclicityAre there circular dependencies? (Tarjan’s SCC)
DepthHow deep are dependency chains?
EqualityIs complexity evenly distributed? (Gini coefficient)
RedundancyHow much dead/duplicate code exists?

Every +1 point is real architectural improvement. No letter grades, no arbitrary boundaries.