Read 2026-11-03
tiddlywiki/tiddlywiki5: technical due diligence, read from its repository
What Borehole read in tiddlywiki/tiddlywiki5's code and history at 999763a: 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 | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongplugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js is 14,513 lines, 302× this codebase's median file
adequateThe median source file here is 48 lines. 11 files exceed 1,000 lines, the largest being 14,513. 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.
plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js:1 — 14,513 lines (302× median) |
plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js:1 — 7,034 lines (146× median) |
boot/boot.js:1 — 2,793 lines (58× median) |
plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js:1 — 2,719 lines (56× median) |
core/modules/wiki.js:1 — 1,777 lines (37× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate47 test files against 708 source files (6.6%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 47 test files / 708 source files |
Almost 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 8,896 tracked files |
Product & Engineering Maturity
adequateEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.62 to 0.89 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.62, second half 0.89 (split 2019-04-30) |
18% of bug fixes add or change a test
adequateOf 186 fixes in the last 24 months, 33 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.
| 33 of 186 |
Security & Reliability Posture
adequateNone of the standard security guard rails are configured
adequateThere is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.
| checked 5 kinds of guard rail across 8,896 tracked files; 0 present |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 939 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 939 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| searched 939 files for 10 structured logging libraries; 0 matched |
The service logs with print: 147 calls against 4 logger calls
adequate147 `print` or `console.log` calls in the service's code, and 4 calls through a logger. Printed lines carry no level and no context, cannot be switched off, and are hard to find again in production.
boot/boot.js:202 — print used for logging |
boot/boot.js:796 — print used for logging |
boot/boot.js:1546 — print used for logging |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
No error reporter is wired in
adequateNothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on tiddlywiki/tiddlywiki5: 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.