Repository navigation
finding(skills/governed-surface): the queue guard's size limb prescribes a HUMAN MERGE (人工直合) that the main ruleset makes unreachable — merge queue mandatory, the guard required, bypass_actors empty — so PR #19024 was enqueued three times by the maintainer's accounts and refused three times #19344
Description
Path: none | instrument (scripts/pm/check-governed-queue-guard.mjs, the size limb's remedy text :1379 · :1471 · :2006 + a pin against the ruleset) | RULED — item 6 of the maintainer's 「1 2 3 4 5 6 8」 (5750078192 → 5750077963) | graded by domain:skills#2
Filed by the director seat, summon #25 (session_012GcsUbuqFGBibkEDMRC1eE), answering the maintainer's question in chat: 「19024 我已经合并了很多次,查查什么原因没成功,我可以管理员强制合并吗」. ⛔ Filed unassigned; the skills lane triages it (governed-surface enforcement, scripts/pm/check-governed-queue-guard.mjs + .github/workflows/governed-surface-guard.yml). ⛔ No domain:* / priority:* / type applied. ⛔ This seat does not touch the ruleset — it is the maintainer's settings surface.
What was measured (REST, read at the time of filing)
The ruleset (GET /repos/objectstack-ai/objectstack/rulesets/12119582, name main, enforcement active, target ~DEFAULT_BRANCH):
- rules:
deletion,non_fast_forward,merge_queue(SQUASH, ALLGREEN, max 5),pull_request(0 required approvals),required_status_checks— seven contexts, one of themGoverned Surface Queue Guard. bypass_actors: null— nobody, including repository admins, is offered 「Merge without waiting for requirements to be met (bypass rules)」.
The guard (check-governed-queue-guard.mjs, size limb, exit 8): on merge_group it refuses any queued PR over HUMAN_MERGE_LINE_THRESHOLD (5000 changed lines, generated files included — the 2026-09-18 ruling 「修改代码量超过某个行数(比如5000)就应该人工审核」) and prints the remedy: 「convert back to DRAFT … then a HUMAN MERGE … the maintainer's own click lands it (人工直合). ⛔ An authorized APPROVED review does NOT lift this limb」. Its pull_request leg deliberately exits 0, so the PR reads mergeable_state: clean and the Merge button is offered.
PR #19024 (239,275 changed lines, +119 / −239,156; CI green on 499c4791d6; os-zhuang APPROVED twice; contract review PASS): three added_to_merge_queue events, each followed by removed_from_merge_queue by github-merge-queue[bot]:
| enqueued by | at | removed at | guard run |
|---|---|---|---|
| os-bill | 2026-09-18T14:34:34Z | 2026-09-18T15:16:38Z | (size limb; the 2026-09-18 ruling landed that day) |
| os-steve | 2026-09-20T10:22:06Z | 2026-09-20T10:43:37Z | refused on the size limb (the seat's own record, PR comment 5749315132) |
os-zhuang (a GOVERNED_APPROVERS account, the maintainer's) |
2026-09-20T11:22:09Z | 2026-09-20T11:34:17Z | workflow run 35507643546, merge_group, gh-readonly-queue/main/pr-19024-81e12e18…, conclusion failure |
⇒ Under this ruleset the only Merge button anyone sees is 「Merge when ready」 = enqueue; the guard is required and refuses on size in the merge group; there is no bypass path. The guard's prescribed terminal (人工直合) is unreachable by construction. The maintainer clicking Merge repeatedly is the expected outcome of the design, not an operator error. The guard's own header quotes the 2026-08-27 question 「…还是要等我 bypass 吗」 — the design assumed a bypass path that the ruleset does not grant.
What this card asks — one of two, the maintainer's choice, then the text follows
- (a) Ruleset grants the bypass the guard assumes: add a bypass actor to ruleset
main(theRepository adminrole, or theGOVERNED_APPROVERSaccounts) — bypass mode 「for pull requests only」 keeps the deletion / non-fast-forward rules intact. The Merge button then offers 「bypass rules」, which is the 人工直合 the guard names; the audit log records every bypass;check-governed-mergesalready lists such a landing on size for recognition. The guard's remedy text then says so explicitly (「the Merge button's bypass-rules option is the human merge」). - (b) The guard stops prescribing a terminal the ruleset cannot reach: the size limb passes a merge group when the PR carries a
GOVERNED_APPROVERSAPPROVED review and a human-merge marker the maintainer sets (the same ACCEPT /needs-user-decision/ 速读 shape it already prescribes), so the queue lands it.⚠️ This widens the limb past the 2026-09-18 ruling's literal 「人工审核」 → the guard's own text says that widening is 「the maintainer's one-line decision in the sibling」 — it needs that line, ⛔ not a seat's judgement.
Either way, the guard's remedy sentence must describe a path that exists on this repository's ruleset; a pin reads the ruleset's bypass_actors (or a recorded fixture of it) and fails when the remedy names a path the ruleset does not offer.
Not this card
- ⛔ Not the 5000-line rule itself (ruled 2026-09-18; stands).
- ⛔ Not removing
Governed Surface Queue Guardfrom the required set — that reopens the three incidents the guard exists for (incident: the devx PM seat armed and enqueued a governed-surface PR 19 minutes after #9495 widened the governed set — it survived only on a merge conflict #9550, Incident: governed-surface PR #10483 (.claude/**) was flipped ready and entered the merge queue with no human action — caught pre-merge by a push rejection, not by any guard #10580, finding: skill-surface PR #9238 (.claude/skills/**) was flipped ready, enqueued, and merged by the queue — Prime Directive #14 human-merge bypassed #9319). - ⛔ Not PR revert(spec): take back the declaration-text snapshot, restore the 27 signature hashes #19024's content (contract review PASS, 5749235348) nor its Clause-② C5 false tells (
check-widening-tellsT3 reports 27 FALSE widening tells onpackages/spec/api-surface-signatures.jsononce PR #19024 restores itsREGEN_ARTIFACTSrow —PUBLISHED_SURFACESadmits a file that is in no package'sfiles[], and the gate's remedy sentence points the repairer at the matcher instead ofscripts/regen-artifacts.mjs#19341).
Dedupe words: human merge unreachable bypass_actors null · Governed Surface Queue Guard size limb merge queue mandatory · 人工直合 ruleset bypass · PR 19024 removed_from_merge_queue three times · HUMAN_MERGE_LINE_THRESHOLD terminal ruleset
Generated by Claude Code
Activity
os-project-manager commentedon Sep 20, 2026
Pointer from the director seat, summon #25 (
session_012GcsUbuqFGBibkEDMRC1eE), 2026-09-20T12:54Z: the maintainer took route (a) in person — added a bypass actor to rulesetmainand merged PR #19024 by bypass (merged_byos-zhuang, 2026-09-20T12:52Z, squash2277d1fcd103, now the first-parent tip oforigin/main). Landing verified by content on fetchedorigin/main:packages/spec/api-surface-declarations/gone (0 tree entries),packages/spec/api-surface-signatures.jsonpresent,build-api-surface-declarations.tsand changeset16045absent; lit controlpackages/spec/package.jsonpresent. At the time of this read the ruleset'sbypass_actorsreadsnullagain — the bypass was either removed after the merge or is not exposed to this token; whoever takes this card re-reads it.⇒ This card's ask narrows to what remains: the guard's size-limb remedy text must name a path that exists on this repository's ruleset (the Merge button's bypass-rules option, which exists only while a bypass actor is configured), and a pin that fails when the remedy names a path the ruleset does not offer. No state change on this card.
Generated by Claude Code
os-project-manager commentedon Sep 20, 2026
Pointer from the director seat, summon #25 (
session_012GcsUbuqFGBibkEDMRC1eE), 2026-09-20T13:24Z: the maintainer ratified this card's ask as item 6 of a seven-item process directive given in chat, verbatim 「1 2 3 4 5 6 8」 (the full list and the record are on objectstack#19340, theRuling:comment posted in the same stroke). Direction stands as this card states it: the guard's size-limb remedy names a path that exists on themainruleset (the Merge button's bypass-rules option while a bypass actor is configured), or the ruleset keeps a standing bypass actor; a pin fails when the remedy names a path the ruleset does not offer. No state change on this card by this seat; the skills lane grades and executes.Generated by Claude Code
os-steve commentedon Sep 20, 2026
Lane first-touch grading (skills seat self-triage) — by the
domain:skillsseat 2 (session_017ETYWqMQD4qMtZzAGovWNi, seat post #19287) at 2026-09-20T21:40Z; premise re-read onorigin/mainb71d9e7at 2026-09-20T21:27Z, thread read to its last comment in the same act. Grading is the seat's mechanical duty each fire (lanes/skills.md:22–:24: 本车道 finding 自分诊, 北极星「仪器为车队服务」的那一问); dispatch order stays the seat's value assessment under the maintainer's standing order (high-value only).finding→pm:queue·priority:p2·tooling.merged_byos-zhuang,2277d1f, re-read on the PR this act). What remains is exactly the card's residual ask: the remedy sentence names a path that exists on themainruleset (the Merge button's bypass-rules option, which exists only while a bypass actor is configured) or the ruleset keeps a standing bypass actor; a pin fails when the remedy names a path the ruleset does not offer.GET /rulesets/12119582answers this token with nobypass_actorsfield at all (⛔ neithernullnor a list) — the pin must say what it read and pass on 「unreadable」 rather than assert a path from a field the token cannot see; a recorded fixture of the ruleset is the card's own fallback.claude/pm-superseded-references-tier, draftfa628d0) edits the same file's 「THIRD leg」 header (~:268–:294, +20 / −8) — a different region from the size limb's remedy ⇒ region-parallel under ruling 甲, the later lander merges once. Default tier (non-gatescripts/pm/**by the lane table; the guard is a required check —--pairand the in-seat record still apply). ⛔ Not the 5000-line rule, ⛔ not the required set — the card's own 「Not this card」 stands.Path:line prepended to the body.Generated by Claude Code
os-steve commentedon Sep 20, 2026
Claim: PM loop round 1 (skills seat 2 at #19287 — R1; the seat's own value assessment under the maintainer's orders in this session, verbatim 「当前任务处理完就只处理高优先级任务。」 and 「你应该自己评估哪些issue适合优先处理。」, 2026-09-20 — item 6 of the maintainer's ratified directive 「1 2 3 4 5 6 8」 — the size limb's remedy names a terminal the ruleset made unreachable and the maintainer clicked Merge three times)
Session:
session_017ETYWqMQD4qMtZzAGovWNiBranch:
claude/issue-19344-size-limb-remedy-names-bypass-pathWorktree:
objectstack-issue-19344Domain:
domain:skillsSeat:
domain:skills#2File surface:
scripts/pm/check-governed-queue-guard.mjs— the size limb's remedy text (:1379, :1471, :2006 and the header sentence at :410 that states the same terminal) and ONE pin in its--self-testthat reads the ruleset (GET /repos/{o}/{r}/rulesets/{id}, or a recorded fixture of it when the token cannot seebypass_actors) and fails when the remedy names a path the ruleset does not offer; ⛔ not the 5000-line threshold (check-governed-merges.mjs), ⛔ not the required set, ⛔ not the 「THIRD leg」 header :268–:294 (PR #19379's region), ⛔ no workflow.Container & model:
Sin size,Min judgment,mode:subagent, default tier —dispatch-gates --tier --repo objectstack-ai/objectstack scripts/pm/check-governed-queue-guard.mjs: no path-derived mandate.Clause-②: no
Thread-read: 5752860546
Ruling-ref: the maintainer's item 6 (5750078192 → the record 5750077963) and the director's narrowing 5749924838 (route (a) taken in person: PR #19024 merged by bypass at 2026-09-20T12:52Z,
2277d1f); lane grading 5752860546 (p2 ·tooling). The seat's reading for the dev: the remedy sentence names the path that exists — 「the Merge button's bypass-rules option, offered only while a bypass actor is configured on rulesetmain; the audit log records it andcheck-governed-mergeslists such a landing」 — and keeps 人工直合 as the name of that act; the pin readsbypass_actorsand reports UNREADABLE (pass with the reading printed) when the token cannot see the field, ⛔ never asserts a path from a field it did not read.Premise re-read (seat,
origin/mainb71d9e7at 2026-09-20T21:27Z): :1379 / :1471 / :2006 still read 「the maintainer's own click lands it (人工直合)」 with no mention of the bypass option;GET /rulesets/12119582answers this seat's token with nobypass_actorsfield. The premise holds.Serial constraints cleared: 1 of 20 open PRs touches the file — PR #19379 (
claude/pm-superseded-references-tier, draftfa628d0, +20 / −8 in the 「THIRD leg」 header :268–:294) — a different region ⇒ region-parallel under ruling 甲, the later lander merges once;git ls-remote --heads origin | grep issue-19344→ 0 heads; H17 index: 0 rows.Net-line budget (a PM figure, ⛔ not the dev's to raise): net ≤ +60 lines in the guard including the pin. Label on the PR:
skip-changeset.Generated by Claude Code
os-steve commentedon Sep 20, 2026
os-dev-report
Reading time: 2026-09-20T22:28Z — dev seat
domain:skills#2for #19344; PR #19448 head1c29ef7; statusdone.Generated by Claude Code
os-steve commentedon Sep 20, 2026
ACCEPT —
domain:skills#2(session_017ETYWqMQD4qMtZzAGovWNi, seat post #19287) at 2026-09-20T22:37Z; PR #19448 (draft, head1c29ef7, not governed — the seat lands it through the queue on green).Checklist, verified on GitHub and on the tree (⛔ not on the report's self-description):
main· first lineFixes #19344·Clause-②: noline-initial · labelsskip-changeset+size/s.scripts/pm/check-governed-queue-guard.mjs+67 / −7 (net +60, the budget exactly) — the four remedy sentences, two pure exports (bypassActorReading,remedyPathVerdict), one 5-case battery on a recorded ruleset reading, the battery floor 22 → 23; nothing in PR fix(pm): repair two carriers still spelling the superseded references-tier boundary #19379's header region.check-governed-merges --pr 19448: NOT governed.## Contract reviewPASS on the PR at this head (5753175371, in-seat atCONTRACT_REVIEW_TIER);--pair 19448after the record: exit 0.--self-testexit 0, 301 cases, the reading line printed;merge-treevsorigin/main57ceb9dclean. The dev's ablation (3 of 301 red on the replaced phrase, blob restored and proven), the union 31 / 31 with--ranreconciled,check:pm-dispatch-gatesexit 0.1c29ef7at 2026-09-20T22:35Z: 35 check runs, 1 still running, 0 red — landing waits for it.mcp_calls0 ·api_writes3 (+2 pushes). All four assumptions confirmed; deviations read and accepted (the slow gate waited in-turn; net at the budget). Two observations with a named carrier, correctly not filed. Ruling executed: item 6 of the maintainer's 「1 2 3 4 5 6 8」 (5750077963) — the remedy names the path the ruleset offers, and a pin reads the ruleset.Landing: not governed ⇒ ready + auto-merge once every check is green;
pm:dispatchedcomes off at MERGED (theFixesline closes this card).Generated by Claude Code
fix(pm): the queue guard's remedy names the Merge button's bypass-rul…
docs(pm-dispatch): land the maintainer's filing/merging directive — i…
feat(governed): an authorized APPROVED review lifts the over-5000-lin…