feat(chat): task pill and session tabs replace the branch pill - #6425
Open
rafavalls wants to merge 1 commit into
Open
feat(chat): task pill and session tabs replace the branch pill#6425rafavalls wants to merge 1 commit into
rafavalls wants to merge 1 commit into
Conversation
The workspace header's context control becomes the TASK rather than the branch, since a task now owns the branch its sessions share: - TaskPill: switch task, or add the current chat to the board. - SessionTabs: the task's sessions as tabs, with live per-session status and a "new chat in this task" action. - TaskCrumb: the linked task, as a crumb back to the board. - threadStatusStyle/statusPriority move to task-board/config so the board and the session tabs render status identically. A `failed` run whose failure is settled history (superseded, or died after delivering) no longer paints as an actionable error. - Task dialog grows a sessions list and comment & re-run, which threads feedback through TASK_BOARD_ITEM_RERUN into the re-run's prompt. Co-Authored-By: Claude Opus 5 (1M context) <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
Stack 2 of 3 — targets
rafavalls/task-owns-branch(#6424), notmain.The workspace header's context control becomes the task rather than the branch, since a task now owns the branch its sessions share. This is the bulk of the diff.
threadStatusStyle/statusPrioritymove intotask-board/configso the board and the session tabs render status identically. Afailedrun whose failure is settled history (superseded, or died after already delivering —isResolvedRunFailure) no longer paints as an actionable error; painting those red is what made cards the reviewers had approved look broken.TASK_BOARD_ITEM_RERUNinto the re-run's prompt (the API side is included here rather than split off, since the dialog needs thefeedbackfield to typecheck).Testing
tsc --noEmitclean onapps/webandapps/api.enqueue-super-agent.test.ts.Notes for the reviewer
task-dialog.tsxis a large diff; the sessions list and the comment & re-run control are the substance, the rest is the surrounding restructure.BranchPillitself is not deleted —branch-picker.tsxstill uses it.🤖 Generated with Claude Code
Summary by cubic
Switches workspace context from branch to task: the chat header replaces the branch pill with a TaskPill and SessionTabs, plus a TaskCrumb back to the board. Unifies status styling (resolved failures no longer paint as errors) and adds comment & re-run in the task dialog.
threadStatusStyleandstatusPrioritytotask-board/config; board and tabs render status identically; settled failures (e.g., superseded or after-delivery deaths) no longer render as actionable errors.TASK_BOARD_ITEM_RERUNinto the rerun prompt; new i18n keys added (en and pt-BR).TASK_BOARD_ITEM_RERUNinput now accepts optionalfeedback; rerun prompt copy leads with “Changes were requested;” tests updated.BranchPillremains in use inbranch-picker.tsx.Migration
TASK_BOARD_ITEM_RERUNdirectly, you may now passfeedbackto steer reruns; no breaking change.Written for commit 946ed06. Summary will update on new commits.