repowiserepowise
Sign in
earendil-works/pi
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowiseearendil-works/pi
PI
PI

earendil-works / pi

typescriptmainb2602be314.9K linessynced 16h ago

Code health

7.0out of 10Good

This codebase scores 7.0 out of 10 on defect risk, which we rate good. It also scores maintainability 8.2 and static performance risk 9.8 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 150 of 1,577 files are git hotspots, and they average 4.2.

Full health report →
Documentation1,761pages47 with model-written prose, 1,714 built from the indexScore validation18/201.2× baselineOf the 20 lowest-health files, 18 were bug-fixed in the last 6 months — 1.2× the 75% baselineDead code70exportsUnused exports that nothing in the graph reaches
Lines of code
314.9K
Files
1,577
Symbols
12,551
Modules
22
Languages
11

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Prevent split Alt+Enter from interrupting over SSHproposed · 16h ago
  • Simplify clipboard handling with native helpersproposed · 16h ago
  • Ingest external entries in in-memory sessionsproposed · 16h ago
  • Apply fallback cost via headers, not stream optionsproposed · 16h ago
  • Exclude grok-build-0.1 from built-in xAI model catalogproposed · 16h ago
  • Surface proxy stream EOF as error when terminal SSE event missingproposed · 16h ago

Needs attention

52 open
  • medium severity. ProposedPrevent split Alt+Enter from interrupting over SSHAuto-proposed decision awaiting review
  • medium severity. ProposedSimplify clipboard handling with native helpersAuto-proposed decision awaiting review
  • medium severity. ProposedIngest external entries in in-memory sessionsAuto-proposed decision awaiting review
  • medium severity. ProposedApply fallback cost via headers, not stream optionsAuto-proposed decision awaiting review
  • medium severity. ProposedExclude grok-build-0.1 from built-in xAI model catalogAuto-proposed decision awaiting review

Where the risk concentrates

All 150 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
client-tui.tspackages/coding-agent/src/experimental99.9th4bug magnet2bus factor 127
jsonl-v3-migration.test.tspackages/agent/test/harness99.9th32bus factor 124
experimental-remote-runtime.test.tspackages/coding-agent/test99.8th6bug magnet352
protocol.test.tspackages/protocol/test99.7th4bug magnet333
conformance.test.tspackages/server/test99.7th5bug magnet326

Composition

Open the graph →
typescript 85%markdown 8%json 3%javascript 2%yaml 1%Other 1%

Explore this codebase

  • Docs1,761 pages across 22 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files1,577 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 261 entry points→
  • Code healthPer-file scores, 6,198 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run→