repowiserepowise
Sign in
2233admin/pi-peer
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowise2233admin/pi-peer
PI
PI

2233admin / pi-peer

typescriptmain5e8fcb24.1K linessynced 1d ago

Code health

9.1out of 10Excellent

This codebase scores 9.1 out of 10 on defect risk, which we rate excellent. It also scores maintainability 9.2 and static performance risk 9.6 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 4 of 27 files are git hotspots, and they average 8.3.

Full health report →
Documentation35pages0 with model-written prose, 35 built from the indexDead code1exportsUnused exports that nothing in the graph reaches
Lines of code
4.1K
Files
27
Symbols
169
Modules
3
Languages
4

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Set stored config into the sandbox to prevent leaking real peer configproposed · 1d ago
  • Use a stand-in for pi's extension API to step session lifecycleproposed · 1d ago
  • Use Redis lists (queue) instead of pub/sub to preserve 'mail waits' invariantproposed · 1d ago
  • Policy guard rejects throttled sessions without bookkeeping and refuses firstproposed · 1d ago
  • Mailbox as per-session directory with file-based deliveryproposed · 1d ago

Needs attention

20 open
  • medium severity. ProposedSet stored config into the sandbox to prevent leaking real peer configAuto-proposed decision awaiting review
  • medium severity. ProposedUse a stand-in for pi's extension API to step session lifecycleAuto-proposed decision awaiting review
  • medium severity. ProposedUse Redis lists (queue) instead of pub/sub to preserve 'mail waits' invariantAuto-proposed decision awaiting review
  • medium severity. ProposedPolicy guard rejects throttled sessions without bookkeeping and refuses firstAuto-proposed decision awaiting review
  • medium severity. ProposedMailbox as per-session directory with file-based deliveryAuto-proposed decision awaiting review

Where the risk concentrates

All 4 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
index.tssrc/extension94.7th024
extension-remote.test.tstest89.5th023
redis.tssrc/peer84.2th023
redis.test.tstest78.9th023

Composition

Open the graph →
typescript 70%markdown 11%json 11%yaml 7%

Explore this codebase

  • Docs35 pages across 3 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files27 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 12 entry points→
  • Code healthPer-file scores, 54 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→