Health Report
iw index reportNo arguments needed. Produces a health dashboard for your entire project.
What It Reports
Section titled “What It Reports”Documentation Coverage
Section titled “Documentation Coverage”Percentage of exported code symbols that are mentioned in at least one document. Low coverage means public APIs are undocumented.
Stale Documents
Section titled “Stale Documents”Documents that reference code which has changed recently (by git commits) but the document itself hasn’t been updated. These are likely to contain outdated information.
Hidden Couplings
Section titled “Hidden Couplings”Entity pairs that are co-mentioned in documentation but have no code dependency (no import, no extends, no implements). These suggest an implicit relationship that the code doesn’t formalize.
Undocumented Dependencies
Section titled “Undocumented Dependencies”Code imports/dependencies that are never mentioned in any document. Important structural relationships that documentation doesn’t cover.
Example Output
Section titled “Example Output”📊 Documentation Health Report================================
Coverage: 72% (184/256 exported symbols documented)Stale docs: 3 filesHidden: 7 entity pairsUndocumented: 12 dependencies
Stale Documents: ⚠ docs/auth.md — last updated 45 days ago, code changed 3 days ago ⚠ docs/api-reference.md — last updated 90 days ago, code changed 12 days ago ⚠ docs/deployment.md — last updated 120 days ago, code changed 30 days ago
Hidden Couplings: AuthService ↔ RateLimiter (co-mentioned in 4 docs, no code link) UserService ↔ EmailProvider (co-mentioned in 2 docs, no code link) ...
Undocumented Dependencies: src/auth/service.ts → src/crypto/hash.ts (imported, never in docs) src/api/router.ts → src/middleware/cors.ts (imported, never in docs) ...Next Steps
Section titled “Next Steps”- Connections & Gaps — drill into specific entities
- CI Drift Check — automate checks in CI