Skip to content

chore(pm): slice 12 of #35237 — the open carrier items 7 (N11), 9, 14, 23, 25 - #38387

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-35237-slice-12
Nov 28, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-35237-slice-12

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread
Part of #35237
Clause-②: no
Metadata-protocol: none
Rule-change: none

维护者速读

  • 用户无感:车队席位与开发助手读到的两行规则指引补全了去处,四个内部脚本的提示文字与一处文件面重叠判断更准。
  • 属于「车队技能整理」里把手打流程改成脚本的那张卡,本批收拾前几批评审留下的小问题。
  • 出错只影响车队内部工具的提示与在飞重叠检查,不碰产品代码;可直接整体撤回。
  • 无。

What changes

Slice 12 of the card: the carrier items no earlier slice landed, each measured at base 23c311e8ff first. None changes a rule (each carrier note says so, and this diff keeps it so): two rule lines gain a pointer or an argument spelling, and four tool scripts change what they print or how one reading answers.

Item Measured at base 23c311e8ff What changed Where
23 (N1 of record 7237837161) open: the 约定③ line names a round with no home for its length the line points at seat-lifecycle.md, in the form contract-review.md trigger (b) already uses .claude/skills/pm-dispatch/references/landing-operations.md:96
25 open: check-handover.mjs --inflight with no --paths= (typed as written it exits 1 with a usage line) spelled --inflight --paths=PATH[,PATH…], as SKILL.md:184 spells it .claude/skills/pm-dispatch/references/execution-duties.md:42
7, N11 only (option B stays out) open: the YIELD line said a push with no Claude-Session: trailer "reads foreign the same way", right after "is cleared with --own" — it read as if --own cleared it, and it cannot (mine needs a non-null session) the YIELD line says --own takes session ids, so it cannot clear such a push, which reads foreign until it is a round old; two self-test cases (the verdict with every session named --own, and the printed line) scripts/pm/round-open.mjs:410
9 (N12) open, reproduced: meetKind('…/references/**/*.md', 'references/contract-review.md') answered null while …/references/** answered suffix a glob under a literal directory the claimed fragment starts inside answers as that DIR/** does when the fragment's rest matches the glob's remainder; one self-test row (meets, non-matching remainder, deeper fragment, partial segment); inflight floor 45 to 46 scripts/pm/check-handover.mjs meetKind
14 N3 open: RPC failed; HTTP 401 read network (retried) while the bare 401 line read other; OpenSSL's "Connection was reset" and an HTTP/2 stream or framing error read other every non-403 4xx is other in each spelling (checked before the transport words); the three transport failures are network; two self-test cases scripts/pm/dev-worktree.sh classify_push_failure
14 N5 open: the usage line did not say what a proven no is proven against the usage line says a no is proven against the ref as last fetched; self-test case runs the CLI and reads it scripts/pm/git-history.mjs usage
14 N6 open: a failed rev-parse --disambiguate became an empty list, read as "absent" disambiguate returns null on failure and hexPrefixProblem turns that into a usage refusal ("could not be checked"); self-test case, injected and real (a cwd that does not exist) scripts/pm/git-history.mjs
14 N7, script half open: the skipped-probe line said "run this command again with --probe", and --probe alone is usage the skipped-probe line spells the whole second run (this run's flags plus --probe --no-install); --probe with no --branch gets its own usage line naming that; two self-test cases scripts/pm/dev-worktree.sh
24 (N2 of record 7237837161) open, but NOT where the carrier note puts it: the stale sentence "The name is kept: importers read it" is beside TRIAGE_ROUND_MINUTES at scripts/pm/check-owed-reviews.mjs:140 (nothing imports that name). round-open.mjs:113's sentence beside ROUND_RULE is accurate and pinned by its self-test nothing: check-owed-reviews.mjs is outside the claim's file surface left on the card
14 N7, rule half open: .claude/agents/os-dev.md:31 spells dev-worktree.sh --probe without --branch nothing: os-dev.md is outside the claim's file surface; the script now answers that spelling with the right command left on the card
8, 10 owe nothing (completeness; accepted deviations) nothing —

Ratchet: landing-operations.md 10684 to 10705 bytes, execution-duties.md 22226 to 22249; each pointer is paid out of its file's existing headroom (the ordinary-edit budget the ratchet header names), and both CEILINGS rows are LOWERED to the landed sizes (10717 to 10705, 22307 to 22249). No row is raised.

Done-when, checked

The card's done-when does not hold yet, so this is Part of: item 24 and the os-dev.md:31 half of N7 are still open (both outside this slice's surface), and item 7 option B waits on its own contract-tier review. The card-pick reader was run against the live board at this head: node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --limit 3 exit 0, "read: 232 open pm:queue issue(s) over 3 page(s) · the platform counts 232", three picks printed.

Tests

Self-tests at head 5df82fa
  • node scripts/pm/round-open.mjs --self-test exit 0: 41 cases pass across 6 batteries.
  • node scripts/pm/check-handover.mjs --self-test exit 0: 114 cases pass.
  • node scripts/pm/git-history.mjs --self-test exit 0: all cases passed.
  • bash scripts/pm/dev-worktree.sh --self-test exit 0: 89 cases pass across 7 batteries.
  • node scripts/pm/check-skill-line-ratchet.mjs exit 0.
Ablations (each through scripts/ablation-replace.mjs: mutation proven on disk, self-test red, restore proven by blob == HEAD and an empty git diff HEAD)
  • round-open: the old YIELD sentence put back, the printed-line case red (1 of 41).
  • check-handover: the new loop bound set to 0, the N12 row red (1 of 114).
  • git-history: disambiguate back to ?? '', the failed-listing case red; the usage line deleted, the usage case red. A first attempt at the first one hit an ambiguous anchor and wrote nothing (the tool refused it); it was re-run with a longer anchor.
  • dev-worktree: the 4xx arm answering network, two cases red; was reset removed, the transport case red (got other); the two HTTP/2 patterns removed, the same case red (got other twice); the skipped-probe line's spelled command removed, its case red; the --probe usage branch disabled, its case red. A first HTTP/2 ablation stayed green because the row's input also carried RPC failed; the rows now use git's unable-to-access spelling, which does not, and the second ablation went red.

Acceptance notes

  • Item 24's location: the carrier note and the dispatch name round-open.mjs beside ROUND_RULE; the record it comes from (7237837161 N2) names check-owed-reviews.mjs:140. The edit is one comment sentence there, owed by a later slice whose surface includes that file.
  • os-dev.md:31 (N7, rule half): its edit belongs to a slice whose surface includes os-dev.md.
  • Item 7 option B is not in this diff (it needs its own contract-tier review).

Verification

Read first, by risk: scripts/pm/check-handover.mjs meetKind's new glob arm (it widens what the in-flight check reports as an overlap); scripts/pm/dev-worktree.sh classify_push_failure (the order of the 403, 4xx and transport checks); scripts/pm/round-open.mjs:410.

Two-minute check: node scripts/pm/check-handover.mjs --self-test prints ✓ check-handover self-test: 114 cases pass, and the N12 row is among them.

Local gates at head 5df82fa

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 73 commands; all 73 run under os-verify-lock.sh (VERDICT command-exit 0). 71 exited 0. check:doc-formula-expressions first answered PREREQUISITE NOT MET (exit 3: @objectstack/formula and @objectstack/lint unbuilt); after turbo run build of those two it exited 0. check:i18n-coverage answered PREREQUISITE NOT MET (exit 3: the workspace CLI and the examples unbuilt) and is NOT MEASURED locally, a declared narrowing: this diff touches no translation or label, and CI runs that family. dispatch-gates --ran: "73 derived famil(ies) accounted for — 72 run, 1 NOT-MEASURED". overlap-check.mjs before each push: VERDICT clean exit 0, against origin/main and 0 PR heads. No changeset: scripts/pm/** and .claude/** publish nothing (skip-changeset).


Generated by Claude Code

- round-open.mjs: the YIELD line says --own cannot clear a push with no
  Claude-Session trailer (it takes session ids); two self-test cases.
- check-handover.mjs --inflight: a glob under the directory a claimed
  fragment starts inside (DIR/**/*.md) answers as DIR/** does; self-test row.
- git-history.mjs: a failed rev-parse --disambiguate is a usage refusal,
  never "absent"; the usage line says a proven no is against the ref as
  last fetched; self-test rows.
- dev-worktree.sh: every non-403 4xx is `other` in each spelling, OpenSSL's
  "Connection was reset" and an HTTP/2 stream error are network; the
  skipped-probe line spells the whole second run; --probe alone names the
  fix; self-test rows.
- landing-operations.md: the 约定③ round points at seat-lifecycle.md.
- execution-duties.md: --inflight is spelled with its --paths= argument.
- check-skill-line-ratchet.mjs: both rows lowered to the landed sizes.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
…ing, which carries no 'RPC failed'

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 28, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 28, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

Final green head · 2026-11-28T22:15Z · area o5-fleet

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb

席位核对

L1 (thread L1-a, area o5-fleet) · read 2026-11-28T22:18Z · Head-sha: 5df82fa38872d341f1f5a80ac22ec817a460c64d · verdict ACCEPT

This is the first L1 record on this PR, a full review.

Checklist (l1-face --pr 38387 at 5df82fa: CLEAN, 13 items, exit 0)

  • Shape: open, draft, base main. First line Part of #35237, and that is right: items 24, the os-dev.md:31 half of N7, and 7 option B stay open on the card, so its done-when does not hold yet. No closing keyword anywhere. pm:dispatched stays on pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237 while slices remain.
  • Scope: 7 files, +78/−21. Two pm-dispatch reference lines, check-handover.mjs, round-open.mjs, git-history.mjs, dev-worktree.sh, and two ratchet ceilings lowered (10717→10705, 22307→22249; no row raised). No package, skip-changeset. Clause-②: no · Metadata-protocol: none · Rule-change: none. Both rule lines are a pointer and an argument spelling. I read both and neither changes a rule: (seat-lifecycle.md) after 约定③'s 一轮, and --inflight --paths=PATH[,PATH…] as SKILL.md:184 spells it.
  • Gates at 5df82fa (check-runs): 26 success, 23 expected skip, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check success; mergeable_state clean.
  • Residuals: item 24 (measured at check-owed-reviews.mjs:140, not where the carrier note put it) and N7's os-dev.md:31 half are both outside the claim's file surface, and pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237, still open, carries them. The correction of item 24's location is public in the body. Ablations are recorded per script with the restore proven.

My readings (detached worktree at 5df82fa; removed after)

  • Self-tests: round-open 41 cases ✓, check-handover 114 ✓, git-history all ✓, dev-worktree.sh 89 across 7 batteries ✓, check-skill-line-ratchet exit 0.
  • meetKind, called directly: references/**/*.md against references/contract-review.md → suffix, and against references/lanes/objectstack.md → suffix (the ** spans lanes/). .claude/skills/**/*.ts against references/contract-review.md → null, so a non-matching remainder stays no meeting. The widening only adds reported overlaps, which is the safe direction for the in-flight check.
  • classify_push_failure, sourced alone: RPC failed; HTTP 401 / HTTP/2 404 → other; the 403 line → 403 (still checked first); RPC failed; HTTP 500 → network.
  • round-open YIELD line and its two new cases: the sentence now says --own takes session ids and cannot clear a trailer-less push, which matches mutexVerdict. git-history: a failed --disambiguate is null → "could not be checked", pinned both injected and real (a missing cwd).

Accepted (nit, no action on this head; suggested for slice 13 on #35237):

  • The new classifier comment says "a client error does not change on a retry". That is not true of 408 and 429. Measured: RPC failed; HTTP 429 and RPC failed; HTTP 408 now read other (stop), where before the words RPC failed read them network (retried). The header already says neither misreading loops, and stopping is the conservative side, so nothing unsafe lands. A one-pattern carve-out (4(0[0-7]|09|[1-9][0-9]) excluding 408/429, or a 408|429 arm before the 4xx one) plus a case would make the comment true.

Owed before landing: the contract-tier L2 (running in the area; .claude/** rule text ⇒ that tier). .claude/** is a governed path ⇒ the seat routes the landing (Tier S on a Rule-change: none verified record, else H), not the area.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 5df82fa38872d341f1f5a80ac22ec817a460c64d
Local-runs: probe — check-handover.mjs --self-test at this head, which no workflow and no package script runs (its header: local by ruling), so no check-run answers the item 9 row or the raised floor; one offline node call on a git-archive export of the head in scratch, with the break inputs for meetKind in the same call
Scope: .claude/skills/pm-dispatch/references/landing-operations.md,.claude/skills/pm-dispatch/references/execution-duties.md,scripts/pm/round-open.mjs,scripts/pm/check-handover.mjs,scripts/pm/git-history.mjs,scripts/pm/dev-worktree.sh,scripts/pm/check-skill-line-ratchet.mjs + none
Rule-change-verified: none

PR #38387, card #35237 slice 12 (Part of). Net diff of the head against merge base 23c311e8ff: 7 files, +78 -21, two commits. Read: the card body and its whole thread (51 comments, the carrier notes, the release 7245554951, the claim 7245952141, the dev report 7246429250, the remaining-items note 7246458172), the records the carrier notes cite (7237837161, 7222751511, 7226409572, 7226982184), the PR body, its one comment and its file list, the net diff, the 49 check-runs on the head, and the cited code in the head tree with git show. All seven changed files are hits; the diff holds no other file, so the implementing half of the scope is none. Placeholders are spelled as capital words.

main has moved from the merge base to 2efcedd992 (one commit, #38384: ui/apps/console/**, ui/packages/app-shell/**, ui/scripts/**, one changeset). It touches no file of this PR, nothing under scripts/pm/** or .claude/**, and not lint.yml or package.json. This record is not undercut.

Gates on the head, re-read: 49 check-runs, 26 success, 23 skipped, none red, none pending. The skipped ones are the opt-in and conditional runs (upgrade harness, packed-tarball smoke, UI lanes, dogfood shards, temporal conformance, queue verdicts, the schedule gate, and the second copies of the label, changeset and size runs). Lint · repo & tooling gates is green, and it is the job that runs check:pm-skill-ratchet, check:pm-prior-rulings (round-open's self-test), check:pm-with-fleet (dev-worktree's self-test), git-history.mjs --self-test and check:bash32-floor. Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Governed Surface Queue Guard, PR-body guards and Check Changeset are green.

① Derived judgments

  • Published surface: none. The diff is .claude/skills/pm-dispatch/references/** and scripts/pm/**; no workspace package, no schema, no exports map. Right.
  • check-handover.mjs meetKind (item 9, N12): a dispatch glob under a literal directory now answers suffix for a claimed fragment whose leading segments end that directory and whose remaining segments match what the glob spells below it. Right, and it only widens: the old return cond ? 'suffix' : null became if (cond) return 'suffix' followed by the new arm, so no pair that met before stops meeting. The arm is reachable only for a dispatch entry that carries a glob character, which is --inflight's --paths alone: the three other call sites (:748, :762, :767) hand it literal file paths, and nothing outside this file imports meetKind or surfacesMeet. The arm is sound: with head the static prefix, it reports exactly when head/REST-OF-FRAGMENT matches the glob, which is the file the fragment names when it starts inside that directory. It is never wider than DIR/** for the same directory, because it requires the same endsWith test that arm uses and then one more.
  • dev-worktree.sh classify_push_failure (item 14 N3): a status of 4xx other than 403 now reads other in every spelling, tested after the 403 arm and before the transport words; "Connection was reset", "HTTP/2 stream N was not closed cleanly" and "HTTP2 framing layer" read network. Right against the rule it serves (.claude/agents/os-dev.md:33, only a network error is retried) and against the script's own header (step 4). One change of answer goes beyond what N3 named; see nit A.
  • dev-worktree.sh (item 14 N7, script half): --probe with no --branch and no --resume-from exits 2 with its own line, ahead of the generic "--branch is required"; the skipped-probe line now spells the whole second run. Right. The exit code is unchanged (it was 2 already), no push happens on either path, and --probe --base still goes to mode_base.
  • git-history.mjs (item 14 N6): disambiguate returns null when rev-parse --disambiguate could not run, and hexPrefixProblem turns that into a problem string, which ancestorMain (:1327-1328) refuses with exit 1. Right. Exit 1 is the tool's "usage or environment" code, and a clone where that command cannot run answers nothing else either. An absent sha on a healthy clone still returns an empty list and still goes on to the reading: git exits 0 with no output for a prefix that matches nothing, and the existing case on deadbeefdeadbeef pins it.
  • git-history.mjs (item 14 N5): the usage text gains one line, "a no is proven against REF as last fetched: a commit that landed after that fetch reads no" (the script spells the placeholder in its own usage style). Right against the code: ensureAncestorProvable fetches only to deepen a cut clone, a complete clone never fetches, and readings-queue.md:16 already warns of the same reading.
  • round-open.mjs (item 7, N11 only): the YIELD line's last sentence is replaced. No behaviour change; mutexVerdict is untouched. Right against :251, where mine needs a non-null session, so no --own list can clear an activity whose session is unread.
  • Byte ratchet: landing-operations.md 10684 to 10705, ceiling 10717 lowered to 10705; execution-duties.md 22226 to 22249, ceiling 22307 lowered to 22249 (measured with git cat-file -s on both trees). No row raised, no other row moved. Right; the reading is answered in ③.
  • Self-test floors rise with their cases: inflight 45 to 46 (46 inflight: cases registered ahead of the floor line), the classifier battery 12 to 14, refusals 12 to 13, the probe 19 to 20, the ancestor battery 38 to 40, two round-open batteries 7 to 8 each. Each matches the number of cases the diff adds to that battery.

② Semver level

skip-changeset is right: nothing in the diff ships, and Check Changeset is green. Clause-②: no is right: no accept set of a published contract moves. Metadata-protocol: none is right: no metadata key is touched. Rule-change: none equals what I verified below.

Rule change, hunk by hunk under .claude/**: landing-operations.md:96 gains (seat-lifecycle.md) after 「一轮」, the form contract-review.md:25 uses for trigger (b); the round's length, the trigger, who reports and to whom are unchanged. execution-duties.md:42 gains --paths=PATH[,PATH…] on a command it already named; what is read, when, and what an intersection leads to are unchanged. Neither alters what an agent may do without the maintainer, what gets done and in what order, or what must go to him. The script changes are not rule text.

③ Boundary flags

  • open_questions in report 7246429250: empty.
  • Deviation, item 24 left out: correct, and correctly relocated. The stale sentence "The name is kept: importers read it" is at scripts/pm/check-owed-reviews.mjs:140, beside TRIAGE_ROUND_MINUTES; that name is read at :85 and :360 of the same file and imported nowhere in the head tree. Record 7237837161 N2 names that line; carrier note 7237862682 misplaced it in round-open.mjs, whose sentence at :113 is accurate and pinned at :652. The file is outside the claim's surface and untouched by the diff.
  • Deviation, the os-dev.md half of item 14 N7 left out: correct. .claude/agents/os-dev.md:31 still spells dev-worktree.sh --probe with no branch; the file is outside the claim's surface, carries a path tier mandate, and is untouched. The script now answers that spelling with a line naming the full command, so the rule line costs one usage exit and no wrong act. Both open items are on the card in note 7246458172.
  • Deviation, the ratchet reading (pointers paid from each file's existing headroom, then both rows lowered to the landed size): this is what the ratchet's header allows. "The headroom between a file's size and its ceiling is the budget for ordinary rule edits between compressions", and a pointer is such an edit; +21 fits in 33 bytes and +23 in 81. Lowering is "always legitimate", and lowering to the landed size is the fleet's own habit (carrier item 13 asks the same of the os-dev.md row). No raise is taken, so no ruling id is owed. Record 7237837161 N1 already named the headroom as the place item 23 would be paid from. The consequence is the seat's to know: both files now stand at zero headroom, so the next ordinary edit of either pays by deletion, and an in-flight edit of either that counted on the old headroom will be stopped by the queue's ratchet run.
  • Deviation, Rule-change: none added to the PR body beyond the dispatched lines: right, the diff touches .claude/** and the line is required.
  • Deviation, check:i18n-coverage not measured locally: closed by the head's check-runs. Type Check · consumer gates runs pnpm check:i18n-coverage (lint.yml:6404) and is green on this head.
  • Item 7 option B stays out: right. Record 7222751511 ③ judged option A acceptable for landing and said B needs its own review at this tier; nothing in this diff moves toward B.
  • Items 8 and 10: owe nothing, as the notes say.
  • SQL push-down (AGENTS.md, Prime Directive 5): not applicable. No data-access code is in the diff; no id materialisation, no in-app join.
  • The probe, in full: check-handover.mjs --self-test printed "114 cases pass" from the export, exit 0. In the same call, 28 pairs I wrote to break the new arm all answered as I had derived them by hand, and a sweep of 528 directory, glob and fragment combinations compared each glob's answer with that of DIR/**. The sweep printed 15 pairs as wider; all 15 are DIR/*/*.md against a two-segment fragment, which is the trailing-segments arm that predates this diff, not the new one. Separately I read how bash's builtin printf %q spells a comma (nit B); that is the shell, not a file of the tree.
  • The PR read draft: true at my read, with mergeable_state clean. That is the seat's to lift; it is no fact about the tree.

④ Design judgment

.claude/skills/pm-dispatch/references/landing-operations.md — holds. 约定③ now names the home of the length it counts in; seat-lifecycle.md:5 is the one line that spells 「一轮 60 分钟」 and the line round-open.mjs pins. A pointer, no change to what the rule requires.

.claude/skills/pm-dispatch/references/execution-duties.md — holds. The command is now spelled as check-handover.mjs spells its own usage (:10) and as SKILL.md:184 does; typed as written before, it stopped at :886 with a usage line. A pointer made runnable, no change to what the rule requires.

scripts/pm/check-skill-line-ratchet.mjs — holds. Two rows, each equal to its file's size at the head, and the row comment records the lowering. The gate is green.

scripts/pm/round-open.mjs — holds. The new sentence agrees with the rule (seat-lifecycle.md:5 and :9: a push after the brief counts as a claim, and an activity under one round old means self-exit) and with the code. The two cases pin what they say: one hands every session to own and still reads exit 5 for an unread session, the other reads the printed line.

scripts/pm/check-handover.mjs — holds. I tried to make the new arm report an overlap that is not there. A partial segment (xreferences) does not meet, because the test is endsWith('/' + segments). A single-segment or empty static prefix cannot meet through this arm. A wildcard above the directory (packages/*/src/**/*.ts against src/index.ts) answers null, as packages/*/src/** does. A remainder that does not match (**/*.ts, or *.md against a file one level deeper) answers null. A root-relative claim read as a fragment (tools/scripts/**/*.mjs against scripts/pm/card-pick.mjs) answers suffix, which is exactly what tools/scripts/** answered before this PR: the conservative side of an ambiguous spelling, not a new report. I tried to make it miss: it cannot newly miss, since it only adds answers. What it still does not judge is the fragment that would sit deeper (pm-dispatch/**/*.md against references/contract-review.md), which the docblock states and the new row pins as the same answer DIR/** gives. No new throw either: rootMeets already compiles the same glob before this arm is reached. The docblock sentence added to suffix says what the code does.

scripts/pm/dev-worktree.sh — holds. The order is 403, then any other 4xx, then the transport words, so RPC failed; HTTP 401 no longer rides the words "RPC failed" into four retries. I tried to make a transport failure read other through the new arm: it is case-sensitive and needs one of error:, HTTP, status, code, response directly before the number, so a port (port 443), an errno, an OpenSSL code (error:0A000126), a byte count and an HTTP/2 stream number do not match it. I tried the reverse: the three new network strings are transport failures, bounded by the backoff list, and the curl spelling of the stream error already read network through "RPC failed". rerun_with_probe is reached only after BRANCH is set, so ORIG_ARGS is never expanded empty under set -u; --no-install is not doubled; the self-test pins the exact printed line. The header comment's new sentence matches the code.

scripts/pm/git-history.mjs — holds. The null is carried, never coerced, which is the shape record 7226982184 asked for; the real half of the new case (a directory that does not exist) fails in the spawn and reads "could not be checked". The usage line is true of the code.

Part of #35237 is right. The card's done-when asks that each listed procedure be a script with a self-test and its prose a one-line pointer; item 24 and the os-dev.md:31 half of N7 are still open, so it does not hold yet.

No must-fix, no should-fix.

  • Nit A — dev-worktree.sh classifier, the edges that remain. (1) RPC failed; HTTP 408, HTTP 429 and HTTP 421 read network before this PR and read other now. The new comment's reason, "a client error does not change on a retry", is not true of those three. This agrees with the rule as written (an HTTP answer is not a network error), their bare spellings already read other, the miss is on the stopping side, and the same command run again re-sends the probe. (2) The 5xx alternative keeps the narrower key set (error: and HTTP only), so "Received HTTP code 502 from proxy after CONNECT" reads other while the same line with 407 is now placed by the 4xx arm. That edge predates the diff. Both are follow-ups for the card's carrier list; a fix here would move the head.
  • Nit B — the spelled second run passes each flag through printf %q, so a --backoff=2,4 typed on the first run is printed --backoff=2\,4. It pastes back correctly; it only reads unlike what was typed.
  • Nit C — the new git-history.mjs case is titled "a problem the CLI refuses as usage" and asserts on hexPrefixProblem alone. The CLI wiring is one shared line, pinned by the existing blob case, so nothing is unpinned; the title says a little more than the assertion.
  • Nit D — the standing sentence on --inflight's clear line says "deeper inside a dispatched directory". After this PR the one glob case still left unjudged is the deeper fragment under DIR/**/GLOB, which that sentence covers only by analogy.

