Skip to content

Commit 9e0ae37

Browse files
committed
fix(agents): fit the enqueue landing into Prime Directive 14 within the line ratchet
Claude-Session: https://claude.ai/code/session_01XDSBMAmqzG7QYwCD7qAGty Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8258383 commit 9e0ae37

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

‎AGENTS.md‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,9 @@ localStorage / auth gotchas.
261261
When a cloud decision's **mechanism half** governs open code here, this repo carries its own ADR — own number, a
262262
`## Provenance` section naming the cloud record and its date, the commercial half left in cloud — and the cloud
263263
record gains a one-line pointer. Files never move between registries and numbers are never reassigned.
264-
14. **⛔ A governed surface lands only the way its tier allows — Tier H by the maintainer's hand (a direct merge, or
265-
an enqueue from an account in `GOVERNED_APPROVERS`) or by an authorized approval, Tier S by the owning seat on a
266-
contract-tier review of record; before that record no AI seat merges,
267-
queues, or arms auto-merge on a PR whose diff touches one.** The governed surfaces are `docs/adr/**`,
264+
14. **⛔ A governed surface lands only the way its tier allows — Tier H by the maintainer's hand (merge or enqueue)
265+
or an authorized approval, Tier S by the owning seat on a contract-tier review of record; before that record no AI
266+
seat merges, queues, or arms auto-merge on a PR whose diff touches one.** The governed surfaces are `docs/adr/**`,
268267
`docs/NORTH-STAR.md`, `.claude/**` (agents, hooks and settings — not only skills), `skills/**`, `AGENTS.md`,
269268
`CLAUDE.md` and `.github/workflows/**`, and under `ui/` `ui/docs/adr/**`, `ui/.claude/**`, `ui/skills/**`,
270269
`ui/AGENTS.md`, `ui/CLAUDE.md` and `ui/.github/workflows/**`, all Tier H. The register is `GOVERNED_SURFACES` in
@@ -281,17 +280,14 @@ localStorage / auth gotchas.
281280
(人合: every register row except `.claude/**`): those four lift only for an
282281
authorized APPROVED review by an account in `GOVERNED_APPROVERS`, on ANY commit and not dismissed; that word is
283282
spent once per PR — the OWNING seat then lands it, later pushes included; the director seat requests the word as
284-
ONE batch of at most five rows, and the click stays the maintainer's. The maintainer's own enqueue from an account
285-
in `GOVERNED_APPROVERS` is a review record too — the queue guard clears that entry with no approval — for that
286-
entry only: re-entry after an ejection needs the approval or another such enqueue. **Tier S** (席内达档复核落地: all of
283+
ONE batch of at most five rows, and the click stays the maintainer's. **Tier S** (席内达档复核落地: all of
287284
`.claude/**`): those four lift once the PR thread or its card carries a `## Contract review` record for the PR's
288285
current head with `Served-tier: CONTRACT_REVIEW_TIER` and a PASS verdict and every check is green — the owning
289286
seat then lands it through the queue; the post-merge audit is the compensating control. A PR whose only governed
290287
paths are register rows the queue leg regenerates byte-exact clears with zero approvals — an uncertified
291288
recompute, drift or a hand-authored sibling keeps it governed. ⛔ **No agent seat submits an approving review on a
292-
governed-surface PR, nor queues or arms auto-merge on one before its record, under any account** — an authorized
293-
account is agent-operated too; "CI is green" carries no
294-
information about a governance change.
289+
governed-surface PR, under any account** — an authorized account is agent-operated too; "CI is green" carries no
290+
information about a governance change. An authorized account's enqueue is a review record too: ⛔ never a seat's.
295291

296292
**Already armed or queued when you read this?** Disable auto-merge AND convert it back to **draft**, which disarms
297293
an unqueued PR; no seat act, those two included, is measured to dequeue one (`platform-readings.md`, queue
@@ -520,8 +516,8 @@ Even inside your own worktree, operate defensively:
520516
so re-read it rather than recalling it); (b) the **Version Packages** PR, or any PR whose merge performs a
521517
release (**Prime Directive #15**); (c) a PR whose **changed lines exceed 3,000** (`additions + deletions`,
522518
generated files included) — it lands the way a Tier H surface does: an authorized APPROVED review and then
523-
the owning seat, or the maintainer's own merge or enqueue from an account in `GOVERNED_APPROVERS`. Read the PR's file list (`get_files`), **its author and its size** before
524-
you arm anything.
519+
the owning seat, or the maintainer's merge or enqueue. Read the PR's file list (`get_files`), **its author and
520+
its size** before you arm anything.
525521

526522
**Green means the gate-carrying jobs' `conclusion` is `success`** — not "no failure
527523
yet"; `in_progress` is not a pass. Arming a red PR does not queue it, it hides it:

0 commit comments

Comments
 (0)