Repository navigation
Commit cd55df8
chore(pm-dispatch): dedupe hits end in a comment; weekly ADR and sweep cards; triage folds and sizes at first touch (#35819)
<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuMmCJzAyABFs753fxQ2YvMh)_
Fixes #35760
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: maintainer Sales, 2026-11-20, verbatim, on rule card 35760:
card body 「感觉你的第二种方案也很好啊」 and 「你让席位立卡之前去读所有的卡好像有点难,而且是不是会有点浪费token」 (row
1); comment 7031910479 「立p1卡」 (grade); comment 7031931263 「分诊技能修改一起改了」
(scope, one PR), 「adr接受你的建议」 (row 2, also the body of the folded rule
card 35732), 「只考虑合并没人认领的,没开始开发的,你负责处理」 (row 3),
「影响评测的卡不能关,这个会影响到AI的开发效果」 (row 4), 「adr和skills修改相对是重要的」 (row 5); comment
7032145340 「同意」 after 「只有p3可以这样吗」 (row 6); comment 7032418455
「你分诊的时候是不是应该同时评估大概的卡大小作为参考」 (row 7).
repo:objectstack#1 · os-sales · session_01L6bhgWecYFDaW5zEE7pxqo
## 维护者速读
- 用户无感;车队立卡与分诊的规则变了:查重撞上同机制的开放卡就在那张卡下留言,小活进每周扫尾卡,ADR 修订进每周 ADR
清单卡,分诊首次处理时合并同机制的卡并估卡大小。
- 为什么:落实你今天在这张规则卡上批的七条,目的是从源头少立卡、少要你逐张批准。
- 出错会怎样:最坏是某张卡被并进扫尾卡后晚几天才做;已认领或已开工的卡永不合并,影响评测与公开技能文字的卡不会被当作无影响关掉;规则文字可整
PR 撤回。
- 要你做什么:无(本 PR 只改车队技能文字,按受管面常规走席位契约审核)。
## What changes
Seven maintainer-ruled rows, written into four
`.claude/skills/pm-dispatch/references/` files, plus the byte-ratchet
rows those files need.
| Row | File:line after the edit | Ruling (verbatim, record) |
|---|---|---|
| 1 dedupe hit ends in a comment | `filing-gate.md:32-33` |
「感觉你的第二种方案也很好啊」, card body |
| 2 ADR rows go to the weekly ADR card | `execution-duties.md:109-111`,
`triage-duties.md:64, 89` | 「adr接受你的建议」, 7031931263 |
| 3 triage folds unclaimed, unstarted cards | `triage-duties.md:91-92`,
`lanes/triage.md:4` | 「只考虑合并没人认领的,没开始开发的,你负责处理」, 7031931263 |
| 4 evaluation cards kept; ADR out of the close entry |
`triage-duties.md:60, 63-64` | 「影响评测的卡不能关,这个会影响到AI的开发效果」, 7031931263 |
| 5 shipped skills text is a Bug | `triage-duties.md:64-65` |
「adr和skills修改相对是重要的」, 7031931263 |
| 6 weekly sweep cards | `filing-gate.md:49-50, 52` (the filer files as
today; triage moves the card at first touch or in its daily pass),
`triage-duties.md:84`, `execution-duties.md:56` | 「同意」 after
「只有p3可以这样吗」, 7032145340 |
| 7 size at first touch | `triage-duties.md:80-85` |
「你分诊的时候是不是应该同时评估大概的卡大小作为参考」, 7032418455 |
| Fix A2 (as narrowed in round 2): never-fold list |
`triage-duties.md:93` | rows 3 and 6 (7031931263, 7032145340) narrowed
by standing lines, one per item: maintainer-filed or maintainer-graded,
`filing-gate.md` 「人定的级 ⛔ 不改」 and the p3 keep entry 「维护者直派」; topic child,
row 6's own 「⛔ 不收 … 专题子卡」 (`filing-gate.md:50`); `needs-user-decision`,
SKILL.md state table 「永不派发、永不代答 … 只由人工裁」; `security`, `triage-duties.md`
「安全卡不在此权,归维护者」 |
| Fix A5: quota line points at row 1 | `filing-gate.md:48` | row 1 (card
body): the dedupe-hit exception above |
| Round 2: follow-ups line keeps main's loose-ends clause verbatim |
`filing-gate.md:51-52` | `main` text (「p3 文案/文档 nit 入该区 `AREA loose
ends` 卡,无则才立」) plus row 6 (7032145340): review follow-ups with a user
effect enter the sweep |
| Fix A5: one close reason for fold and ADR move | `triage-duties.md:64,
92` | rows 2 and 3 (7031931263), with SKILL.md 「重复 ⇒ `duplicate` +
`duplicate_of`」 |
| Fix A6: roll-over at next week's card | `triage-duties.md:86` | row 6
(7032145340): 「unreached rows roll to next week's card」, and the ruled
sweep-card proposal: triage opens next week's card |
| Fix A4: no card numbers in skill text | no change | `filing-gate.md`
「卡号、评论 id 与带日期的引文 ⛔ 不进技能正文」 |
- Row 1: a dedupe hit on an open card whose fix touches the same
mechanism or file, unclaimed or the filer's own, ends in a comment on it
(what, where, evidence, suggested grade) and no card; a hit claimed by
another seat is filed as today and named on the new card's `Dedupe:`
line; a comment that raises severity or reach is regraded by triage at
its next touch, never by the filer; the filer reads only the cards its
existing search returns.
- Row 2: the landing seat appends one row (ADR, section, what it says,
what is true now, the landing PR) to the open "ADR revisions, week of
..." card, opening next week's card when none is open; only ADR text
contradicting `main` is collected, a pure addition is not filed;
triage's first touch moves a new single ADR-amendment card onto the
week's card and closes it; the week's card lands as one governed
`docs/adr/**` PR.
- Row 3: at first touch and in a daily `pm:queue` pass, a card whose fix
shares a mechanism or file with an open, unclaimed, unstarted card
becomes a row on that carrier (relay `issue_patch`) and closes as
folded, its close note naming its own ask. The old 「同文件同机制 = 同一发现」 line
is merged into this one (an identical finding still moves its evidence
and closes `duplicate`); the in-flight ban on the next line (在飞永不并) is
kept as the one never-fold rule, not duplicated. `lanes/triage.md` now
lists the fold rows among what triage writes.
- Rows 4 and 5: the p3 keep list gains evaluation cards (scenario cards,
graders, `skill-evals`, eval records); "ADR" leaves the 「ADR/jsdoc 措辞」
close entry (jsdoc stays), a pure ADR addition is in the close list, an
ADR contradiction becomes a weekly-card row; shipped `skills/**` text
that is wrong or missing a landed rule is a `Bug` graded by the
shipped-text rule (`filing-gate.md`, North Star Priority item 4), never
closed as no-effect.
- Row 6: entry rule in `filing-gate.md` (p3, and p2 that is small, not
data-wrong, not security, not hit daily; never p1, size M or larger,
topic children, claimed cards); triage writes the row at first touch and
in its daily pass (`triage-duties.md`); the lane seat claims the week's
card and ships one PR of at most about ten unrelated rows, unreached
rows rolling to next week's card (`execution-duties.md` 候选与批次).
- Row 7: the audit line gains `· size XS|S|M|L` after the grade line,
with the four definitions and their use (XS/S meeting row 6's entry rule
⇒ a sweep-card row; M stays its own card; L is split or goes to a topic
or the decision box before dispatch); the size is a reference for
batching and the dispatch effort level, the claimant may correct it, it
never changes the grade.
- `scripts/pm/check-skill-line-ratchet.mjs`: three ruled raises and one
lowering (Verification below).
## Acceptance notes
- Row-6 reading (as of round 2): the L1/L2 follow-ups line is `main`'s
text again, the AREA `loose ends` clause included, with one pointer:
follow-ups with a user effect go by the sweep-card line (row 6 names
"review follow-ups with a user effect"). The sweep line says the filer
files small work as today and triage moves the card onto the lane's
weekly sweep card at first touch or in its daily pass and closes it (row
6: "Triage writes the row at first touch and in its daily pass"). The
L1/L2 line's 「同一发现追加」 is dropped as covered by row 1's comment rule; the
search scope it names (`PR #N` and file paths) stays.
- Carrier names: the six live sweep titles share only `... · week of
...` (five are `Sweep · AREA · week of ...`, one `Skills revisions ·
week of ...`), so the skill names the sweep carrier by that shared
shape; the ADR carrier keeps its own title shape `ADR revisions, week of
...`. 「清扫卡」 is reused as the one word for the weekly sweep card (it
already stood in `triage-duties.md`).
- `lanes/triage.md`: the descriptive clause 「本文是本席的岗位说明,」 was dropped to
pay for the fold-row clause; it stated no rule.
- Standing (`filing-gate.md`'s standing-rule line): each row is the
maintainer's approval of a rule proposal on a rule card ordered into the
skill, and the scope ruling 「分诊技能修改一起改了」 orders the triage-skill rows
into the same PR; none is worded as temporary or as one seat's. For L2.
- Reported, not edited (outside this card's surface): `AGENTS.md`
Context Routing, `packages/services/**` row, still tells the landing
seat to file an ADR status-line amendment "as its own `domain:skills`
card after the merge, citing the merge commit" (ruling record
6797014134). Under row 2 that row would go to the weekly ADR card
instead; `AGENTS.md` is Tier H and outside this file surface, so it is
left for the seat. No other pm-dispatch file carries the
file-an-ADR-card-after-merge instruction (`git grep -n ADR --
.claude/skills/pm-dispatch` read at a0dc2cf; `lanes/director.md:61`
adds a dated note under a superseded ADR entry, a different act).
- Review round 1 (review record 7038100802, forwarded on the
maintainer's 「转」; a trigger, not a ruling): A2, A4, A5 (in-surface
parts) and A6 (ruled part) are written above. A4 reads clean: `pnpm
check:pm-skill-id-lint` exit 0 and `git diff` of `.claude` against the
merge base carries no `#` followed by a digit; the sweep and ADR
carriers are named by title shape only.
- Not written in round 1, each for its reason: A1 (a keyed
`Finding-add:` comment, a triage reading duty and a `Fixes` block) asks
for an exception to the North Star's no card-by-card regrade line and
adds a reader no ruling names; A3 (sweep cadence outside the label
order) is not ruled; the A6 remainder (one standing card per area, an
issue lock, a body ledger) changes the ruled weekly design; the
`docs/NORTH-STAR.md` p3 close line against row 4's evaluation keep is a
Tier H surface and would make this PR Tier H; row 8 is a proposal, not
ruled; B1–B8 and the C nits are out of this round. All go to the seat.
Follow-ups I would land next: B2 (define started by the existing
in-flight test), B4 (a triage merge is not a dispatch fold), B7 (row 4's
keep on every triage close path), C1 (merge the size scale with the
`size/*` label).
- Not written: the dedicated keys `Folded-into:` / `Moved-to:` (no named
reader is ruled); the carrier-choice rule "highest-graded member".
- Round 2 (contract review record 7046656121, findings S1–S3): removed
from the never-fold list "graded above the carrier" and "named in an
open `Blocked-by:`". The L2 found both outside the quoted rulings and
outside any standing line of these files, and the first one made the p2
half of row 6 unable to run (S1). The protection they gave goes to the
maintainer as a candidate rule, not into the skill: not demoting a
higher-graded card by folding it into a lower-graded carrier, and not
releasing a blocked card by closing its blocker as folded. Also restored
`main`'s loose-ends clause verbatim (S3: the filer keeps a write path)
and reworded the sweep line so the filer still files (S3). The two
`CEILINGS` rows now equal the landed bytes and cite only the rulings
whose text is in each file (S2).
- Nits N1–N6 of 7046656121 are not changed in this PR: N2, N4 and N5 are
carried in #35855; N1 (the `Dedupe:` line has no reader), N3 (whether a
status note is a contradiction or a pure addition) and N6
(`lanes/triage.md` does not list opening next week's sweep card) are
accepted deviations.
## Verification
All readings at head `bfe72bfe` (round 2; round 1 was `d2a3436d`, round
0 `a0dc2cfe`), repo objectstack-ai/objectstack; `node_modules` installed
(`pnpm install --frozen-lockfile`) and the `@objectstack/lint` closure
(which includes `@objectstack/formula`) built under the verify lock
(VERDICT command-exit 0) for `check:doc-formula-expressions`.
- Overlap: `node scripts/pm/overlap-check.mjs
--branch=claude/project-thread-e4tvv7` reads `✓ origin/main: merges
cleanly`, `✓ #35740 (shares scripts/pm/check-skill-line-ratchet.mjs):
merges cleanly`, `✓ #35582 (shares
scripts/pm/check-skill-line-ratchet.mjs): merges cleanly`, `VERDICT
clean exit 0` (origin/main f44758b).
- Reconcile: `node scripts/pm/dispatch-gates.mjs --repo
objectstack-ai/objectstack --ran FILE` reads `✓ dispatch-gates --ran: 43
derived famil(ies) accounted for — 43 run, 0 NOT-MEASURED (a DERIVED
zero — all 43 recorded an exit code and none of them is 3).`
- Byte ratchet (`pnpm check:pm-skill-ratchet` exit 0; `node
scripts/pm/check-skill-line-ratchet.mjs --self-test` exit 0). Sizes `wc
-c`, base 1a21ce9 → round 0 → round 1 → round 2, and the ceiling (each
equals the landed bytes, headroom 0):
- `references/filing-gate.md` 8386 → 8972 → 8991 → 9096, ceiling 9096.
Rulings with text in the file: card body 「感觉你的第二种方案也很好啊」 (row 1) and
7032145340 「同意」 (row 6); review record 7038100802 is named only as the
trigger of the quota line's pointer. Round 2's +105 is `main`'s restored
loose-ends clause plus row 6's filer-files-as-today wording.
- `references/triage-duties.md` 12399 → 13343 → 13620 → 13559, ceiling
13559 (round 2 −61: the two removed exclusions). Rulings: 7031931263
(rows 2–5), 7032145340 (row 6), 7032418455 (row 7); 7038100802 named
only as the trigger of round 1's remaining part.
- `references/execution-duties.md` 19810 → 20148, unchanged since round
0, ceiling 20148: 7031931263 (row 2) and 7032145340 (row 6).
- `references/lanes/triage.md` 2530 → 2526, unchanged since round 0,
ceiling lowered to 2526.
- The table-row pins of the four files stay 0 (`git diff 1a21ce9` of
the script touches the four `CEILINGS` rows only).
- Ratchet-script suite: `check-skill-line-ratchet.mjs --self-test` exit
0; `check-published-list-mirrors.mjs --self-test`,
`check-skills-token-ratchet.mjs --self-test`, `check-merged-result.mjs
--self-test` exit 0 each; `check-ratchet-remedy-authority`,
`check-harness-current.mjs --self-test` and `check:pm-dispatch-gates` in
the list below.
- Card numbers: `pnpm check:pm-skill-id-lint` exit 0; `git diff 1a21ce9
-- .claude` has no `#` followed by a digit.
- Control bytes: the `grep -naP` control-character scan over the edited
files: no hit (grep exit 1); `pnpm check:nul-bytes` exit 0.
<details><summary>Local gate families at bfe72bf (derived for this
diff, exit captured before any pipe)</summary>
```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
node scripts/pm/check-harness-current.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: 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:doc-authoring :: 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-dispatch-gates :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-half-states :: exit 0
pnpm check:pm-label-write :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:pm-record-recognisers :: exit 0
pnpm check:pm-settings-deny-roster :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:pm-skill-ratchet :: exit 0
pnpm check:pnpm-filter-targets :: exit 0
pnpm check:pnpm-flag-spellings :: exit 0
pnpm check:ratchet-remedy-authority :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:scripts-symbol-anchors :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:watch-hint-literal :: exit 0
node scripts/pm/check-skill-line-ratchet.mjs --self-test :: exit 0
```
</details>
CI owns every other family (the PR's check-runs).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
_Generated by [Claude
Code](https://claude.ai/code/session_01L6bhgWecYFDaW5zEE7pxqo)_
<!-- signed: repo:objectstack#1 · os-sales ·
session_01L6bhgWecYFDaW5zEE7pxqo -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent cf16935 commit cd55df8
5 files changed
Lines changed: 33 additions & 15 deletions
File tree
- .claude/skills/pm-dispatch/references
- lanes
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | | - | |
49 | | - | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
77 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
78 | 87 | | |
79 | 88 | | |
80 | | - | |
| 89 | + | |
81 | 90 | | |
82 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments