Skip to content

ADR-0120 协议 18 项:D2 conversion(声明索引 unique: true → 'global')+ 裸 true 硬拒 + synonym pin 退役 —— 挂 18 列车,现在勿动工 #5082

Description

@os-zhuang

Path: platform-core
Restart-when: the protocol 18 train opens (the maintainer's standing ruling on this card — ADR-0120 D7: writing it now would bitrot against 18's other changes). ⛔ Until then this card is deliberately NOT in pm:queue.
Triage: grade none → p2; disposition hold stands, now legal. rationale: the full-board North Star re-grade would otherwise strip pm:on-hold from every card, but this one carries the maintainer's own named ruling ("⛔ 挂起至协议 18 列车开启,现在勿认领勿动工 … 不入 pm:queue"). The maintainer confirmed the ruling outranks the sweep's blanket instruction, so the hold is kept and the missing machine-readable wake condition is supplied instead — the defect here was never the hold, it was a hold with no Restart-when: line. Applies to the target:v18 family by the same ruling.

⛔ 挂起至协议 18 列车开启,现在勿认领勿动工(维护者裁定,ADR-0120 D7:现在写会随 18 的其它变更 bitrot)。不入 pm:queue。

ADR-0120(docs/adr/0120-unique-scope-vocabulary-and-null-safe-tenant-uniqueness.md,Accepted 2026-08-04)刻意延后到协议 18 的三项,届时照 ADR 执行:

D2 — 转换层条目

裸 true 硬拒

  • 协议 18 起,声明索引上的裸 unique: true 在 validate/publish 期拒绝,报错文案照 D5a(指明 'global' / 'organization' 两个替代);17.x 的警告规则同步升级为 error。

pin 退役

  • sql-driver-unique-tenancy.test.ts 中「'global' is a synonym of true」的 pin 随裸 true 一起退役。

再生成

  • gen:spec-changes / gen:upgrade-guide 携带该 conversion 条目,check:spec-changes / check:upgrade-guide 绿。

关联


Generated by Claude Code

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions