Read 2026-10-04
spf13/cobra: technical due diligence, read from its repository
What Borehole read in spf13/cobra's code and history at adbc881: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongcommand.go is 2,073 lines, 10× this codebase's median file
adequateThe median source file here is 196 lines. 1 file exceed 1,960 lines, the largest being 2,073. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
command.go:1 — 2,073 lines (10× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongChange keeps returning to the same few files
adequateFive files out of 152 absorb 36% of all file-level change. Concentration like this is where debt is usually being serviced rather than repaid: the same code is reopened because it is load-bearing, fragile, or both. A repository cannot tell you which — that is a conversation with the team.
command.go — 252 commits touched it |
README.md — 162 commits touched it |
cobra_test.go — 87 commits touched it |
bash_completions.go — 82 commits touched it |
command_test.go — 72 commits touched it |
Effort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.49 to 1.03 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.49, second half 1.03 (split 2020-02-06) |
Security & Reliability Posture
strongNo finding.
Observability & Operations
not assessableNot rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on spf13/cobra: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.