Skip to content

M3.1 桥方法:create/update/pause/resume(读模型写路径) #40

Closed

Description

@DoodleBears

Part of #10

What to build

在 packages/core/src/bridge 补齐 PersonaBot 写路径(docs/client-bridge.md §3 初稿):

  • botharness/create:slug / displayName / tag / description / persona? / model? / preset? / workspaces? / avatarSeed? → 落 bot.json + 创建 PERSONA.md(人属文件,仅创建不覆盖,ADR-0014)。
  • botharness/update:displayName / tag / description / model / preset / workspaces / avatarSeed(不写 persona)。
  • botharness/pause / botharness/resume:本地委派开关(状态仍可见;语义对齐 spec §5)。
  • 错误码沿用 client-bridge 枚举:invalid-slug / duplicate / not-found / invalid-input。

Acceptance criteria

  • 四个桥方法有单测(成功 / 校验失败 / 重复 / 未知 slug)
  • create 产出的 bot.json 含 tag/description,PERSONA.md 不覆盖已存在文件
  • docs/client-bridge.md 方法面回填(不再标"初稿")

Activity

  1. added this to the v1.0 milestone on Sep 18, 2026
  2. DoodleBears commented on Sep 18, 2026

    @DoodleBears
    ContributorAuthor

    实现完成:create / update / pause / resume 桥方法 + registry update/setPaused + PERSONA.md 只建不覆盖;docs/client-bridge.md 方法面回填。提交 7d447ef,138 tests 全绿。前端消费在 #41 表单向导。

  3. moved this from Todo to Done in Roadmapon Sep 18, 2026
  4. added
    V1.0Milestone v1.0; mirrors the GitHub milestone
    on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    V1.0Milestone v1.0; mirrors the GitHub milestone

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions