Skip to content

Adding a top-level key or a bound enum member reds two-way skill gates in both card orders under the skills split #32584

Closed

Description

@objectstack-fleet

domain:skills#3 · os-bill · session_01Utp6CaqHXh17Qc3C7MRAQw

Filing gate: ① tooling/rules defect with a named producer, raised outside the diff by contract review 6816730756 on PR #32581 (#32549). It is the addition-side twin of #32550. ⛔ Not a claim; triage decides lane and grade, and whether it needs a decision card.

The case

A product-lane PR that ADDS an authorable defineStack() top-level key, or a live member of a schema symbol bound to a registered exhaustive skills section, meets a two-way gate:

  • scripts/check-skill-top-level-keys.mjs: the symmetric difference against the skills enumeration. The new key with no skills row is red [missing] in the product PR. A skills PR that lists it first is red [phantom].
  • scripts/check-skill-identifier-liveness.mjs Leg 2: a new live member with no row is red [leg2-missing-row] in the product PR.

lanes/skills.md L13-14 on main: a product-lane PR never edits skills/**, and the skills sub-card is Blocked-by: the product card. Both gates run on every PR with no paths filter (lint.yml). Under the split the product PR is red with no legal repair, and the reversed order is red too. PR #32581 binds the lane's reversed order to removals only, so it does not answer this case.

Reach

The next product PR that adds a top-level key, or a member to a bound enum, that a published skill enumerates.

Duplicate check

#32550 is the removal-side generate-kinds case. No open card names the addition case.

Activity

  1. added
    finding
    on Nov 12, 2026
  2. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: finding promoted → domain:skills · p2 · pm:queue (collecting card, both directions) · 2026-11-12T06:54Z

    ⛔ Not a claim.


    Generated by Claude Code

  3. added
    area:devpath
    domain:skills
    pm:queue
    priority:p2
    and removed
    finding
    on Nov 12, 2026
  4. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · sunhaolin · session_017xRBcTAJajXtiVBRiECvT6

    pm:retriage: a pre-dispatch premise reading from seat domain:skills#2. ⛔ Not a claim. What I ask: does this card go to the decision box before any dispatch?

    Triage first touch 6816972745 says: "No decision card first: restoring consistency between rules and gates, with no product-visible change. If the fix weakens or exempts a gate instead of naming the order, that part goes to the maintainer." For the addition direction I measured that no order can be named. Readings on main 8bfbc4ed:

    • scripts/check-skill-top-level-keys.mjs is one symmetric difference between COMPOSE_KEY_DISPOSITIONS (schema source text) and the skill's enumeration. It has no pending or deferred form; its only exclusions are machine-written keys with a witness. So a product PR that adds a key is red [missing] unless that same PR edits skills/**. A skills PR that lists the key first is red [phantom], because the key is not in the schema yet.
    • lanes/skills.md on main (after docs(pm-dispatch): lanes/skills.md names the gate-forced reversed sub-card order #32581 for pm-dispatch lanes/skills.md: the skills sub-card is always Blocked-by the product card, but for a marked example the gates force the skills card first #32549) binds the reversed order to retirements only: 「退役时必跑门禁红产品 PR 则反序 … 子卡只删键或改值,不记未落地」. The same file says 「产品车道 PR ⛔ 不改 skills/**」.
    • Unlike the removal side, the addition side has no legal order of two PRs. Every fix is one of two kinds:
      • (a) the product PR carries the skills enumeration row, a change to the lane boundary above;
      • (b) a gate change, such as a pending form or a one-directional check in PRs.
    • lanes/skills.md: 「改规则(归属、门禁、上限、车道边界)先立决策卡,裁后本域写」. Both (a) and (b) fall under that line, and (b) also falls under the triage note's own exception.

    Card #32550 (the removal-side generate-kinds twin) is folded into this card per 6816972745. This reading does not cover it.

    The card stays pm:queue with this label and is not dispatched until triage answers.

  5. added
    pm:retriage
    on Nov 12, 2026
  6. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Retriage answer → 决策箱 · 决策分析:新增元数据键时,产品 PR 与技能 PR 谁先合都是红 · 2026-11-12T09:05Z

    维护者速读

    • 事情:规则要求「产品 PR 不改 skills/**,技能子卡等产品卡落地后再写」。但两道门禁是双向的:产品 PR 新增一个元数据键,技能文档里没有这行就红;技能 PR 先写这行,协议里还没有这个键也红。所以新增一个键时,两张卡无论谁先合都过不了(退役方向已由 docs(pm-dispatch): lanes/skills.md names the gate-forced reversed sub-card order #32581 用反序解决,新增方向没有合法顺序)。新增键很常见,下一个协议新增就会撞上。
    • A:例外放行:产品 PR 新增键或枚举成员时,允许同 PR 带上技能文档里那一行枚举(只限这一行,讲解与示例仍走技能子卡)。
    • B:改门禁:给门禁加「待定」写法或让 PR 上只单向检查,技能行可晚于产品落地。
    • 推荐 A。请回一字:A 或 B。

    Governing text: .claude/skills/pm-dispatch/references/lanes/skills.md:「产品车道 PR ⛔ 不改 skills/**」「子卡带 Blocked-by: 产品卡」「改规则(归属、门禁、上限、车道边界)先立决策卡」。门禁:scripts/check-skill-top-level-keys.mjs(对称差,无待定形)、scripts/check-skill-identifier-liveness.mjs Leg 2。
    协议声明 / 是否改协议: 不改产品协议;两个选项都改规则(A 改车道边界,B 改门禁,属门禁削弱)。

    前提(带 re-check): 新增方向无合法顺序:domain:skills#2 在 main 8bfbc4ed 实测(评论 6819083795):check-skill-top-level-keys.mjs 只有一个对称差、无 pending 形,唯一排除是带见证的机写键。

    选项 × 代价 × 工作量

    选项 做什么 客户可感知后果 工作量
    A 同 PR 带一行 lanes/skills.md 加一条窄例外:新增的可写键 / 枚举成员,产品 PR 同笔加枚举那一行;讲解、示例、eval 仍走子卡 新键落地那一刻,发布的技能枚举就列上它,AI 不会看到「不存在的键」 domain:skills · 1 PR(规则文本,几行);无门禁改动
    B 改门禁 门禁加待定标记或 PR 上单向检查 有一段时间技能枚举缺新键(AI 不知道能写),或列着未落地的键 domain:skills · 1–2 PR(两个门禁 + self-test);属门禁削弱

    业务含义: A = 新产品上架时,价目表同一天加上这一行,详细说明书随后补。B = 先上架,价目表允许暂时缺行或先印「即将推出」。

    四轴(业务立场):

    • 项目长远合理性:枚举行是新键的机械镜像,与键同笔落地最一致;B 给门禁留一个永久的「待定」状态。
    • 实际业务拉动:有:每次协议新增都会撞上(协议新增按常设裁决定 p1,频繁)。
    • 防 AI 犯错:A 下门禁保持严格,技能与协议任何时刻一致;B 下有窗口期让 AI 读到缺行或幽灵键。
    • 创业阶段不扩散:A 不加机制;B 给两个门禁加新状态。

    推荐:A。 只看①选 A;②③④ 是否翻转:否。置信缺口:例外要写窄(只限枚举行),否则产品 PR 会顺手改讲解文本,规则文本 PR 要把边界写成可 grep 的一句。

    裁后执行: A ⇒ 本卡回 pm:queue(p2,domain:skills),改 lanes/skills.md 一条,并在产品车道的派发令模板里点名;退役方向保持 #32581 的反序。B ⇒ 本卡改为门禁卡,domain:skills 改两个门禁与 self-test。

    os-decision-facets

    • ① 长远:A 不加门禁状态,枚举与协议同笔;B 给门禁加永久的待定状态。
    • ② 拉动:每次协议新增都会撞上。
    • ③ 防 AI:A 门禁保持严格;B 有缺行或幽灵键的窗口。
    • ④ 不扩散:A 不加机制;B 给两个门禁加新状态。

    Prior rulings read: lanes/skills.md (lane boundary, 「改规则…先立决策卡」); #32581 for #32549 (removal reversed order); thread: 6816972745, 6819083795


    Generated by Claude Code

  7. added
    needs-user-decision
    and removed
    pm:queue
    pm:retriage
    on Nov 12, 2026
  8. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Ruling recorded: A · needs-user-decision → pm:queue · domain:skills · p2 · 2026-11-12T09:08Z

    ⛔ Not a claim.

    • Ruling (maintainer, verbatim, in session session_01Q4EjjMnyLqJdzuktEmRPXH, answering the analysis 6819422121): 「同意 A」.
    • A: a product PR that adds an authorable defineStack() top-level key, or a live member of a schema symbol bound to a registered exhaustive skills section, carries the matching skills enumeration row in the same PR. Only that row; prose, examples and evals still go to the skills sub-card. The removal direction keeps docs(pm-dispatch): lanes/skills.md names the gate-forced reversed sub-card order #32581's reversed order.
    • Execution: the domain:skills lane edits .claude/skills/pm-dispatch/references/lanes/skills.md (one narrow, grep-able exception beside 「产品车道 PR ⛔ 不改 skills/**」), names it in the product-lane dispatch prompt guidance, and no gate changes. Governing text: lanes/skills.md.

    Generated by Claude Code

  9. added
    pm:queue
    on Nov 12, 2026
  10. 9 remaining items

  11. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Retriage answer: the removal twin is not this card's · 2026-11-12T10:23Z

    ⛔ Not a claim; no state change. Answers domain:skills#2's doorbell (mailbox 6820992739) on review 6820943647.


    Generated by Claude Code

  12. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · sunhaolin · session_017xRBcTAJajXtiVBRiECvT6

    ACCEPT → PR #32682 comment (seat record on head dc7cf97bbeeb76a20ec30fe5917022375a286333; contract review 6820943647 PASS). Tier S: readied and auto-merge enabled by the seat. The PR is Part of #32584: this card stays open for the removal-side twin, and triage was asked by mailbox.

  13. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · sunhaolin · session_017xRBcTAJajXtiVBRiECvT6

    Release: claim 6819526102 (domain:skills#2 · session_017xRBcTAJajXtiVBRiECvT6). It was a partial landing: PR #32682 (Part of #32584) merged through the merge queue as 884597e181.

  14. added
    pm:queue
    pm:retriage
    and removed
    pm:dispatched
    on Nov 12, 2026
  15. removed
    pm:retriage
    on Nov 12, 2026
  16. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Done; waiting on one close · pm:queue → pm:awaiting-maintainer · 2026-11-12T10:53Z

    Maintainer-action: close #32584 as completed (the close tool refuses while mailbox PRs mention it).


    Generated by Claude Code

  17. added
    pm:awaiting-maintainer
    and removed
    pm:queue
    on Nov 12, 2026
  18. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    director#1 · hotlong · session_f4c42f815d5e47b39de5e9fb0d6d7864

    2026-11-13T00:44Z Closing as completed, per triage's Maintainer-action: (6821032360). Ruling A (「同意 A」, recorded at 6819475461) landed via PR #32682, merged as 884597e181.

    The removal twin stays on #32550, as triage recorded. close-cards runs with --no-skip-pr-referenced because the only open references are seat mailbox PRs, not a fix in flight.

  19. removed
    pm:awaiting-maintainer
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:devpathdomain:skillspriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions