Skip to content

Bot activity: revisioned live sync and reconnect #121

Closed

Description

@DoodleBears

Remaining outcome — reconciled 2026-09-30

Existing Channel message streams are transport precedent, not Activity synchronization. Remaining: Activity baseline/revision/live frames, reconnect/gap recovery and listener lifecycle; every avatar reads the same snapshot.

Feature Project

What to build

在 #120 的 snapshot presence 上交付一个仅面向 PersonaBot Activity Projection 的最小 revisioned live sync。浏览器先查询 baseline snapshot,再通过 API Gateway 已认领的 Typert stream(或经验证的等价 authenticated stream seam)接收 committed activity revision;gap/overflow 时回取 snapshot,stream 不可用时回退 bounded refresh。

这不是 #67 的多域通用 stream,也不等待 Messaging、Attention 或外部 IM Provider。

Acceptance criteria

  • baseline + ordered incremental revisions 让 sidebar 与 composer 使用同一 snapshot revision。
  • duplicate/out-of-order update 不回退 UI;revision gap 明确触发 snapshot refetch。
  • frame 只来自 PersonaBot Activity Projection commit 后的通知,不携带 raw Session/tool payload。
  • disconnect、mode exit 与 Plugin disposal 后 Host/Client listener 无泄漏。
  • stream unavailable 时 bounded refresh 最终一致,transport failure 不显示成 PersonaBot state。
  • restart/reconnect 自动恢复,不重复动画或遗留 stale attention indicator。
  • 未来 v1.1: read-model 实时同步流(post-commit frames) #67 接管通用 transport 时可兼容迁移,不制造第二个 activity authority。

Blocked by

Recovery audit requested during Human QA

In addition to ordinary reconnect, validate page reload and hard Host termination during actual native Agent execution, so a new baseline cannot retain an abandoned working/thinking indicator. PR #686 includes the hard-termination native liveness/state evidence and two full browser reloads; Human QA remains pending. Refresh follows Host truth and must not force an actually running or waiting execution to idle. Orchestrator/Assignment aggregation stays with #123; no expansion of #122/#123/#124 here.

Activity

  1. added this to the v1.0 milestone on Sep 20, 2026
  2. changed the title [-]Tracer 2: revisioned PersonaBot activity 实时同步[/-] [+]Tracer 2: PersonaBot activity 的最小 revisioned live sync[/+] on Sep 20, 2026
  3. added
    enhancementNew feature or request
    V1.0Milestone v1.0; mirrors the GitHub milestone
    area:fullstackEnd-to-end Host and Client implementation
    feature:activityPersonaBot activity, presence, and output signals
    feature:syncMemory sync or read-model synchronization
    scope:tracerHuman-testable implementation slice
    on Sep 20, 2026
  4. 1 remaining item

  5. changed the title [-]Tracer 2: PersonaBot activity 的最小 revisioned live sync[/-] [+]Bot activity: revisioned live sync and reconnect[/+] on Sep 30, 2026
  6. moved this to Todo in Roadmapon Sep 30, 2026
  7. DoodleBears commented on Oct 1, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

  8. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 1, 2026
  9. DoodleBears commented on Oct 1, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

  10. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 1, 2026
  11. DoodleBears commented on Oct 1, 2026

    @DoodleBears
    ContributorAuthor

    Agent work continuation

  12. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 1, 2026
  13. DoodleBears commented on Oct 1, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — recovery audit

  14. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 1, 2026
  15. DoodleBears commented on Oct 1, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

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 milestonearea:fullstackEnd-to-end Host and Client implementationenhancementNew feature or requestfeature:activityPersonaBot activity, presence, and output signalsfeature:syncMemory sync or read-model synchronizationready-for-agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions