Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Health

Health commands inspect repository quality, collaboration risk, and engram graph consistency.

CLI Usage

# Run all health checks and compute an overall score
engram health audit
engram health audit --store

# Repository history signals
engram health churn --top 20
engram health bus-factor
engram health bug-clusters --top 20
engram health velocity
engram health firefighting
engram health commit-size
engram health test-signal

# Entity graph checks
engram health score
engram health orphans
engram health consistency

# Refresh knowledge decay weights and citation counts
engram health refresh-decay --lambda 0.01

Checks

CommandPurpose
auditRuns a composite audit and reports an overall score.
churnFinds files with the most changes.
bus-factorEstimates contributor concentration risk.
bug-clustersFinds files commonly touched by bug/fix commits.
velocitySummarizes commit velocity over time.
firefightingDetects revert, rollback, hotfix, and incident signals.
commit-sizeReports average change size.
test-signalReports test-related commit ratio.
orphansFinds entities with no relationships.
consistencyChecks git-ref-backed entity storage consistency.
refresh-decayUpdates knowledge freshness/citation metadata.

Stored Audits

engram health audit --store records the audit result as an engram context entity so future agents can use it during planning and handoff.