Repository navigation
Commit 9a8bb83
fix(pm): a ceiling claim's citation is read inside its model slot; RUNNER's security-fix effort follows the pm-dispatch rule (#35958)
<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuYMxVr4whKU7SgYTUvvzVkx)_
Part of #35270
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 用户能看到什么变化:用户无感;派发认领里「最贵档」的理由只认写在档位那一格里的,测试清单说明里安全修复的力度改成跟派发规则一致。
- 为什么做:属于车队派发力度整理(替力度规则那张卡收尾两处小尾巴);此前力度格里的理由会被误当成档位理由放行,清单说明还写着一律最高力度。
- 出错会怎样:只影响车队自己的认领检查与说明文字;写错最多误拦或误放一条认领,可直接撤回本次改动。
- 要你做什么:无
## What changes
- `scripts/pm/dispatch-gates.mjs`: `readContainerModelLine` reads the
`MANDATORY` / `reason:` citation only inside the `model:` slot, from the
`model:` key to the next `effort:` key or to the end of the line.
Before, it matched anywhere on the `Container & model:` line, so an
`effort: xhigh, reason: ...` citation satisfied the ceiling-tier check
by accident (contract-review nit N1, release comment 7027271918). The
tier token and every correctly written claim read as before. The jsdoc
states the rule.
- `scripts/pm/dispatch-gates.self-test.mjs`: three cases. Two negatives:
a citation only in the effort slot is refused, for `reason:` and for
`MANDATORY`. One positive twin: a citation inside the model slot with
commas and parentheses still reads with an effort slot after it.
- `docs/qa/platform-checklist/RUNNER.md` line 94: a runner's security
fix is no longer dispatched "at `xhigh`". It follows the pm-dispatch
security effort rule and names `references/execution-duties.md`:
high-severity built at `high` with one read-only `xhigh` diff review,
medium-severity at `high`, anything else by difficulty (ruling record
7024443457, decision 一 A).
## Tests
- `pnpm check:pm-dispatch-gates` at `366b52cf2` (the same commit before
it was moved onto `main` at `e3e202a97` as `f64915ce5`): exit 0, fast
tier 2252 cases pass (2249 + 3).
- Red on the old code: the three predicates run against the HEAD blob of
the old reader answer a=false, b=false, c=true (both negatives red, the
twin green); against the new reader, all true.
## Acceptance notes
- N5/N6 of the release comment: gone. The ceiling table was re-based to
bytes by #35712 and no longer carries those row comments.
- Not in this PR: items 1 and 2 of the release comment (measurement
runs, the maintainer's word) and nit N4.
- Landing tier: Tier H. `scripts/pm/dispatch-gates.mjs` is on the
governed register, so this PR waits for the governed approver.
- No changeset: `scripts/pm/**` and `docs/qa/**` do not ship in a
package (`skip-changeset`).
## Verification
- `dispatch-gates --commands` derived 69 commands at `366b52cf2`, the
same commit on its earlier base; all ran, all exit 0 after the two
exit-3 prerequisite builds (verify lock VERDICT command-exit 0);
`--ran`: 68 families accounted for, 0 NOT-MEASURED. `overlap-check`:
VERDICT clean exit 0.
Read first: the slot cut in `readContainerModelLine` (three added
lines), then the three new self-test cases.
Two-minute check: `node scripts/pm/dispatch-gates.mjs --self-test
--fast` prints the three new case titles as passing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L6bhgUU7y15SHQsH8q8y74
<!-- signed: repo:objectstack#1 · os-sales ·
session_01L6bhgUU7y15SHQsH8q8y74 -->
Co-authored-by: Claude <noreply@anthropic.com>1 parent 8500ee7 commit 9a8bb83
3 files changed
Lines changed: 24 additions & 4 deletions
File tree
- docs/qa/platform-checklist
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13385 | 13385 | | |
13386 | 13386 | | |
13387 | 13387 | | |
13388 | | - | |
| 13388 | + | |
| 13389 | + | |
| 13390 | + | |
| 13391 | + | |
| 13392 | + | |
| 13393 | + | |
| 13394 | + | |
| 13395 | + | |
13389 | 13396 | | |
13390 | 13397 | | |
13391 | 13398 | | |
| |||
13403 | 13410 | | |
13404 | 13411 | | |
13405 | 13412 | | |
| 13413 | + | |
| 13414 | + | |
| 13415 | + | |
| 13416 | + | |
13406 | 13417 | | |
13407 | 13418 | | |
13408 | 13419 | | |
13409 | 13420 | | |
13410 | 13421 | | |
13411 | 13422 | | |
13412 | | - | |
13413 | | - | |
| 13423 | + | |
| 13424 | + | |
13414 | 13425 | | |
13415 | 13426 | | |
13416 | 13427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11005 | 11005 | | |
11006 | 11006 | | |
11007 | 11007 | | |
| 11008 | + | |
| 11009 | + | |
| 11010 | + | |
| 11011 | + | |
| 11012 | + | |
| 11013 | + | |
11008 | 11014 | | |
11009 | 11015 | | |
11010 | 11016 | | |
| |||
0 commit comments