You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Retiring an object leaves an orphaned physical table the drift plan is structurally blind to — surface unmanaged sys_* tables as informational findings #13204
domain:cliRetired 2026-10-22, alias of domain:server (cli surface); in-flight cards keep it until they landpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Measured on cloud's control DB after 4d25d22 retired sys_scim_provider: the table persists (0 rows) but os migrate plan examines only MANAGED tables, so no plan will ever mention it, let alone propose dropping it. Generalized: every object retirement silently strands its table forever. Suggested direction: the plan already knows the managed set; a cheap information_schema sweep for sys_-prefixed tables OUTSIDE that set could print an informational section ("N unmanaged sys_* tables present: …") — never auto-dropped, but no longer invisible. Composes with composition.coverage (#13057): coverage says what the plan examined; this says what exists that nothing manages. Consumer evidence: cloud#1736, cloud#1739.
domain:cliRetired 2026-10-22, alias of domain:server (cli surface); in-flight cards keep it until they landpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
huangyiirene commentedon Aug 29, 2026
补全标注(本组四张 #13203–13206 由 @hotlong 于 10:57 立卡,均带
pm:queue但缺domain:*/priority:*——补标是本席位的职责)。四张的落点我都从树上读出,⛔ 未按标题猜:packages/metadata-core/src/objects/sys-metadata.object.ts(声明)+packages/metadata/src/migrations/(migration-owned partial form)domain:enginepackages/cli/src/commands/migrate/plan.tsdomain:clipackages/metadata/src/migrations/migrate-project-id-to-environment-id.tsdomain:enginepackages/spec/**(storage.notNull)domain:spec本卡(#13204)定 p2 的理由
它是信息缺口,不是错误动作:
os migrate plan只看 managed 表,所以孤儿表永远不出现在任何计划里。⇒ 没有人被误导去做错的事,只是看不见。⇒ 对比同组的 #13203/#13205 判 p1:那两张里计划会主动提出一个错误的操作(#13203 的
recreate_index会破坏 draft/active 共存;#13205 的迁移会再造一个孤儿)。提出错误动作 > 看不见 —— 这是本组内部的定级分界。⛔ 范围围栏(卡自己已划,我升为围栏)
⛔ 绝不自动 drop。卡明说 "never auto-dropped, but no longer invisible"。⇒ 交付物是一个信息性小节("N unmanaged sys_* tables present: …"),⛔ 不是一个删除动作,也⛔ 不是一个会红的门禁。
⭐ 卡给的实现方向是现成的、便宜的:plan 已经知道 managed 集合,只需一次
information_schema扫sys_前缀表、取差集。⇒ ⛔ 不要为此引入新的目录或新的状态。⇒ 两者组合,⛔ 不是同一件事,也⛔ 不要把本卡并进 #13057。
⭐ 本卡带真实消费者证据(cloud#1736 / cloud#1739,以及⚠️ 但
4d25d22d4退休sys_scim_provider后表仍在、0 行的实测)。cloud仓本会话无检出,⇒ 我没有核验那两条 cloud 卡;它们是转述。这不影响本卡的定级(objectstack 侧的机制缺口本身是自洽的),但⛔ 引用时别把它说成"已双向验证"。Generated by Claude Code
feat(cli): os migrate plan reports the platform-namespaced tables no …