Skip to content
Agent Memory
Command

/release

Prepare a release by updating docs and bumping the version.

From plugin
mulch
3404 skills4 commands

Command definition

release.md
name: release

intro

Prepare a release by updating docs and bumping the version.

User specified: $ARGUMENTS

Steps

1. Analyze changes since last release

  • Run `git log --oneline` to find the last version tag/release commit
  • Run `git diff --stat <last-release>..HEAD` to see all changed files
  • Read the commit messages to understand what was added, fixed, and changed
  • Run `npm test` to get the current test count, file count, and expect() count

2. Determine version bump

  • If the user specified `major`, `minor`, or `patch` above, use that
  • Default: `patch` if nothing was specified
  • Current version is in `package.json` (`"version"` field) and `src/cli.ts` (`.version()` call)

3. Bump version

Run: `bun run version:bump <major|minor|patch>`

This atomically updates both `package.json` and `src/cli.ts`.

4. Update CHANGELOG.md

  • Add a new `## [X.Y.Z] - YYYY-MM-DD` section under `## [Unreleased]`
  • Categorize changes into `### Added`, `### Fixed`, `### Changed` subsections
  • Use sub-headers (####) for grouping related changes (e.g., "New CLI Commands", "Testing")
  • Include updated test counts (tests, files, expect() calls)
  • Update the comparison links at the bottom of the file:
  • `[Unreleased]` link should compare against the new version
  • Add a new link for the new version comparing against the previous

5. Update CLAUDE.md

  • Update command counts if new commands were added
  • Add new files to the directory structure listing
  • Update any descriptions that changed (e.g., file format migrations)
  • Keep the structure consistent with existing entries

6. Update README.md

  • Update test counts in the Tech Stack and Development sections
  • Update command counts in the Project Structure section
  • Add new CLI commands/flags to the CLI Reference section
  • Update architecture descriptions if features changed
  • Add new files to the Project Structure listing

7. Update CONFIG.md

CONFIG.md is the user-facing reference for every configuration surface Mulch exposes (the `.mulch/mulch.config.yaml` schema, hooks, custom types, decay, recipes, CLI flags). Releases that touch any of these MUST update it; if nothing relevant changed, say so explicitly in the summary so it's a deliberate choice, not an oversight.

Check whether this release touched any of:

  • `src/schemas/config.ts` / `src/schemas/config-schema.ts` — new/removed/renamed config keys, default changes
  • `src/schemas/record.ts` / `src/schemas/record-schema.ts` — new base-record fields, type changes
  • `src/registry/` — built-in type definitions, `extends`/`disabled_types`/`aliases` semantics
  • `src/utils/hooks.ts` — new hook events, payload shape changes, timeout/env contract
  • `src/utils/domain-rules.ts` — per-domain rule semantics
  • `src/commands/prune.ts` — decay knobs, demotion ladder, archive behavior
  • `src/commands/setup.ts` / `src/utils/recipe-discovery.ts` — built-in recipes added/removed, discovery order, `ProviderRecipe` shape
  • `src/cli.ts` — new global flags or top-level commands
  • `src/utils/runtime-flags.ts` — `--allow-*` escape hatches

For each relevant change:

  • Update the matching section in Part 1 (Admin) or Part 2 (IC).
  • Update the alphabetical config-key index in Appendix A.
  • Update the hook event quick reference (Appendix B) if hooks changed.
  • Update the CLI flags table (Appendix C) if flags changed.
  • Update the file path reference (Appendix D) if `.mulch/` layout changed.
  • Update the version banner at the very top (`v0.X.Y`).

Removed config keys or types: leave them out of the doc entirely (CONFIG.md is reference, not changelog). The CHANGELOG entry covers the removal.

8. Commit and present summary

  • Commit all changes with a message like "release: vX.Y.Z"
  • Show a summary of all changes made
  • List the version bump (old -> new)
  • Summarize what was documented in the changelog
Read more
@jayminwest
Ships withmulch

Structured expertise management for AI agent workflows. Agents start every session from zero. The pattern your agent discovered yesterday is forgotten today. Mulch fixes this: agents call ml record to write learnings, and ml query to read them.

Stars on GitHub

Momentum

stars in total
340
Star history of jayminwest/mulch on GitHub, a chart by star-history.com

Other commands on mulch.

issue-reviews

issue-reviews

Command

Review open GitHub issues for priority, feasibility, project alignment, and risks.

@jayminwest@jayminwestInstall Command
pr-reviews

pr-reviews

Command

Review open pull requests for code quality, project alignment, and risks.

@jayminwest@jayminwestInstall Command
prioritize

prioritize

Command

Analyze all open issues across GitHub Issues and Seeds, cross-reference with codebase health, and recommend the top ~5 issues to…

@jayminwest@jayminwestInstall Command

More commands from other plugins.

mempalace-audit

mempalace-audit

Command

Score how well organized your memory palace is, then run a guided repair session — one decision at a time.

@mempalace@mempalaceInstall Command
plan-to-beads

plan-to-beads

Command

Convert a Claude Code plan file into beads epic + tasks for cross-session tracking.

beads5d29k
@gastownhall@gastownhallInstall Command