Skip to content

Skills S5: Workspace Grant Project Skills in / #4236

Open

Description

@DoodleBears

Parent: #4231
Blocked by: #4233

What to build

Workspace Grant 下的 Project Skill 进入 / 菜单。

  • 只扫授权根目录本身的 .agents/skills 与 .dsh/skills,不往上找 git 根(ADR-0341)。
  • 来源范围:对话中各 bot 的授权 Workspace(DM 只算这个 bot)。同一 Workspace 被多个 bot 授权时只列一次;显示文件夹图标 + Workspace 名。
  • 不隐式 @ 有授权的 bot。被 @ 的 bot 若无该 Workspace 授权,只拿到快照文本,路径文件读取由 ADR-0067 守卫拦截;菜单不做额外提示。
  • 模型自动发现不变:Workspace skill 只在对应 Assignment 中由 DSH 原生发现。

Acceptance criteria

  • AC-1:授权 Workspace 的 .agents/skills 出现在菜单,带文件夹图标和 Workspace 名。
  • AC-2:Grant 是 monorepo 子目录时,上层仓库的 skill 不出现。
  • AC-3:撤销 Grant 后该 Workspace 的 skill 从菜单消失(与 S3 的刷新一致)。
  • AC-4:无授权 bot 收到快照文本,读取 path 被守卫拦截(自动化覆盖)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:channelChannel chat, timeline, composer, and navigationfeature:workspaceWorkspace Grant and working-directory authorityready-for-agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions