DevOps plugin (5 skills): - install-core-agent, repair-core-agent, merge-workspace, update-deps, clean-workspaces CLI commands: version, check, extract for diagnostics. Codex dispatch: --skip-git-repo-check, removed broken --model-reasoning-effort, --sandbox workspace-write via --full-auto. Workspace template extracts to wsDir not srcDir. AX sweep (Codex-generated): sanitise.go extracted from prep/plan, mirror.go JSON parsing via encoding/json, setup/config.go URL parsing via net/url, strings/fmt imports eliminated from setup. CODEX.md template updated with Env/Path patterns. Review workspace template with audit-only PROMPT.md. Marketplace updated with devops plugin. Co-Authored-By: Virgil <virgil@lethean.io>
1.8 KiB
1.8 KiB
| name | description | argument-hint | allowed-tools | ||
|---|---|---|---|---|---|
| merge-workspace | This skill should be used when the user asks to "merge workspace", "bring over the changes", "review and merge agent work", "pull in the agent's diff", or needs to take a completed agent workspace and merge its changes into the dev branch. Checks the diff, verifies the build, and applies changes. | <workspace-name> |
|
Merge Agent Workspace
Take a completed agent workspace and merge its changes into the repo's dev branch.
Steps
-
Find the workspace. The argument is the workspace name (e.g.,
agent-1774177216443021000). The full path is:/Users/snider/Code/.core/workspace/<name>/ -
Check status:
cat /Users/snider/Code/.core/workspace/<name>/status.jsonOnly proceed if status is
completedorready-for-review. -
Show the diff from the workspace's src/ directory:
cd /Users/snider/Code/.core/workspace/<name>/src && git diff HEADPresent a summary of what changed to the user.
-
Ask the user if the changes look good before proceeding.
-
Find the original repo path from status.json (
repofield). The repo lives at:/Users/snider/Code/core/<repo>/ -
Cherry-pick or apply the changes. Use
git diffto create a patch and apply it:cd /Users/snider/Code/.core/workspace/<name>/src && git diff HEAD > /tmp/agent-patch.diff cd /Users/snider/Code/core/<repo>/ && git apply /tmp/agent-patch.diff -
Verify the build passes:
cd /Users/snider/Code/core/<repo>/ && go build ./... -
Report results. Do NOT commit — let the user decide when to commit.
Important
- Always show the diff BEFORE applying
- Always verify the build AFTER applying
- Never commit — the user commits when ready
- If the patch fails to apply, show the conflict and stop