Repository navigation
Commit 3bf9c5c
pm: PD14 names the relay dequeue door and the low-risk arm's security conditions; CODEOWNERS and fleet workflow comments follow (#34256)
Part of #33768
<!-- claude-projects-attribution: {"github_login":"os-steve"} -->
_Requested by **Steve** · [project
thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi94aDHbe6SfNTi5CxVcVEY5m)_
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 改了什么:四个受管文件只改文字。AGENTS.md 第 14 条:已入队的受管 PR,由它的落地席位走中继 `pr_dequeue`
撤出(已有一次线上实测),其他席位或撤出没成功时,立即请你手工撤;低风险臂按 Tier S 落地,还要复审记录写
`Security-touching: no`,且点名的卡从没挂过 `security`。CODEOWNERS
抬头、fleet-write.yml、fleet-patrols.yml 只改注释。
- 为什么改:#33732 加了出队通道,#34133 给低风险臂加了安全条件,但第 14 条、CODEOWNERS 抬头和两个
workflow 注释还停在旧说法(卡 #33768 的复审尾项和两条接续说明)。
- 风险与回滚:只改规则文字和注释,没有代码、owner 行或 workflow 键的变动;AGENTS.md 仍是 1050
行,在上限内。回滚就是 revert。
- 先看:AGENTS.md 第 292–293 行(低风险臂条件)和第 302–303 行(出队)。
- 两分钟验证:`node scripts/pm/check-governed-queue-guard.mjs
--self-test`(CODEOWNERS 镜像仍绿),`pnpm check:pm-skill-ratchet`(AGENTS.md
行数)。
- 需要你做的:本 PR 动
AGENTS.md、.github/CODEOWNERS、.github/workflows/fleet-write.yml、.github/workflows/fleet-patrols.yml(Tier
H),保持 draft;契约复审由席位交 review#2,之后请 GOVERNED_APPROVERS 审批。
## What changes
- **`AGENTS.md`, Prime Directive 14** (two sentences, both paid inside
PD14; the file stays at 1050 lines):
- The dequeue sentence. It said no seat act is measured to dequeue a
queued PR, so ask the maintainer. Since #33732 the relay has
`pr_dequeue`, and one live stroke is measured: fleet-write run
43767458575 (2026-11-15 22:10Z, cause `seat-asks`, PR #34097). The mint
carried `permission-merge-queues: write`, `dequeuePullRequest` answered
200, and the relay's read-back listed 25 entries without #34097 and read
it still open and unmerged; its audit comment is 6902190812. The
sentence now reads: a queued one's landing seat sends the relay's
`pr_dequeue` (measured live, comment 6902190812); any other seat, or a
stroke that does not land, asks the maintainer at once. "Landing seat"
is the relay's own fence: cause `seat-asks` is accepted only from the
seat that the PR body's signed trailer names (`landing-operations.md`,
`lanes/queue.md`). Other seats are not the PR's landing seat, so the
maintainer path stays for them.
- The arm wording. Since #34133, `lowRiskArmVerdict` reads Tier S only
on a record carrying `Security-touching: no` and no named card that
carries or ever carried the `security` label. The Tier S parenthetical
now says so.
- Paid inside PD14 with two rewordings that keep the meaning: "a `##
Contract review` record … with `Served-tier: CONTRACT_REVIEW_TIER` and a
PASS verdict" became "a PASS `## Contract review` record … with
`Served-tier: CONTRACT_REVIEW_TIER`", and "the owning seat lands it
through the queue" became "the owning seat queues it". The touched lines
are re-wrapped at the paragraph's 120-byte width. No line was bought by
a re-wrap alone.
- **`.github/CODEOWNERS` header** (comment lines only):
- The title line now reads "every Tier H governed surface but the
low-risk arm's rows". That matches the section line lower down ("less
the low-risk arm's … rows").
- #33975 review N9: the hunk from `3bc27d49` is re-applied as it was.
The ADR ruling sentence now says "in the root tree" and "lands under the
low-risk arm's conditions", and both long lines are re-wrapped at the
file's width.
- No owner row, owner name or path row changed.
`codeownersMirrorVerdict` (queue-guard self-test) stays green.
- **`.github/workflows/fleet-write.yml`** (comment only): the
`permission-merge-queues` comment named ONE consumer,
`pr_enqueue_front`. It now names two, `pr_enqueue_front` and
`pr_dequeue`, and says each travels alone. The NOT MEASURED wording
stays and now also covers the dequeue mutation: whether
`dequeuePullRequest` needs the grant at all, and what a token without it
answers, is NOT MEASURED either, because the one live stroke carried the
grant. That is the same statement `scripts/pm/fleet-write/ops.mjs`
makes. No `with:`, `env:`, step or key changed.
- **`.github/workflows/fleet-patrols.yml`** (comment only): the weekly
governed-merges audit header defines BREACH. It now also covers an arm
landing on a record stage reading Tier H, as `check-governed-merges.mjs`
already prints ("no same-head at-tier PASS record, or a record stage at
Tier H").
## Why
These are the governed-text items of card #33768: the stale
`fleet-write.yml` comment and the PD14 sentence from PR #33732's
Acceptance notes, plus the carry-over notes 6900367064 (CODEOWNERS
header) and 6901240370 (the arm's security condition, the patrols BREACH
line). They waited for PR #34115 (merged 2026-11-16 01:41Z), which
changed the same PD14 line, and for PR #34133 (merged 2026-11-15
23:51Z).
## Verification
- Premise on `origin/main` `7be32d39` (round 1 merged `origin/main`
`b8456ebd`; it touches none of the four files): each quoted text was
still there; `platform-readings.md` has no dequeue line.
- `node scripts/pm/dispatch-gates.mjs --commands --repo
objectstack-ai/objectstack` at round-1 head `af9ef8f0` derived 48
commands; all 48 exit 0. `--ran`: 48 derived, 48 run, 0 NOT-MEASURED, 0
UNRUN. (Round 0 head `c6dcc41d` derived the same 48, all exit 0.)
- The delta's two named self-tests also ran: `node
scripts/pm/check-governed-queue-guard.mjs --self-test` (581 cases,
includes `codeownersMirrorVerdict`) and `node
scripts/pm/fleet-write/validate.mjs --self-test` (428 cases, includes
the `permission-merge-queues` line pin).
- Line budget: `AGENTS.md` 1050 → 1050 lines (ceiling 1050,
`check-skill-line-ratchet.mjs`; `pnpm check:pm-skill-ratchet` green at
`af9ef8f0`), 78025 → 78079 bytes, every touched line ≤ 120 bytes.
`.github/CODEOWNERS` 65 → 68 lines, longest line 150 → 84 bytes.
`fleet-write.yml` 198 → 202 lines. `fleet-patrols.yml` 1861 → 1862
lines. Every added `.github` line is ≤ 119 bytes.
- Forced test edits: none.
## Review round 1
Contract review of record 6906023389 (review#2, PASS on `c6dcc41d`) has
no required change. Round 1 head: `af9ef8f0` (S1/N2/N4 commit
`2198eb03`, then a merge of `origin/main`).
- S1, taken: PD14 now gives the landing seat a backstop. "any other
seat, or a stroke that does not land, asks the maintainer at once" puts
"at once" back on the asking. The reviewer's exact wording ("… asks the
maintainer at once to remove it by hand") measured one line over under
this paragraph's 120-byte greedy wrap, which is the wrap the paragraph
already uses: 1051 lines. So "to remove it by hand" was dropped. The
next clause, "then confirm from the remote that it is in neither the
queue nor `origin/main`", still says what is asked. "for a queued one
its landing seat" also became "a queued one's landing seat". AGENTS.md
stays at 1050 lines, and every touched line is ≤ 120 bytes.
- N2, taken: `fleet-write.yml` now says the dequeue grant is "NOT
MEASURED either: the one live stroke carried the grant". Comment lines
only.
- N4, taken: "for its current head" is now "for the PR's current head".
It fits on the same line.
- S2, not taken here: the seat filed both followers on #33768
(carry-over note 6905853116), the queue-guard refusal texts and the
`platform-readings.md` dequeue row. Nothing in this diff changes for it.
- N1, not taken: the citation stays. The durable anchor will be the S2
row once it lands.
- N3, not taken: `lowRiskArmVerdict` is cited as the full statement. No
change.
- N5, not taken: it is outside this diff (`landing-operations.md`).
## Acceptance notes
- Left on the card, unticked: N1 and E1 (measured at the first live
stroke of their kind; see below), D2 (needs a seat-to-session roster
read), D4 (needs a byte budget), N2 (needs a ruled row-pin raise).
- E1 reading available: run 43767458575 is the first live `seat-asks`
stroke that E1 waits for. The executor logged the write-pace pause at
22:10:48.9Z and the landed line at 22:10:55.5Z. The removal-to-merge gap
E1 asks about is not in that log, so it is NOT MEASURED here. Carrier:
the seat (card item E1).
- `scripts/pm/check-governed-queue-guard.mjs` still prints "no seat act
is measured to take it out of the queue … So ask the maintainer AT ONCE"
in both refusal remedies (about lines 1990 and 2957) and in two comments
(about 4280 and 5160). Those remedies now lag PD14. They sit outside
this PR's file surface. Carrier: the seat (a `domain:skills` tooling
card).
- `platform-readings.md` has no line for the measured dequeue stroke.
PD14 cites the audit comment instead. Carrier: the seat (the card's
N1/E1 recording step).
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(n/a, no schema)
- [x] 2. Every name I added uses the casing for its kind. (no names
added)
- [x] 3. No formatter ran; `pnpm lint` was not run (no lintable code
changed: prose and comments only).
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (nothing
publishes: `skip-changeset`)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (n/a)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (the `## 维护者速读` block
is the allowed Chinese channel)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01ADHkmRoFewgpd9ro12rK2L
<!-- signed: domain:skills#2 · os-steve ·
session_01ADHkmRoFewgpd9ro12rK2L -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 12b69e1 commit 3bf9c5c
4 files changed
Lines changed: 36 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
21 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1472 | 1472 | | |
1473 | 1473 | | |
1474 | 1474 | | |
1475 | | - | |
1476 | | - | |
1477 | | - | |
1478 | | - | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
1479 | 1480 | | |
1480 | 1481 | | |
1481 | 1482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
| 302 | + | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
0 commit comments