Borehole · Project · free tier
spf13/cobra
Free reading: not for reliance
adbc881 · 1,106 commits · 66 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

command.go is 2,073 lines, 10× this codebase's median file

adequate

The 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.

Evidence
command.go:1 — 2,073 lines (10× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.1

Change keeps returning to the same few files

adequate

Five 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.

Evidence
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
04.5

Effort is shifting from building to rewriting

adequate

Deleted 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.

Evidence
first half 0.49, second half 1.03 (split 2020-02-06)

Security & Reliability Posture

strong

No finding.

Observability & Operations

not assessable

Not 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 assessable

Not 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.