cosmicstack-labs / mercury-agent
typescriptmain3e3b44a95.8K linessynced on Oct 14, 2026
Code health
6.5out of 10Fair
Hotspots average 4.2, the place fixes pay off most.
Explore this codebase
- Code health map79hotspots across 733 files
- Ownership686sole-owned files: one author, no second reader
- Architecture6modules, 8 entry points
- Decisions42recorded, of which 0 accepted and 42 awaiting review
- Refactoring54open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
1 thing worth doing in the week to Oct 14, the last indexed commit.
Worth planning
Tidy the code shape this week's commits left: 31 findings in 15 files
13 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
src/bots/bot-manager.ts(5 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 31
- files
- 15
- commits
- 13
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
4 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health2,078 open findingsCriticalChange entropy · src/index.ts92 findings · 8.0 deducted
- Refactoring54 open opportunitiesLowrunUninstall+1.0 health, M effort · src/cli/uninstall.ts
- Decisions42 to reviewMediumsrc/core/agent.ts42 awaiting review, 0 drifting from the code
- Ownership686 sole-owned filesMediumsrc/core/agent.tsOne author, no second reader