Skip to content

feat(work-items): run remote comments through continuations - #947

Closed
Neonforge98 wants to merge 1 commit into
codex/work-item-conversation-handofffrom
codex/work-item-conversation-frontend
Closed

feat(work-items): run remote comments through continuations#947
Neonforge98 wants to merge 1 commit into
codex/work-item-conversation-handofffrom
codex/work-item-conversation-frontend

Conversation

@Neonforge98

Copy link
Copy Markdown
Collaborator

Problem

The durable Work Item dispatcher can hand a remote-root comment to the sender device, but the frontend does not yet claim that offer or execute it through the existing persistent conversation runtime. A transient transport error must also keep the exact durably prepared runner instead of silently rolling to a second Session.

Solution

Mount one app-root Work Item bridge that capability-gates and claims the Rust offer, then delegates all context loading, plane deltas, continuation selection, runner overlay, send/wait/tail publication, and plane signaling to the shared conversation runtime from #944 and #945. Add prepare-before-send and ack-after-accept callbacks to the shared runner, preserve the prepared runner on ambiguous transport failures, and require the deployed retry-safe conversation projection capability. Team Chat remains ordinary human chat and is not moved into the Agent conversation plane.

Potential risks

A cold capability probe can take up to 15 seconds; the parent PR now keeps the offer open for 20 seconds. A crash after durable prepare is safe and retryable, but explicit prepared-runner recovery and native/External CLI runtime selection are intentionally the next stacked PR. Until that layer lands, a missing prepared local Session can remain pending rather than changing runner identity.

Validation

  • 33 focused Vitest tests passed
  • pnpm exec tsc --noEmit --pretty false
  • ESLint passed on all eight touched files
  • Normal pre-commit hooks passed

Stacked on #946.

@Harry19081 Harry19081 added enhancement New feature or request cloud-collaboration Cloud sync, organizations, channels, or collaboration project-management Projects, work items, routines, GitHub work, or team inbox labels Aug 25, 2026
@Neonforge98

Copy link
Copy Markdown
Collaborator Author

Superseded by the final two-PR design: #844 removes the Work Item-specific remote continuation bridge, and stacked #939 keeps the reusable audience routing plus sender-local provider-native continuation. This dispatcher/store/handoff stack is intentionally retired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cloud-collaboration Cloud sync, organizations, channels, or collaboration enhancement New feature or request project-management Projects, work items, routines, GitHub work, or team inbox

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants