docs(specs): background handoffs with in-place review and notifications - #1371
Merged
Merged
Conversation
Revise the agent handoffs spec after a UX pass: - Rename "task chips" to handoffs. Shared Projects already uses "task" for a conversation, so HANDOFF# rows, /handoffs routes and HANDOFFS_ENABLED replace the TASK# names. - A mid-thread mention opens a review sheet in place, with a full-prompt preview. On Send the target conversation runs in the background as a second stream; the user stays in the original thread. - A handoff row tracks running / needs your input / done / stopped and offers Bring back result. - Notifications: the Projects in-app inbox gains handoff kinds, plus local browser notifications while the page is hidden. Web Push is a follow-up shared with scheduled runs. - The Phase 1 gate now asks whether users bring results back without opening the target, since background handoffs cover most of a consult. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A UX pass on
docs/specs/agent-handoffs-and-consults.md, the plan for carrying a mid-thread@-mention's work into an Agent's conversation. Docs only; nothing is built yet.SHARED_TASK#), so a handoff started inside a project task would have put two kinds of "task" on one screen. The spec now usesHANDOFF#,/sessions/{id}/handoffs,HANDOFFS_ENABLED/FEATURES.handoffsandsuggest_handoff(new §4.0 glossary).handoff_needs_input/handoff_done/handoff_stoppedkinds; and local browser notifications (Notification API) while the page is hidden. Web Push is a follow-up, to be built once with scheduled runs.Flagged for implementation
PutItemgrant limited toINBOX#rows on the projects table, and the sidenav bell must show withfeatures.handoffs, not onlyfeatures.projects.Test plan
🤖 Generated with Claude Code