Repository navigation
pm: land low-risk skills wording on the seat's review (Tier S arm on the catalog rows) - #33531
Conversation
…the catalog rows) The skills-catalog and ui-skills-catalog register rows keep tier H for every path-only reader and carry a low-risk reading: a diff whose only governed paths are catalog paths, whose other paths are changesets or docs prose, whose body declares a bare `Clause-②: no` and which carries no `security` label reads Tier S. The queue guard reads it on the merge_group leg off the pull object it already fetches, over every commit of the PR; `--pr` reads it off the same GET. Everything else, and any unread input, stays Tier H. docs/adr stays Tier H. AGENTS.md Prime Directive 14 and the pm-dispatch landing lines name the arm. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
…s root Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: Inputs: card #33501 (body, claim, grading comment 6885437809, os-dev-report 6886128572), PR #33531 (body, five files, net diff against Check-runs on ① Derived judgments
② Semver levelNothing in the diff publishes. The changed files are Clause-②: no No published accept set or public surface moves. The changed exports belong to unpublished fleet tooling. ③ Boundary flags
④ Design judgmentM1 — must-fix. The arm reads contract declarations from the one carrier a seat can still change after the PASS, and leaves the committed carriers unread.
Fix: in both S1 — should-fix. Removing the S2 — should-fix. Clause-② lines with trailing text, or more than one Clause-② line, read S. S3 — should-fix. A fork PR passes the arm. S4 — should-fix. Inside the arm rows, anything under N1 — nit. PD 14 names N2 — nit. Holds, read against the code:
Implemented-by: VERDICT: FAIL Adopted by the seat 2026-11-14T23:59Z · isolated sub-agent at CONTRACT_REVIEW_TIER · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…and a PASS record The arm now holds a skills PR at Tier H unless its body carries exactly one bare `Clause-②: no` and `Metadata-protocol: none`, every changeset read at the head releases only `'@objectstack/skills': patch` with the same two lines, the timeline never removed a `security` label, the head is no fork, and every file under a catalog row is Markdown or an `evals/*.json`. At the queue the arm clears only on a same-head record that reads PASS, read with the fleet's verdict reader (re-exported by the recognisers). SKILL.md names the workflow Tier H triggers again. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Correction: contract-review tierThe contract-review record(s) 6886243839 on this PR say The seat re-runs the review at |
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: Inputs: card #33501 (body, claim 6885432460, grading comment 6885437809, os-dev-report 6886128572), PR #33531 (the r2 body as the dev's file reads, six files, net diff against The ruling quoted on the card: 「同意 把低风险的 Tier H 放权给座位」 and 「把低风险的 Tier H 放权给座位,立 p1 卡优化」. Its scope, in the coordinator's words on the card: pure docs, ADR notes and skills wording land on the seat's own contract-review PASS; anything touching a contract (spec or published types, Clause ②, narrowing) or security stays with the maintainer. Check-runs on ① Derived judgments
② Semver levelNothing in the diff publishes: Clause-②: no No published accept set or public surface moves; the changed exports belong to unpublished fleet tooling. ③ Boundary flags
④ Design judgmentSF1 — should-fix. On the arm, a carried record lets the declarations and catalog files move after the PASS. The M1 fix makes the committed changeset the carrier of
N1 — nit. PD 14 and SKILL.md line 202 name the arm beside N2 — nit. The N3 — nit. The post-merge sweep classifies by path alone, so a seat-landed arm merge is listed as a Tier H row with no approval, and the auditor has to re-read the arm by hand to tell it from a violation. Card item 4 is met at parity with N4 — nit. Comments in both scripts cite 6886243839 as "contract review"; that record was served off-tier and is being replaced. The pointers describe history accurately, but they should name the record that stands. Accepted deviation on this head, since a comment edit moves it. Holds, read against the code and each tried as a break:
Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T00:43Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…r catalog path moved The regeneration and prose-only carry admits `.changeset/**` and catalog prose such as a skill's CHANGELOG.md, yet those are what the arm reads its tier from. For an arm entry, a record carried from an older head now stands only when the hops (diffed with the leg's git reader) moved no changeset and no path under a catalog row; an unreadable diff refuses. PD 14 and SKILL.md say the skills arm is exclusive (skills-only wording), and the code comments drop the off-tier review citation. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: This is a delta review at tier. Base: head Inputs: card #33501 (body and all three comments), PR #33531 (body, six files, the net diff at both heads, the commit Check-runs on ① Derived judgments
② Semver levelNothing in the diff publishes: Clause-②: no No published accept set or public surface moves; the changed code is unpublished fleet tooling. ③ Boundary flags
④ Design judgmentSF2 — should-fix. A rename OUT of a catalog row is invisible to the new check, so a catalog file can leave the published catalog after the PASS on a carried record.
N5 — nit. The check diffs the two trees whole, so a merge-forward from N6 — nit. The four new cases drive a fake git reader that answers one fixed list, so they pin the argument order and the path filter but cannot measure what git itself lists. That is why SF2 passed the battery. The pin SF2 asks for is on the flag. N7 — nit. Dropping the citations left three docblock lines unwrapped or short (the Holds, each read against the code and tried as a break:
Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T01:16Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
`git diff --name-only` names a rename by its destination alone, so a hop that moved a skill out of the catalog into the docs tree cleared on a carried record. The check now diffs with `--no-renames`; the self-test pins the argument and runs the rename on a real repository. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: This is a delta review at tier. Base: head Inputs: card #33501 (body and comments), PR #33531 (body, six files, the net diff at both heads, the commit Check-runs on ① Derived judgments
② Semver levelNothing in the diff publishes: Clause-②: no No published accept set or public surface moves; the changed code is unpublished fleet tooling. ③ Boundary flags
④ Design judgmentSF2 — fixed. Read in the tree at this head:
SF3 — should-fix. The real-git case is not hermetic against the caller's git environment, and the repository states a rule for exactly this.
N7 — nit, partly taken. As in ③: "may change: skill" is still a short line, and one new docblock line is 88 columns. No effect on meaning. N8 — nit. Holds, each read against the code and tried as a break:
Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T01:41Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…the caller's GIT_ env The temporary-repository case now runs every git call with `gitFreeEnv()` and `-c commit.gpgsign=false`, as the sibling fixtures do, so an inherited GIT_DIR or GIT_INDEX_FILE never reaches the real checkout. Docblock lines rewrapped. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: At-tier delta review. Base: What moved between the two heads, read from the object store:
① Derived judgments
② Semver levelClause-②: no, as the PR body states on one bare line. The delta publishes nothing: ③ Boundary flags
④ Design judgmentSF3: fixed. Read in
N7: taken. The three docblock places are rewrapped: the N8: taken. Regression read of the rest of the scope. No must-fix, no should-fix and no nit on this delta. Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T02:09Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…l as the label A changed path under a catalog row whose name below the row (any segment, any case) says security, auth or permission keeps the PR Tier H, with or without the `security` label; a rename reads as both of its paths. PD 14 names the contract reviewer's duty to label security teaching the name test cannot see. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
Adding, deleting or renaming a skill or an eval changes what the catalog teaches, so a catalog path whose status is not `modified`, whose mode is not a regular file (a symlink or submodule), or whose status was not read keeps the PR Tier H. `--pr` reads the status off the API's file walk and the mode at the head from the checkout; the queue leg reads both with `diff-tree --raw --no-renames` on each governed commit. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: At-tier delta review. Base: What moved between the two heads, read from the object store:
Rulings this delta implements, cited by text as the PR body and the review brief carry them: the security-scope decision, option B 「标签和路径都读」, and 「先补三项再合并」, option A (items A and B here; item C is card #33605 and is not reviewed). ① Derived judgments
② Semver levelClause-②: no, on one bare line of the PR body. The delta publishes nothing: ③ Boundary flags
④ Design judgmentRule A, both legs. One predicate, in
Rule B,
Rule B, queue leg.
PD 14 ( SF4 — should-fix. The reviewer's labelling duty is stated where the reviewer is least likely to act on it. The ruling's second half is that the contract reviewer is told to add the
N9 — nit. The docblock on N10 — nit. Regression read of the rest of the scope. The SF3 fix holds: the new real-git lines in the guard's self-test ( No must-fix. One should-fix (SF4). Two nits (N9, N10). Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T02:52Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…er the security label duty The `--pr` leg now reads each modified catalog file's mode at the merge base as well as at the head, and the queue leg carries the raw line's old mode: a symlink replaced by a regular file, or any other mode change, reads Tier H. A copy's source is carried as `copied source`, never `renamed`. The reviewer brief over a low-risk skills path names the duty to add the `security` label for teaching the path name does not show. The arm's and the queue leg's docblocks now list every condition the code enforces. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: At-tier delta review. Base: What moved between the two heads, read from the object store:
Rulings: card #33501 comment 6888245932, item 1 (security scope, option B 「标签和路径都读」) and item 2 (「先补三项再合并」, option A; items A and B here). Item C (card #33605, PR #33616) is not in this PR and is not reviewed. ① Derived judgments
② Semver levelClause-②: no, on one bare line of the PR body, with ③ Boundary flags
④ Design judgmentSF4. Closed on the
SF5 — should-fix. The Security line does not print on the brief the skill tells the seat to draft from. N9. Closed. The N10. Closed, both halves.
N11 — nit. The Security line says the contract reviewer "adds" the label, in a brief whose next line is the READ-ONLY rule and whose reviewer is often an isolated sub-agent that posts nothing. In that case the adopting seat is the one who can label; "and the record says so" gives it the signal, and the guard reads the label whenever it lands, so the control holds. The line could say "or the adopting seat". N12 — nit. The NOT MEASURED hint in Regression read of the rest of the scope. Between the heads the two gate scripts changed only in the hunks above. Rule A ( No must-fix. One should-fix (SF5). Two nits (N11, N12). Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T03:28Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…the label, and the fetch hint names the base ref The reviewer brief built without `--paths` (the spelling the skill teaches) now prints the security duty in a conditional form, so a skills PR's brief never drops it. An isolated reviewer cannot label, so the line says the record flags the teaching and the seat adopting it adds the `security` label; PD 14 and the register's comments say the same. The NOT MEASURED fetch hint names the PR's own base ref, or its sha, never an assumed `main`. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: At-tier delta review. Base: What moved between the two heads, read from the object store:
Rulings: card #33501 comment 6888245932, item 1 (security scope, option B 「标签和路径都读」) and item 2 (「先补三项再合并」, option A). Item C (PR #33616) is not in this PR and is not reviewed. ① Derived judgments
② Semver levelClause-②: no, on one bare line of the PR body, with ③ Boundary flags
④ Design judgmentSF5. Closed.
N11. Closed.
N12. Closed. The merged Regression read of the rest of the scope. Between the heads the queue guard and N13 — nit. The conditional line spells the two catalog rows as words ( N14 — nit. The ruling record on the card (6888245932, item 1) still says "the contract reviewer adds the No must-fix. No should-fix. Two nits (N13, N14). Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T03:59Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb 维护者速读
席位核对Verdict: ACCEPT, held for the maintainer · head
|
…mmons approvers (objectstack-ai#33686) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XLJr2V87HYchxuvLUeM3yUW)_ Fixes objectstack-ai#33540 domain:skills#1 · os-project-manager · session_01FEkQ5oDmvJaKtcHYvPTR9P Clause-②: no Metadata-protocol: none ## 维护者速读 - **改了什么**: 中继在 `pr_ready` 之后决定要不要请 os-zhuang / hotlong 审时,先用低风险 skills 臂自己的读法读这个 PR(PR 正文、标签、文件状态、timeline、changeset、目录文件 mode),臂判 Tier S 就不请任何人;臂判 H、或任何一项读不到,照旧请两位。 - **为什么改**: objectstack-ai#33531 落地后队列守卫已经让低风险 skills 措辞 PR 走席位落地,但中继的请审计划只看路径,仍把两位维护者拉回来,等于把放权又收回去了。 - **风险与回滚**: 只在「全部受管命中都是 skills 目录行、且在 objectstack」时才读;读不到一律按原样请审(fail closed),所以最坏情况是多请一次,不会漏请。回滚即 revert 这一个文件。 - **先看**: `scripts/pm/fleet-write/execute.mjs` 的 `lowRiskReadingFor` / `lowRiskCheckoutFor`(读法和 fetch 深度)、`requestGovernedReview` 里新加的那段、`governedReviewPlan` 多出的 `lowRisk` 参数。 - **两分钟验证**: `node scripts/pm/fleet-write/execute.mjs --self-test`,预期 375 例全过(governed-review 这一组 45 例)。 - **需要你做的**: 无,席位落地。 ## What changes All in `scripts/pm/fleet-write/execute.mjs`. `scripts/pm/check-governed-merges.mjs` is read, not edited: every reader below is already exported there. 1. **The plan takes the arm's reading.** `governedReviewPlan` gains `lowRisk` and chains the register exactly as `governedTierFor` does: `applyLowRiskArm(applyWorkflowSplit(matched, …), repoId, lowRisk)`, then `landingTierOf`. Only a reading `lowRiskArmVerdict` holds to every condition moves the catalog rows to S. `null` (every path-only call) keeps them H, so existing callers answer as before. The plan also returns `lowRiskVerdict` for the row's words. 2. **The reading, built from the register's own readers** (`lowRiskReadingFor`). No second parser: `pullLowRiskReading` over the pull answer the follow-up already reads (body, labels, fork predicate); `pullCatalogStatuses` over the file walk it already reads; `fetchTimelineOver` over the relay token (every page, or NOT MEASURED); `pullChangesetReading` and `pullCatalogReading` from the relay's checkout. 3. **The checkout** (`lowRiskCheckoutFor`). The relay checks out `main` at depth 1. `GET /compare/{base.sha}...{head.sha}` answers the merge base and `ahead_by`; the checkout must be the target by its `origin`; the head is fetched by sha at depth `ahead_by + 1`. Every commit on the shortest path from the head down to its merge base is in the compare's ahead set, so that depth holds the merge base, and `pullCatalogReading` computes the merge base in the checkout itself, as `--pr` does. The merge base is handed in as the base, so `git merge-base` answers it back only when it really is an ancestor of the head here. Past `LOW_RISK_FETCH_DEPTH_CAP` (200 commits), the reading is NOT MEASURED. 4. **When it reads** (`lowRiskArmReadable`). Only on a Tier H plan whose every governed hit is a catalog row carrying `lowRisk` for the target. It is a cost gate, the same shape as `workflowSplitReadable`: it can keep a plan H, never move one to S. A mixed pull (`.claude/**` beside `skills/**`) or another repository (objectui) costs no timeline walk, compare or fetch, and the row says why. 5. **The follow-up** (`requestGovernedReview`). After the pull is re-read and the workflow split is judged, a readable plan is re-planned with the reading. Tier S writes one row (`… lands on a seat's review of record — no review requested · low-risk skills arm read: Tier S (ruling)`) and requests nobody; no review list is read. Tier H continues to the reviews read and requests as today, and the row lists every reason the arm gave. 6. **The header** of the file gains a paragraph on the arm under "The governed-review follow-up". Fail closed, each measured in the self-test: no checkout, an unread timeline, a refused compare, a head past the fetch cap, a checkout of another repository, a fetch that throws, a head the fetch cannot bring, and a pull answer with no head sha each request BOTH approvers, and the row reads `low-risk skills arm read: Tier H, fail closed — REASON`. ## Tests `node scripts/pm/fleet-write/execute.mjs --self-test`: 375 cases across 28 batteries pass. The governed-review battery goes from 36 to 45 cases (floor raised to 45, measured: a floor of 46 reds with "registered 45 case(s)"); its name now says how a skills-only pull is judged. New cases: - the plan: a low-risk skills-wording pull read by the arm is Tier S with no approver; `null`, an unmeasured reading, or a reading with the timeline, changesets and catalog files not read keeps H and plans both; - the same pull with `Clause-②: yes`, a `security` label, a `security` label removed in the timeline, a security-named catalog path, an added catalog file, a changeset that also releases `@objectstack/spec`, or a `packages/**` path beside it plans BOTH approvers; - the row's words, and `lowRiskArmReadable` (objectstack catalog rows read; `AGENTS.md` beside them, or objectui, not read, with the words why); - the run through a fake platform and checkout: a Tier S skills pull requests no one, reads no reviews, reads the timeline once and fetches `fetch --no-tags --depth=3 origin HEAD` for `ahead_by: 2`; a security label, an added file, or a catalog path turned symlink (`120000`) requests both and names the reason; the eight unreadable readings above; a mixed pull and an objectui pull are not read. The fake platform's response now carries `ok` as a real `Response` does, because `fetchTimelineOver` reads it (the relay's own `rest` reads the status only). Before that line was added, the Tier S run case failed with "its timeline was not read (… HTTP 200)", which is the fail-closed direction. **Live probe (read-only, not committed).** From a fresh `git clone --depth=1` of objectstack, `lowRiskReadingFor` on merged PR objectstack-ai#33555 (a real skills-wording PR) with GETs over `gh api`: the head fetched at depth `ahead_by + 1`, the merge base computed in the clone, all five catalog files read `modified` `100644` to `100644`, the changeset read at the head, 28 timeline events read, and the plan answered Tier S. So the reading can be made in the relay's own checkout shape; the order's fallback ("if the reading cannot be made in the relay, the plan summons") does not apply. ## Acceptance notes - `scripts/pm/check-governed-merges.mjs` header (the arm section, around "every path-only reader (`--test`, `--branch`, the CODEOWNERS mirror, the prose gate, the relay's review plan) answers exactly as before, and the approvers are still summoned") now overstates the relay: the relay reads the arm. That file is out of this card's surface, so the sentence is left; carrier: none. - The register reads `scripts/pm/**` as NOT governed (`check-governed-merges.mjs --branch`, below), while the card body calls this change Tier S. The landing route is the seat's to read. ## Verification All local readings at head `2e18efd8`. <details><summary>Derived gates: 36 of 36 run, every one exit 0</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 36 families on this diff (1 path, vs merge base `d4e3dcc6e`). Each was run with its exit code captured before any pipe: ```text node scripts/check-closing-keyword-parity.mjs :: exit 0 node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0 node scripts/check-comment-mask-corpus.mjs :: exit 0 node scripts/check-declaration-mirrors.mjs :: exit 0 node scripts/check-declaration-mirrors.mjs --self-test :: exit 0 node scripts/check-self-test-wired.mjs :: exit 0 node scripts/check-self-test-wired.mjs --self-test :: exit 0 node scripts/check-self-test-workflow-commands.mjs :: exit 0 node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0 node scripts/check-whole-set-label-write.mjs :: exit 0 node scripts/check-whole-set-label-write.mjs --self-test :: exit 0 node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0 node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0 pnpm check:agent-test-spelling :: exit 0 pnpm check:bash32-floor :: exit 0 pnpm check:ci-filter-parity :: exit 0 pnpm check:cli-command-ids :: exit 0 pnpm check:cross-package-test-inputs :: exit 0 pnpm check:driver-memory-census :: exit 0 pnpm check:entry-guard :: exit 0 pnpm check:gitlink-declared :: exit 0 pnpm check:nul-bytes :: exit 0 pnpm check:parse-guard :: exit 0 pnpm check:pm-close-cards :: exit 0 pnpm check:pm-dispatch-gates :: exit 0 pnpm check:pm-fleet-write-dispatch :: exit 0 pnpm check:pm-fleet-write-execute :: exit 0 pnpm check:pm-fleet-write-validate :: exit 0 pnpm check:pm-issue-transfer :: exit 0 pnpm check:pm-record-recognisers :: exit 0 pnpm check:pm-write-pace :: exit 0 pnpm check:pnpm-filter-targets :: exit 0 pnpm check:pnpm-flag-spellings :: exit 0 pnpm check:refd-timer-probe :: exit 0 pnpm check:scripts-symbol-anchors :: exit 0 pnpm check:watch-hint-literal :: exit 0 ``` `node scripts/pm/dispatch-gates.mjs --ran FILE`: `✓ dispatch-gates --ran: 36 derived famil(ies) accounted for — 36 run, 0 NOT-MEASURED (a DERIVED zero — all 36 recorded an exit code and none of them is 3).` </details> <details><summary>Tier and governed-surface readings</summary> - `dispatch-gates --tier`: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)"; 268 changed lines (+260 / -8), under the 3000-line human-merge threshold. - `check-governed-merges.mjs --branch claude/project-thread-nthn1w`: "governed-surface predicate: 0 of 1 path(s) hit the register … NOT governed — ordinary queue landing applies to a PR with exactly this file list." Head repo NOT MEASURED there (a `--branch` reading); `--pr` reads it. - No package is touched, so no build closure, package test or typecheck is owed; `skip-changeset` (`scripts/pm/**` ships in no package). </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5oDmvJaKtcHYvPTR9P)_ Co-authored-by: Claude <noreply@anthropic.com>
Requested by Leehom · project thread
Fixes #33501
domain:skills#1 · os-project-manager · session_01FEkQ5pF46HJnpBrhgVWtwV
Clause-②: no
Metadata-protocol: none
维护者速读
skills/**与ui/skills/**两行仍是 Tier H,但多了一个「低风险技能臂」读数。以下全部成立才读成 Tier S:受管路径只在这两行;这两行下只有.md与evals/*.json;其余路径只有 changeset 与docs/、content/docs/下的 Markdown 散文;正文恰好一行裸写的Clause-②: no和一行Metadata-protocol: none(引用、代码块、尾随文字、多行声明都算 H);至少一个 changeset,在 head 读出,只发布'@objectstack/skills': patch,也带这两行;不带security标签,时间线上也没被摘掉过;目录内路径名不含 security/auth/permission;目录内文件只能是「修改」的普通文件,且新旧模式相同(新增、删除、改名、复制、软链、改模式都算 H);不是 fork。合并队列守卫在 merge_group 腿读这些,再要求同 head 的达档复核记录写的是 PASS,席位入队才放行;--pr预检给同一判定。AGENTS.md 第 14 条与 pm-dispatch 两处落地行同步;复核简报写明:路径名看不出的安全内容由复核记录写明、采纳记录的席位加security标签(带--paths且命中技能路径时无条件,不带--paths时以条件句出现)。--test、--branch与中继请审照旧按路径读 H。docs/adr/**不动,仍 Tier H,ADR 那一半由 pm: let a seat land an add-only ADR note under the low-risk Tier H ruling (docs/adr/** stays Tier H until then) #33539 承接。回滚即还原本 PR。scripts/pm/check-governed-merges.mjs的lowRiskArmVerdict与readBareDeclaration;scripts/pm/check-governed-queue-guard.mjs的readLowRiskTier与lowRiskRecordVerdict;AGENTS.md 第 14 条 Tier S 括号。node scripts/pm/check-governed-merges.mjs --pr 33394,预期 exit 3、Tier S(席内达档复核落地)与low-risk skills arm ... Tier S一行。AGENTS.md,本身是 Tier H:请合并(或批准后由席位落地)。What changes
The register (
scripts/pm/check-governed-merges.mjs). Theskills-catalogandui-skills-catalogrows keeptier: Hand gainlowRisk(scoped to objectstack), modelled on the workflows split: a READING moves them, the row does not.lowRiskArmVerdict(matched, repo, reading)reads Tier S only when ALL of these hold, each a printed reason when it does not:LOW_RISK_RIDER_PATTERNS(a.changeset/*.md, or Markdown prose underdocs/orcontent/docs/), and every path under a catalog row is.mdorevals/*.json(LOW_RISK_ARM_FILE_PATTERNS);Clause-②: noand one bareMetadata-protocol: none.readBareDeclarationruns the fleet's own readers (readClause2Line,readMetadataProtocolLine) line by line, never a second parser: a second declaration, trailing words, an arm, or the line quoted or inside a fence is H;'@objectstack/skills': patch(an empty frontmatter is allowed) and whose body carries the same two bare lines (lowRiskChangesetReasons);security, and the timeline was read and has nounlabeledevent forsecurity;forkVerdictof the pull object reads a same-repository head;LOW_RISK_SECURITY_NAME, any case, any segment below the catalog row). Ruling-ref: card pm: land low-risk governed PRs on the seat review (Tier S arm for skills wording and docs), per the 2026-11-14 delegation ruling #33501 comment 6888245932, item 1 (Leehom, option B 「标签和路径都读」): the label OR the path sends the PR to H. A segment rather than the basename, because a skill folder named for security hasSKILL.mdas its entry file; a security word in a rider path (docs/**) is not read. Onmainfive catalog files match, all basenames:skills/objectstack-api/evals/endpoints-auth-routes.json,skills/objectstack-data/evals/hooks-security-seeds-datasources.json,skills/objectstack-data/rules/security.md,skills/objectui/evals/auth-permissions.json,skills/objectui/guides/auth-permissions.md;catalogFiles, each row{ path, status, oldMode, mode }): an added, deleted, renamed or copied skill or eval, a symlink or submodule at either end (mode other than100644/100755), any mode change (a symlink turned regular file, or100644to100755), or a status or mode that was not read is H. Ruling-ref: card pm: land low-risk governed PRs on the seat review (Tier S arm for skills wording and docs), per the 2026-11-14 delegation ruling #33501 comment 6888245932, item 2 (Leehom, option A 「先补三项再合并」, item B).No reading, or an unmeasured one, is Tier H with its reason.
applyLowRiskArmruns afterapplyWorkflowSplit, so a split workflow row beside a catalog path counts as a governed row outside the arm.governedTierForandtestVerdicttake the reading as one more optional argument; every caller that passes none answers exactly as before (catalog paths Tier H).renderLowRiskLinesprints the arm's verdict.--prbuilds the reading from the pull object and file walk it already fetches (pullLowRiskReading), plus the timeline over the same channel (fetchTimelineOver, only when a catalog path is hit, every page or NOT MEASURED) and each changeset at the PR's head from this checkout (pullChangesetReading, NOT MEASURED with the fetch that cures it when the head is not here).--pralso reads each file's status off the API's file walk (pullCatalogStatuses; a rename's old name readsrenamed, a copy's sourcecopied source, nevermodified) and each modified catalog file's mode at the merge base and at the head from this checkout (pullCatalogReading,git ls-tree; a base or head not here, or no merge base, is NOT MEASURED, and the hint names the fetch:pull/N/headand the PR's own base ref, or its sha when the ref was not read, never an assumedmain(pullFetchHint, which the workflow split's reading now shares)), since the API can call a symlink replaced by a regular filemodified.--testand--branchhave no body and say NOT MEASURED. The header section "The low-risk skills arm" lists the conditions.The queue guard (
scripts/pm/check-governed-queue-guard.mjs).decomposeGovernedWorkkeepsallPaths(every path of every attributed commit of the PR, collected before the governed filter drops a row) andchangesetRefs(each changeset with the commit that touched it, ungoverned commits included). The entry reads the arm NOT MEASURED there; thepull_requestleg prints Tier H with that note and never reddens. Onmerge_group,readLowRiskTierre-reads each catalog entry's tier through the register'sgovernedTierForwith: the body, label names andforkVerdictof the pull object the leg already fetched (makePullReadernow returnslabelsandfork); the timeline the enqueue leg already read (kept, not re-fetched; an unread or failed timeline is NOT MEASURED); each changeset bygit show <commit>:<path>, and each governed commit's status and both modes per path bygit diff-tree -r --raw -z --no-renamesagainst its first parent (catalogFilesOf, the raw line's old and new mode; an add in one commit and an edit in the next readsadded). Then the Tier S record leg runs, and for an entry the arm put at Tier S the same-head record must also READ PASS:lowRiskRecordVerdictreads the comment the locator chose with the fleet'scontractReviewVerdictOf. FAIL, no verdict word, or no reader loaded is a refusal (not-pass) with its own line. A record carried from an older head (the regeneration and prose-only carry) stands for the arm only when the hops, diffed with the leg's git reader (--no-renames, so a rename lists both paths), moved no.changeset/path and no path under a catalog row (the carry admits both as prose, yet the arm reads its tier from them); an unreadable diff refuses. The other Tier S legs are unchanged and still read no verdict (pm: the queue guard's Tier S record leg checks a same-head record exists but never reads its verdict #33541).scripts/pm/record-recognisers.mjs. Re-exportscontractReviewVerdictOffromcheck-half-states.mjs(already its import), so the guard's lazy loader reaches the fleet's one verdict reader. The reviewer brief (--brief-template,contractReviewBriefLines) gains aSecurity —line: when the change teaches security, auth or permission behaviour the path name doesn't show, the record says so and the seat adopting the record adds thesecuritylabel (ruling item 1; an isolated reviewer cannot label). Built with--paths, it prints when ahitspath sits under a low-risk catalog row (lowRiskRowHit) and not otherwise. Built without--paths(the bare--brief-templatethatcontract-review.mdandcoordinator.mdteach), it prints in a conditional form, "if ahitspath is underskills/**orui/skills/**", on every at-tier face except the narrowing.AGENTS.mdPrime Directive 14. The surface list drops "all Tier H"; Tier H is "every register row outside Tier S"; Tier S names.claude/**and the objectstack workflow edits and skills-only wording the register reads as S (readWorkflowDiff,lowRiskArmVerdict). It also names the duty for security teaching the name test cannot see (a file such asrelationships.md): the seat adopting the review's record labels itsecurity("the seat labels unnamed security teaching"). To fit the 120-byte budget in the same 16 lines, the paragraph is re-wrapped and four phrases are shortened without changing a rule: "every register row outside Tier S" to "every row outside Tier S", ", and objectstack" to ", objectstack", "then lands it" to "lands it", "carries no information about" to "says nothing about". The detail lives in the script header, per AGENTS.md's own rule. Net content is 13 bytes shorter; the paragraph is re-wrapped at the 120-byte budget and keeps its 16 lines (AGENTS.md 1050 to 1050).pm-dispatch.
SKILL.md: "路径面命中 Tier H" becomes "定档 Tier H", and the workflows line names both readings and keeps the workflow Tier H triggers (readWorkflowDiff(发布面/C2/拒读⇒H),技能lowRiskArmVerdict,未读⇒H), within the 120-byte line budget.references/lanes/skills.md: the pre-arm check ischeck-governed-merges --pr N(only--prcan read the arm). The other places the card and comment 6885437809 listed were read and still hold as written:contract-review.md16 and 51 andlanding-operations.md12 and 89 speak of Tier S and Tier H generically,execution-duties.md17's soft cap already counts only PRs that stay Tier H, andcoordinator.mdnames no tier.Why
Ruling-ref: Leehom, project chat 2026-11-14, verbatim 「同意 把低风险的 Tier H 放权给座位」, then 「把低风险的 Tier H 放权给座位,立 p1 卡优化」. Measured on
origin/mainf068cde:GOVERNED_SURFACESputskills/**at Tier H, and the guard'smerge_groupleg passes a Tier H entry only on an authorized approval or enqueue (GOVERNED_APPROVERS), so a seat enqueue of a skills wording PR is refused. Comment 6885437809 measured that the ruleset requires no review (PRs merged with zero reviews), so the guard is the only stop and no settings change is owed.Acceptance notes
docs/adr/**stays Tier H. The ruling names ADR notes, but a path cannot tell a note from a changed decision. pm: let a seat land an add-only ADR note under the low-risk Tier H ruling (docs/adr/** stays Tier H until then) #33539 carries the ADR half of the ruling (an add-only note reading).scripts/pm/fleet-write/execute.mjsgovernedReviewPlanreads paths only): a summons, not a block. Follow-up pm: the relay's governedReviewPlan still summons the approvers on a low-risk Tier H PR the seat may land #33540..claude/**, the workflow split): only the low-risk arm requires PASS here. Follow-up pm: the queue guard's Tier S record leg checks a same-head record exists but never reads its verdict #33541.SKILL.md,references/lanes/skills.mdorreferences/contract-review.md. Those three are at their ruled line ceilings with no headroom; adding the duty there costs a line in each, which needs a cut the seat chooses or a ceiling ruling. PD 14 binds every seat, and the brief hands the duty to the reviewer itself.AGENTS.md's own rule allows no ruling date or quotation there (provenance cites a ruling record), and its line ceiling has no headroom. The conditions and the ruling live in the script header and thelowRiskArmVerdictdocblock, which PD 14 names.-zgap inenumerateRows(it predates this PR) goes to its own card, pm(queue-guard): enumerateRows reads diff-tree without -z, so a governed path with a non-ASCII or control character is quoted and matches no governed prefix #33620.--testand--branchalways read the arm NOT MEASURED (they have no PR body); the seat's pre-arm check for a skills PR is--pr N..claude/skills/pm-dispatch/SKILL.md(two different lines). Whichever lands second mergesorigin/main.--pr 33394and--pr 33482both still read Tier S through the tightened arm (timeline, fork and changesets read; head fetched locally). They still need a same-headCONTRACT_REVIEW_TIERPASS record before the seat enqueues, and they can only use the arm once this PR is onmain.Verification
Head
60e5e255(after the at-tier reviews 6886787995, 6887175399, 6887454202, 6887748912, 6888217778 and 6888563583, whose SF5, N11 and N12 this head answers; branch merged withorigin/main, which brought other lines of.claude/skills/pm-dispatch/SKILL.mdand no other file this PR touches).Self-tests of the edited scripts
node scripts/pm/check-governed-merges.mjs --self-test: exit 0, 690 assertions. Battery "⚖️ the low-risk skills arm" now 74 cases (floor pinned at 74), pinning each review item: M1 (no changeset; changesets unread; another package,minor/major, or a second release line; changeset missing or annotating either declaration; no frontmatter; not readable at the head; a changed changeset the reading holds no file for; body without a bareMetadata-protocol: none; the catalog at patch in either quote or an empty frontmatter is S), S1 (unlabeledsecurity in any case; another label removed stays S; timeline unread or not a list;--prreads the timeline only when a catalog path is hit), S2 (trailing words; two declarations, even twono; a quoted or fencednobefore a realyes, backtick and tilde fences; a lone fenced or quotedno; a closed fence before the real line stays S), S3 (fork; deleted head repo; unread fork predicate), S4 (.js,.jsonoutsideevals/, nestedevals/sub/*.json,.yaml,.png,.share H;evals/*.jsonis S), the security name test (a matching.mdandevals/*.json, all five files onmain, any case, theui/skills/**catalog, a skill folder named for it, a rename into and out of such a name, a rider path not read), the modified-file rule (added, deleted on either spelling, renamed both sides, added then modified, symlink, mode or status not read;100755at both ends and an added rider stay S), N10 (a symlink turned regular file calledmodifiedis H on its base mode;100644to100755and back are H; a base mode not read is H; a copy's source readscopied sourceand H), pluspullChangesetReading,pullCatalogStatuses,pullCatalogReading(merge-base and head modes; base not here, no base sha, or no merge base is NOT MEASURED; the fetch hint names the base sha when no ref was read and the base ref, such asrelease/v4, when it was; its symlink-at-base reading drives the arm to H) andlowRiskRowHit.node scripts/pm/check-governed-queue-guard.mjs --self-test: exit 0, 487 cases. Battery "⚖️ the low-risk skills arm at the queue" now 54 cases (floor 54), end to end throughrunGuardonmerge_group: the PASS clear; a PASS record carried over a docs-only hop clears, while one carried over a hop that rewrote the changeset or moved a skill'sCHANGELOG.mdis refused, as is a carried record whose hops cannot be diffed; the carry check's diff carries--no-renames(argument pinned), and on a real temporary repository (every git call undergitFreeEnv()with-c commit.gpgsign=false; the self-test also passes withGIT_DIRset to a bogus path) a skill renamed out of the catalog intocontent/docs/refuses the carried record while the plain diff names only the destination, and a rename intopermission-guide.mdlists both sides, refuses the carry naming both, and reads H through the name test; a security-named file, a rename into or out of such a name, a skill added or deleted in the group, a rename as delete plus add, a symlink, a symlink turned regular file (old mode120000, asMor asT), a regular file made executable, and a status read that throws or misses the path each stay H with a PASS record;catalogFilesOfreads status and both modes per commit; a same-head FAIL record, a record with no verdict word, a newer FAIL behind an older PASS, and a recogniser set without the verdict reader are each refused (not-pass);**VERDICT: PASS**clears; a non-arm Tier S entry with a FAIL record still stands (unchanged, pm: the queue guard's Tier S record leg checks a same-head record exists but never reads its verdict #33541); M1, S1, S2, S3, S4 each H with a valid PASS record (changeset in another commit of the PR included; no git reader; a timeline that threw or was never read);makePullReadercarries the fork predicate.node scripts/pm/record-recognisers.mjs --self-test: exit 0, 386 cases. Battery "letter C" 19 to 22: the brief over askills/**orui/skills/**path (beside other paths, and through the--brief-template --pathsCLI) carries the duty unconditionally, with the seat adding the label; the bare brief,--face rulesand--face schema(function and CLI) carry it in the conditional form; a known path list off the arm, the declaration face and the narrowing face carry none.unlabeled, allowing a second declaration, allowing a fenced line, switching S4 off, allowing no changeset, skipping the carried-record check, dropping--no-renames, switching off the security name test, switching off the status test (on either leg), dropping the brief line or printing it on every brief, ignoring a mode change, reading the head mode only, reading the base mode at the head, the guard reading the new mode as the old, carrying a copy's source asrenamed, dropping the brief's conditional form, wording the line as the reviewer adding the label, and a fetch hint namingmainor only the base sha each turn the self-test red.Derived gates: 47 derived, 47 run, all exit 0
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 47 families on head60e5e255(check:pm-record-recognisersamong them, for the re-export and the brief line). Each ran with its exit code captured before any pipe, after building@objectstack/lint...under the verify lock (VERDICT command-exit 0). All 47 exit 0.--ran: "47 derived famil(ies) accounted for — 47 run, 0 NOT-MEASURED (a DERIVED zero)". CI families are read from this PR's check-runs, not re-run here.Tier, governed reading, line budget
dispatch-gates --tier: MANDATORY contract-review tier, from.claude/skills/pm-dispatch/SKILL.md.node scripts/pm/check-skill-line-ratchet.mjs: exit 0.SKILL.mdstays 319 lines; its workflows line is exactly 120 bytes and the tier line says the skills arm is exclusive.AGENTS.mdstays 1050 lines; PD 14's last eight lines are re-wrapped at the byte budget for "skills-only".0fbe225c:--pr 33394and--pr 33482read Tier S through the arm, with the timeline, fork, changesets and both file modes (merge base and head) read (heads fetched locally).Human Minimum
packages/specholds no runtime logic. (No schema touched.)pnpm lintpasses. (CI runs it.)main, one pull request.scripts/pm/**,.claude/**,AGENTS.md;skip-changeset.)packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5pF46HJnpBrhgVWtwV