feat(agent): replace workflow modes with built-in skills - #2607
Merged
Conversation
Remove the dedicated Multitask Agent and expose its workflow as a built-in coordination skill instead. - Remove mode definitions, prompts, registries, and UI directives - Register the multitask skill for Agents with Task support - Keep retired identifiers readable for historical and older peer data - Update Insights copy, cache documentation, boundary checks, and tests
Replace the dedicated CreatePlan runtime tool with workspace-native .plan.md artifacts created through the standard Write tool. - Constrain Plan mode writes to .bitfun/plans with YAML frontmatter - Render successful plan writes with the existing plan card experience - Keep Edit cards generic and legacy CreatePlan history readable - Share plan parsing and scope build state by workspace and connection - Refresh capability catalogs, documentation, and focused tests
Retire Plan as a standalone Agent mode while preserving planning as a built-in skill under the Agentic session identity. - add the plan skill and its .plan.md artifact contract - remove Plan definitions, prompts, selectors, and runtime wiring - fall back legacy Plan selections to agentic - update skill policies, documentation, locales, tests, and bundles
Mobile Web still exposed the removed Debug agent mode even though remote requests fell back to Agentic. This left users with a selector that did not change runtime behavior. - Remove the mode state, selector, and Shift+Tab shortcut - Send Agentic explicitly for new and resent messages - Delete unused mode copy and styles - Refresh the bundled Relay static assets
Remove the chat input directive path now that planning is provided by the built-in Plan skill. - Drop the /Plan directive projection and armed directive state - Stop injecting directive markup and message metadata - Remove Harness labels, locale copy, styles, and obsolete tests Keep regular actions, Skills, MCP prompts, and ACP commands on the existing slash-command path.
Expose Plan, Debug, and Multitask at the top of the add menu when they are available to the current Agent. Reuse the existing Skill reference insertion flow and refresh popover positioning when asynchronously loaded shortcuts change the menu height. Add coverage for shortcut ordering, availability filtering, and stable menu layout.
Rename the built-in evidence-debugging skill to the concise debug identity across embedded catalogs and the chat input shortcut. - Keep Agentic and its coding_shared profile enabled by default - Make Claw, Creative, and other modes opt-in for debugging - Cover embedded assets and shared-profile policy behavior
wsp1911
marked this pull request as ready for review
August 28, 2026 14:30
Use the skills-only branch as the current boundary for the all-command picker after the obsolete mode branch was removed. Keep the contract focused on distinguishing the Commands label from Quick Action copy.
Use the registered Cowork mode when exercising the runtime session mode port. Plan is now a skill, so retaining it in this fixture caused the owner update contract test to fail validation before reaching the behavior under test.
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
CreatePlantool with workspace-native.bitfun/plans/*.plan.mdartifacts written through the standardWritetool.CreatePlanhistory displayable.evidence-debuggingskill to the concisedebugidentity.Type and Areas
Type:
Feature / refactor / regression fix / UI/UX
Areas:
Agent Runtime, Product Assembly, Rust core, Web UI, Mobile Web, CLI, Remote Connect/Relay, capability contracts, docs
Motivation / Impact
Planning, debugging, and multi-agent coordination are workflows rather than separate session identities. Moving them into built-in skills keeps users in the Agentic session while allowing each capability to be invoked only when needed.
Plans now use regular workspace files and the standard
Writepath instead of a dedicated runtime tool. This gives plan artifacts a stable.plan.mdcontract while preserving their structured viewer and tool-card presentation.User-visible changes:
.bitfun/planswith YAML frontmatter and Markdown content.debugskill identity.Compatibility behavior:
CreatePlancards remain displayable.Reviewer Notes
CreatePlanis removed from live runtime registration;Writeowns new.plan.mdcreation.Checklist