Repository navigation
Open
Labels
agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsfeature:channelChannel chat, timeline, composer, and navigationChannel chat, timeline, composer, and navigationfeature:memoryPersonaBot Memory Repository and Memory ServicePersonaBot Memory Repository and Memory Servicein-progressHeld by an agent session; see Claim comment for whoHeld by an agent session; see Claim comment for whoready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Milestone
Description
Parent: #4231
What to build
第一刀,最窄的端到端:Human 在 PersonaBot DM 里用 / 选中这个 bot 自己的 Project Skill(或一个 Host Skill),bot 收到 skill 文本并按它执行。
- Host:单 bot 的 skill 目录 = Host Skill +
skills.list({cwd: <Memory Repository>})中 user-invocable 的条目,标出 owner(host/bot:<slug>)、path、描述;新增 bridge RPC 读取。 - Client:DM composer 的
/菜单先列现有命令,再列 skill。每行:owner 图标(PersonaBot 头像 / Host 标识)、名称、单行描述(超出省略)。排序复用rankByName(名称前缀 > 名称子序列 > 描述子串)。上下键 + Enter 选中,插入 skill chip(交互与渲染对齐@mention chip)。 - 发送:
ChannelMessage新增带类型的skillInvocationspart;Host 在发送时解析并快照{name, owner, path, content}。时间线中消息显示 chip,悬停可看快照全文。 - 投递:
bot-runtime的 inbound 文本为每个 invocation 渲染<skill_invocation name owner path>…快照正文…</skill_invocation>。 - CLI parity:
deepseekbot skills list --bot <slug> [--query](与/同目录、同排序);发消息命令支持--skill <owner>/<name>。 - 同一 PR 提交
GLOSSARY.md/GLOSSARY.zh.md的 Skills 一节与 ADR-0341、ADR-0342(如编号冲突则重编号)。
Acceptance criteria
- AC-1:在 Memory Repository 放
.agents/skills/demo/SKILL.md,DM 中输入/de能看到它(带 bot 头像),Host Skill 也在列表里且带 Host 标识,命令排在 skill 前面。 - AC-2:选中后消息带 chip 发出;修改或删除 SKILL.md 后,历史消息的快照不变。
- AC-3:bot 的 inbound 文本含
<skill_invocation>,包含 owner 与 path;用真实模型验证 bot 按 skill 指令执行。 - AC-4:同名时 Memory Repository 的 skill 覆盖 Host Skill(DSH 原生行为)在列表里两者都显示、来源可区分。
- AC-5:
deepseekbot skills list与--skill可用,pnpm lint的 CLI parity 通过。 - AC-6:PR 附
/菜单与 chip 的截图,在隔离 Host 上验证。
Metadata
Metadata
Assignees
Labels
agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsfeature:channelChannel chat, timeline, composer, and navigationChannel chat, timeline, composer, and navigationfeature:memoryPersonaBot Memory Repository and Memory ServicePersonaBot Memory Repository and Memory Servicein-progressHeld by an agent session; see Claim comment for whoHeld by an agent session; see Claim comment for whoready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Activity
DoodleBears commentedon Nov 15, 2026
Agent work claim
claude-code/local/0d4a6a9f-6296-49dd-b14c-6789efa657c3(not a DSH Session)claude/bot-skill-trigger-e16a1fDoodleBears commentedon Nov 15, 2026
Agent work claim
codex/local/01a1e0bf-b3b5-7c23-9f65-bbc04bc24987(not a DSH Session)t3/939912c2fix(skills): keep restored Skill offsets and chips out of command par…
docs(skills): imported Project Skills activate without a separate review
DoodleBears commentedon Nov 15, 2026
Agent work outcome
codex/local/01a1e0bf-b3b5-7c23-9f65-bbc04bc24987(not a DSH Session)t3/939912c263bd1a098c75f8a8825fab4a2b92cce46d877bc9(local only; no push or PR created)skill-too-largebefore message persistence.pnpm lintpassed;pnpm -w exec tsc --noEmitpassed; focused suites passed (53 tests); CI-plan-selected related run passed with at most two workers (298 suites passed, 4 skipped; 3795 tests passed, 15 skipped); formatting and staged whitespace checks passed.agent:activefor the coordinating task's active claim.fix(skills): preserve selected invocations and refuse oversized skills
test(skills): type the shortcut choice id
docs(skills): renumber the Skill ADRs to 0345 and 0346 after main too…
DoodleBears commentedon Nov 15, 2026
Agent work claim
codex/local/01a1e114-73bc-76d1-9b25-d052767849d7(not a DSH Session)t3/fix-skill-token-auth-offsets