repowiserepowise
Sign in
vincent/damask
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisevincent/damask
DA
DA

vincent / damask

gomain6db17d5125.2K linessynced 3mo ago

Code health

6.4out of 10Fair

This codebase scores 6.4 out of 10 for code health, which we rate fair. It also scores maintainability 7.7 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 134 of 738 files are git hotspots, and they average 4.7 — which is where the fixes pay off most.

Full health report →
Score validation9/205.5× baselineTop-ranked files that did go on to need a bug fixDead code197exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing this quarter.

Worth planning

  • Delete 182 unused symbols and files (1,470 lines)

    Nothing in the graph reaches them, across 93 files; every reader and agent pays to skip them.

    symbols
    182
    lines
    1,470
    safe to delete
    Yes(inferred)
    Medium 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
Lines of code
125.2K
Files
738
Symbols
6,774
Modules
3
Languages
5

Recent activity

All commits →

Commits

  • 6db17d53chore: housekeeping3mo ago
  • dd0694bcchore: sse events hardening3mo ago
  • 597cfe15chore: split job spec pkg3mo ago
  • 218c606cchore: pass context in all storage funcs3mo ago
  • dfc2e8fachore: big repos refactoring, no more direct queries3mo ago
  • 929b2904chore: better deps injection with an app container3mo ago

Decisions

  • TestExecutor_SetTagAction_DoesNotRetrigger is the loop regression test: a workflow whose "set tag" aproposed
  • triggerDepthKey is the context key carrying the workflow trigger depth. Depth 0 (absent) means the mproposed
  • InjectContinuation seeds a continuation whenever anything is wired to the "out" port, same as aiImagproposed
  • injectContinuationOnAnySuccessor seeds a continuation whenever anything is wired to the given port. proposed
  • Use the content type injected by the job worker; fall back to the asset's original mime type when ruproposed
  • AIProviderStatus is a capability-filtered, minimal view of one AI provider's configuration state — wproposed
▸

Everything we found

2,741 open

Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.

  • worst item is critical severity. Code health1,516Untested hotspot · internal/demo/seeder.go51 findings · 9.6 deducted→
  • worst item is medium severity. Refactoring111NewRouter+1.5 health, XL effort · internal/api/router.go→
  • worst item is medium severity. Decisions344internal/docs/docs.go210 awaiting review · 134 hotspots ungoverned→
  • worst item is medium severity. Ownership588internal/api/router.go100% single-owner concentration, 69 commits in 90d→
  • worst item is low severity. Dead code182RootModelUnreachable struct (16 lines)→

Composition

Open the graph →
  • go81%
  • typescript18%
  • javascript<1%
  • dockerfile<1%
  • makefile<1%

Explore this codebase

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