/sero-mem:version-bumpfrom sero-mem
Maintainer release workflow for the thedotmack/sero-mem repository only. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. npm publishing is done by the tag-triggered GitHub Actions workflow through npm trusted publishing. Does not apply to any other repository or npm package.
Ships in sero-mem. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
IMPORTANT: Plan and write detailed release notes before starting.
Include the pending Unreleased section at the top of docs/CHANGELOG.md in the next GitHub release notes; remove that section after those notes are published, before regenerating the changelog.
CRITICAL: Commit EVERYTHING (including build artifacts). At the end of this workflow, NOTHING should be left uncommitted or unpushed. Run git status at the end to verify.
This workflow is for one repository and one npm package: thedotmack/sero-mem,
published as sero-mem. It is not a general release recipe. Do not adapt any
step of it to another repository or package.
Before doing anything else, run:
git remote get-url origin # must be github.com/thedotmack/sero-mem(.git)
node -p "require('./package.json').name" # must print sero-mem
If either check fails, stop and tell the user this skill does not apply here.
Analyze: Determine if the change is PATCH (bug fixes), MINOR (features), or MAJOR (breaking).
Environment: The repository is thedotmack/sero-mem, confirmed by the scope check above.
Paths — every file that carries the version string:
package.json — the npm/npx-published version (npx [email protected] resolves from this)plugin/package.json — bundled plugin runtime deps.claude-plugin/marketplace.json — version inside plugins[0].version.claude-plugin/plugin.json — top-level Claude-plugin manifestplugin/.claude-plugin/plugin.json — bundled Claude-plugin manifest.codex-plugin/plugin.json — Codex-plugin manifestplugin/.codex-plugin/plugin.json — bundled Codex-plugin manifestplugin/.devin-plugin/plugin.json — bundled Devin plugin manifest.qoder-plugin/plugin.json — Qoder plugin manifestplugin/.qoder-plugin/plugin.json — bundled Qoder plugin manifestopenclaw/openclaw.plugin.json — OpenClaw plugin manifest.grok-plugin/plugin.json — Grok plugin manifestsero-mem-cursor/.cursor-plugin/plugin.json — Cursor plugin manifestsero-mem-grok-bot/.cursor-plugin/plugin.json — Grok Bot Cursor plugin manifestdsh/package.json — bundled DSH plugin packageREADME.md — the version badge (version-X.Y.Z-green), not a "version" keyVerify coverage before editing: git grep -l "\"version\": \"<OLD>\"" should list the fifteen JSON files above, and git grep -n "version-<OLD>-green" the README badge. If a new manifest has been added since this doc was last updated, update this list.
docs/CHANGELOG.md are regenerated; only move pending Unreleased notes as described above.git grep -n "\"version\": \"<NEW>\"" — confirm all fifteen JSON files match, and the README badge reads version-<NEW>-green. git grep -n "\"version\": \"<OLD>\"" — should return zero hits.npm run build-and-sync to regenerate artifacts, sync the local marketplace copy, restart the worker, and clear the queue. Do not use plain npm run build for release validation because it can leave the local marketplace/worker out of sync.git add -A && git commit -m "chore: bump version to X.Y.Z".git tag -a vX.Y.Z -m "Version X.Y.Z".git push origin main && git push origin vX.Y.Z.gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES".npm run changelog:generate
(Runs node scripts/generate-changelog.js, which pulls releases from the GitHub API and rewrites docs/CHANGELOG.md.)docs/CHANGELOG.md.vX.Y.Z tag triggers
.github/workflows/npm-publish.yml, which builds, runs the clean-room smoke
and publishes through npm trusted publishing (GitHub OIDC), so it needs no
npm token. Watch the run:
gh run list --workflow npm-publish.yml --branch vX.Y.Z # tag runs report the tag as their branch
gh run watch <run-id> --exit-status
Do not run npm publish locally, even if a local npm login works: the
workflow is the only publish path, and only it attaches provenance.
If the run fails, read the failing step with gh run view <run-id> --log-failed.
A transient failure (network, registry outage) is re-run with
gh run rerun <run-id>; a re-run builds the same tagged commit, so a fix in
the code or workflow ships through a PR and the next patch release instead.
Never move or recreate a pushed tag.
The trusted publisher lives on npmjs.com → sero-mem → Settings →
Trusted Publisher (GitHub Actions, thedotmack/sero-mem, npm-publish.yml,
npm publish allowed). Renaming the workflow file breaks publishing until
that entry is updated; changing it requires the maintainer's security key.npm view [email protected] version
npm view sero-mem dist-tags.latest
npm view [email protected] dist.attestations --json # provenance from the workflow
releases/promoted-release.json on main names
the version sero-mem's own updater moves installs to. Promote, hold and
pull back control only that updater: installs where Claude Code's own
auto-update for this marketplace is on follow main instead, so a bad
release that reached main is fixed with a new patch release. Do this step
only after npm verification.
main has moved since the release push:
git pull --rebase origin main
# set "promotedVersion" in releases/promoted-release.json to "X.Y.Z"
bun test tests/infrastructure/promoted-release.test.ts
git add releases/promoted-release.json
git commit -m "chore: promote X.Y.Z for auto-update"
git push origin HEAD:main
If the push is rejected because main moved again (git reports
non-fast-forward or fetch first), run git pull --rebase origin main
and push again. Most installs update within about a day; a machine that
is never quiet updates within about two days.promotedVersion to the last good
version (find it with git log -p -- releases/promoted-release.json) and
push it with the same commands. Installs below it still move up to it.
Installs already on the bad version stay there until a newer version is
promoted. Nothing is downgraded.@Claude_Memory.
If no browser is logged in, or the account is a different one, skip the
post and say so in the release report. Never sign in or switch accounts.git status — working tree must be clean and everything must
be pushed.git grep for old version returns zero hitsnpm run build-and-sync succeededdocs/CHANGELOG.md updated and pushedPublish to npm workflow run for the tag succeeded (no local npm publish)latest both verified after publishingreleases/promoted-release.json set to X.Y.Z and pushed to main after npm verification (or the owner's hold stated in the release report)@Claude_Memory with a generated image after npm verification (or skipped because no browser was logged in as that account)git status shows clean treeWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
30 skills in this plugin
/agent-cost-reportBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json./babysitWatch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved./backup-setupSet up, check, or restore local sero-mem database snapshots. Use when the user says "set up backups", "back up my memories", "backup status", or "restore my database"./buildFully automate a coding task with make-plan, do, and babysit./build-and-releaseFully automate building and releasing a coding task./ccs-alignRun the CCS Align seat's hourly breathing cycle — prove the local sero-mem worker is healthy, pull needle observations through search → timeline → get_observations, land them in a seat-owned middle cache via atomic grab → append → filter exclude-marks → replace, manage exclude marks, and walk house → project → seat rules to detect conflicts (SHADOW_HOUSE, DENY_ALLOW, DRIFT, CLOCK_HEADER) with an append-only rules-report.md. Use when asked to run CCS Align, breathe the alignment seat, refresh the middle cache, exclude or restore an observation, walk rules, check rules conflicts, or check the Worker Watch board.npx claudepluginhub benkays/sero-mem --plugin claude-mem