Add workflow modes, structured workspace operations, service management hardening, and OAuth persistence fixes#22
Closed
tao-xiaoxin wants to merge 45 commits into
Closed
Add workflow modes, structured workspace operations, service management hardening, and OAuth persistence fixes#22tao-xiaoxin wants to merge 45 commits into
tao-xiaoxin wants to merge 45 commits into
Conversation
added 8 commits
June 23, 2026 22:49
Owner
|
Thanks for this huge PR. You should have splitted this into small stacked PRs. There are few ideas which i really liked but few i did not follow
Hope you understands the philosophy for later PRs and future contributions. Also before raising PR do create a issue and lets have brief discussion around these features. that way you could save your tokens :) |
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
This PR has expanded beyond the original description.
Compared with the current
Waishnav/devspacemain, this branch now adds the workflow, service-management, and OAuth/runtime changes from my fork, while also incorporating the latest upstream README updates.Main additions in this PR:
Add Codex-style workspace collaboration flows:
default/plan/plan/goal,create_goal,get_goal, andupdate_goal1B,2A)Add bundled system workflow skills under
skills/.system:Add structured workspace operations for host-safety-sensitive flows:
apply_workspace_patchfor coordinated multi-file patch applicationgit_pushfor explicit structured push requests instead of routing pushes through raw shellImprove local config and service lifecycle management:
service uninstalltoservice removeImprove OAuth/runtime compatibility:
Docs and test updates:
Motivation
This PR is aimed at improving how DevSpace supports Codex-style collaborative coding workflows in MCP clients.
The goal is not to bypass host safety. The goal is to expose more explicit, workspace-scoped, auditable MCP tools and workflow primitives so clients do not need to rely on generic shell commands for batch writes, planning, long-lived goals, or git push operations.
It also improves the managed service and local configuration flow so DevSpace behaves more predictably across restarts and across different host environments.
Usage
This PR is meant to improve how DevSpace is used from ChatGPT or another MCP host, especially for planning, durable goals, safer workspace edits, and managed background service flows.
1. Start DevSpace and register workspaces
Install and initialize DevSpace:
Add one or more allowed workspaces:
If you want DevSpace to run as a managed background service:
2. Open a workspace from the MCP client
From ChatGPT or another MCP-capable client, call:
open_workspaceonce per project folder or worktree, then reuse the returned
workspaceIdfor later file, search, edit, shell, plan, and goal operations.3. Use workflow aliases for planning and durable goals
This PR adds stable workflow aliases:
/plan/goalTypical examples:
/planis for repository inspection first, then saving a durable implementation plan./goalis for keeping a longer-lived project objective across sessions.4. Use structured workspace tools instead of generic shell where possible
For multi-file or safety-sensitive operations, the new flow prefers structured MCP tools over raw shell commands:
apply_workspace_patchfor coordinated multi-file editsgit_pushfor explicit push requestsresolve_skillfor loading Skill instructionsget_goal,create_goal,update_goalfor durable goal stateThis makes changes more auditable and reduces cases where host safety blocks broad shell-based write or push operations.
5. Service and config workflow
This PR also improves the managed service flow. Typical commands are:
Configuration changes persist locally, and managed service flows are intended to be explicit and cross-platform rather than ad hoc system setup.
What Changed Since The Original PR Description
The original PR description covered the early workflow support and OAuth reconnect-related fixes.
The branch now also includes:
skills/.systempackagingSo this PR is now broader than the initial workflow-oriented summary.
Tests