Skip to content

governance: the guard scripts join the governed register, .claude/** lands by declared rule-change, and a narrowed spec change lands only by the maintainer #35321

Description

@os-warren

review-split thread · os-warren · session_01JQwxbYzM6act7DgRZuPrxu

Source: maintainer — Warren, 2026-11-19, review-split discussion thread: 03:16Z 「以上都同意」; 03:17Z 「北极星、AGENTS.md、改车队规则的技能条文(谁能做什么、怎么定级、怎么合并)也需要fable 吧」; 03:17Z 「spec:收紧作者能写的东西(会让现有应用报错),也需要fable 吧?」; 04:24Z 「1+2+4」 (point 1: fleet rule text goes back to the maintainer, overriding the 2026-09-18 ruling that handed all of .claude/** to seats on a contract review); 04:30Z 「「已裁定的照抄只核对、不再审」 同意」. Scope of "rule text the maintainer decides" (04:28–04:30Z): what an agent may do without him (merge, bypass checks, change repo settings); what gets done and in what order (grading, dispatch, scope); what must go to him (decisions, maintainer actions). Process steps, scripts, wording, slimming and file moves stay with the reviewer.

Filing gate: ③ a task the maintainer dispatched. Child of epic #35205. Read-only findings behind it: the guard scripts are not governed today (node scripts/pm/check-governed-merges.mjs --test scripts/pm/check-governed-queue-guard.mjs scripts/pm/check-governed-merges.mjs scripts/pm/dispatch-gates.mjs answers 0 of 3 hits on 00cfb78f), and the queue leg runs the guard from the merge group's own tree, so a PR that edits the guard is judged by its own copy. CODEOWNERS routes those files but the ruleset requires no code-owner review.

Grade: p2 · area:fleet · Task · fleet machinery, no product surface

维护者速读

  • 改了什么:守门脚本本身改动要你批;.claude/** 里改「agent 不经你能做什么、先做什么、什么必须找你」的要你批,只改措辞的评审核实后落地;让现有应用报错的协议收紧要你批。
  • 为什么:你 11-19 的「1+2+4」与 04:30Z 两条;今天改守门脚本可以绕开所有拦截。
  • 最坏:判错一类 PR 会多来找你或少来找你;改动可整 PR 回滚。
  • 需要你做的:无(PR 到时请你批)。

What changes

  1. The guard instruments join GOVERNED_SURFACES, Tier H, scoped to objectstack: scripts/pm/check-governed-merges.mjs, scripts/pm/check-governed-queue-guard.mjs, scripts/pm/record-recognisers.mjs, scripts/pm/dispatch-gates.mjs (it holds CONTRACT_REVIEW_TIER). If the workflow split (readWorkflowDiff) can read an edit to .github/workflows/governed-surface-guard.yml as Tier S, that file joins the always-H list too.
  2. .claude/** splits by declaration. The row stays governed; its Tier S holds only when the PR body carries a line-start Rule-change: none (or Rule-change: ruled with a line-start Ruling-ref: quoting the maintainer's words, source and time) AND the PASS ## Contract review record for the current head carries Rule-change-verified: none (or ruled). A missing line, Rule-change: yes, or a record that does not verify ⇒ Tier H. .claude/settings*.json and .claude/hooks/** are always Tier H (they are the agents' own permissions and guardrails). ui/.claude/** stays Tier H as today.
  3. A narrowed spec change lands like Tier H. A PR whose body or a changeset declares Metadata-protocol: narrowed, or a Clause-② line with the (narrowing) arm, is refused by the queue guard until an authorized APPROVED review and a PASS contract review for the head are on record. added, semantic and none are unchanged (reviewer only).
  4. The workflows row adds hotcrm (audit mirror; hotcrm's own AGENTS.md lists .github/workflows/** as governed in its own PR).
  5. Prose: AGENTS.md Prime Directive feat: Comprehensive CRM example demonstrating all ObjectStack protocol features #14 says the new rows and the .claude/** declaration split in one or two sentences; the pm-dispatch path-fork region names the new surfaces (pnpm check:pm-governed-prose); references/contract-review.md gains the Rule-change-verified: record line in its template.

Done when

Activity

  1. self-assigned this
    on Nov 19, 2026
  2. added theissue type on Nov 19, 2026
  3. added
    tooling
    priority:p2
    on Nov 19, 2026
  4. added
    pm:dispatched
    domain:skills
    on Nov 19, 2026
  5. os-warren commented on Nov 19, 2026

    @os-warren
    CollaboratorAuthor

    Claim: review-split order 2026-11-19
    Session: session_01JQwxbYzM6act7DgRZuPrxu
    Account: os-warren
    Branch: claude/issue-35321-governed-guard-and-rule-change
    Worktree: objectstack-issue-35321
    Domain: domain:skills
    File surface: scripts/pm/check-governed-merges.mjs, scripts/pm/check-governed-queue-guard.mjs, scripts/pm/record-recognisers.mjs, scripts/pm/check-governed-prose.mjs (self-test only if needed), .github/CODEOWNERS, AGENTS.md, .claude/skills/pm-dispatch/SKILL.md (path-fork region only), .claude/skills/pm-dispatch/references/contract-review.md
    Container & model: M, mode:subagent, effort: xhigh
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds (register read on 00cfb78f)
    Serial constraints cleared: #35259 (pm-dispatch SKILL.md) — this PR opens after that PR merges


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Release: #35321 · holder os-warren is out of tokens (seat-offline, brief 7005006297 on #32588) · back to pm:queue for an online sibling seat
    Resume-from: none

    2026-11-19T09:25Z · No fleet-lane seat is online; it waits in the queue for the next seat that takes area:fleet tooling.

  7. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 19, 2026
  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-sales · session_01L6bhgVaDMEnj7SrgKsMrWN

    Claim: PM loop round 1 · card thread of repo:objectstack#1 (a size-M governed card of the seat's area:fleet partition, in its own thread) · 2026-11-19T15:50Z · follows Release 7005082297, which withdrew claim 6999762655 (os-warren, session_01JQwxbYzM6act7DgRZuPrxu, Resume-from: none, so this starts from origin/main) · one os-dev subagent, one draft PR (Fixes #35321)
    Session: session_01L6bhgVaDMEnj7SrgKsMrWN
    Thread session: session_01L6bhgVaDMEnj7SrgKsMrWN
    Account: os-sales
    Branch: claude/project-thread-ndkip6 (the branch this card thread's harness assigns and the only one it may push, so the repo's claude/issue-35321-* spelling is not available here; the PR body says so for the Duplicate Fix Guard)
    Worktree: objectstack-issue-35321
    Domain: domain:skills
    Seat: repo:objectstack#1 (card thread)
    Area: b1-G (lease label per the seat's order; the card itself runs in this thread)
    File surface: scripts/pm/check-governed-merges.mjs, scripts/pm/check-governed-queue-guard.mjs, scripts/pm/record-recognisers.mjs (each with its in-file self-test), scripts/pm/check-governed-prose.mjs (self-test only, if the new region wording needs it), .github/CODEOWNERS (the mirror rows the new Tier H rows owe), AGENTS.md (Prime Directive #14 only), .claude/skills/pm-dispatch/SKILL.md (path-fork region only), .claude/skills/pm-dispatch/references/contract-review.md (the record template line), and any pin file a register-row count is asserted in. Stop and report before touching any other path (in particular scripts/pm/fleet-write/**, ui/**, .github/workflows/**, packages/**).
    Container & model: M, mode:thread with one mode:subagent os-dev inside it, model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: MANDATORY, '.claude/skills/pm-dispatch/SKILL.md' clause ① of the model-tiering ruling (the PM dispatch skill main file), effort: high (seat order for this card: M)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7005082297
    Premise: holds — read at origin/main b65488a8: node scripts/pm/check-governed-merges.mjs --test over the four guard instruments (check-governed-merges.mjs, check-governed-queue-guard.mjs, record-recognisers.mjs, dispatch-gates.mjs) answers paths not on the register for all four; the claude-tree row is Tier S as a whole (.claude/settings.json and .claude/hooks/** included); the workflows row's repos is objectstack, objectui, cloud.
    Pre-claim lane: scripts/pm/**, .claude/skills/pm-dispatch/**, AGENTS.md, .github/CODEOWNERS are domain:skills paths of objectstack; the card is area:fleet, which this seat took as a partition (seat post #34366). No other seat's live claim on the card.
    Pre-claim deps: #35259 (the card's own ordering line) is closed by PR #35385, merged; no Blocked-by: on the card. overlap-check over the declared files: VERDICT clean exit 0, 0 open PR heads share a file; it runs again before each push.
    Prior rulings read: claude,governance,guard,scripts,join,governed,register,lands,declared,rule-change,narrowed,spec (+2 more) → 290 hits; ADR-0071 Decision §1, ADR-0005 Decision §5, ADR-0059 Decision §3, ADR-0131 D3, ADR-0150 D9, ADR-0155 D1, ADR-0030 Decision §9; thread: none; repo: objectstack-ai/objectstack. None of the named ADR decisions rules on the governed register. The rulings that do are quoted in the files themselves (1,426 hit lines in the five declared files); the dev reads each one it edits beside, and the card's own source lines are the newest on the .claude/** tier (they replace the whole-tree Tier S for rule text).
    Serial constraints cleared: #35259 → PR #35385 merged. In flight on shared files, none with an open PR today: #35283 and #35270 (pm-dispatch skill text, same seat, card thread opening) and #35322 (AGENTS.md, another section). #35230's area clocked out (7014139364). Whoever lands second merges main; overlap-check decides any queue.

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  10. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-sales · session_01L6bhgVaDMEnj7SrgKsMrWN
    os-dev-report

    {
     "issue": 35321,
     "status": "done",
     "branch": "claude/project-thread-ndkip6",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35610",
     "pr_draft": true,
     "head": "cd8dab311f894aa94cd4cbf34324fe2ba115d095",
     "session": "session_01L6bhgVaDMEnj7SrgKsMrWN",
     "premise_still_valid": true,
     "summary": "All five items are implemented on one draft PR (Tier H by its own rule; its body carries a line-start Rule-change: yes). (1) Four exact Tier H rows scoped to objectstack join GOVERNED_SURFACES (check-governed-merges.mjs, check-governed-queue-guard.mjs, record-recognisers.mjs, dispatch-gates.mjs); the conditional was measured true, so .github/workflows/governed-surface-guard.yml joins WORKFLOW_TIER_H_FILES; CODEOWNERS mirrors the rows. (2) The .claude/** row keeps tier S and gains ruleChange; applyRuleChangeSplit runs last in the tier chain and answers H unless the PR body carries one bare Rule-change: none (or ruled plus one bare Ruling-ref: line) and the PASS record on the head carries Rule-change-verified: with the same value; .claude/settings*.json and .claude/hooks/ are H by path with CODEOWNERS lines; at the queue the declaration gives Tier S and the record leg enforces the verified line. (3) A new merge_group leg refuses a declared narrowing (PR body or a changeset in the queued commit) on exit 10 until an authorized approval or authorized enqueue AND a standing PASS record are on the head; unreadable inputs refuse on 11; added, semantic and none are unchanged. (4) The workflows row adds hotcrm. (5) AGENTS.md Prime Directive #14, the pm-dispatch path-fork region and references/contract-review.md are updated at their line ceilings (additions paid by deleting restated content, listed in the PR body); record-recognisers --template and --brief-template print the Rule-change-verified: line, shipped as yes.",
     "line_budget": "1,670 changed lines (+1,528 / -142) over 7 files vs the 3,000 line; dispatch-gates --ran printed \"changed lines: 1670 ... vs the human-merge threshold 3000: under\"",
     "files_changed": [
      ".claude/skills/pm-dispatch/SKILL.md",
      ".claude/skills/pm-dispatch/references/contract-review.md",
      ".github/CODEOWNERS",
      "AGENTS.md",
      "scripts/pm/check-governed-merges.mjs",
      "scripts/pm/check-governed-queue-guard.mjs",
      "scripts/pm/record-recognisers.mjs"
     ],
     "tests": "At head cd8dab31, exit codes captured before any pipe. node scripts/pm/check-governed-merges.mjs --self-test: exit 0, \"957 assertions\" (new battery of 40 cases for items 1, 2 and 4). node scripts/pm/check-governed-queue-guard.mjs --self-test: exit 0, \"635 cases pass\" (two new batteries, 26 and 22 cases: guard file is H; .claude wording with both lines is S; missing line, yes and unverified are H or refused; settings and hooks are H; narrowed declaration without approval is refused on 10; added is unchanged on one pull read). node scripts/pm/record-recognisers.mjs --self-test: exit 0, \"456 cases pass\" (the printed template driven through the queue guard: clears with the reviewer's none, refused when pasted unedited). One-time ablations through scripts/ablation-replace.mjs (wrap mode, on committed code, restore proven by blob == HEAD and empty git diff HEAD each time): A1 a yes declaration no longer refused: merges self-test exit 1 (4 failures), guard self-test exit 1 (Rule-change-yes-is-Tier-H-refused-whatever-the-record-says); A2 the guard-queue row's exact path changed: merges self-test exit 1 (2 failures), guard self-test exit 1 (four CODEOWNERS mirror pins); A3 the narrowed leg's human half not required: guard self-test exit 1 (narrowed-declaration-without-approval-is-REFUSED-on-its-own-code and three siblings). All in the predicted direction (red). A fourth leg, the prose gate under A2, stayed green: it reads the row glob, which A2 did not change, so that leg measured nothing. No package is touched: no build closure and no package test owed.",
     "gates": "Local, at cd8dab31: node scripts/pm/dispatch-gates.mjs --commands derived 77 commands from the 7 changed paths; all 77 ran with the exit code recorded per command: 76 exit 0, 1 exit 3 (pnpm check:i18n-coverage, PREREQUISITE NOT MET: the CLI and example builds; NOT MEASURED locally, left to CI). --ran verdict line: \"dispatch-gates --ran: 77 derived famil(ies) accounted for — 76 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)\". Among the 76 at exit 0: pnpm check:pm-governed-merges, pnpm check:pm-governed-prose (\"2 instruction surface(s) name all 17 registered governed surfaces that govern objectstack\"), pnpm check:pm-skill-ratchet (AGENTS.md 1050 of 1050, SKILL.md 328 of 328, contract-review.md 62 of 62), pnpm check:pm-skill-id-lint, pnpm check:pm-record-recognisers, pnpm check:pm-half-states, pnpm check:pm-fleet-write-execute, pnpm check:pm-dispatch-gates, pnpm check:declared-population-live, pnpm check:nul-bytes, node scripts/pm/check-governed-queue-guard.mjs --self-test. pnpm --filter @objectstack/lint run check:doc-formula-expressions needed a build of formula and lint first (verify lock: \"VERDICT command-exit 0\"), then exit 0. overlap-check before each push: \"VERDICT clean exit 0\". CI check-runs on the head when this report was written: Governed Surface Queue Guard success; Check Changeset success; every Lint, Type Check, PR-body guards and Check PR Size run in_progress; not waited for.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0 — no MCP GitHub call of any kind",
     "api_writes": "1 relay stroke so far, plus this comment: fleet-write dispatch (POST /repos/objectstack-ai/objectstack/dispatches, run 44576525686) carrying pr_create = POST /pulls (draft) + POST /issues/35610/assignees (os-sales) + POST /issues/35610/labels (skip-changeset), read back identical (13403 bytes); then this os-dev-report comment through post-stamped.mjs. Three git pushes to the branch. Reads were REST GETs only.",
     "deviations": [
      "pnpm check:i18n-coverage NOT MEASURED locally (exit 3, prerequisite builds); CI runs it.",
      "test:repo not run locally: the diff edits no test of that project and the derivation does not name it; CI owns it.",
      "The gate union ran in full at 54fd493f and again in full at the final head cd8dab31 after one more commit; the numbers reported are the second run.",
      "Commits a7a92c5e..54fd493f carried the narrowed leg's ruling as a quoted string printed at runtime; cd8dab31 replaced it with a dated citation and kept the quotation in the header comment only. History not rewritten.",
      "Harness attribution reminder asked for a commit trailer naming a model; AGENTS.md wins: the model-free pair was used on all four commits.",
      "Branch is the platform-assigned card-thread branch, not claude/issue-N-slug, as the order names; the PR body says so for the Duplicate Fix Guard.",
      "skip-changeset declared in pr_create: only .claude/**, scripts/pm/**, AGENTS.md and .github/CODEOWNERS are touched; nothing published.",
      "Line ceilings were held by deleting restated or descriptive content in the three prose files (each deletion is listed in the PR body under Acceptance notes); no ceiling was raised."
     ],
     "open_questions": [
      {
       "question": "The human half of the narrowed leg: the card says an authorized APPROVED review; the leg also accepts the maintainer's own enqueue from an authorized account (the 2026-10-26 enqueue ruling) and still requires the PASS record.",
       "options": [
        "A keep approval or authorized enqueue",
        "B approval only (a one-line change plus one pin)"
       ],
       "recommendation": "A, because the enqueue ruling made the two the same act for every landing the guard judges and the card says rulings in the edited files stand unless its five items say otherwise."
      },
      {
       "question": "Authors are not yet told to write the Rule-change: line: the developer agent file, the claim template and the PR template are outside this card's file surface. Once this PR lands, a .claude/** pull without the line fails closed to Tier H.",
       "options": [
        "A a follow-up card on those three files, landed with or right after this PR",
        "B accept Tier H for every .claude/** pull until then"
       ],
       "recommendation": "A, because the fail-closed direction is safe but sends wording-only pulls to the maintainer, which is the load the split exists to remove."
      },
      {
       "question": "The relay review-request plan and the patrol landing row read the raw row (Tier S) and do not chain the split, so a pull declaring Rule-change: yes is refused at the queue but not auto-routed to the maintainer.",
       "options": [
        "A a follow-up card chaining applyRuleChangeSplit in both readers (fleet-write/execute.mjs, check-half-states.mjs)",
        "B leave routing to the seat's hand-off"
       ],
       "recommendation": "A, because the body is already on the pull object both readers hold."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: hotcrm lane · hotcrm's own AGENTS.md half (listing .github/workflows/** as governed) is its own PR in that repository · noted, not filed",
      "carrier: seat (skills lane) · the post-merge sweep has no audit leg for the declaration split: a .claude/** landing is listed with approver and merger as before, its declaration and verified line are not re-read after the merge · noted, not filed",
      "carrier: seat (skills lane) · the pull_request early-warning leg reads no PR body, so it prints Tier H until the body is read for every .claude/** diff; the event payload carries the body · noted, not filed",
      "carrier: #34680 · the ui/ copy of the queue guard is not a register row and was not touched · noted, not filed",
      "carrier: seat (skills lane) · the modules the guard imports (clause2-line.mjs, check-half-states.mjs, check-handover.mjs, fleet-write/ops.mjs, dispatch-gates.data.mjs) are not register rows; the card names four files · noted, not filed"
     ]
    }
  11. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-sales · session_01L6bhgVaDMEnj7SrgKsMrWN

    Claim correction (additive; claim 7014231072 stands, same session, same branch) · 2026-11-19T17:28Z

    File surface, widened on the seat's order after the dev report 7016679857 (its open question 2): .claude/agents/os-dev.md, the claim template in .claude/skills/pm-dispatch/SKILL.md (beside the path-fork region already declared) and .github/PULL_REQUEST_TEMPLATE.md join the surface, so the authors' side of the Rule-change: declaration lands in the same PR (#35610) as the rule that reads it. Nothing else is added.

    Serial constraints, re-read: PR #35591 (branch claude/project-thread-paydb0) edits the same claim template; overlap-check runs before the push, and an overlap queues this addition behind #35591.

  12. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-sales · session_01L6bhgVaDMEnj7SrgKsMrWN
    os-dev-report

    {
     "issue": 35321,
     "status": "done",
     "round": "patch round on the same claim (file surface widened on the card): the authors' side lands in this PR",
     "branch": "claude/project-thread-ndkip6",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35610",
     "pr_draft": true,
     "head": "eb947a2104 (was cd8dab31; two commits added: 75d8e05d and eb947a21)",
     "session": "session_01L6bhgVaDMEnj7SrgKsMrWN",
     "premise_still_valid": true,
     "summary": "The three author-side files now teach the declaration. .claude/agents/os-dev.md (definition of done, three lines): a diff touching the root .claude/** tree owes the PR body one line-start Rule-change: line judged from the diff; none, yes and ruled are defined; ruled owes a line-start Ruling-ref: line quoting the maintainer with source and time; a missing line lands as Tier H like yes; no other line leads with the key. The claim template in SKILL.md: one clause on the existing Metadata-protocol: template line (the Container and model line was not touched), its own commit eb947a21. .github/PULL_REQUEST_TEMPLATE.md: an italic note under the two declaration lines, asked only of a pull that changes a file under .claude/; no fillable line, so the unfilled template still reads as missing. Measuring the template found a defect in the narrowed leg pushed in round 1: the unfilled template menu line was read as a declared narrowing, so a pull with an untouched template would have been refused at the queue; fixed in check-governed-queue-guard.mjs (exactly that menu declares nothing, a partial menu still counts) with a pin that reads the template from disk. PR body rewritten through the relay issue_patch: item 6 under What changes, a Landing impact section, new numbers and deletions list; still draft, one line-start Rule-change: yes.",
     "files_changed": [
      ".claude/agents/os-dev.md (new this round, +4 / -4)",
      ".claude/skills/pm-dispatch/SKILL.md (this round: one clause on one claim-template line)",
      ".claude/skills/pm-dispatch/references/contract-review.md",
      ".github/CODEOWNERS",
      ".github/PULL_REQUEST_TEMPLATE.md (new this round, +5 / -0)",
      "AGENTS.md",
      "scripts/pm/check-governed-merges.mjs",
      "scripts/pm/check-governed-queue-guard.mjs (this round: the unfilled-menu exemption and its pin)",
      "scripts/pm/record-recognisers.mjs"
     ],
     "line_budget": "1,701 changed lines (+1,554 / -147) over 9 files vs the 3,000 line; this round alone +31 / -10 over 4 files. Ceilings held, none raised: os-dev.md 410 of 410, SKILL.md 328 of 328, AGENTS.md 1050 of 1050, contract-review.md 62 of 62. os-dev.md paid its three added lines by deleting the bullet restating that one foreground blocking wait is the only wait shape, deleting the bullet restating that no lock, sibling build or watcher wakes the agent (both said by the resource rules above them), and merging two pointer lines to the body-sanitizer rule into one. The SKILL.md clause extends an existing line; nothing owed. Each deletion is listed in the PR body.",
     "tests": "At head eb947a21, exit codes captured before any pipe. node scripts/pm/check-governed-queue-guard.mjs --self-test: exit 0, \"636 cases pass\" (was 635; the narrowed battery is 23 cases, was 22). node scripts/pm/check-governed-merges.mjs --self-test: exit 0, 957 assertions, unchanged. node scripts/pm/record-recognisers.mjs --self-test: exit 0, 456 cases, unchanged. Template measurement: on the new template text the Rule-change reader answers missing and the Ruling-ref reader answers missing; the clause-line and metadata-protocol-line readers answer the same as on the old template; a filled body with a line-start none reads none and gives Tier S on a .claude/skills path. No script or workflow reads the template file. One-time ablation A4 through scripts/ablation-replace.mjs (wrap mode, committed code): the exemption removed from narrowingDeclarationsIn gave guard self-test exit 1, \"1 of 636 case(s) failed\", the pin the-pull-request-template-left-UNFILLED-declares-no-narrowing-and-a-partial-menu-still-does; restore proven by blob == HEAD and an empty git diff HEAD. Direction as predicted (red). A first attempt with an empty replacement was refused by the tool before the command ran and measured nothing.",
     "gates": "Local, at eb947a21: node scripts/pm/dispatch-gates.mjs --commands derived 78 commands from the 9 changed paths (one more than before: pnpm check:agent-model-declared). All 78 ran at this head: 77 exit 0, 1 exit 3 (pnpm check:i18n-coverage, PREREQUISITE NOT MET, NOT MEASURED locally, left to CI). Nothing is carried from the earlier head: the four paths this round moved derive 77 of the 78, so the order's narrowing had nothing to narrow. --ran verdict line: \"dispatch-gates --ran: 78 derived famil(ies) accounted for — 77 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)\". Among the 77: pnpm check:pm-skill-ratchet, pnpm check:pm-skill-id-lint, pnpm check:pm-governed-prose, pnpm check:agent-model-declared, pnpm check:nul-bytes, pnpm check:pm-dispatch-gates. overlap-check before the push: \"VERDICT clean exit 0\" against origin/main f981dce3 and the pulls 35591 (shares SKILL.md), 35582 (shares AGENTS.md), 35572 (shares check-governed-merges.mjs), each \"merges cleanly\". CI check-runs on eb947a21 when this report was written (43 runs): success: Governed Surface Queue Guard, Check PR Size, PR-body guards (both runs), Dogfood Regression Gate, Test UI, Auto Label, filter; 22 skipped; in_progress, not waited for: the eight Lint jobs, the four Type Check jobs, Plan Test Core shards.",
     "landing_impact": "Re-read over all 51 open pulls (this one included), every file list paginated. 35591 (draft; 9 files, 8 under .claude/, the ninth is scripts/pm/check-skill-line-ratchet.mjs): Tier S today, owes the declaration and a verified record. 35576 (ready; 6 files, 2 under .claude/): Tier S today, owes the same. 35443 (ready; .claude/settings.json only): Tier S today, Tier H by path after the merge. Added to the order's list: 35572 (draft) edits check-governed-merges.mjs, an instrument row; it is already Tier H today through its packages/spec paths, so its landing does not change. None of the four bodies carries the declaration line. No other open pull touches the four instruments, the guard workflow or ui/.claude/.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0 — no MCP GitHub call of any kind, in either round",
     "api_writes": "This round: 1 relay stroke plus this comment. fleet-write dispatch (POST /repos/objectstack-ai/objectstack/dispatches, run 44581864078) carrying issue_patch = PATCH /repos/objectstack-ai/objectstack/issues/35610 (body only), read back identical (19036 bytes sent, 19036 stored); then this os-dev-report comment through post-stamped.mjs. One git push (cd8dab31..eb947a21). Round 1 stays as reported (the pr_create stroke and its report comment). Reads were REST GETs only.",
     "deviations": [
      "The order said the body's footer lines stay exactly as they are. They do, but the relay refuses an edited pull request body unless its last non-empty line is the signature trailer, so that one trailer line now follows the footer. The first two lines are unchanged.",
      "A fix outside the three new files: the narrowed leg in check-governed-queue-guard.mjs (already on the claim surface) read the unfilled template menu as a declared narrowing. Found by the measurement the order asked for; fixed, pinned and ablated in this round.",
      "The order asked to re-run only what the new paths derive: that is 77 of the 78 derived commands, so the whole set ran once at the final head and nothing is carried.",
      "The order's landing list is corrected in two places: 35591 has 9 files (8 under .claude/), and 35572 is added as a reader of an instrument row with no change to how it lands. The count of open pulls is 51.",
      "origin/main was not merged: overlap-check is clean, and the derivation's stale-tree note (12 commits behind, one derivation input changed there) is left to CI's merge ref.",
      "No guard requires the new PR-template line on a pull that touches no .claude/ path; measured, nothing to report there.",
      "pnpm check:i18n-coverage NOT MEASURED locally (exit 3, prerequisite builds); CI runs it. test:repo not run locally; CI owns it.",
      "The worktree is kept (platform-provided, the claim is still open for patch rounds). Commit trailers are the model-free pair on both commits."
     ],
     "open_questions": [
      {
       "question": "None new. Question 1 (the narrowed leg also counts an authorized enqueue) stays in the PR body's Acceptance notes for the approver, as ordered. Question 2 is done by this round. Question 3 (the relay plan and the patrol row do not chain the split) is a follow-up card filed by the card thread; no code changed here.",
       "options": [
        "A no action"
       ],
       "recommendation": "A, because each was answered in the patch order."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "unchanged from the first report on this card; nothing new this round"
     ]
    }
  13. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-sales · session_01L6bhgVaDMEnj7SrgKsMrWN
    os-dev-report

    {
     "issue": 35321,
     "status": "done",
     "round": "patch round 2 on the same claim: the contract review's one should-fix and two of its nits",
     "branch": "claude/project-thread-ndkip6",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35610",
     "pr_draft": true,
     "head": "eb45574768 (was eb947a21; two commits added: 785fe8f4 = the fix and its pin, eb455747 = the skill line)",
     "session": "session_01L6bhgVaDMEnj7SrgKsMrWN",
     "premise_still_valid": true,
     "s1_reproduction": "REPRODUCED before any fix. The pin was added first and the self-test run on the unfixed code: exit 1, \"1 of 637 case(s) failed\". On a runtime-only path, in three body shapes (the narrowed kind beside a bare clause line; the narrowed kind with no clause line; the narrowed kind on a changeset only) the at-tier record read exit 10, refused, face declaration, and the default-tier record read exit 0, cleared, face declaration. The negative control (same path, kind added) read exit 0, not-declared, one pull read.",
     "summary": "S1 fixed in scripts/pm/check-governed-queue-guard.mjs: runNarrowedGuard marks the pair narrowingDeclared (that point is reached only with a declaration found), and recordVerdict then hands reviewFace the one spelling it reads as the narrowing arm (new exported constant NARROWING_FACE_LINE, built from the clause reader's own closed sets) ahead of the declaration texts, so the face is the narrowing one wherever the paths decide none, whatever the clause line reads. A schema or governed path still decides first; a pair without the mark is read exactly as before. N2 fixed by the same change at zero extra lines: a near-arm clause spelling, and a malformed clause line beside the narrowed kind, no longer answer an unreadable face, so the refusal no longer says the record does not stand when the cause was the line; both shapes are in the pin. N3 fixed in place in SKILL.md: the path-fork line now names the two values that give Tier S. N1 not touched. PR body edited on the live text (the seat's Landing impact additions kept): Tests head and numbers, the A5 ablation line, the line budget, one sentence under Acceptance notes.",
     "pin": "the-narrowed-kind-on-a-runtime-only-path-holds-the-narrowing-faces-tier-a-default-tier-record-is-REFUSED-an-at-tier-one-CLEARS — five body shapes (kind beside a bare clause line, kind with no clause line, kind on a changeset only, near-arm clause spelling, kind beside a malformed clause line), each: at-tier record gives exit 0, cleared, face narrowing; default-tier record gives exit 10, refused, face narrowing, reason below-tier. Negative control inside the pin: the same path and the same default-tier record under the added kind stay not-declared and clear on one pull read. It also pins that the constant reads as a declared narrowing arm with the clause reader.",
     "ablation": "A5, on committed code at 785fe8f4 and later, through scripts/ablation-replace.mjs in wrap mode: the hold removed from recordVerdict gave self-test exit 1, \"1 of 637 case(s) failed\", the pin above and nothing else, with the at-tier record refused and the default-tier record cleared again. Direction as predicted (red). Restore proven by blob == HEAD (d8b1d36934ef) and an empty git diff HEAD.",
     "files_changed": [
      "scripts/pm/check-governed-queue-guard.mjs (this round: +56 / -7)",
      ".claude/skills/pm-dispatch/SKILL.md (this round: one line edited in place, +1 / -1)",
      "unchanged this round: .claude/agents/os-dev.md, references/contract-review.md, .github/CODEOWNERS, .github/PULL_REQUEST_TEMPLATE.md, AGENTS.md, scripts/pm/check-governed-merges.mjs, scripts/pm/record-recognisers.mjs"
     ],
     "line_budget": "1,750 changed lines (+1,603 / -147) over 9 files vs the 3,000 line (dispatch-gates --ran: \"changed lines: 1750 ... vs the human-merge threshold 3000: under\"); this round alone +57 / -8 over 2 files. SKILL.md stays 328 of 328 and its edited line is exactly 120 bytes, the per-line budget of the line ratchet; to fit, the words for declared-and and the letter S in the next-line pointer were dropped from that line, and the Ruling-ref detail stays on the claim template line and in AGENTS.md.",
     "tests": "At head eb455747, exit codes captured before any pipe. node scripts/pm/check-governed-queue-guard.mjs --self-test: exit 0, \"637 cases pass\" (was 636; the narrowed battery floor is 24, was 23). The merges and record-recognisers self-tests are among the gates below, exit 0, unchanged counts.",
     "gates": "Local, at eb455747: node scripts/pm/dispatch-gates.mjs --commands derives 78 commands, the same set as at eb947a21. The two moved paths derive 70 of them; those 70 ran, then the other 8 ran too so that nothing is carried: 77 exit 0, 1 exit 3 (pnpm check:i18n-coverage, PREREQUISITE NOT MET, NOT MEASURED locally, left to CI). --ran verdict line: \"dispatch-gates --ran: 78 derived famil(ies) accounted for — 77 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)\". Among the 77: pnpm check:pm-skill-ratchet, pnpm check:pm-skill-id-lint, pnpm check:pm-governed-prose, pnpm check:nul-bytes, pnpm check:pm-dispatch-gates. overlap-check before the push: \"VERDICT clean exit 0\" against origin/main f981dce3 and the pulls 35591, 35582 and 35572, each \"merges cleanly\"; origin/main not merged. CI check-runs on eb455747 when this report was written (42 runs): success: Governed Surface Queue Guard, Check PR Size, PR-body guards (first run), filter; 21 skipped; 17 in_progress, not waited for: the eight Lint jobs, the four Type Check jobs, Plan Test Core shards, Test UI, Dogfood Regression Gate, Auto Label, PR-body guards (second run, after the body edit).",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0 — no MCP GitHub call of any kind, in any round",
     "api_writes": "This round: 1 relay stroke plus this comment. fleet-write dispatch (POST /repos/objectstack-ai/objectstack/dispatches, run 44593950243) carrying issue_patch = PATCH /repos/objectstack-ai/objectstack/issues/35610 (body only), read back identical (20858 bytes sent, 20858 stored); then this os-dev-report comment through post-stamped.mjs. One git push (eb947a21..eb455747). Reads were REST GETs only.",
     "deviations": [
      "The fix hands reviewFace a clause line nobody wrote (the constant) instead of changing reviewFace in record-recognisers.mjs: the smallest change at the site the review named, and the recogniser set the guard loads does not expose the face table. If the reviewer prefers a parameter on reviewFace, that is a change to a second instrument file.",
      "PR body: beyond the three permitted edits, the paragraph under \"Derived gate union at the head above\" had one sentence updated, because it said all 78 ran at a head that is no longer the head; and the A4 line now names the head it ran at. Everything else is the live text, the seat's additions included; first two lines, footer and trailer byte-identical.",
      "N3: the first wording that also named the Ruling-ref line was 162 bytes and the line ratchet refused it (120-byte line budget); the shipped wording names the two values only.",
      "N1 not touched, as ordered.",
      "pnpm check:i18n-coverage NOT MEASURED locally (exit 3); CI runs it. test:repo not run locally; CI owns it. The derivation still prints the stale-tree note (12 commits behind origin/main); left to CI's merge ref.",
      "The worktree is kept; commit trailers are the model-free pair on both commits."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "nothing new this round"
     ]
    }
  14. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Close-out · 2026-11-20T05:58Z · PR #35610 merged at 509289c (merged by os-zhuang), and this card closed by Fixes. The seat clears pm:dispatched and the assignee. The follow-up nits N1, N4, N5 and N6 live on #35612.

  15. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetdomain:skillspriority:p2tooling

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions