bump-config-version
Skill3.4k starsChanged 7 months agoApache-2.0View on GitHub
Freeze the current `pkg/config/latest` package as a numbered, immutable `pkg/config/vN`, then bump `latest` to the next version so new features can land on the work-in-progress schema
Trending
Quiet since July.about the whole repository
Who's talking about docker/docker-agent
- @aheritier.net“2.9K ⭐️ Thank you! 🙏 github.com/docker/docker-agent www.star-history.com?repos=docker... #starhistory …”Bluesky · May 17, 2026 · 7 likes
- @dgageot.bsky.social“You like cagent? You'll love github.com/docker/docke...! We renamed cagent to Docker Agent to show our …”Bluesky · Mar 6, 2026 · 6 likes
- @aheritier.net“Docker Agent is moving fast. In addition of many stability and performances improvements recent versions …”Bluesky · Jul 6, 2026 · 4 likes
- MH0386/aur“chore(deps): update dependency docker/docker-agent to v1.86.0”GitHub · Jun 23, 2026 · 2 reactions
- MH0386/aur“chore(deps): update dependency docker/docker-agent to v1.83.0”GitHub · Jun 19, 2026 · 2 reactions
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub and Bluesky (15 times).
On GitHub · 9
- Jun 23, 2026chore(deps): update dependency docker/docker-agent to v1.86.0 — MH0386/aur2 reactions · 5 comments
- Jun 19, 2026chore(deps): update dependency docker/docker-agent to v1.83.0 — MH0386/aur2 reactions · 4 comments
- Apr 23, 2026chore(deps): update dependency docker/docker-agent to v1.50.0 — MH0386/aur2 reactions · 10 comments
- Apr 16, 2026chore(deps): update dependency docker/docker-agent to v1.46.0 — MH0386/aur2 reactions · 8 comments
- Apr 15, 2026chore(deps): update dependency docker/docker-agent to v1.45.0 — MH0386/aur2 reactions · 7 comments
4 more on GitHub
- Apr 3, 2026chore(deps): update dependency docker/docker-agent to v1.42.0 — MH0386/aur2 reactions · 4 comments
- Mar 30, 2026chore(deps): update dependency docker/docker-agent to v1.40.0 - autoclosed — MH0386/aur2 reactions · 5 comments
- Mar 26, 2026chore(deps): update dependency docker/docker-agent to v1.38.0 — MH0386/aur2 reactions · 4 comments
- Mar 11, 2026chore(deps): update dependency docker/docker-agent to v1.31.0 — MH0386/aur2 reactions · 5 comments
On Bluesky · 6
- May 17, 20262.9K ⭐️ Thank you! 🙏 github.com/docker/docker-agent www.star-history.com?repos=docker... #starhistory #GitHub #OpenSource via… — @aheritier.net7 likes and reposts
- Mar 6, 2026You like cagent? You'll love github.com/docker/docke...! We renamed cagent to Docker Agent to show our commitment. Gordon, our AI assistant… — @dgageot.bsky.social6 likes and reposts
- Jul 6, 2026Docker Agent is moving fast. In addition of many stability and performances improvements recent versions added many providers to simplify… — @aheritier.net4 likes and reposts
- Apr 7, 2026github.com/docker/docke... - cAgent is now #Docker #Agent, a way to orchestrate #AI #Agents. — @robrich.bsky.social2 likes and reposts
- Mar 9, 2026>docker/docker-agent: AI Agent Builder and Runtime by Docker Engineering https://github.com/docker/docker-agent >docker-agent lets you… — @mstdn.baldanders.info1 likes and repost
1 more on Bluesky
- Mar 9, 2026>docker/docker-agent: AI Agent Builder and Runtime by Docker Engineering github.com/docker/docke... >docker-agent lets you create and run… — @baldanders.info1 likes and repost
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bump-go-dependenciesSkill
- triage-prsSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Read the version constant:
- Distinctive: line 39
If it exists, the freeze has already happened — stop and ask the user.
- Very specific: line 44
All implementation files (types.go, parse.go, auth.go, lifecycle.go, model_ref.go, validate.go)
- Very specific: line 45
All test files (*_test.go)
- Very specific: line 60
Do not touch the previous import in pkg/config/vN/parse.go.
- Very specific: line 113
Update the top-level description field:
- Distinctive: line 123
Keep the existing entries — older versions remain valid input.
- Distinctive: line 125
After editing, validate the JSON is well-formed:
- Distinctive: line 133
Run the project's standard validation chain.
- Distinctive: line 150
If anything fails, fix it and re-run until everything is green.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bump Agent Config Version
The agent config schema is versioned. Each numbered package
(pkg/config/v0, pkg/config/v1, …, pkg/config/vN) is frozen and
must never change. New features always land on pkg/config/latest, which
holds the next, unreleased version.
This skill freezes whatever currently lives in pkg/config/latest as
pkg/config/vN, then re-opens latest for vN+1 work. Run it whenever a
released version of the schema needs to be locked down before the next round
of breaking changes.
Note: Throughout this skill, N represents the current version number (e.g., 9),
and vN represents the version package name (e.g., v9). Replace these placeholders
with the actual numbers when executing commands.
1. Determine the Current and Next Version
Read the version constant:
grep '^const Version' pkg/config/latest/types.goIt looks like const Version = "N". Call this number N. The new latest
version will be N+1.
Sanity-check that pkg/config/vN does not already exist:
test ! -d pkg/config/vN && echo "ok"If it exists, the freeze has already happened — stop and ask the user.
2. Create the Frozen vN Package
Copy every Go file from latest/ into the new directory. This includes:
- All implementation files (
types.go,parse.go,auth.go,lifecycle.go,model_ref.go,validate.go) - All test files (
*_test.go)
The new directory is created on the fly by cp:
cp -R pkg/config/latest pkg/config/vNRewrite the package name in all Go files (including tests) under the new directory:
# macOS / BSD sed requires -i '' (empty backup extension)
find pkg/config/vN -name '*.go' -exec sed -i '' 's/^package latest$/package vN/' {} +Do not touch the previous import in pkg/config/vN/parse.go. It
already points at vN-1 and that is exactly what the frozen vN upgrader
needs in order to migrate vN-1 → vN.
3. Re-open latest for vN+1
Three edits, all in pkg/config/latest/:
- Bump the version constant in
types.go:const Version = "N+1" - Point the
previousimport inparse.goat the just-frozen package:previous "github.com/docker/docker-agent/pkg/config/vN" - If
latest/parse.go'supgradeIfNeededcontains migration logic beyond the baretypes.CloneThroughJSON(old, &config)(e.g. field renames or shape rewrites that convertedvN-1 → N), that migration is already correctly preserved inpkg/config/vN/parse.gothanks to step 2. Resetlatest/parse.go's upgrader to the no-opCloneThroughJSONbody so it starts fresh forvN → vN+1. Iflatest/parse.gowas already a no-op, leave it alone.
4. Register the New Frozen Package
Edit pkg/config/versions.go to import and register vN. Both
modifications are inserted just before the latest lines so registrations
stay in numerical order:
import (
// ...
vN_minus_1 "github.com/docker/docker-agent/pkg/config/vN-1"
vN "github.com/docker/docker-agent/pkg/config/vN" // ← new
)
func versions() (...) {
// ...
vN_minus_1.Register(parsers, &upgraders)
vN.Register(parsers, &upgraders) // ← new
latest.Register(parsers, &upgraders)
// ...
}5. Update agent-schema.json
The JSON schema is hand-maintained but tracked alongside the Go types. Three small edits:
- Update the top-level
descriptionfield:"description": "Configuration schema for Docker Agent vN+1" - Append
"N+1"to theenumarray under the top-levelversionproperty. - Append
"N+1"to theexamplesarray under the same property.
Keep the existing entries — older versions remain valid input.
After editing, validate the JSON is well-formed:
jq empty agent-schema.json6. Validate
Run the project's standard validation chain. All must pass:
task build
task test
task lintPay special attention to:
pkg/config/schema_test.go(the schema/Go-types matcher) — failures here usually mean step 5 was missed orlatesttypes changed shape relative to what got frozen intovN.- Any
pkg/config/*_test.gothat hard-codesversion: "N"in YAML fixtures may need to be retargeted to"N+1"if the assertion is about the latest schema.
If anything fails, fix it and re-run until everything is green.
7. Commit
Match the convention used by previous freeze commits in the repo
(Freeze v7, freeze config v8 and start v9 as latest):
git add -A
git commit -m "freeze config vN and start vN+1 as latest" -m "" -m "Assisted-By: docker-agent"8. Summary
Report back to the user with:
- The version that was frozen (
vN). - The new latest version (
vN+1). - The list of files created under
pkg/config/vN/. - The files that were modified (
pkg/config/latest/types.go,pkg/config/latest/parse.go,pkg/config/versions.go,agent-schema.json). - Confirmation that
task build,task test, andtask lintall succeeded.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

