paperclipai / paperclip
Code health
Hotspots average 2.4, the place fixes pay off most.
Explore this codebase
- Code health map99hotspots across 13,867 files
- Ownership1,564sole-owned files: one author, no second reader
- Architecture15modules, 80 entry points
- Decisions115recorded, of which 0 in force and 115 background
- Refactoring922open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 6
11 things worth doing in the week to Nov 9, the last indexed commit, 5 of them now.
Worth planning
Tidy the code shape this week's commits left: 55 findings in 23 files
16 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
server/src/services/native-runtime/native-session-executor.ts(12 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 55
- files
- 23
- commits
- 16
Large effortSimplify
executePaperclipNativeSessionWithinScopeinserver/src/services/native-runtime/native-session-executor.ts: tests reach it, and fixes keep landingChanged 57 times in 90 days, and 33 of those commits were bug fixes.
- commits in 90 days
- 57
- bug-fix commits
- 33
- line coverage
- Unknown, no report
- tests that reach it
- 333 test files, call graph(inferred)
Large effort, worth a checkSimplify
#resumeWorkinpackages/paperclip-runner/src/live/runnerd-codex-transport.ts: tests reach it, and fixes keep landingChanged 22 times in 90 days, and 16 of those commits were bug fixes.
- commits in 90 days
- 22
- bug-fix commits
- 16
- line coverage
- Unknown, no report
- tests that reach it
- 55 test files, call graph(inferred)
Large effort, worth a checkSimplify
claimNativeRestartRecoveriesinserver/src/services/native-runtime/native-restart-recovery.ts: tests reach it, and fixes keep landingChanged 18 times in 90 days, and 15 of those commits were bug fixes.
- commits in 90 days
- 18
- bug-fix commits
- 15
- line coverage
- Unknown, no report
- tests that reach it
- 220 test files, call graph(inferred)
Large effort, worth a checkSimplify
recoverActiveExecutionsinserver/src/services/heartbeat/recovery.ts: tests reach it, and fixes keep landingChanged 19 times in 90 days, and 12 of those commits were bug fixes.
- commits in 90 days
- 19
- bug-fix commits
- 12
- line coverage
- Unknown, no report
- tests that reach it
- 276 test files, call graph(inferred)
Large effort, worth a check
Everything we found
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health25,942 open findingsCriticalChange entropy · packages/paperclip-runner/src/live/runnerd-codex-transport.ts235 findings · 16.8 deducted
- Refactoring922 open opportunitiesMediumbuildOpenClawGatewayConfig+1.8 health, S effort · packages/adapters/openclaw-gateway/src/ui/build-config.ts
- Doc drift108Mediumdoc/idle-voice-call-reports.mdLink points at #landed-master-migration-and-acceptance-october-28, which plans/2026-10-25-voice-call-report-sleep-audit.md no longer declares.
- Decisions0 drifting from the codeMediumserver/src/services/native-runtime/native-session-executor.tsHigh-churn file with no governing decision
- Ownership1,564 sole-owned filesMediumserver/src/services/native-runtime/native-session-executor.tsOne author, no second reader
- Dead code6LowpaperclipProtocolActionUnreachable function (3 lines)