Borehole · Project · free tier
kaelio/ktx
Free reading: not for reliance
49a4ae6 · 548 commits · 1,688 files
Read 2026-11-03

kaelio/ktx: technical due diligence, read from its repository

What Borehole read in kaelio/ktx's code and history at 49a4ae6: 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 provenanceadequate
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • CONTRIBUTING.md:65: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

adequate
01.2

The repository begins with most of itself already written

adequate

The first commit carries 257,054 lines — 45% of every line ever added. Whatever happened before that commit happened somewhere this repository cannot show you, so the early history is not available as evidence of how the system was designed.

Evidence
2026-05-10T21:12:26+00:00; +257,054 across 1199 files; subject: 'Initial open-source release'
01.6

packages/cli/src/context/ingest/ingest-bundle.runner.ts is 3,347 lines, 26× this codebase's median file

adequate

The median source file here is 125 lines. 9 files exceed 1,250 lines, the largest being 3,347. 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/cli/src/context/ingest/ingest-bundle.runner.ts:1 — 3,347 lines (26× median)
packages/cli/src/setup-databases.ts:1 — 2,618 lines (20× median)
packages/cli/src/setup-sources.ts:1 — 2,331 lines (18× median)
packages/cli/src/context/sl/semantic-layer.service.ts:1 — 1,675 lines (13× median)
python/ktx-sl/semantic_layer/planner.py:1 — 1,476 lines (11× median)

Engineering Process & SDLC Maturity

adequate
02.24

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

adequate

37 of 426 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
37 commits over 2,000 lines

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.20

5 SQL statements built from strings

adequate

5 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

05.26

37 locked dependencies have published vulnerabilities, 43 high or critical in what ships

adequate

37 of 1,407 locked dependencies match 129 published advisories in OSV, 57 of them rated high or critical. 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.

Evidence
uv.lock — anyio 4.13.0: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
uv.lock — certifi 2026.5.20: GHSA-6q48-6c7w-9gw2 (critical), fixed in 2026.10.18
pnpm-lock.yaml — handlebars 4.7.9: GHSA-8r5x-fm3f-whwj (critical), fixed in 4.7.10

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

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

One request cannot be followed through the logs

adequate

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

Evidence
no request id, correlation id or tracing found
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 kaelio/ktx: 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.