[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CHTRVNMS32Y8T3BAJJWJW0":3,"skill-same:01M6CHTRVNMS32Y8T3BAJJWJW0":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6CHTRVNMS32Y8T3BAJJWJW0","clawdapus-release",null,"Automates cutting a Clawdapus release: runs pre-release checks, coordinates with cllama submodule releases if needed, determines the next semver version, backfills any missing changelog entries, sweeps docs (CLI reference, README, manifesto) for updates tied to the release, prepares release notes in the site changelog, pushes the release-prep commit to master, prepublishes the pinned infra image refs the release workflow verifies, then tags and publishes the release. Only after publication and verification does it promote the site nav dropdown and Latest badge. Use this skill whenever the user says \"release\", \"cut a release\", \"new version\", \"update the changelog and tag\", \"prepare a release\", or anything about shipping a new version of the claw CLI.","mostlydev\u002Fclawdapus","mostlydev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F67087?v=4","01M6CHTC319DK6Z2ASSDJFQ50V","Wojtek Grabski","01M6CHTC7CGHYAYSJT6834D78T",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Fblob\u002Fmaster\u002Fskills\u002Frelease\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"clawdapus release","release","verification","infra","releases","only","version","use","README","promote","changelog","image","shipping","update","release notes","notes","claw","commit","workflow","cli","2026-11-10 10:12:30",false,"---\nname: clawdapus-release\ndescription: >\n  Automates cutting a Clawdapus release: runs pre-release checks, coordinates\n  with cllama submodule releases if needed, determines the next semver version,\n  backfills any missing changelog entries, sweeps docs (CLI reference, README,\n  manifesto) for updates tied to the release, prepares release notes in\n  the site changelog, pushes the release-prep commit to master, prepublishes\n  the pinned infra image refs the release workflow verifies, then tags and\n  publishes the release. Only after publication and verification does it\n  promote the site nav dropdown and Latest badge. Use this skill\n  whenever the user says \"release\", \"cut a release\", \"new version\", \"update\n  the changelog and tag\", \"prepare a release\", or anything about shipping a\n  new version of the claw CLI.\n---\n\n# Release\n\nThis skill automates the full release pipeline for Clawdapus. The release\nworkflow is tag-driven: pushing a semver tag on master triggers\n`.github\u002Fworkflows\u002Frelease.yml` (goreleaser builds binaries and creates the\nGitHub release) and `.github\u002Fworkflows\u002Fdeploy-site.yml` deploys the updated\nsite to clawdapus.dev.\n\n`cllama` and the infra Docker images (`cllama`, `clawdash`, `claw-wall`,\n`claw-api`, `hermes-base`) are on separate release cycles with manual steps —\nthis skill covers both sides.\n\nYour job is to prepare everything locally, push the release-prep commit to\n`master`, prepublish whatever pinned images the release verifier needs, then\npush the release tag.\n\n## Step 1: Pre-release sanity checks\n\nBefore touching anything, verify the working tree, auth, and local build:\n\n```bash\n# Clean working tree check\ngit status\n\n# Make sure local tags match GitHub — local tag list can lag badly\ngit fetch --tags\n\n# Auth sanity — releases usually need both gh and docker\u002Fghcr\ngh auth status -t\n\n# Build sanity — goreleaser runs vet + unit tests before publishing\ngo vet .\u002F...\ngo test .\u002F...\n```\n\nIf the working tree is dirty, decide with the user whether those changes are\npart of this release or should be stashed\u002Fcommitted separately. Don't mix\nunrelated changes into the release commit.\n\nIf `go vet` or `go test` fails, stop and fix it — goreleaser will fail too.\n\nIf the release touched runtime docs or image lifecycle behavior, consider\nrunning the heavier repo checks as well:\n\n```bash\ngo test -tags integration .\u002F...\ngo test -tags spike -run TestQuickstartDocsRunInFreshDockerContainer .\u002Fcmd\u002Fclaw\u002F...\n```\n\n## Step 2: Determine cllama coordination\n\nThe `cllama\u002F` submodule has its own tags, GitHub releases, and Docker image\n(`ghcr.io\u002Fmostlydev\u002Fcllama:latest`). If a clawdapus release depends on cllama\nchanges, release cllama FIRST so the submodule pointer references a tagged,\nreleased commit.\n\nCheck whether cllama moved since its last release:\n\n```bash\n# Current submodule pointer\ngit -C cllama rev-parse HEAD\n\n# Latest cllama GitHub release\ngh -R mostlydev\u002Fcllama release list --limit 3\n\n# Latest cllama tag (local + remote)\ngit -C cllama tag --sort=-v:refname | head -3\n\n# Commits since last cllama release on the submodule pointer\ngit -C cllama log \u003Clast-cllama-tag>..HEAD --oneline\n```\n\nDecision tree:\n\n- **No cllama changes since last release** → skip to Step 3.\n- **Submodule moved but all commits are already in a released cllama tag** →\n  skip to Step 3.\n- **Submodule moved past the latest cllama release** → cut a cllama release\n  first (see \"Cllama release sub-workflow\" below), then continue.\n- **A cllama tag exists locally\u002Fremotely but has no GitHub release** → backfill\n  that release (even if you're also cutting a new one) so the GitHub release\n  history matches the tag history.\n\n### Cllama release sub-workflow\n\n1. Pick the next cllama semver (patch \u002F minor) based on the commits.\n2. If not already tagged, tag in the submodule:\n   ```bash\n   git -C cllama tag v0.X.Y\n   git -C cllama push origin v0.X.Y\n   ```\n3. Create the GitHub release with synthesized notes grouped by theme (not raw\n   commit list):\n   ```bash\n   gh -R mostlydev\u002Fcllama release create v0.X.Y \\\n     --title \"v0.X.Y — \u003Cshort headline>\" \\\n     --notes \"$(cat \u003C\u003C'EOF'\n   ## Highlights\n\n   - **Feature** — user-facing description.\n\n   ## Fixes\n\n   - Fix: brief description.\n   EOF\n   )\"\n   ```\n4. Build and push the multi-arch Docker image (see Step 10). Do this BEFORE the\n   clawdapus release so the clawdapus image fallback (`docker pull\n   ghcr.io\u002Fmostlydev\u002Fcllama:latest`) picks up the new image.\n5. Update the submodule pointer in the clawdapus repo if cllama HEAD moved past\n   the tag you just released, then `git add cllama && git commit`.\n\n## Step 3: Determine the clawdapus release version\n\n```bash\n# Latest tag\ngit tag --sort=-v:refname | head -1\n\n# Latest GitHub release\ngh release list --limit 1\n\n# Commits since last tag\ngit log \u003Clatest-tag>..HEAD --oneline\n```\n\nAnalyze the commits and propose a version bump:\n\n- **patch** (0.x.Y) — bug fixes, doc updates, dependency bumps, diagnostic\n  additions, internal refactors\n- **minor** (0.X.0) — new features, new commands, new drivers, capability\n  additions, new pod YAML directives, new CLI flags\n- **major** (X.0.0) — breaking changes (not yet applicable pre-1.0)\n\nPresent the proposed version to the user and wait for confirmation. If the\nuser already specified a version (e.g. \"cut v0.5.0\"), use that.\n\n## Step 4: Backfill missing changelog entries\n\nThe site changelog (`site\u002Fchangelog.md`) may be behind GitHub releases. Check:\n\n```bash\n# Extract version headers already in the changelog\ngrep '^## v' site\u002Fchangelog.md\n\n# Compare against actual GitHub releases\ngh release list --limit 20\n```\n\nFor each release that exists on GitHub but not in the changelog, fetch its\nnotes and the underlying PRs\u002Fissues so you can write user-facing prose:\n\n```bash\ngh release view \u003Ctag> --json tagName,body,publishedAt\ngit log \u003Cprev-tag>..\u003Ctag> --oneline\n```\n\nInsert synthesized entries in descending order between \"Unreleased\" and the\nmost recent existing entry. Use the same style as existing entries:\n\n```markdown\n## v0.X.Y {#v0-X-Y}\n\n*YYYY-MM-DD*\n\n- **Feature name** — concise description of what changed and why it matters.\n- Fix: brief description of bug fix.\n```\n\nDon't just dump commit hashes — synthesize user-facing prose grouped by theme.\nPull context from referenced PRs\u002Fissues (`gh pr view N`, `gh issue view N`)\nwhen the commit message alone doesn't explain the \"why\".\n\n## Step 5: Prepare the release notes without promoting the site\n\nPrepare the new release notes in `## Unreleased`, using commits and PRs\u002Fissues\nsince the last tag. Keep that heading until the GitHub release and its required\nassets are published and verified. The release tag may therefore still contain\nan Unreleased section; the post-release site commit records the published version.\n\nKeep the Latest badge on the previous published release. Do not move it or the\nnav version during release preparation. `AGENTS.md` is canonical: master\u002Fsite\npushes deploy immediately, and pushing master and a tag back to back does not\nprevent the site from becoming available before the GitHub release.\n\nThe version heading, date, anchor and badge are added in the post-release site\npromotion in Step 12, not in this preparation step.\n\n### Keep entries deployment-agnostic\n\nDo **not** name specific deployments or their agents in the changelog. Clawdapus\nis a general tool; downstream deployments (Tiverton, the trading desk pod,\nindividual claws like Boulton\u002FLogan\u002FWestin\u002Fetc.) are use cases. Describe the\nsymptom and the fix generically — \"Hermes runners\", \"Anthropic-format runners\",\n\"Discord-channel-consuming agents\", \"production deployments\", \"downstream\noperators\". The internal investigation that surfaced the bug (talking-stick\nrooms, private repos, agent memory) is where deployment-specific context lives.\nThe same rule applies to GitHub release notes, public issue comments, and\ngenerated docs. Leave historical entries alone unless the maintainer explicitly\nasks for a rewrite, but never add a new entry that names a downstream\ndeployment.\n\n## Step 6: Docs sweep\n\nRelease changes often ripple into non-changelog docs. Sweep each of these:\n\n### CLI reference — `site\u002Fguide\u002Fcli.md`\n\nIf the release added, removed, or modified anything observable via the CLI,\nupdate the reference. Check every change category:\n\n- **New subcommands or flags** — add a new section or update the flags table\n- **Changed default behavior** — update the \"What it does\" description\n- **New JSON output fields** in `claw audit`, `claw inspect`, `claw ps`,\n  `claw health`, `claw doctor` — document them\n- **New error conditions or exit codes** — add to the command's description\n- **Removed\u002Frenamed things** — remove or rename in the docs\n\nGrep for anything that looks stale:\n\n```bash\n# Find doc references to CLI flags\u002Fsubcommands affected by the release\ngrep -n '\u003Cflag-or-command>' site\u002Fguide\u002Fcli.md\n```\n\n### Clawdapus CLI skill — `skills\u002Fclawdapus\u002FSKILL.md`\n\nThis file is the canonical CLI skill that Claude agents load when they help\nusers with `claw`. It is embedded into the `claw` binary via `go:embed` (the\nmirror at `cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md` is regenerated from it) and it also\nseeds the `clawdapus-cli` skill that users install into their\n`~\u002F.claude\u002Fskills\u002F`. Any CLI surface change that alters the user-visible\nbehavior of `claw` needs to be reflected here, otherwise every agent using\nthe skill will give out-of-date guidance.\n\nUpdate whenever the release changes:\n\n- **The CLI command list** — the top-level table of subcommands (`claw pull`,\n  `claw up`, `claw compose`, etc.). Add new commands; remove deleted ones.\n- **Flag behavior** on any covered command.\n- **Pod YAML directives** the skill references (`x-claw.cllama`,\n  `x-claw.surfaces`, feed subscription syntax, etc.).\n- **Runtime artifacts** the skill describes (`compose.generated.yml`,\n  `.claw-runtime\u002F...`, `CLAWDAPUS.md`, `AGENTS.generated.md` layout).\n- **New first-class capabilities** the skill should teach agents about (new\n  drivers, new observability endpoints, new skill\u002Ffeed mechanisms).\n\nAfter editing, regenerate the embedded mirror so both copies stay in sync:\n\n```bash\ngo generate .\u002Fcmd\u002Fclaw\u002F...\ngit diff cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md   # should mirror your skills\u002Fclawdapus\u002FSKILL.md edits\n```\n\nCommit both files together in the release-prep commit. `cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md`\nis a tracked mirror — if it's left stale, `go vet` and goreleaser's prehooks\nwill still pass locally but users who install the skill via the embedded\nartifact will get the old content.\n\nGrep for freshness:\n\n```bash\n# Commands or flags mentioned in the CLI reference but not in the skill\ndiff \u003C(grep -oE 'claw [a-z-]+( [a-z-]+)?' site\u002Fguide\u002Fcli.md | sort -u) \\\n     \u003C(grep -oE 'claw [a-z-]+( [a-z-]+)?' skills\u002Fclawdapus\u002FSKILL.md | sort -u)\n```\n\nThe per-user global copy at `~\u002F.claude\u002Fskills\u002Fclawdapus-cli\u002FSKILL.md` is\nNOT updated by the release — it's a local convenience copy that users\nre-install after the release lands. The release commit only touches the\nrepo-canonical `skills\u002Fclawdapus\u002FSKILL.md` and its embedded mirror.\n\n### README — `README.md`\n\nPatch releases rarely need README changes. Minor\u002Fmajor releases often do.\nCheck:\n\n- Quickstart commands still accurate (flags, image names, example paths)\n- Feature list \u002F supported drivers list reflects reality\n- Version numbers mentioned anywhere (installer, docker image tags)\n\n### Manifesto — `site\u002Fmanifesto.md` and root `MANIFESTO.md`\n\nUpdate only when a release changes the project's scope, vision, or core\nmechanics (compiled tools, memory plane, fleet governance, etc.). Most\npatch releases leave this untouched.\n\n### Guide pages — `site\u002Fguide\u002F*.md`\n\nNew features often need a new guide page or updates to an existing one:\n\n- New pod YAML directive → update `claw-pod-yml.md` or similar\n- New capability (tools, memory, schedule, surfaces) → may need dedicated page\n- ADRs in `docs\u002Fdecisions\u002F` → link from the relevant guide page if the ADR\n  changes user-visible behavior\n\n### Other locations to grep\n\n```bash\n# Find version references that might need bumping\ngrep -rn \"v0\\.X\\.Y\" site\u002F README.md examples\u002F --include='*.md' --include='*.mts'\n```\n\n(Package-lock files, go.sum, and generated artifacts are noise — filter them\nout.)\n\n## Step 7: Bump pinned runtime infra image tags\n\n`internal\u002Finfraimages\u002Frelease_manifest.go` holds the image tags that the\nreleased `claw` binary pulls at runtime. If you don't bump these, users install\nthe new `claw`, run `claw pull` \u002F `claw up`, and still get the **previous**\nrelease's clawdash\u002Fclaw-api\u002Fclaw-wall\u002Fcllama images — the new features in\nthose images are invisible.\n\n```go\nconst (\n    DefaultClawInfraTag  = \"v0.X.Y\"  \u002F\u002F clawdash + claw-api + claw-wall + claw-mcp-stdio (lockstep)\n    DefaultClawAPITag    = DefaultClawInfraTag\n    DefaultClawdashTag   = DefaultClawInfraTag\n    DefaultClawWallTag   = DefaultClawInfraTag\n    DefaultClawMCPStdioTag = DefaultClawInfraTag\n    DefaultCllamaTag     = \"v0.A.B\"\n    DefaultHermesBaseTag = \"v\u003Cupstream>-claw.N\"\n)\n```\n\nDecide which pins to move based on what the release actually touches:\n\n- **Release includes new code in `cmd\u002Fclawdash\u002F`, `cmd\u002Fclaw-api\u002F`,\n  `cmd\u002Fclaw-wall\u002F`, or `cmd\u002Fclaw-mcp-stdio\u002F`** → bump `DefaultClawInfraTag` to the new clawdapus release\n  tag. These images publish in lockstep from the clawdapus tag, so this is\n  a single value.\n- **Release includes new cllama code (submodule moved)** → bump\n  `DefaultCllamaTag` to the cllama release you just cut in Step 2.\n- **Release rebuilds `hermes-base`** → bump `DefaultHermesBaseTag` to the new\n  published image tag. Use an upstream-derived Clawdapus patch tag\n  (`v\u003Cupstream>-claw.N`) when rebuilding against the same Hermes upstream\n  release.\n- **Pure `claw` CLI release (no infra code changes, no submodule move)** →\n  leave the pins at their existing values. The release-prep commit won't touch\n  `release_manifest.go`.\n\nEven if the image code didn't change, the corresponding published tag still\nneeds to exist at the new release version for anything covered by\n`DefaultClawInfraTag`, because the release verifier in\n`scripts\u002Fcheck-release-infra-tags\u002F` checks\n`ghcr.io\u002Fmostlydev\u002F{claw-api,clawdash,claw-wall,claw-mcp-stdio}:\u003Crelease-tag>` exist. That\nprepublish happens in Step 10. The point of Step 7 is to make the released\n`claw` binary actually *use* those tags.\n\n`internal\u002Finfraimages\u002Frelease_manifest_test.go` references the constants by\nname, so the test doesn't need updating. Running `go test .\u002Finternal\u002Finfraimages\u002F...`\nafter the edit still catches typos.\n\n## Step 8: Keep the nav version on the published release\n\nLeave the version string in `site\u002F.vitepress\u002Fconfig.mts` unchanged during\npreparation. Other docs\u002Fsidebar updates may ship, but the version dropdown moves\nonly in the post-release site promotion in Step 12.\n\n## Step 9: Commit and push master first\n\nStage the changed files explicitly — don't use `git add -A`:\n\n```bash\ngit add site\u002Fchangelog.md\n# Stage config.mts only for docs\u002Fsidebar changes; keep its version unchanged.\n# Add runtime infra pin bumps if any were changed in Step 7\ngit add internal\u002Finfraimages\u002Frelease_manifest.go  # only if modified\n# Add any docs sweep changes\ngit add site\u002Fguide\u002Fcli.md README.md  # only if modified\n# Add CLI skill + its embedded mirror if the CLI surface moved\ngit add skills\u002Fclawdapus\u002FSKILL.md cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md  # only if modified\n# Add submodule pointer if cllama moved\ngit add cllama  # only if modified\n```\n\nCommit:\n\n```bash\ngit commit -m \"release: prepare v0.X.Y\n\nPrepare release notes and CLI documentation. Keep site promotion on the\nprevious published release until the new release and assets are available.\"\n```\n\nPush `master` before creating the release tag. The tag workflow's release job\nverifies pinned infra refs immediately, so you need the release-prep commit on\nthe remote default branch before you start tagging.\n\n```bash\ngit push origin master\n```\n\nIf local SSH auth is flaky, switch git to GitHub credential helper and push via\nHTTPS instead:\n\n```bash\ngh auth setup-git\ngit push https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus.git master:master\n```\n\nAfter the push, wait for the `master` workflows you just touched to settle:\n\n```bash\ngh run list --branch master --limit 5\n```\n\nIf the push is rejected because the remote is ahead, pull with rebase and push\n`master` again before doing any tag work:\n\n```bash\ngit pull --rebase origin master\ngit push origin master\n```\n\n## Step 10: Prepublish pinned image refs and verify registry visibility\n\nClawdapus release binaries now hard-fail on missing pinned infra tags. Before\nyou push the release tag, make sure every required image ref exists in ghcr.io.\nThe release workflow checks these refs before goreleaser runs:\n\n- `ghcr.io\u002Fmostlydev\u002Fclaw-api:v0.X.Y`\n- `ghcr.io\u002Fmostlydev\u002Fclawdash:v0.X.Y`\n- `ghcr.io\u002Fmostlydev\u002Fclaw-wall:v0.X.Y`\n- `ghcr.io\u002Fmostlydev\u002Fclaw-mcp-stdio:v0.X.Y`\n- whatever fixed refs are currently pinned in\n  `internal\u002Finfraimages\u002Frelease_manifest.go` (today: `cllama` and\n  `hermes-base`)\n\nThe tag-triggered image workflows for `claw-api`, `clawdash`, `claw-wall`, and `claw-mcp-stdio`\nrun too late to satisfy that verifier. If the versioned refs do not already\nexist, publish them manually before creating the release tag.\n\nPrerequisite: `docker buildx create --name multiarch-builder --use` (one-time\nsetup). Authenticate to ghcr.io: `gh auth token | docker login ghcr.io -u\n\u003Cuser> --password-stdin`.\n\n### cllama\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fcllama:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fcllama:v0.X.Y \\\n  --push cllama\u002F\n```\n\n### clawdash\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclawdash:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclawdash:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclawdash\u002FDockerfile .\n```\n\n### claw-wall\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-wall:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-wall:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclaw-wall\u002FDockerfile .\n```\n\n### claw-api\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-api:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-api:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclaw-api\u002FDockerfile .\n```\n\n### claw-mcp-stdio\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-mcp-stdio:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-mcp-stdio:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclaw-mcp-stdio\u002FDockerfile .\n```\n\n### hermes-base\n\nTagged per upstream Hermes version, not per clawdapus release:\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fhermes-base:v\u003Cupstream>-claw.N \\\n  --push dockerfiles\u002Fhermes-base\u002F\n```\n\nVerify the built image contract before publishing or immediately after pulling\nthe published tag:\n\n```bash\ngo test -tags spike -run '^TestSpikeHermesBaseImageContract$' .\u002Fcmd\u002Fclaw\u002F...\n```\n\n### Verify refs before tagging\n\nRun the release manifest verifier locally before `git tag`:\n\n```bash\ngo run .\u002Fscripts\u002Fcheck-release-infra-tags --release-tag v0.X.Y\n```\n\nDo not stop at the local verifier. If your local Docker client is authenticated\nto ghcr.io, private packages can still appear healthy locally while the public\nrelease workflow or end users fail.\n\nCheck package visibility explicitly for anything newly pushed:\n\n```bash\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclaw-api\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclawdash\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclaw-wall\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclaw-mcp-stdio\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fhermes-base\n```\n\nFor a public package, the JSON should show `\"visibility\":\"public\"`.\n\nFor the package most likely to have just been created, also verify anonymous\npull token issuance:\n\n```bash\ncurl -fsS 'https:\u002F\u002Fghcr.io\u002Ftoken?service=ghcr.io&scope=repository:mostlydev\u002Fhermes-base:pull'\n```\n\nIf GitHub created a new package as private, flip it to public in the GitHub UI\nbefore shipping the release.\n\n## Step 11: Tag and push the release\n\nOnly after `master` is pushed and the pinned refs are public and verifiably\npresent should you create the release tag:\n\n```bash\ngit tag -a v0.X.Y -m \"v0.X.Y\"\ngit push origin refs\u002Ftags\u002Fv0.X.Y\n```\n\nIf local SSH auth is broken, use the same HTTPS fallback:\n\n```bash\ngh auth setup-git\ngit push https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus.git refs\u002Ftags\u002Fv0.X.Y\n```\n\n## Step 12: Verify\n\nAfter pushing the clawdapus tag, confirm the workflows started:\n\n```bash\ngh run list --limit 5\n```\n\nWatch the `Release` workflow through completion:\n\n```bash\ngh run watch \u003Crelease-run-id> --exit-status\n```\n\nThen check the GitHub release object and assets:\n\n```bash\ngh release view v0.X.Y\n```\n\nAlso make sure the tag-triggered `claw-api Image`, `clawdash Image`,\n`claw-wall Image`, and `claw-mcp-stdio Image` workflows finished green. They are confirmation that the CI\npublishing path still works, but they are not the thing the release job\ndepended on.\n\n### Promote the published release on the site\n\nOnly after the GitHub release exists with its required assets published and\nverified, and the tag image workflows are green:\n\n1. Convert the prepared `## Unreleased` notes to the version heading and date:\n\n   ```markdown\n   ## v0.X.Y \u003CBadge type=\"tip\" text=\"Latest\" \u002F> {#v0-X-Y}\n\n   *YYYY-MM-DD*\n   ```\n\n2. Remove the Latest badge from the previous release. Leave exactly one badge,\n   and add a fresh empty `## Unreleased` section above the new entry.\n3. Update the nav dropdown in `site\u002F.vitepress\u002Fconfig.mts` to the published version.\n4. Commit and push these site-only promotion changes to master, then verify the\n   deployed changelog, nav and release links. Do not move or rebuild release tags\n   for this documentation commit.\n\nIf publication or required artifact verification fails, leave the previous\nrelease promoted. A running tag workflow or an unpublished\u002Fdraft release does\nnot satisfy the publication gate.\n\nReport the status to the user with links:\n\n- Release: `https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Freleases\u002Ftag\u002Fv0.X.Y`\n- Site: `https:\u002F\u002Fclawdapus.dev\u002Fchangelog#v0-X-Y`\n\n## Edge cases\n\n- **No commits since last tag**: Tell the user there's nothing to release.\n- **Unreleased section is empty**: Write it from `git log` and PR context.\n- **Multiple missing GitHub releases**: Backfill all of them, oldest first.\n- **Dirty working tree**: Warn the user before starting. Don't mix unrelated\n  changes into the release commit.\n- **User wants to skip backfill**: Ask, don't force it.\n- **Cllama tag exists but no GitHub release**: Backfill the release — the\n  goreleaser pipeline for the clawdapus repo only covers the clawdapus binary,\n  not cllama. Cllama releases are manual.\n- **Docker buildx builder missing**: `docker buildx create --name\n  multiarch-builder --use` before push.\n- **ghcr.io package is private**: After first push of a new package, flip it\n  to public in the GitHub UI. Local `docker manifest inspect` can succeed when\n  your machine is logged in, while the public release workflow or end users\n  still fail.\n- **Release verifier fails even though tag image workflows exist**: expected.\n  The release workflow runs before the tag-triggered image workflows finish.\n  Prepublish the versioned `claw-api`, `clawdash`, and `claw-wall` refs first.\n- **`git push origin master` fails on SSH auth**: run `gh auth setup-git` and\n  push via `https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus.git`.\n- **Rebase moved the tagged commit**: If you had to rebase after tagging, the\n  tag points at the old (pre-rebase) commit. Delete the local tag, re-create\n  it, and force-push just the tag. If goreleaser already created a partial\n  release from the stale tag, delete it, then delete and re-push the remote\n  tag to retrigger:\n  ```bash\n  gh release delete v0.X.Y --yes\n  git push origin :refs\u002Ftags\u002Fv0.X.Y\n  git push origin v0.X.Y\n  ```\n- **Submodule pointer lags the cllama tag**: If the clawdapus submodule points\n  at an untagged cllama commit, bump it to the release tag before cutting the\n  clawdapus release so users running `claw up` against the published\n  clawdapus binary consume a released cllama image.\n- **Release ships but new features don't appear at runtime**: Almost always\n  means Step 7 was skipped. `DefaultClawInfraTag` \u002F `DefaultCllamaTag` in\n  `internal\u002Finfraimages\u002Frelease_manifest.go` still pointed at the previous\n  release's tags, so the new `claw` binary pulled the old images. Fix by\n  cutting a patch release that bumps the pins. The image tags at the new\n  release already exist (Step 10 published them), so no republish is needed —\n  just a follow-up clawdapus release whose release-prep commit moves the\n  constants.\n","# Release\n\nThis skill automates the full release pipeline for Clawdapus. The release\nworkflow is tag-driven: pushing a semver tag on master triggers\n`.github\u002Fworkflows\u002Frelease.yml` (goreleaser builds binaries and creates the\nGitHub release) and `.github\u002Fworkflows\u002Fdeploy-site.yml` deploys the updated\nsite to clawdapus.dev.\n\n`cllama` and the infra Docker images (`cllama`, `clawdash`, `claw-wall`,\n`claw-api`, `hermes-base`) are on separate release cycles with manual steps —\nthis skill covers both sides.\n\nYour job is to prepare everything locally, push the release-prep commit to\n`master`, prepublish whatever pinned images the release verifier needs, then\npush the release tag.\n\n## Step 1: Pre-release sanity checks\n\nBefore touching anything, verify the working tree, auth, and local build:\n\n```bash\n# Clean working tree check\ngit status\n\n# Make sure local tags match GitHub — local tag list can lag badly\ngit fetch --tags\n\n# Auth sanity — releases usually need both gh and docker\u002Fghcr\ngh auth status -t\n\n# Build sanity — goreleaser runs vet + unit tests before publishing\ngo vet .\u002F...\ngo test .\u002F...\n```\n\nIf the working tree is dirty, decide with the user whether those changes are\npart of this release or should be stashed\u002Fcommitted separately. Don't mix\nunrelated changes into the release commit.\n\nIf `go vet` or `go test` fails, stop and fix it — goreleaser will fail too.\n\nIf the release touched runtime docs or image lifecycle behavior, consider\nrunning the heavier repo checks as well:\n\n```bash\ngo test -tags integration .\u002F...\ngo test -tags spike -run TestQuickstartDocsRunInFreshDockerContainer .\u002Fcmd\u002Fclaw\u002F...\n```\n\n## Step 2: Determine cllama coordination\n\nThe `cllama\u002F` submodule has its own tags, GitHub releases, and Docker image\n(`ghcr.io\u002Fmostlydev\u002Fcllama:latest`). If a clawdapus release depends on cllama\nchanges, release cllama FIRST so the submodule pointer references a tagged,\nreleased commit.\n\nCheck whether cllama moved since its last release:\n\n```bash\n# Current submodule pointer\ngit -C cllama rev-parse HEAD\n\n# Latest cllama GitHub release\ngh -R mostlydev\u002Fcllama release list --limit 3\n\n# Latest cllama tag (local + remote)\ngit -C cllama tag --sort=-v:refname | head -3\n\n# Commits since last cllama release on the submodule pointer\ngit -C cllama log \u003Clast-cllama-tag>..HEAD --oneline\n```\n\nDecision tree:\n\n- **No cllama changes since last release** → skip to Step 3.\n- **Submodule moved but all commits are already in a released cllama tag** →\n  skip to Step 3.\n- **Submodule moved past the latest cllama release** → cut a cllama release\n  first (see \"Cllama release sub-workflow\" below), then continue.\n- **A cllama tag exists locally\u002Fremotely but has no GitHub release** → backfill\n  that release (even if you're also cutting a new one) so the GitHub release\n  history matches the tag history.\n\n### Cllama release sub-workflow\n\n1. Pick the next cllama semver (patch \u002F minor) based on the commits.\n2. If not already tagged, tag in the submodule:\n   ```bash\n   git -C cllama tag v0.X.Y\n   git -C cllama push origin v0.X.Y\n   ```\n3. Create the GitHub release with synthesized notes grouped by theme (not raw\n   commit list):\n   ```bash\n   gh -R mostlydev\u002Fcllama release create v0.X.Y \\\n     --title \"v0.X.Y — \u003Cshort headline>\" \\\n     --notes \"$(cat \u003C\u003C'EOF'\n   ## Highlights\n\n   - **Feature** — user-facing description.\n\n   ## Fixes\n\n   - Fix: brief description.\n   EOF\n   )\"\n   ```\n4. Build and push the multi-arch Docker image (see Step 10). Do this BEFORE the\n   clawdapus release so the clawdapus image fallback (`docker pull\n   ghcr.io\u002Fmostlydev\u002Fcllama:latest`) picks up the new image.\n5. Update the submodule pointer in the clawdapus repo if cllama HEAD moved past\n   the tag you just released, then `git add cllama && git commit`.\n\n## Step 3: Determine the clawdapus release version\n\n```bash\n# Latest tag\ngit tag --sort=-v:refname | head -1\n\n# Latest GitHub release\ngh release list --limit 1\n\n# Commits since last tag\ngit log \u003Clatest-tag>..HEAD --oneline\n```\n\nAnalyze the commits and propose a version bump:\n\n- **patch** (0.x.Y) — bug fixes, doc updates, dependency bumps, diagnostic\n  additions, internal refactors\n- **minor** (0.X.0) — new features, new commands, new drivers, capability\n  additions, new pod YAML directives, new CLI flags\n- **major** (X.0.0) — breaking changes (not yet applicable pre-1.0)\n\nPresent the proposed version to the user and wait for confirmation. If the\nuser already specified a version (e.g. \"cut v0.5.0\"), use that.\n\n## Step 4: Backfill missing changelog entries\n\nThe site changelog (`site\u002Fchangelog.md`) may be behind GitHub releases. Check:\n\n```bash\n# Extract version headers already in the changelog\ngrep '^## v' site\u002Fchangelog.md\n\n# Compare against actual GitHub releases\ngh release list --limit 20\n```\n\nFor each release that exists on GitHub but not in the changelog, fetch its\nnotes and the underlying PRs\u002Fissues so you can write user-facing prose:\n\n```bash\ngh release view \u003Ctag> --json tagName,body,publishedAt\ngit log \u003Cprev-tag>..\u003Ctag> --oneline\n```\n\nInsert synthesized entries in descending order between \"Unreleased\" and the\nmost recent existing entry. Use the same style as existing entries:\n\n```markdown\n## v0.X.Y {#v0-X-Y}\n\n*YYYY-MM-DD*\n\n- **Feature name** — concise description of what changed and why it matters.\n- Fix: brief description of bug fix.\n```\n\nDon't just dump commit hashes — synthesize user-facing prose grouped by theme.\nPull context from referenced PRs\u002Fissues (`gh pr view N`, `gh issue view N`)\nwhen the commit message alone doesn't explain the \"why\".\n\n## Step 5: Prepare the release notes without promoting the site\n\nPrepare the new release notes in `## Unreleased`, using commits and PRs\u002Fissues\nsince the last tag. Keep that heading until the GitHub release and its required\nassets are published and verified. The release tag may therefore still contain\nan Unreleased section; the post-release site commit records the published version.\n\nKeep the Latest badge on the previous published release. Do not move it or the\nnav version during release preparation. `AGENTS.md` is canonical: master\u002Fsite\npushes deploy immediately, and pushing master and a tag back to back does not\nprevent the site from becoming available before the GitHub release.\n\nThe version heading, date, anchor and badge are added in the post-release site\npromotion in Step 12, not in this preparation step.\n\n### Keep entries deployment-agnostic\n\nDo **not** name specific deployments or their agents in the changelog. Clawdapus\nis a general tool; downstream deployments (Tiverton, the trading desk pod,\nindividual claws like Boulton\u002FLogan\u002FWestin\u002Fetc.) are use cases. Describe the\nsymptom and the fix generically — \"Hermes runners\", \"Anthropic-format runners\",\n\"Discord-channel-consuming agents\", \"production deployments\", \"downstream\noperators\". The internal investigation that surfaced the bug (talking-stick\nrooms, private repos, agent memory) is where deployment-specific context lives.\nThe same rule applies to GitHub release notes, public issue comments, and\ngenerated docs. Leave historical entries alone unless the maintainer explicitly\nasks for a rewrite, but never add a new entry that names a downstream\ndeployment.\n\n## Step 6: Docs sweep\n\nRelease changes often ripple into non-changelog docs. Sweep each of these:\n\n### CLI reference — `site\u002Fguide\u002Fcli.md`\n\nIf the release added, removed, or modified anything observable via the CLI,\nupdate the reference. Check every change category:\n\n- **New subcommands or flags** — add a new section or update the flags table\n- **Changed default behavior** — update the \"What it does\" description\n- **New JSON output fields** in `claw audit`, `claw inspect`, `claw ps`,\n  `claw health`, `claw doctor` — document them\n- **New error conditions or exit codes** — add to the command's description\n- **Removed\u002Frenamed things** — remove or rename in the docs\n\nGrep for anything that looks stale:\n\n```bash\n# Find doc references to CLI flags\u002Fsubcommands affected by the release\ngrep -n '\u003Cflag-or-command>' site\u002Fguide\u002Fcli.md\n```\n\n### Clawdapus CLI skill — `skills\u002Fclawdapus\u002FSKILL.md`\n\nThis file is the canonical CLI skill that Claude agents load when they help\nusers with `claw`. It is embedded into the `claw` binary via `go:embed` (the\nmirror at `cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md` is regenerated from it) and it also\nseeds the `clawdapus-cli` skill that users install into their\n`~\u002F.claude\u002Fskills\u002F`. Any CLI surface change that alters the user-visible\nbehavior of `claw` needs to be reflected here, otherwise every agent using\nthe skill will give out-of-date guidance.\n\nUpdate whenever the release changes:\n\n- **The CLI command list** — the top-level table of subcommands (`claw pull`,\n  `claw up`, `claw compose`, etc.). Add new commands; remove deleted ones.\n- **Flag behavior** on any covered command.\n- **Pod YAML directives** the skill references (`x-claw.cllama`,\n  `x-claw.surfaces`, feed subscription syntax, etc.).\n- **Runtime artifacts** the skill describes (`compose.generated.yml`,\n  `.claw-runtime\u002F...`, `CLAWDAPUS.md`, `AGENTS.generated.md` layout).\n- **New first-class capabilities** the skill should teach agents about (new\n  drivers, new observability endpoints, new skill\u002Ffeed mechanisms).\n\nAfter editing, regenerate the embedded mirror so both copies stay in sync:\n\n```bash\ngo generate .\u002Fcmd\u002Fclaw\u002F...\ngit diff cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md   # should mirror your skills\u002Fclawdapus\u002FSKILL.md edits\n```\n\nCommit both files together in the release-prep commit. `cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md`\nis a tracked mirror — if it's left stale, `go vet` and goreleaser's prehooks\nwill still pass locally but users who install the skill via the embedded\nartifact will get the old content.\n\nGrep for freshness:\n\n```bash\n# Commands or flags mentioned in the CLI reference but not in the skill\ndiff \u003C(grep -oE 'claw [a-z-]+( [a-z-]+)?' site\u002Fguide\u002Fcli.md | sort -u) \\\n     \u003C(grep -oE 'claw [a-z-]+( [a-z-]+)?' skills\u002Fclawdapus\u002FSKILL.md | sort -u)\n```\n\nThe per-user global copy at `~\u002F.claude\u002Fskills\u002Fclawdapus-cli\u002FSKILL.md` is\nNOT updated by the release — it's a local convenience copy that users\nre-install after the release lands. The release commit only touches the\nrepo-canonical `skills\u002Fclawdapus\u002FSKILL.md` and its embedded mirror.\n\n### README — `README.md`\n\nPatch releases rarely need README changes. Minor\u002Fmajor releases often do.\nCheck:\n\n- Quickstart commands still accurate (flags, image names, example paths)\n- Feature list \u002F supported drivers list reflects reality\n- Version numbers mentioned anywhere (installer, docker image tags)\n\n### Manifesto — `site\u002Fmanifesto.md` and root `MANIFESTO.md`\n\nUpdate only when a release changes the project's scope, vision, or core\nmechanics (compiled tools, memory plane, fleet governance, etc.). Most\npatch releases leave this untouched.\n\n### Guide pages — `site\u002Fguide\u002F*.md`\n\nNew features often need a new guide page or updates to an existing one:\n\n- New pod YAML directive → update `claw-pod-yml.md` or similar\n- New capability (tools, memory, schedule, surfaces) → may need dedicated page\n- ADRs in `docs\u002Fdecisions\u002F` → link from the relevant guide page if the ADR\n  changes user-visible behavior\n\n### Other locations to grep\n\n```bash\n# Find version references that might need bumping\ngrep -rn \"v0\\.X\\.Y\" site\u002F README.md examples\u002F --include='*.md' --include='*.mts'\n```\n\n(Package-lock files, go.sum, and generated artifacts are noise — filter them\nout.)\n\n## Step 7: Bump pinned runtime infra image tags\n\n`internal\u002Finfraimages\u002Frelease_manifest.go` holds the image tags that the\nreleased `claw` binary pulls at runtime. If you don't bump these, users install\nthe new `claw`, run `claw pull` \u002F `claw up`, and still get the **previous**\nrelease's clawdash\u002Fclaw-api\u002Fclaw-wall\u002Fcllama images — the new features in\nthose images are invisible.\n\n```go\nconst (\n    DefaultClawInfraTag  = \"v0.X.Y\"  \u002F\u002F clawdash + claw-api + claw-wall + claw-mcp-stdio (lockstep)\n    DefaultClawAPITag    = DefaultClawInfraTag\n    DefaultClawdashTag   = DefaultClawInfraTag\n    DefaultClawWallTag   = DefaultClawInfraTag\n    DefaultClawMCPStdioTag = DefaultClawInfraTag\n    DefaultCllamaTag     = \"v0.A.B\"\n    DefaultHermesBaseTag = \"v\u003Cupstream>-claw.N\"\n)\n```\n\nDecide which pins to move based on what the release actually touches:\n\n- **Release includes new code in `cmd\u002Fclawdash\u002F`, `cmd\u002Fclaw-api\u002F`,\n  `cmd\u002Fclaw-wall\u002F`, or `cmd\u002Fclaw-mcp-stdio\u002F`** → bump `DefaultClawInfraTag` to the new clawdapus release\n  tag. These images publish in lockstep from the clawdapus tag, so this is\n  a single value.\n- **Release includes new cllama code (submodule moved)** → bump\n  `DefaultCllamaTag` to the cllama release you just cut in Step 2.\n- **Release rebuilds `hermes-base`** → bump `DefaultHermesBaseTag` to the new\n  published image tag. Use an upstream-derived Clawdapus patch tag\n  (`v\u003Cupstream>-claw.N`) when rebuilding against the same Hermes upstream\n  release.\n- **Pure `claw` CLI release (no infra code changes, no submodule move)** →\n  leave the pins at their existing values. The release-prep commit won't touch\n  `release_manifest.go`.\n\nEven if the image code didn't change, the corresponding published tag still\nneeds to exist at the new release version for anything covered by\n`DefaultClawInfraTag`, because the release verifier in\n`scripts\u002Fcheck-release-infra-tags\u002F` checks\n`ghcr.io\u002Fmostlydev\u002F{claw-api,clawdash,claw-wall,claw-mcp-stdio}:\u003Crelease-tag>` exist. That\nprepublish happens in Step 10. The point of Step 7 is to make the released\n`claw` binary actually *use* those tags.\n\n`internal\u002Finfraimages\u002Frelease_manifest_test.go` references the constants by\nname, so the test doesn't need updating. Running `go test .\u002Finternal\u002Finfraimages\u002F...`\nafter the edit still catches typos.\n\n## Step 8: Keep the nav version on the published release\n\nLeave the version string in `site\u002F.vitepress\u002Fconfig.mts` unchanged during\npreparation. Other docs\u002Fsidebar updates may ship, but the version dropdown moves\nonly in the post-release site promotion in Step 12.\n\n## Step 9: Commit and push master first\n\nStage the changed files explicitly — don't use `git add -A`:\n\n```bash\ngit add site\u002Fchangelog.md\n# Stage config.mts only for docs\u002Fsidebar changes; keep its version unchanged.\n# Add runtime infra pin bumps if any were changed in Step 7\ngit add internal\u002Finfraimages\u002Frelease_manifest.go  # only if modified\n# Add any docs sweep changes\ngit add site\u002Fguide\u002Fcli.md README.md  # only if modified\n# Add CLI skill + its embedded mirror if the CLI surface moved\ngit add skills\u002Fclawdapus\u002FSKILL.md cmd\u002Fclaw\u002Fskill_data\u002FSKILL.md  # only if modified\n# Add submodule pointer if cllama moved\ngit add cllama  # only if modified\n```\n\nCommit:\n\n```bash\ngit commit -m \"release: prepare v0.X.Y\n\nPrepare release notes and CLI documentation. Keep site promotion on the\nprevious published release until the new release and assets are available.\"\n```\n\nPush `master` before creating the release tag. The tag workflow's release job\nverifies pinned infra refs immediately, so you need the release-prep commit on\nthe remote default branch before you start tagging.\n\n```bash\ngit push origin master\n```\n\nIf local SSH auth is flaky, switch git to GitHub credential helper and push via\nHTTPS instead:\n\n```bash\ngh auth setup-git\ngit push https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus.git master:master\n```\n\nAfter the push, wait for the `master` workflows you just touched to settle:\n\n```bash\ngh run list --branch master --limit 5\n```\n\nIf the push is rejected because the remote is ahead, pull with rebase and push\n`master` again before doing any tag work:\n\n```bash\ngit pull --rebase origin master\ngit push origin master\n```\n\n## Step 10: Prepublish pinned image refs and verify registry visibility\n\nClawdapus release binaries now hard-fail on missing pinned infra tags. Before\nyou push the release tag, make sure every required image ref exists in ghcr.io.\nThe release workflow checks these refs before goreleaser runs:\n\n- `ghcr.io\u002Fmostlydev\u002Fclaw-api:v0.X.Y`\n- `ghcr.io\u002Fmostlydev\u002Fclawdash:v0.X.Y`\n- `ghcr.io\u002Fmostlydev\u002Fclaw-wall:v0.X.Y`\n- `ghcr.io\u002Fmostlydev\u002Fclaw-mcp-stdio:v0.X.Y`\n- whatever fixed refs are currently pinned in\n  `internal\u002Finfraimages\u002Frelease_manifest.go` (today: `cllama` and\n  `hermes-base`)\n\nThe tag-triggered image workflows for `claw-api`, `clawdash`, `claw-wall`, and `claw-mcp-stdio`\nrun too late to satisfy that verifier. If the versioned refs do not already\nexist, publish them manually before creating the release tag.\n\nPrerequisite: `docker buildx create --name multiarch-builder --use` (one-time\nsetup). Authenticate to ghcr.io: `gh auth token | docker login ghcr.io -u\n\u003Cuser> --password-stdin`.\n\n### cllama\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fcllama:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fcllama:v0.X.Y \\\n  --push cllama\u002F\n```\n\n### clawdash\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclawdash:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclawdash:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclawdash\u002FDockerfile .\n```\n\n### claw-wall\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-wall:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-wall:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclaw-wall\u002FDockerfile .\n```\n\n### claw-api\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-api:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-api:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclaw-api\u002FDockerfile .\n```\n\n### claw-mcp-stdio\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-mcp-stdio:latest \\\n  -t ghcr.io\u002Fmostlydev\u002Fclaw-mcp-stdio:v0.X.Y \\\n  --push \\\n  -f dockerfiles\u002Fclaw-mcp-stdio\u002FDockerfile .\n```\n\n### hermes-base\n\nTagged per upstream Hermes version, not per clawdapus release:\n\n```bash\ndocker buildx build \\\n  --platform linux\u002Famd64,linux\u002Farm64 \\\n  -t ghcr.io\u002Fmostlydev\u002Fhermes-base:v\u003Cupstream>-claw.N \\\n  --push dockerfiles\u002Fhermes-base\u002F\n```\n\nVerify the built image contract before publishing or immediately after pulling\nthe published tag:\n\n```bash\ngo test -tags spike -run '^TestSpikeHermesBaseImageContract$' .\u002Fcmd\u002Fclaw\u002F...\n```\n\n### Verify refs before tagging\n\nRun the release manifest verifier locally before `git tag`:\n\n```bash\ngo run .\u002Fscripts\u002Fcheck-release-infra-tags --release-tag v0.X.Y\n```\n\nDo not stop at the local verifier. If your local Docker client is authenticated\nto ghcr.io, private packages can still appear healthy locally while the public\nrelease workflow or end users fail.\n\nCheck package visibility explicitly for anything newly pushed:\n\n```bash\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclaw-api\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclawdash\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclaw-wall\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fclaw-mcp-stdio\ngh api \u002Fusers\u002Fmostlydev\u002Fpackages\u002Fcontainer\u002Fhermes-base\n```\n\nFor a public package, the JSON should show `\"visibility\":\"public\"`.\n\nFor the package most likely to have just been created, also verify anonymous\npull token issuance:\n\n```bash\ncurl -fsS 'https:\u002F\u002Fghcr.io\u002Ftoken?service=ghcr.io&scope=repository:mostlydev\u002Fhermes-base:pull'\n```\n\nIf GitHub created a new package as private, flip it to public in the GitHub UI\nbefore shipping the release.\n\n## Step 11: Tag and push the release\n\nOnly after `master` is pushed and the pinned refs are public and verifiably\npresent should you create the release tag:\n\n```bash\ngit tag -a v0.X.Y -m \"v0.X.Y\"\ngit push origin refs\u002Ftags\u002Fv0.X.Y\n```\n\nIf local SSH auth is broken, use the same HTTPS fallback:\n\n```bash\ngh auth setup-git\ngit push https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus.git refs\u002Ftags\u002Fv0.X.Y\n```\n\n## Step 12: Verify\n\nAfter pushing the clawdapus tag, confirm the workflows started:\n\n```bash\ngh run list --limit 5\n```\n\nWatch the `Release` workflow through completion:\n\n```bash\ngh run watch \u003Crelease-run-id> --exit-status\n```\n\nThen check the GitHub release object and assets:\n\n```bash\ngh release view v0.X.Y\n```\n\nAlso make sure the tag-triggered `claw-api Image`, `clawdash Image`,\n`claw-wall Image`, and `claw-mcp-stdio Image` workflows finished green. They are confirmation that the CI\npublishing path still works, but they are not the thing the release job\ndepended on.\n\n### Promote the published release on the site\n\nOnly after the GitHub release exists with its required assets published and\nverified, and the tag image workflows are green:\n\n1. Convert the prepared `## Unreleased` notes to the version heading and date:\n\n   ```markdown\n   ## v0.X.Y \u003CBadge type=\"tip\" text=\"Latest\" \u002F> {#v0-X-Y}\n\n   *YYYY-MM-DD*\n   ```\n\n2. Remove the Latest badge from the previous release. Leave exactly one badge,\n   and add a fresh empty `## Unreleased` section above the new entry.\n3. Update the nav dropdown in `site\u002F.vitepress\u002Fconfig.mts` to the published version.\n4. Commit and push these site-only promotion changes to master, then verify the\n   deployed changelog, nav and release links. Do not move or rebuild release tags\n   for this documentation commit.\n\nIf publication or required artifact verification fails, leave the previous\nrelease promoted. A running tag workflow or an unpublished\u002Fdraft release does\nnot satisfy the publication gate.\n\nReport the status to the user with links:\n\n- Release: `https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Freleases\u002Ftag\u002Fv0.X.Y`\n- Site: `https:\u002F\u002Fclawdapus.dev\u002Fchangelog#v0-X-Y`\n\n## Edge cases\n\n- **No commits since last tag**: Tell the user there's nothing to release.\n- **Unreleased section is empty**: Write it from `git log` and PR context.\n- **Multiple missing GitHub releases**: Backfill all of them, oldest first.\n- **Dirty working tree**: Warn the user before starting. Don't mix unrelated\n  changes into the release commit.\n- **User wants to skip backfill**: Ask, don't force it.\n- **Cllama tag exists but no GitHub release**: Backfill the release — the\n  goreleaser pipeline for the clawdapus repo only covers the clawdapus binary,\n  not cllama. Cllama releases are manual.\n- **Docker buildx builder missing**: `docker buildx create --name\n  multiarch-builder --use` before push.\n- **ghcr.io package is private**: After first push of a new package, flip it\n  to public in the GitHub UI. Local `docker manifest inspect` can succeed when\n  your machine is logged in, while the public release workflow or end users\n  still fail.\n- **Release verifier fails even though tag image workflows exist**: expected.\n  The release workflow runs before the tag-triggered image workflows finish.\n  Prepublish the versioned `claw-api`, `clawdash`, and `claw-wall` refs first.\n- **`git push origin master` fails on SSH auth**: run `gh auth setup-git` and\n  push via `https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus.git`.\n- **Rebase moved the tagged commit**: If you had to rebase after tagging, the\n  tag points at the old (pre-rebase) commit. Delete the local tag, re-create\n  it, and force-push just the tag. If goreleaser already created a partial\n  release from the stale tag, delete it, then delete and re-push the remote\n  tag to retrigger:\n  ```bash\n  gh release delete v0.X.Y --yes\n  git push origin :refs\u002Ftags\u002Fv0.X.Y\n  git push origin v0.X.Y\n  ```\n- **Submodule pointer lags the cllama tag**: If the clawdapus submodule points\n  at an untagged cllama commit, bump it to the release tag before cutting the\n  clawdapus release so users running `claw up` against the published\n  clawdapus binary consume a released cllama image.\n- **Release ships but new features don't appear at runtime**: Almost always\n  means Step 7 was skipped. `DefaultClawInfraTag` \u002F `DefaultCllamaTag` in\n  `internal\u002Finfraimages\u002Frelease_manifest.go` still pointed at the previous\n  release's tags, so the new `claw` binary pulled the old images. Fix by\n  cutting a patch release that bumps the pins. The image tags at the new\n  release already exist (Step 10 published them), so no republish is needed —\n  just a follow-up clawdapus release whose release-prep commit moves the\n  constants.\n",{"name":5,"description":7},"master","70f34dd2c6092cbdfc65e4e4e081ec7208a6ff12","skills\u002Frelease","https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus","http:\u002F\u002Fclawdapus.dev\u002F","https:\u002F\u002Fgithub.com\u002Fmostlydev","Husband, father, runner, biker, full stack dev.","2026-11-12 09:12:16",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add mostlydev\u002Fclawdapus --skill clawdapus-release",{"tool":58,"command":59},"bunx","bunx skills add mostlydev\u002Fclawdapus --skill clawdapus-release",{"tool":61,"command":62},"pnpm","pnpm dlx skills add mostlydev\u002Fclawdapus --skill clawdapus-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Fblob\u002Fmaster\u002Fskills\u002Frelease\u002FSKILL.md",true,[],[67,88,105,118],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M6CHTNVRZSEAWT6216W53ZJK","clawdapus-cli","Use when working with the claw CLI, Clawfiles, claw-pod.yml, cllama proxy, or deploying AI agent containers with Clawdapus. Use when you see CLAW_TYPE, AGENT, MODEL, CLLAMA, CONFIGURE, INVOKE, SURFACE, HANDLE, TRACK, SKILL, or PRIVILEGE directives. Use when diagnosing agent startup failures, credential starvation, config injection, governance proxy issues, managed tool mediation, or memory plane problems.","https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Fblob\u002Fmaster\u002Fskills\u002Fclawdapus\u002FSKILL.md",[],[74,38,75,76,77,78,79,80,81,82,83,84,85,26,86,35,87],"clawdapus cli","startup","model","memory","issues","ai agent","configure","config","injection","proxy","containers","tool","governance","credential",{"skillNo":89,"name":69,"nameZh":90,"description":70,"descriptionZh":91,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":104,"publishedAt":39},"01M6CHTJD42EA04MTPMBQ4Y1KW","Clawdapus CLI 容器部署运维","在使用 claw CLI、Clawfiles、claw-pod.yml、cllama proxy 或通过 Clawdapus 部署 AI 智能体容器时使用。当看到 CLAW_TYPE、AGENT、MODEL、CLLAMA、CONFIGURE、INVOKE、SURFACE、HANDLE、TRACK、SKILL 或 PRIVILEGE 指令时使用。在诊断智能体启动失败、凭证耗尽、配置注入、治理代理问题、托管工具中介或记忆平面问题时使用。","https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Fblob\u002Fmaster\u002Fcmd\u002Fclaw\u002Fskill_data\u002FSKILL.md",[94,99],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[74,38,75,87,35,86,26,85,84,83,82,81,80,79,78,77,76],{"skillNo":106,"name":5,"nameZh":107,"description":6,"descriptionZh":108,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":117,"publishedAt":39},"01M6CHTG6S1AV0B5087N60V5GJ","Clawdapus 发布管理","","https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fclawdapus-release\u002FSKILL.md",[111,114],{"categoryNo":112,"categoryName":113,"taxonomyType":102,"taxonomyTypeDesc":103},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":115,"categoryName":116,"taxonomyType":97,"taxonomyTypeDesc":98},"01M8C78XMS93X21V52649FP9VH","发布经理",[20,19],{"skillNo":119,"name":69,"nameZh":120,"description":6,"descriptionZh":108,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":129,"publishedAt":39},"01M6CHTEQ89FE6WXCCJ22ZJXMP","clawdapus CLI 工具","https:\u002F\u002Fgithub.com\u002Fmostlydev\u002Fclawdapus\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fclawdapus-cli\u002FSKILL.md",[123,126],{"categoryNo":124,"categoryName":125,"taxonomyType":97,"taxonomyTypeDesc":98},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":127,"categoryName":128,"taxonomyType":102,"taxonomyTypeDesc":103},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[38,74]]