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.7 KiB
1.7 KiB
name: update-deps description: This skill should be used when the user asks to "update deps", "bump core", "update go.mod", "upgrade dependencies", or needs to update dappco.re/go/core or other Go module dependencies in a core ecosystem repo. Uses go get properly — never manual go.mod editing. argument-hint: [repo-name] [module@version] allowed-tools: ["Bash"]
Update Go Module Dependencies
Properly update dependencies in a Core ecosystem Go module.
Steps
-
Determine the repo. If an argument is given, use it. Otherwise use the current working directory.
/Users/snider/Code/core/<repo>/ -
Check current dependency versions:
grep 'dappco.re' go.mod -
Update the dependency using
go get. Examples:# Update core to latest GONOSUMDB='dappco.re/*' GONOSUMCHECK='dappco.re/*' GOPROXY=direct go get dappco.re/go/core@latest # Update to specific version GONOSUMDB='dappco.re/*' GONOSUMCHECK='dappco.re/*' GOPROXY=direct go get dappco.re/go/core@v0.6.0 # Update all dappco.re deps GONOSUMDB='dappco.re/*' GONOSUMCHECK='dappco.re/*' GOPROXY=direct go get -u dappco.re/... -
Tidy:
go mod tidy -
Verify:
go build ./... -
Report what changed in go.mod.
Important
- ALWAYS use
go get— NEVER manually edit go.mod - ALWAYS set
GONOSUMDBandGONOSUMCHECKfor dappco.re modules - ALWAYS set
GOPROXY=directto bypass proxy cache for private modules - ALWAYS run
go mod tidyafter updating - ALWAYS verify with
go build ./... - If a version doesn't resolve, check if the tag has been pushed to GitHub (dappco.re vanity imports resolve through GitHub)