Skip to content

feat(agent): replace workflow modes with built-in skills - #2607

Merged
wsp1911 merged 10 commits into
GCWing:1.0.0-explorefrom
wsp1911:1.0.0-explore
Aug 28, 2026
Merged

feat(agent): replace workflow modes with built-in skills#2607
wsp1911 merged 10 commits into
GCWing:1.0.0-explorefrom
wsp1911:1.0.0-explore

Conversation

@wsp1911

@wsp1911 wsp1911 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Retire Plan and Multitask as dedicated Agent modes and provide both workflows as built-in skills.
  • Replace the dedicated CreatePlan tool with workspace-native .bitfun/plans/*.plan.md artifacts written through the standard Write tool.
  • Preserve the plan card experience for successful plan writes and keep legacy CreatePlan history displayable.
  • Add Plan, Debug, and Multitask shortcuts to the FlowChat add menu when the corresponding skills are available.
  • Remove obsolete one-turn directives and the stale Mobile Web mode selector.
  • Rename the bundled evidence-debugging skill to the concise debug identity.
  • Update Agent policies, CLI and Remote Connect contracts, capability catalogs, documentation, locales, focused tests, and Relay static assets.

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 Write path instead of a dedicated runtime tool. This gives plan artifacts a stable .plan.md contract while preserving their structured viewer and tool-card presentation.

User-visible changes:

  • Plan and Multitask are invoked as skills instead of selected as Agent modes.
  • FlowChat exposes Plan, Debug, and Multitask as quick skill shortcuts when available.
  • Mobile Web no longer shows a mode selector that did not reliably affect remote execution.
  • Plan files are stored under .bitfun/plans with YAML frontmatter and Markdown content.
  • Debugging uses the debug skill identity.

Compatibility behavior:

  • Retired Plan and Multitask inputs fall back to Agentic on applicable restore and remote paths.
  • Historical CreatePlan cards remain displayable.
  • Existing plan artifact metadata is parsed and preserved when plans are updated.

Reviewer Notes

  • The PR contains seven non-merge commits and changes 119 files.
  • CreatePlan is removed from live runtime registration; Write owns new .plan.md creation.
  • Plan writes receive specialized rendering only for valid paths and plan documents; ordinary file writes and edits retain their generic cards.
  • Built-in skill policy determines whether Plan, Debug, and Multitask are available for each Agent profile.
  • Mobile Web now explicitly submits Agentic for new and resent messages.
  • Remote Connect maps retired Plan inputs to Agentic, but the remote path was not exercised in this review.
  • Relay static assets are refreshed to include the Mobile Web changes.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

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
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.
@wsp1911
wsp1911 merged commit 93499d3 into GCWing:1.0.0-explore Aug 28, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant