You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 33778d0
Browse filesBrowse the repository at this point in the historyBrowse files
chore(pm): slice 12 of #35237 — the open carrier items 7 (N11), 9, 14, 23, 25 (#38387)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_
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
<details><summary>Self-tests at head 5df82fa</summary>
- `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.
</details>
<details><summary>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)</summary>
- 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.
</details>
## 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.
<details><summary>Local gates at head 5df82fa</summary>
`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`).
</details>
---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
/** The root-relative reading of `meetKind` (its `path` arm). Pure. */
@@ -1602,6 +1609,7 @@ export function selfTest() {
1602
1609
t('inflight: N4 — a clear run NAMES the claimed bare names it could not judge against a directory or `DIR/**`; a `No changes outside …` clause is surface, not a fence',n4.exit===EXIT_OK&&n4.notCompared.map((x)=>x.claimed).join()==='package.json'&&inflightText(n4,{repo: 'o/r',paths: ['scripts/pm/**'],read: 'x'}).includes('1 claimed bare name(s) NOT COMPARED')&&surfaceTokens('No changes outside `packages/lint/**`.').paths.join()==='packages/lint/**');
1603
1610
1604
1611
t('inflight: ⭐ S5 — ONE directory, two spellings, one answer: a fragment that starts inside `DIR` meets `DIR` and `DIR/**` alike; a deeper fragment meets neither, and the clear line says so',meetKind('.claude/skills/pm-dispatch/references','references/contract-review.md')==='suffix'&&meetKind('.claude/skills/pm-dispatch/references/**','references/contract-review.md')==='suffix'&&meetKind('.claude/skills/pm-dispatch/references/**','lanes/director.md')===null&&meetKind('.claude/skills/pm-dispatch/references','lanes/director.md')===null&&inflightText(inflightVerdict({paths: ['x/y.md'],held: []}),{repo: 'o/r',paths: ['x/y.md'],read: 'x'}).includes('deeper inside a dispatched directory'));
1612
+
t('inflight: ⭐ N12 — a glob under the directory a fragment starts inside answers as the bare `DIR/**` does: `references/**/*.md` meets `references/contract-review.md`, a remainder that does not match (`**/*.ts`) and a fragment that would sit deeper (`pm-dispatch/**/*.md`) do not',meetKind('.claude/skills/pm-dispatch/references/**/*.md','references/contract-review.md')==='suffix'&&meetKind('.claude/skills/pm-dispatch/references/**/*.md','references/lanes/director.md')==='suffix'&&meetKind('.claude/skills/pm-dispatch/references/**/*.ts','references/contract-review.md')===null&&meetKind('.claude/skills/pm-dispatch/**/*.md','references/contract-review.md')===null&&meetKind('.claude/skills/pm-dispatch/xreferences/**/*.md','references/contract-review.md')===null);
1605
1613
t('inflight: N8 — a single-segment dispatch directory (`scripts/`) lists a claimed bare name NOT COMPARED, like `scripts/pm/` and `scripts/**`',['scripts/','scripts/pm/','scripts/**'].map((d)=>inflightVerdict({paths: [d],held: [{issue: IF_CARD(), ...inflightSurface(IF_CARD(),[IF_CLAIM('File surface: `card-pick.mjs`.')])}]}).notCompared.length).join()==='1,1,1');
1606
1614
1607
1615
// The claim-surface card, PR A: the qualified key, each claim's width, and the reconciliation against its pull.
['.claude/skills/pm-dispatch/references/triage-duties.md',13709],// edited byte-neutral by the re-basing PR (12399 → 12399); raised 12399 → 13559 (+1160, the landed bytes) by the rulings whose rows are written in it: ruling records 7031931263 (rows 2–5: 「adr接受你的建议」, 「只考虑合并没人认领的,没开始开发的,你负责处理」, 「影响评测的卡不能关,这个会影响到AI的开发效果」, 「adr和skills修改相对是重要的」), 7032145340 (row 6: 「同意」) and 7032418455 (row 7: 「你分诊的时候是不是应该同时评估大概的卡大小作为参考」); review record 7038100802 triggered the part of rows 2, 3 and 6 added in fix round 1 (one close reason, the sweep roll-over, the never-fold list of standing exclusions) and is a trigger, not a ruling; lowered 13559 → 13544 by the PR that moved the tier and effort values to the one home; raised 13544 → 13709 (+165, the landed bytes) by ruling record 7135874506 (items B4, B7 and C1: 「照推荐:采纳 5 条」)
116
-
['.claude/skills/pm-dispatch/references/execution-duties.md',22307],// raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4); 20154 → 20277 (+123) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): a hold is Blocked-by + pm:blocked on the card, the probe covers card threads; 20277 → 22158 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」); raised 22158 → 22316 (+158) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」) (the coordinator session, the area thread and the director's effort); lowered 22316 → 22307 by the PR that drops the triage suggestion line (item C1 of ruling record 7135874506)
116
+
['.claude/skills/pm-dispatch/references/execution-duties.md',22249],// raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4); 20154 → 20277 (+123) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): a hold is Blocked-by + pm:blocked on the card, the probe covers card threads; 20277 → 22158 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」); raised 22158 → 22316 (+158) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」) (the coordinator session, the area thread and the director's effort); lowered 22316 → 22307 by the PR that drops the triage suggestion line (item C1 of ruling record 7135874506); lowered 22307 → 22249 to its landed size by the #35237 slice-12 pointer PR
117
117
['.claude/skills/pm-dispatch/references/filing-gate.md',9124],// raised 9096 → 9101 (+5) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): same-epic order is the later card's Blocked-by; raised 8386 → 9096 (+710, the landed bytes) by the rulings whose rows are written in it: the rule card's body ruling (row 1, a dedupe hit on an open same-mechanism card ends in a comment: 「感觉你的第二种方案也很好啊」) and ruling record 7032145340 (row 6, the weekly sweep card entry rule and triage's move at first touch: 「同意」); review record 7038100802 triggered the quota line's pointer to row 1 (fix round 1) and is a trigger, not a ruling; lowered 9101 → 9089 by the PR that moved the tier and effort values to the one home; raised 9089 → 9124 (+35, the landed bytes) by ruling record 7135874506 (item A1: 「照推荐:采纳 5 条」)
118
118
['.claude/skills/pm-dispatch/references/project-forms.md',4889],// raised 4669 → 4889 (+220 B, the two project-memory lines less 48 B of restatement cuts) by ruling record 7046610679 「同意,立卡派发」 under ruling record 6184799323, letter B
0 commit comments