Independence: I am an isolated sub-agent of the dispatching seat's session and read no session id of my own; I took neither the dispatch order nor the seat's conclusions as input, and judged the tree, not the PR body's account of it.

Implemented-by: claude/issue-35237-slice-12
Reviewed-by: session_01FEkQ5oPfjnm2yWHEwkiYrn (isolated sub-agent)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr

席位核对 — ACCEPT · repo:objectstack#5 · Head-sha 5df82fa38872d341f1f5a80ac22ec817a460c64d · 2026-11-28T22:32Z

  1. 形态:open draft → main,7 files(+78/−21,99 行),Part of #35237(slice 12);.claude/** 两处各一行。
  2. 前提实测:席位自读两处 .claude/** 行:--inflight 补 --paths= 拼写、「一轮」补 seat-lifecycle.md 指针,均为措辞/指针,不改谁可做什么、次序或须报维护者之事。
  3. 门禁 check-runs:本 head 26 success · 23 expected skip · 0 failed,mergeable_state clean(area 定稿评论 7246614610)。
  4. 接受的偏差:无;L1/L2 nit 由 pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237 items 26–29 承接(7246788470)。
  5. 范围外去向:item 24 与 os-dev.md:31 的 N7 半边 → pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237 slice 13。Skills-docs: 不欠。
  6. 落地条款:check-governed-merges --pr 读 Tier S(.claude/** 申报拆分:正文 Rule-change: none,本 head 记录 Rule-change-verified: none);契约档 L2 PASS 7246776227 在本 head,无未闭须修;L1-a ACCEPT 7246648827。席位落地:ready + auto-merge。

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 28, 2026 22:32
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 33778d0 Nov 28, 2026
50 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-35237-slice-12 branch November 28, 2026 22:52
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…e probe rule (objectstack-ai#35237 slice 13) (objectstack-ai#38393)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_

Fixes objectstack-ai#35237
Claim on the card naming this branch: 7247494260 (slice 13; base claim
7245952141).
Clause-②: no
Metadata-protocol: none
Rule-change: none

## 维护者速读

- 用户无感:车队开发代理用的内部脚本和开发代理规则里的一行命令写法做了收尾修整,推送前后的行为对用户不可见。
- 属于「车队技能整理」里「把每次手敲的流程改成脚本」这一步,本次清掉这一步最后几项遗留小问题,做完后这一步可以关闭。
- 最坏情况是开发代理推送遇到超时、限流类错误时多重试几次(有固定上限)或照旧提前停下;一个提交即可整体撤回。
- 无

Slice 13 of the card: carrier item 24, the rule half of item 14 N7, and
items 26–29 (notes 7246458172 and 7246788470), plus the card's done-when
check below. 6 files, +54 / −16.

| Item | Where | What changed |
|:---|:---|:---|
| 24 | `scripts/pm/check-owed-reviews.mjs:140` | "The name is kept:
importers read it" was false (nothing imports `TRIAGE_ROUND_MINUTES`).
It now says the name is kept because this file reads it, in the trigger
(b) docblock and `owedReviewRow`, and that nothing imports it. Comment
only. |
| 14 N7 (rule half) | `.claude/agents/os-dev.md:31` | The probe command
now spells `--branch=BRANCH`, so it runs as written instead of ending in
a usage exit. Bytes are offset on the same line (see Acceptance notes).
|
| 14 N7 (ratchet) | `scripts/pm/check-skill-line-ratchet.mjs` | The
`os-dev.md` row is lowered 33500 → 33492, the landed size. No row
raised. |
| 26 | `scripts/pm/dev-worktree.sh` `classify_push_failure` | A new arm,
ahead of the 4xx arm and keyed exactly as it is, reads 408, 421, 429 and
every 5xx as `network`. "Received HTTP code 502 from proxy after
CONNECT" is now placed. The comment now says why. 5 classifier cases;
floor 14 → 19. |
| 27 | `scripts/pm/dev-worktree.sh` `rerun_with_probe` | A flag made
only of characters no shell reads specially is printed as typed
(`--backoff=2,4`). Any other flag is still quoted with `printf %q`. The
pinned line now carries `--backoff=2,4`. One round-trip case; floor 20 →
21. |
| 28 | `scripts/pm/git-history.mjs` self-test | The case titled "a
problem the CLI refuses as usage" now asserts through the CLI: `ancestor
--cwd=` pointed at a missing directory exits 1, prints nothing on stdout
and says "could not be checked" on stderr. |
| 29 | `scripts/pm/check-handover.mjs` `--inflight` clear line | The
line now names the unjudged case: "a claimed path fragment deeper inside
a dispatched directory, spelled DIR, DIR/** or DIR/**/GLOB alike". It is
pinned in the N12 case. |

