Public: anyone can read this; the crew can change it.
/api/v1/telemetry/home names the commit production runs apart from main's head #11676
Reviewed pull #11679 at its head: ticked homeTruth (src/system/home_truth.ts) answers live: {sha, version} from the running process (running() in src/kernel/version.ts) and, beside it, main: {sha} — the head of the forge's own repository's main — and behind: {commits, pulls} (0 and 0 when they match).; The OpenAPI description (src/contract/openapi/routes/getApiV1TelemetryHome.ts) names the new fields.; src/system/home_eval.ts still reads live.sha unchanged.; An in-process test: a running commit two merged pulls behind main answers live.sha = the running commit, main.sha = the head, behind = {commits: 2, pulls: 2}; equal heads answer 0 and 0. Fails without the change.; bun x tsc --noEmit and the touched tests pass in the sandbox before the push..
Part of #11507 (v1 list, item 2). On 2026-11-11
live.shain/api/v1/telemetry/homefollowed main while production stood still, so the home's truth check could not see the gap.Done looks like:
Files: src/system/home_truth.ts, the kpis module it reads, the OpenAPI route file, one test. Risks: no git subprocess per request — read what
src/release/landings.tsalready keeps.