You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Promote 'pull request contract' to a required status check (sweep #756 first) #810
pull request contract shipped in #809not required, deliberately: a context
made required before it has reported blocks every open pull request whose body
predates the template. Two of its three preconditions are already met.
observed failing — feat(ci): a pull request contract — a ticket, and a post-merge ledger #809 at 20:50:46Z with Closes #807 removed: run 42412994598, per-step checkout success / self-test success / check FAILURE, message no ticket — this pull request closes no issue in athvin/entity-resolution-engine. Restored and green at 20:53:09Z.
add the context, then confirm an unrelated pull request still merges:
gh api -X PATCH repos/athvin/entity-resolution-engine/branches/main/protection/required_status_checks \
-f 'contexts[]=pull request contract'# plus the existing 14 — read them first, never replace blind
Read the existing contexts and append, because that endpoint replaces the
list. The current set is 14; dropping one silently removes a gate.
Worth deciding at the same time: whether the exemptions are right. Today they
are merge-bus/*, Dependabot, a Revert title prefix, and the no-ticket
label. The merge-bus one is load-bearing — merge-bus-verdict.sh reads the bus
pull request's rollup, so a failing context there would stop every batch.
One known cosmetic wart to keep in mind while deciding: because a body edit
re-triggers the check, one head SHA can carry several check-runs of the same
name, and statusCheckRollup returns all of them. Branch protection reads
the latest, so merging is unaffected, but gh pr checks will show a healed red.
One more item for whoever takes this, found by using the ledger rather than reading it — #809's was the first one ever closed:
The ledger vocabulary has no word for "deferred to a tracked ticket".land-pr Phase 4 defines two annotations — n/a — <why> (counts as done) and blocked — <why> (leaves the box empty, gets reported) — and the #756 sweep is neither. It is not inapplicable and nothing blocks it; it is simply owned by this ticket instead. I ticked it n/a with the reason spelled out, which is defensible but blurs a distinction the mechanism depends on: an empty box has exactly one meaning today, and that is worth keeping.
Suggested fix, one line in each place: add deferred — <ticket> as a third annotation that ticks the box, since the work is tracked elsewhere and the audit should not report it as owed. Touches .claude/skills/land-pr/SKILL.md (Phase 4's four rules) and the comment in .github/pull_request_template.md.
Claimed — working the vocabulary half in the draft PR above. Session 4bc5a8d3-968f-421f-97af-274d64ddb944 on brians-MacBook-Pro.
The promotion half is done: pull request contract is now the 15th required context (the 14 existing ones preserved verbatim, strict still false). The sweep precondition resolved itself — the #756 session added the ledger after being notified, and #811 was opened from the new template, so both open PRs pass the check and neither is blocked by it (each is waiting only on its own Rust jobs).
Activity
athvin commentedon Nov 7, 2026
One more item for whoever takes this, found by using the ledger rather than reading it — #809's was the first one ever closed:
The ledger vocabulary has no word for "deferred to a tracked ticket".
land-prPhase 4 defines two annotations —n/a — <why>(counts as done) andblocked — <why>(leaves the box empty, gets reported) — and the #756 sweep is neither. It is not inapplicable and nothing blocks it; it is simply owned by this ticket instead. I ticked itn/awith the reason spelled out, which is defensible but blurs a distinction the mechanism depends on: an empty box has exactly one meaning today, and that is worth keeping.Suggested fix, one line in each place: add
deferred — <ticket>as a third annotation that ticks the box, since the work is tracked elsewhere and the audit should not report it as owed. Touches.claude/skills/land-pr/SKILL.md(Phase 4's four rules) and the comment in.github/pull_request_template.md.athvin commentedon Nov 7, 2026
Claimed — working the vocabulary half in the draft PR above. Session
4bc5a8d3-968f-421f-97af-274d64ddb944onbrians-MacBook-Pro.The promotion half is done:
pull request contractis now the 15th required context (the 14 existing ones preserved verbatim,strictstill false). The sweep precondition resolved itself — the #756 session added the ledger after being notified, and #811 was opened from the new template, so both open PRs pass the check and neither is blocked by it (each is waiting only on its own Rust jobs).feat(ci): a `deferred` ledger annotation, enforced so it cannot retir…
feat(ci): a `deferred` ledger annotation, enforced so it cannot retir…