Read 2026-10-04
charmbracelet/bubbletea: technical due diligence, read from its repository
What Borehole read in charmbracelet/bubbletea's code and history at d5bfd5c: 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 | adequate |
| Security & Reliability Posture | strong |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongtea.go is 1,465 lines, 15× this codebase's median file
adequateThe median source file here is 92 lines. 1 file exceed 1,000 lines, the largest being 1,465. 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.
tea.go:1 — 1,465 lines (15× median) |
Engineering Process & SDLC Maturity
strongAlmost no process scaffolding exists in the repository
adequateOf five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.
| 1 of 5 markers present across 228 tracked files |
Product & Engineering Maturity
adequateChange keeps returning to the same few files
adequateFive files out of 353 absorb 26% 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.
tea.go — 407 commits touched it |
examples/go.mod — 252 commits touched it |
go.mod — 202 commits touched it |
README.md — 175 commits touched it |
cursed_renderer.go — 115 commits touched it |
Effort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.66 to 0.96 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.66, second half 0.96 (split 2023-05-19) |
16% of bug fixes add or change a test
adequateOf 285 fixes in the last 24 months, 46 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 46 of 285 |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate7 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.
.github/workflows/build.yml:6 — action pinned by tag |
.github/workflows/coverage.yml:26 — action pinned by tag |
1 locked dependency has published vulnerabilities
adequate1 of 28 locked dependencies match 1 published advisories in OSV. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
tutorials/go.mod — golang.org/x/sys v0.40.0: GO-2026-5024 (unrated), fixed in 0.44.0 |
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 charmbracelet/bubbletea: 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.