earendil-works / pi
typescriptmaind4d74eb379.2K linessynced 3w ago
Since the previous index, 1mo ago+213 files+1.4 hotspot health
Code health
6.9out of 10Fair
Hotspots average 5.6, the place fixes pay off most.
Explore this codebase
- Code health map399hotspots across 2,010 files
- Ownership628sole-owned files: one author, no second reader
- Architecture4modules, 34 entry points
- Decisions30recorded, of which 0 accepted and 30 awaiting review
- Refactoring317open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
3 things worth doing in the week to Sep 30, the last indexed commit, 2 of them now.
Worth planning
Tidy the code shape this week's commits left: 67 findings in 42 files
23 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
packages/coding-agent/src/extensions/mcp/cli.ts(3 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 67
- files
- 42
- commits
- 23
Large effort
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
Everything we found
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health4,360CriticalUntested hotspot · packages/durable/src/session/transaction.ts27 findings · 9.1 deducted
- Refactoring317 open opportunitiesMediumProcessTerminal+2.0 health, L effort · packages/tui/src/terminal.ts
- Doc drift31Mediumpackages/coding-agent/docs/extensions.mdLink points at #other-mcp-extensions, which mcp.md no longer declares.
- Decisions30 to reviewMediumpackages/coding-agent/src/core/agent-session.ts30 awaiting review, 0 drifting from the code
- Ownership628 sole-owned filesMediumpackages/coding-agent/src/experimental/client-tui.tsOne author, no second reader
- Dead code10LowrestoreModelFromSessionUnreachable function (70 lines)