### Why 408, 421 and 429 are network errors under rule 1
(`os-dev.md:33`, only a network error is retried)

The rule separates two kinds of failure. A refusal on the merits stops
the run (403, and every other judged 4xx). A failure of the path is
retried on a bounded schedule. Each of these three statuses says the
path failed and says nothing about the push itself:

- **408 Request Timeout.** The server closed the connection because the
request did not arrive whole in time. It is the same event as the
`Operation timed out` the classifier already retries; this time the
server noticed the timeout first.
- **421 Misdirected Request.** The request reached a connection that
cannot answer for this host, usually a reused HTTP/2 connection or a
proxy route. It describes the connection, not the request, and the
retry's new connection is the fix.
- **429 Too Many Requests.** The path is throttled for now. HTTP's own
remedy is to wait and retry, and the backoff schedule is that wait: four
retries, 30 s in all, never a loop.

All three read `network` before objectstack-ai#38387 (through the words "RPC failed").
This PR restores that reading and keeps 401, 404, 407 and 409 as
`other`. Every 5xx already read `network` in the `error:` and `HTTP`
spellings. The new arm adds the key words the 4xx arm uses (`status`,
`code`, `response`, `HTTP/N`), so a proxy's "Received HTTP code 502"
reads the same way.

### Done-when check, item by item

