v0.33.0 — kit rules stay current on every upgrade
Consumers must act once. Run claude plugin update marvin, restart Claude Code, then run /marvin:upgrade-agent-os and confirm the one-time split of your CLAUDE.md when it asks (upgrades/v0.33.0.md). After that, no upgrade ever needs a hand edit of CLAUDE.md again.
Until now the kit's rules were merged into each project's CLAUDE.md, and that file is never refreshed — so every always-on rule change needed a manual re-sync, and a plugin update without the upgrade skill left a project silently running old rules. That is how the v0.31.0 user-update formats went unseen in an upgraded project.
Kit rules live in a kit-owned file. .marvin/CLAUDE.marvin.md holds the kit's core rules; your CLAUDE.md keeps your project facts, conventions, attribution line and own rules, and ends with @.marvin/CLAUDE.marvin.md, which Claude Code loads at session start. Every upgrade refreshes the kit file like any other guide, backing up a customised copy. Model names come straight from the plugin's model profile; the issue-log path from .marvin/PROJECT-INFO.md.
A one-time, confirmed split. The first upgrade to this version separates kit lines from yours with a read-only planner, tells you how many lines of each it found and asks you before writing anything, shows near-copies of kit lines for you to keep or drop, replaces labelled kit lines you had edited with the current rule unless unsure (your version kept in the backup and the report either way), and backs up your CLAUDE.md. Declining writes nothing but the report. Older notes' "re-sync CLAUDE.md" steps are skipped automatically.
Your rules win, gates excepted. A rule in your own CLAUDE.md overrides a kit rule, and Marvin names the conflict once — except the safety gates, which a project file cannot switch off: the completion and security validators, every consent question, destructive-operation guards, and the secrets and commit-hygiene rules.
Stale installs announce themselves. A new plugin SessionStart hook runs in Marvin projects only: it warns when the project's install is older (run the upgrade skill) or newer (update the plugin) than the plugin, and injects the short user-update rules every session, after compaction too. It never writes and never blocks.
This note's scope: was derived over v0.32.0..HEAD, non-merge commits only; the container epic AOS-164 is excluded.
Upgrade
Consumer-facing: no more hand re-syncing CLAUDE.md. The kit's rules move out of your CLAUDE.md into a kit-owned .marvin/CLAUDE.marvin.md that CLAUDE.md imports; every future upgrade refreshes it for you.
claude plugin update marvin, then restart Claude Code (loads the new SessionStart hook), then run/marvin:upgrade-agent-os.- Confirm the one-time split when asked — before it writes anything, the upgrade tells you how many
CLAUDE.mdlines are kit rules (moved into.marvin/CLAUDE.marvin.md) and how many are yours (kept), and lists any near-copy of a kit line without its label for you to keep or drop; a labelled kit line you had edited is replaced by the current rule unless the agent is unsure, either way your version stays in the backup and the report. It backs up yourCLAUDE.mdunder.marvin/backups/v0.33.0/, ends it with the line@.marvin/CLAUDE.marvin.md, and keeps your attribution line. Declining or not answering stops the upgrade having written only its report. - Skip every older note's "re-sync CLAUDE.md" step — including v0.32.0's hand-edit of model names; the upgrade skill does this for you and edits
CLAUDE.mdonly in the split (and to re-add the import line if you removed it). .marvin/PROJECT-INFO.mdgainsissue_log_path; model names now always come from the plugin's model profile.- Your own
CLAUDE.mdrules override kit rules, except the kit's safety gates (validators, consent questions, destructive-operation guards, secrets and commit-hygiene rules). - New SessionStart hook: in a Marvin project it warns when the install and plugin versions differ, and injects the short update-format rules each session. Disable with
/plugin disable marvinor"disableAllHooks": true. - If
.marvin/is gitignored, the upgrade flags it — the import would load nothing in other clones. - A fresh install in an AGENTS.md-only repo writes a
CLAUDE.mdthat imports@AGENTS.md; the kit never writes AGENTS.md.
This note's scope was derived over v0.32.0..HEAD, non-merge commits only; the container epic AOS-164 is excluded.
Changes
Action needed
- Restart Claude Code after updating the plugin, then run
/marvin:upgrade-agent-osand confirm the one-time CLAUDE.md split when it asks. - Skip the "re-sync CLAUDE.md" step of any older release note, including the hand edit of model names; the upgrade now does it for you.
- Keep
.marvin/tracked, not gitignored: otherwise the CLAUDE.md import loads nothing in other clones (the upgrade flags it).
Added
- A session hook warns when a project's install and the plugin differ in version and injects the user-update rules every session, after compaction too.
Changed
- Kit rules move out of your CLAUDE.md into a kit-owned file it imports, so every upgrade refreshes them with no hand edit.
- The split asks before writing, shows near-copies of kit lines to keep or drop, and backs up your CLAUDE.md; declining writes only the report.
- Your own CLAUDE.md rules override kit rules, except the safety gates: validators, consent questions, destructive-operation guards, secrets and commit hygiene.