Orchestrator per-tab + (shells) + chef toggle; Discord MVP plan#259
Merged
Conversation
The orchestrator panel's `+` button is now context-aware on the active view: - Chat → new chat (unchanged; still disabled when the chat is empty) - Terminal → new shell, shown as a sub-tab strip (Shell 1, Shell 2, … with a close ×). Each shell is its own tmux session — `chef_<ws>` for shell 1 (back-compat), `chef_<ws>_<n>` for the rest; `ensure_chef_terminal` takes an optional shellIndex. Only the active shell renders; switching re-attaches with restored scrollback, and you can't close the last one. The strip only appears with >1 shell. - Files → `+` is hidden (read-only browser, no sensible "new" yet) Also adds a "Show orchestrator panel" toggle (Settings → Agent → Orchestrator & Concurrency). Off hides the chef panel in both docks — for users who drive the board from an external agent (MCP/API) and don't need the in-app chef. Defaults on; persisted via AgentConfig.orchestratorEnabled. tsc · lint · clippy · vitest (+2 terminal tests) green.
Adds .tickets/discord/MVP-PLAN.md — a thin first vertical slice for the existing Discord epic (E001): connect the bot, create a thread per task in its column's channel, stream agent output into it (KaitenCode → Discord only). Reply-routing, #chef, and bidirectional sync stay as later slices (T058–T060). Adds a dated note to E001 confirming the thread=task (board mirror) model and the thin-MVP-first decision, and flagging that the architecture has moved since the epic was written (local API on by default, advisory interactive completion).
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.
Two commits.
feat(orchestrator): per-tab
++ chef toggle+is context-aware: Chat → new chat, Terminal → new shell (sub-tab strip: Shell 1, Shell 2… with close ×; each its ownchef_<ws>[_n]tmux session), Files → hidden.docs(discord): MVP plan + epic refresh
.tickets/discord/MVP-PLAN.md: thin first slice (connect → task→thread → agent output streaming, one direction). Reply-routing/#chef/bidirectional stay later slices.tsc · lint · clippy · cargo check · vitest (+2 terminal tests) green locally.