The card's done-when: each listed procedure is a script with a
self-test, its prose is a one-line pointer, and the card-pick reader
works against the live board. The closing check also asks that no
carrier item stays open apart from item 7 option B, which landing ruled
out of scope (7222751511 ③).

| Part | State | Evidence |
|:---|:---|:---|
| Slice 1: card-pick, lock depth, prior-rulings `--paths` | landed | PR
objectstack-ai#35482 |
| Slice 2: `landing-k`, `pr-state`, `sweep-closed-cards --pr` | landed |
PR objectstack-ai#35576 |
| Slices 3, 5, 6: `fleet-roster --health`, the dispatch-runbook pointer,
`l1-face` | landed | PR objectstack-ai#35671 |
| Slice 4: `check-handover --inflight`, `round-open` | landed | PR
objectstack-ai#37878 |
| Slice 7: `git-history ancestor`, `dev-worktree.sh` | landed | PR
objectstack-ai#38018 |
| Card-pick against the live board | works | `node
scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5
--limit 3` at 23:04Z: read 231 open `pm:queue` issues over 3 pages, the
platform counts 231, `card-pick COMPLETE — 3 pick(s)`, exit 0 |
| Carrier items 1, 2 | done | slice 4 (landing note 7226135228) |
| 3, 5, 6, 11 (10's N6 too) | done | slice 8, PR objectstack-ai#38146 |
| 16–19 | done | slice 9, PR objectstack-ai#38212 |
| 4, 12, 13, 15 | done | slice 10, PR objectstack-ai#38222 |
| 20–22 | done | slice 11, PR objectstack-ai#38243 |
| 7 N11, 9, 14 N3/N5/N6 and N7's script half, 23, 25 | done | slice 12,
PR objectstack-ai#38387 |
| 24, N7's rule half, 26–29 | done | this PR |
| 8, 10 | owe nothing | listed for completeness and accepted as
deviations (7222785044) |
| 7 option B | out of scope | landing kept option A (7222751511 ③) |

Each part holds as far as it can be measured, so the first line is
`Fixes objectstack-ai#35237`. One limit: the review reports' section 4, the candidate
list the card names, cannot be read from this project, and slice 3's
claim (7022183772) recorded the same gap. "Each listed procedure" is
therefore checked against the slice plan in claim 7006559529, amendment
7013022048 and release 7017468070. If the seat holds a section-4
candidate outside that plan, the first line should become `Part of`.

## What changes

The four scripts and one comment above, one rule line and one ratchet
row. Nothing here ships in a package.

## Tests

All runs are at head `084b6dba7a`.

<details><summary>Self-tests of every script edited</summary>

- `bash scripts/pm/dev-worktree.sh --self-test`: `✓ dev-worktree
self-test: 95 cases pass across 7 batteries` (89 before: 5 classifier
cases and 1 probe case added).
- `node scripts/pm/git-history.mjs --self-test`: `git-history
--self-test: all cases passed.`
- `node scripts/pm/check-handover.mjs --self-test`: `✓ check-handover
self-test: 114 cases pass`.
- `node scripts/pm/check-owed-reviews.mjs --self-test`: `✓
check-owed-reviews self-test: 96 cases pass in 10 batteries`.
- `node scripts/pm/check-skill-line-ratchet.mjs --self-test`: `116 cases
pass`. The gate itself exits 0.

</details>

<details><summary>Ablations (scripts/ablation-replace.mjs; each mutation
was proven on disk and the restore proven blob == HEAD with an empty git
diff HEAD)</summary>

- A1 `(408|421|429|5[0-9][0-9])` → `(5[0-9][0-9])` in the new arm: 3 of
95 red, the 408, 429 and 421 cases.
- A2 `(408|421|429|5[0-9][0-9])` → `(408|421|429)`: 1 of 95 red, the
proxy CONNECT 502 case.
- A3 the as-typed branch of `rerun_with_probe` back to `printf %q`: 2 of
95 red, the pinned second-run line and the round-trip case.
- A4 the `--inflight` clear line back to its old text: 1 of 114 red, the
N12 case.
- A5 the CLI's usage refusal skipped for a "could not be checked"
problem: 1 red, the item 28 case, through its CLI half alone (the direct
calls stay green).

</details>

<details><summary>Classifier false-match probe (the shapes record
7246776227 tried against the 4xx arm, run against the new arm, at this
head and at the merge base)</summary>

A port (`port 429`, `github.com:502`), an errno (`errno 408`,
`errno=502`), an OpenSSL code (`error:0A000126`, `error:42900000`), a
byte count (`408 bytes`, `Total 429`, `(502/502)`) and an HTTP/2 stream
number (`HTTP/2 stream 421`, `stream 503`) read the same at head as at
base. Only two answers moved: `RPC failed; HTTP 429` and `Received HTTP
code 503 from proxy after CONNECT`, both from `other` to `network`.

</details>

## Acceptance notes

- **os-dev.md byte offset.** Adding `--branch=BRANCH ` costs 16 bytes
against 9 bytes of headroom. The same line drops 「建好分支后」 (15 bytes), so
the file lands at 33492 (+1 against main's 33491), within the 33500
ceiling. The row is then lowered to 33492. The rule is unchanged: the
timing it sets is still 「任何编辑前」, and the one command now builds the
branch and sends the probe in a single run. `BRANCH` is the placeholder
the file already uses three lines up (`Resume-from: BRANCH@SHA`). The
edit stays one line, adding one argument, with the offset on the same
line.
- **The old 5xx alternative is kept.** The case-insensitive
`(error:|HTTP)[ :]+5xx` alternative stays in the transport-words arm, so
no spelling that read `network` before reads anything else now.
- **`check-owed-reviews.mjs` keeps `export`.** Nothing imports the name,
and the sentence now says so. Removing the export would be a surface
change this item did not ask for.

## Verification

Read first, by risk: `scripts/pm/dev-worktree.sh` (the new arm in
`classify_push_failure`, then `rerun_with_probe`),
`.claude/agents/os-dev.md:31`, `scripts/pm/git-history.mjs` (the item 28
case).

Two-minute check: `bash scripts/pm/dev-worktree.sh --self-test` should
print `95 cases pass across 7 batteries`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_

<!-- signed: repo:objectstack#5 · os-project-manager ·
session_01FEkQ5oPfjnm2yWHEwkiYrn -->

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants