Skip to content

Spike:验证 BotWork 所需 DSH Agent / SessionPersistence / Subagent seams #77

Closed

Description

@DoodleBears

Why

ADR-0035/0045 依赖 DSH developer-preview seams。进入 BotWork 实现前,需要在仓库实际 pin 的 DSH 版本上验证,而不能只依据文档或 mock。

Validation matrix

  • ctx.agents.create(parentAgent = undefined) 创建 independent root;Host-lifetime AgentHandle ownership 与 teardown。
  • resume、inject、steer、followup、whenIdle、cancel({ keepInbox: true }) 的真实 step/turn 边界。
  • programmatic cold/idle wake,包含 Discussion #6617 的实际行为。
  • Session query/projection/persistence:冷查询、flush、restart rebuild,以及 portable export/import capability 是否存在。
  • native continuable Subagent:direct-parent messaging、settlement notice、descendant enumeration;确认 Work 不能误用 ctx.subagents.sendMessage()。
  • tool restriction:Orchestrator-only Work tools、Work-only report_to_orchestrator、Subagent 默认不可见。

Acceptance criteria

  • 记录精确 DSH package version、upstream revision、Node/pnpm 与 profile。
  • 每个 seam 有可重复的最小实验、实际输出和 PASS/FAIL/UNVERIFIED。
  • 失败项说明是 upstream limitation、BotHarness adapter gap 还是设计假设错误。
  • 结果更新 dsh-plugin-dev pitfall/reference(若发现新的可复用 DSH trap)。
  • 给 Session ownership/BotWork 实现票提供可执行 acceptance,而不是生产代码大改。

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    V1.0Milestone v1.0; mirrors the GitHub milestonewayfinder:researchWayfinder research ticket

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions