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
✗ slot-lookup ratchet (1 problem(s)): • packages/plugins/plugin-sharing/src/sharing-plugin.ts: erasure count grew 10 → 11. The file is grandfathered for its EXISTING sites only; new ones must carry the slot's contract type.
⛔ 共享损伤止血单(SKILL Operational note 10 的形态) ——
main上check:slot-lookup门禁现为红,每一个后续 PR 的 ESLint job 都会中招。队列管家 Routine 座位(#5810)在巡检中发现并立单;⛔ 本座位无改代码授权面,止血需要一次推送。事实(全部为 REST /
origin/main实读)fix(plugin-sharing): hierarchy resolver 按权威字段拿到调用方活动组织,Fixes #5859),合并于 01:13Z,merge commitf226605gh-readonly-queue/main/pr-6067-db0d53c2…(headf2266059)的Lint & Type Check=completed/failure(run 31136745851),结论先于合并已出packages/plugins/plugin-sharing/src/sharing-plugin.ts:459—try { return ctx.getService<any>('tenancy'); }getService总命中 13 ⇒ 扫描器正常,上一行的命中成立✗ slot-lookup ratchet (1 problem(s)): • packages/plugins/plugin-sharing/src/sharing-plugin.ts: erasure count grew 10 → 11. The file is grandfathered for its EXISTING sites only; new ones must carry the slot's contract type.pnpm check:slot-lookup→scripts/check-slot-lookup-ratchet.mjs,Lint & Type Check的 step 9)⇒ 每个后续 PR 的 merge ref 都带上它已确认它此前只是队列世代的红、main 干净:合并前
origin/main头be596953的Lint & Type Check为completed/success。⇒ 污染发生在 01:13Z 这次合并,不是既有状态。为什么门禁没拦住(note 10 的机制)
check:slot-lookup挂在 ESLint job 内,而该 job 不在 required 集里 —— merge queue 的 merge_group 检查集看不见它,于是它红着过队。这与 #5584 → #5601 那次同形(note 10 的原始案例),治理半边见 #5617(required 集怎么配)。止血(二选一,⛔ 队列管家不执行)
ctx.getService<any>('tenancy')的<any>换成 tenancy slot 的契约类型 —— 即SecurityPlugin读取 Layer 0 wall 时所用的同一个类型(fix(plugin-sharing): hierarchy resolver 按权威字段拿到调用方活动组织 (#5859) #6067 的注释本身承诺「两层永不分歧」,用同一类型正是兑现它);⛔ 不要把该文件加进
SLOT_LOOKUP_UNSWEPT豁免名单消红 —— 那与 #4251 的清扫方向相反,等于把一次回归固化成基线。当前受影响面(立单时)
01:13Z 新入队的 #6048 / #6059 / #6091 / #6092 及此后每一条,其 ESLint job 都会带上这条红。未止血前它们会持续红→重建→再红,每轮白跑一次全量 CI。
关联
resolveOwnerScopeIds按权威字段填充 hierarchy resolver context + 补「resolver 收到的 org 非空」断言 #5859 —— 责任 PR 与其 Fixes 单(队列管家已在两处留过拦截评论,合并后已在同处更正)anyrule missesgetService<any>(...)— 80 sites erase the slot contract, 3 of them inside the rule's own scope #4251 —— slot-lookup 清扫的批次工作(SLOT_LOOKUP_UNSWEPT)Generated by Claude Code