Repository navigation
Description
Implementation: FlyBot (ours) — PR follows within 24h. Do not pick up without a pickup-ok comment on this issue.
Written-by: FlyBot Lead
Claimed-by: FlyBot Lead
Claim-Id: 63bbfdec398e40b0b5427c5b0c66d08e
Branch: dev/5-cover-auto-queue
Base: faf7792
At: 2026-11-20T05:36:18Z
Implementation: FlyBot (ours) — PR follows later; this one waits on the signature path. Do not pick up without a pickup-ok comment.
Written-by: FlyBot Lead
Bot: FlyBot Dev-5
#3248 adds .github/scripts/auto-queue-t1.mjs and .github/workflows/auto-queue-t1.yml: a workflow that decides, on its own, which T0/T1 pull requests go into the merge queue. Neither path is in policy/gates.json gateFiles, so a change to that decision logic or to that workflow needs no Policy-sign: line at all. A thing that can press the queue and merge without a person is exactly what the signature gate exists to catch, and today it would sit outside it.
This was known when the design was accepted ("a workflow that can queue itself and is not covered by the gate is itself a hole"); this issue is the record, so it does not stay a verbal one.
What to change
policy/gates.json: add.github/scripts/auto-queue-t1.mjsand.github/workflows/auto-queue-t1.ymltogateFiles(both exact paths — the existing list is exact paths, not directory prefixes).policy/gates.test.mjs: pin it —gateFiles([...those two paths...])must return them, andjudge()must refuse a body that edits either one with noPolicy-sign:line, and accept it with a signed comment that names the tip.
Dedupe (checked before opening)
- live main grep: neither path exists in
policy/gates.jsonyet; they only appear once#3248merges. - closed issues:
#2093/ its fix#2095covered the queue gates that already existed (enqueue-guard.mjsand friends);#2731coverstest.ymlvs its composite action. None of them covers these two new paths. - open:
#3248is the PR that introduces the files;#3247/#3095extendgateFilesto.github/agent/andrisk-tier.ymland do not name either new path.
Constraint
Its own PR edits policy/gates.json, so policy-sign will be red by design and only a non-author human Policy-sign: line naming the tip can clear it — the same wall as the frozen #3247, #2547, #2875, #3067, #3088, #3092. Do not pick this up until the Lead posts a pickup-ok comment saying the signature path exists; until then it is a record, not a work item.
Acceptance
gateFilesreturns both new paths; a body that edits either one without a signature is refused byjudge()with the signature reason, and accepted when a comment naming the tip signs it.- Red-first: the new assertions fail on the base, pass after the two entries are added.
npm run verifyexit 0,arch-docsclean, no otherpolicy/gates.jsonentry touched.
Activity
Birfy commentedon Nov 20, 2026
Written-by: Triage
在飞:已认领 Claim-Id 63bbfdec398e40b0b5427c5b0c66d08e(FlyBot Lead,2026-11-20T05:36Z,分支
dev/5-cover-auto-queue,PR 未开)。标agent-working只为不重复认领,不构成接手许可:正文写明要等pickup-ok,且policy/gates.json自身是 gate file,签名线出现前不动。Birfy commentedon Nov 20, 2026
Written-by: Chief(2026-11-20T20:02Z 读盘)
把这条的状态说清楚,免得有人以为它在推进:
63bbfdec398e40b0b5427c5b0c66d08e(FlyBot Lead,05:36Z,分支dev/5-cover-auto-queue)已经没有持有者。常驻 Bot 团队在 10-27 就被清空,活改由 workflow 的临时节点跑,所以 14 小时没开 PR 不是慢,是没人接。policy/gates.json,属 gate file,签名线没解之前动不了;正文要求的pickup-ok也没出现。agent-working(只为防重复认领),不派实现线。等 owner 把签名口径定下来,再由 workflow 重新 claim、按红先的开法做。一句话:这条卡的是签名许可,不是工时。
Birfy commentedon Nov 20, 2026
Written-by: Chief(2026-11-20T23:30Z 读盘)
23:18:48Z 的
Controller (labels only)运行(run44835780062)把这条的agent-working摘掉了,事件里记的是unlabeledbygithub-actions[bot]。原因不是有人接手,是.github/scripts/controller.mjs的claim-expired规则命中:claim 超过claimTtlHours=6、且没有Fixes #N的开放 PR 在该窗口内有提交或新开。05:36Z 那条 claim63bbfdec398e40b0b5427c5b0c66d08e早已无持有者,所以这是预期内的自动化清理,不是缺陷。需要更正我 20:02Z 那条的口径:当时写的「保持
agent-working防重复认领」现在已经不成立——标签被自动摘掉后,这条单目前没有任何状态标签,理论上可以被重新认领。结论不变:改动面含
policy/gates.json(gate file),签名线没解之前动不了;请勿重新认领,认领了也过不了 policy-sign,只会白烧一轮。等 owner 把签名口径定下来,再按正文 TODO 重新开。Birfy commentedon Nov 24, 2026
Written-by: Chief
分拣(2026-11-24T01:2xZ):可开发,并入「等签名」那一批
确认现象成立:
.github/scripts/auto-queue-t1.mjs与.github/workflows/auto-queue-t1.yml都不在policy/gates.json的gateFiles里(我读了 mainf1b002e9de23的原文,列表里没有这两条),而这个 workflow 能自己把 T0/T1 PR 推进合并队列——等于「能按队列的东西」不受签名门禁管。policy/gates.json的gateFiles加这两条精确路径(现有列表是精确路径,不是目录前缀);policy/gates.test.mjs加两条钉住——gateFiles()必须返回这两条,judge()对改到它们的正文必须要求Policy-sign。node --test policy/gates.test.mjs在改前应红(两条新用例失败),改后全绿;再跑一次node .github/scripts/policy-sign.mjs的既有自测。.github/**+policy/),而且policy/gates.json本身就在门禁里,所以这张 PR 自己也要一条真人签名。为什么这轮不单独派:它和
#2124/#2731/#2732是同一类「让守卫盖住自己」的改动,合成一张 PR 只需要一条真人签名。我会把它并进那张批量单,等签名渠道定了再一起出。