Skip to content

Commit 737b160

Browse files
docs(pm-dispatch): spec lane riders are any non-protocol change, the list is examples (#31645)
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbEzGspcEbyiDppwrPTqKofB)_ Fixes #31560 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:spec 车道边界里「哪些 `packages/spec` 改动可随产品 PR 搭车」从封闭清单改成判据:凡非元数据协议改动皆可搭车;原清单留作例子,并加上 liveness 引用行。 - 为什么改:你的裁决原意是「涉及元数据协议改动的,才需要让 spec 处理」;上一版写成「唯下列」,把 liveness 引用行修复(每个 PR 都会跑 `check:liveness`)读成了不许搭车。 - 风险与回滚:只改一个内部技能文件的两行,行数不变;回滚即 revert 本 PR。紧接其后的三行仍写明放宽或收窄接受集属协议改动,协议改动不能借此搭车。 - 先看:`.claude/skills/pm-dispatch/references/lanes/spec.md` 第 12 行与第 16 行。 - 两分钟验证:`pnpm check:pm-skill-ratchet`,预期退出 0(该文件 43 行,在上限内)。 - 需要你做的:无,席位落地。 ## What changes `.claude/skills/pm-dispatch/references/lanes/spec.md`, two lines, equal line count (43 → 43, the file's ratchet ceiling is 43), every line at most 119 bytes, no untouched line re-wrapped. - L12 old: `` - 一般开发工具面留 devx;`packages/spec` 文件归本席,唯下列搭车改动可随产品 PR。 `` - L12 new: `` - 一般开发工具面留 devx;`packages/spec` 文件归本席,非元数据协议改动皆可随产品 PR 搭车。 `` - L16 old: `` - 可搭产品 PR 的 spec 改动:错误码台账行、平台名注册表、`contracts/`、JSDoc/describe、测试。 `` - L16 new: `` - 搭车如:台账行(错误码、liveness 引用)、平台名注册表、`contracts/`、JSDoc/describe、测试等。 `` L12 now states the test. L13 to L15 (unchanged) define metadata protocol as the authorable shape and say a widened or narrowed accept set is a protocol change, so the open test cannot be read as letting a protocol change ride. L16 is examples (「如…等」), with liveness citation rows (`packages/spec/liveness/**`) beside the error-code ledger rows. Source: triage 6723626865 rules 「唯下列」 a transcription narrowing of ruling 6722023475; the claim is 6725167218. ## Tests No code changes; gates only (see Verification). ## Acceptance notes - Grep of `.claude/`, `AGENTS.md` and `scripts/pm/` for another statement of the closed rider list or 「唯下列」: none. `lanes/server.md` L6 and `SKILL.md` L175 point to `spec.md` without copying the list. - No open PR edits `lanes/spec.md` (open PR file lists checked before the first push). ## Verification <details><summary>dispatch-gates at 1f547b0: 17 derived, 17 run, all exit 0</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`, then `--ran`: 17 derived, 17 run, 0 NOT-MEASURED, 0 UNRUN. `check:doc-formula-expressions` first exited 3 (prerequisite not met), then exited 0 after building formula and lint. The roster gate under `.claude` (`pnpm check:pm-settings-deny-roster`) also exited 0. `pnpm check:pm-skill-ratchet` exited 0. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01QsR2jRX8b2q31GzgNc1yAv)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 99364ea commit 737b160

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • .claude/skills/pm-dispatch/references/lanes

‎.claude/skills/pm-dispatch/references/lanes/spec.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
- 含 describe/JSDoc、墓碑散文、错误 guidance、alias 表;其重生成的 references 产物归源 PR。
1010
- 含 `packages/spec/scripts/**`、`packages/spec/docs/**`。
1111
- 同含围着 spec 契约转的工具链:门禁、生成器、lint 规则、报错散文。
12-
- 一般开发工具面留 devx;`packages/spec` 文件归本席,唯下列搭车改动可随产品 PR。
12+
- 一般开发工具面留 devx;`packages/spec` 文件归本席,非元数据协议改动皆可随产品 PR 搭车。
1313
- 元数据协议改动归本席,走 spec 子卡:首触即立,产品卡带 `Blocked-by:` 该子卡。
1414
- 元数据协议 = 可编写元数据的形状:对象、字段、flow、视图、权限、设置清单等。
1515
- 接受集的放宽或收窄、属性的新增或退役,同属元数据协议改动。
16-
- 可搭产品 PR 的 spec 改动:错误码台账行、平台名注册表、`contracts/`、JSDoc/describe、测试。
16+
- 搭车如:台账行(错误码、liveness 引用)、平台名注册表、`contracts/`、JSDoc/describe、测试等。
1717
- 兜底:产品车道 PR 被自动挂上 `protocol:*` 标签即停,协议 hunk 移入 spec 子卡。
1818
- PR 自报的 `Metadata-protocol:` 行单独不作判据。
1919

0 commit comments

Comments
 (0)