Two bugs held every green floor-raise PR in the fleet since 2026-11-06:
- execFileSync's 1 MB default buffer died with ENOBUFS on multi-MB pnpm
lockfiles (petvity, evig, heidi ...), and the contents API's JSON form
drops content above 1 MB. The gate now reads files with the raw media type
and a 256 MB buffer.
- The canary's CI is paths-ignored for Markdown, so a docs-only tip (kivvi's
AGENTS.md sync, #245) had no ci.yml/browser-smoke.yml run and the gate
waited forever. It now walks back through docs-only commits (at most 10)
and takes a missing check from the nearest ancestor where it is green.
The gate read a PR's dependency change as depsAt(pr.base.sha) ->
depsAt(pr.head.sha). pr.base.sha is the base branch as GitHub last
recorded it, not where the branch forked. A branch that forked before the
base bumped a shared package therefore read as reverting the bump, even
when the PR touches no manifest or lockfile.
bitbaum/diplodoctor#59 (tests, a script, a workflow, .env.example) forked
at aebf711, which locks @bitbaum/chatkit 0.21.2. #58 then moved main to
0.21.3, and pr.base.sha is 8965fa3 (#58). The gate saw 0.21.3 -> 0.21.2
and held #59 until a canary deployed 0.21.2 (sweep run 41157383295:
"@bitbaum/chatkit@0.21.2: wait for bitbaum/kivvi to deploy this
artifact"). Both canaries already run 0.21.3 with green CI, browser smoke
and deploy, so that could never happen. The sweep runs the gate before it
refreshes a behind branch, so the update that would have cleared it was
never reached either.
The baseline is now the merge base from the compare API: the parent of
exactly the diff a squash merge lands. An unreadable merge base throws,
which holds the PR like any other missing evidence. Nothing about what the
gate requires of a real dependency change is relaxed.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
* fix(rollout): verify browser jobs inside combined consumer CI
* refactor(rollout): keep existing formatting outside new evidence checks
* style(policy): keep the existing register layout
* test(rollout): model exact GitHub run identities in CLI fixtures
The staged rollout held every product a day behind BiasLens for each
shared-package release. With almost no users on the canary that day
observes nothing: it only delays Heidi and Solon (owner, 2026-10-26:
'I don't know if it makes sense if we have like zero users'). soakHours
is now 0. The order stays: the canary deploys the exact artifact first
and must pass CI and browser checks before anyone else takes it. The
hold message drops 'soak for 0h', and docs/package-rollouts.md says when
to raise it again.
Claude-Session: https://claude.ai/code/session_01YK5nTo2tfxq8V8mKtuRGJH
Co-authored-by: Claude <noreply@anthropic.com>