Repository navigation
Closed
Labels
area:fullstackEnd-to-end Host and Client implementationEnd-to-end Host and Client implementationarea:ui-uxInteraction and visual experience; may accompany a code-layer areaInteraction and visual experience; may accompany a code-layer areafeature:avatarPersonaBot avatar media and activity framePersonaBot avatar media and activity frameready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Milestone
Description
Parent
Specification #1135 — in-window pixel companions with truthful activity and scoped message bubbles.
What to build
A Human briefly backgrounds or disconnects the Harness and then returns to the same companion scopes. The companions recover a bounded set of eligible unplayed new messages without duplicates, historical speech, stale Host responses or unlimited backlog, and resume truthful current activity.
Acceptance criteria
- First selection and Client/Host restart retain the future-only Host-consistent baseline contract; replay never crosses it, and Client/Host wall-clock equality is not assumed.
- Commit races around baseline/subscription and reconnect are covered through canonical stable identities and explicit consumption ordering, with neither duplicate playback nor a silent gap within the supported retained range.
- Owner reads, queued content and pending arrival bookkeeping are all bounded under slow consumers and bursts; simply truncating a fully read result in the Client is insufficient. Exceeding retention does not trigger unlimited catch-up.
- Recover only enabled-source, scope-qualified, unplayed output after the current baseline across the supported Channels. Disabled-period and newly eligible historical content remain excluded.
- Old-generation, stale-revision and cancelled-request responses cannot overwrite the new baseline, restore removed companions or reinsert cleared cards. Scope/authorization changes during reconnect are rechecked at the owning boundary.
- Background/hidden presentation stops unnecessary sampling and pauses reading timers; disconnect expresses freshness independently of execution, never fabricated idle/success/failure or historical live attention.
- Public tests inject before/during/after-baseline commits, duplicate notifications, revision gaps, old responses, bursts and toggles across reconnection; assert observable cards and bounded owner reads/resources rather than private cursor implementation.
- A verified DSH runtime path demonstrates background, brief disconnect, Client reload and Host restart with real new messages across own DM/shared Group/Bot–Bot scope, proving old content is not replayed and current Activity reconciles.
Blocked by
#1140 — qualified cross-Channel Bot-output consumption and scope/source transition rules. This ticket extends that actual contract instead of building a separate recovery feed.
Metadata
Metadata
Assignees
Labels
area:fullstackEnd-to-end Host and Client implementationEnd-to-end Host and Client implementationarea:ui-uxInteraction and visual experience; may accompany a code-layer areaInteraction and visual experience; may accompany a code-layer areafeature:avatarPersonaBot avatar media and activity framePersonaBot avatar media and activity frameready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Type
Projects
- StatusShow more project fieldsDone
Activity
DoodleBears commentedon Oct 7, 2026
Agent work claim
codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269(not a DSH Session)codex/1141-companion-recoveryfix(companions): keep reconnect admission continuous
DoodleBears commentedon Oct 7, 2026
Agent work progress
codex/local/01a11734-bb09-7f01-9d45-adc0f5df62699a523eba.Merge companion menu placement fix from codex/1140-companion-channel-…
fix(companions): recover terminally closed message streams
fix(companion): fence stale identity queries after recovery
DoodleBears commentedon Oct 8, 2026
Agent implementation outcome
codex/local/01a11734-bb09-7f01-9d45-adc0f5df626975a236a5.origin/main(57292f7d). Full Linux tests, build and docs passed in CI #37714263309.merge: integrate verified companion scope parent with main
Merge pull request #1165 from BotHarness/codex/1141-companion-recovery
DoodleBears commentedon Oct 8, 2026
Agent work outcome
codex/local/01a11734-bb09-7f01-9d45-adc0f5df626967d40142d8a830c4f66932d09a1fb317c9fca5d0.c172e2d4passed complete Linux CI: https://github.com/BotHarness/DeepSeekBot/actions/runs/37741091647. The automatic parent/main merge required no manual conflict resolutions in this slice.