Skip to content

test: 边界外 parity 守卫看住 plugin-chatbot 手抄的 AI wire 类型(#2929 裁决产物) #3293

Description

@xuyushun441-sys

背景

#2929(已裁决关闭)确认:UI 包不引入任何 @objectstack/* 依赖——包括 type-only devDependency。理由:那会把「@object-ui/* 不依赖 @objectstack/*」从可机械执行的绝对规则变成带例外的条件规则,而 workspace 边界守卫(#3207 那类)恰恰依赖规则绝对。

packages/plugin-chatbot/src/usePendingActions.ts 手抄了两个 wire 类型(PendingActionStatus / PendingActionRow ↔ framework 导出的 AiPendingActionStatus / AiPendingAction),漂移无人看守——#2929 称之为 canary,但 canary 也要有人听。

任务

边界外加一条 parity 守卫:镜像类型与 SDK 导出类型互相可赋值(双向),漂移即红。

验收

  • sabotage:手改镜像类型任一字段 → 守卫红;还原 → 绿。
  • plugin-chatbot 的依赖清单零变化。

排期:v17 后(非协议变更,不占发版窗口)。

Refs: #2929(裁决)、#3207(范式)。


Generated by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions