Borehole · Project · free tier
modem-dev/hunk
Free reading: not for reliance
544bc40 · 978 commits · 1,661 files
Read 2026-11-03

modem-dev/hunk: technical due diligence, read from its repository

What Borehole read in modem-dev/hunk's code and history at 544bc40: 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 Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

packages/hunk/src/app/cli.ts is 2,731 lines, 20× this codebase's median file

adequate

The median source file here is 135 lines. 9 files exceed 1,350 lines, the largest being 2,731. 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
packages/hunk/src/app/cli.ts:1 — 2,731 lines (20× median)
packages/hunk/src/ui/components/panes/DiffPane.tsx:1 — 2,695 lines (19× median)
packages/hunk/src/extension-api/types.ts:1 — 2,658 lines (19× median)
packages/hunk/src/ui/App.tsx:1 — 1,979 lines (14× median)
packages/hunk/src/ui/hooks/useTerminalReview.ts:1 — 1,939 lines (14× median)

Engineering Process & SDLC Maturity

adequate
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (website/playwright.config.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.

Evidence
website/playwright.config.ts:8 — test retry
02.24

7% of recent commits change more than 2,000 lines

adequate

61 of 830 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
61 commits over 2,000 lines

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

4 steps pipe a download straight into a shell. 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.

Evidence
install.sh:10 — download piped into a shell

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 1,514 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.

Evidence
searched 1,514 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
06.2

No structured logging library is in use

adequate

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

Evidence
searched 1,514 files for 10 structured logging libraries; 0 matched
06.9

No error reporter is wired in

adequate

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

Evidence
no error reporter initialised

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on modem-dev/hunk: 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.