// THE SOURCE STATUS ON THE SOURCE LINE (lane source-status): "… · now private (public // when streamed)". The words in ONE table, and the reading of the manifest's stamp. // // A render reads ONLY the stamp: the manifest's `sourceStatus`, written by // `umtool source-status

refresh` (lib/report/sourceStatusCli.mjs) from the // corpus's records (common lib/sourceStatus.mjs) or the published record. It never // reads the corpus for this and never asks the network, so a machine with no // corpus draws the same line and a take is reproducible. // // "sourceStatus": { "refreshedAt": ISO, "sources": { "/

refresh\``]; if (typeof v.refreshedAt !== "string" || !Number.isFinite(Date.parse(v.refreshedAt))) errors.push(`${where}.refreshedAt must be an ISO time`); if (!isObj(v.sources)) errors.push(`${where}.sources must be an object keyed "/

refresh` has not been run: no clip's line says it"]; } const limit = SOURCE_STATUS_STALE_DAYS * 86_400_000; const old = []; const missing = []; for (const k of keys) { const s = stamp.sources[k]; if (!isObj(s)) { missing.push(k); continue; } // No availability record at all (no state, no reading): nothing a recheck of it would // change on the line, and a public never-checked source is the common case. Not listed. if (s.now == null && s.asOf == null) continue; const at = Date.parse(s.asOf ?? ""); if (!Number.isFinite(at) || now - at > limit) old.push(`${k} (${Number.isFinite(at) ? new Date(at).toISOString().slice(0, 10) : "never read"})`); } const notes = []; if (missing.length) notes.push(`source status: ${missing.length} source(s) not in the stamp (${missing.join(", ")}) -- \`umtool source-status

refresh\``); if (old.length) { const shown = old.length > 6 ? `${old.slice(0, 6).join(", ")} and ${old.length - 6} more` : old.join(", "); notes.push(`source status older than ${SOURCE_STATUS_STALE_DAYS} days: ${shown} -- recheck (pnpm ops refresh-metadata; a removal: the channel's Check availability), then \`umtool source-status

refresh\``); } return notes; }