v0.42.1 — Fleet-mode follow-ups and two small fixes
Consumers act once.
- Run
claude plugin update marvin, then/marvin:upgrade-agent-osin one session. - If a free-text
PROJECT-INFO.mdvalue holds:unquoted, run/marvin:project-info(upgrades/v0.42.1.md).
Why. The v0.41.0 fleet-mode release deferred its minor findings as sev4 follow-ups, and two defects outside fleet mode turned up in the same work: an unquoted brief: made PROJECT-INFO.md invalid YAML whenever the user's words contained : , and test-docker-lint.sh failed now and then with no code change.
What changed.
- PROJECT-INFO quoting (AOS-246, sev3). The free-text keys are double-quoted in the template; the install and
project-infoskills escape\and"and repair an unquoted value; the newfrontmatter-quotinggate (23rd check) holds the template to it. - Flake (AOS-247). Both lint suites' "never writes" snapshot used
ls -laR, which also lists.., the shared temp directory. Any concurrentmktempchanged it. The snapshot now covers only the suite's own directory; 45 parallel runs passed where 7 of 90 had failed. - Fleet tests (AOS-248). The role-marker suite checks stderr after every call, every malformed epic key, strict
role=parsing and the 4 KiB cap (two new mutations); the compaction counters pin their sidechain and symlink behaviour; the sweep is shown to keep a--reason-locked worktree. - Hook limits (AOS-249). The context hook's header records what was decided not to fix: restart threshold unscaled,
autoCompactEnabled:falseundetected, bounded repeats, onegit rev-parseper call. - Gate (AOS-250).
fleet-pairsalso requires the two fleet guides'E-*tag sets to be equal. - Guides (AOS-251, AOS-252).
git-strategy.mdscopes thedeveloprow and branch death for fleet mode; restatements of the branch cut and the lock command are gone; a board item without aFLEET-Q<n>is never relayed; the master's handoff goes to the program plan's Handoff section; the MEMORY.md-before-compaction rule carries the fleet-child exception. - Child and stop (AOS-253, AOS-254, AOS-255, AOS-256). Resolved-path compare for
CLAUDE_PROJECT_DIR; a missing master marker means the fleet stopped; a child told the fleet is stopping hands off; stop lists the running children, accepts a squash/rebase-merged epic with the architect's confirmation, and the Local refusal keys onpm_tool; resume rewrites a missing child marker;/marvin:inforeports a fleet marker and flags a stale master one.
Not done, by decision. AOS-255 reports the stale marker through /marvin:info only (no SessionStart line); AOS-249's four items are documented, not changed.
Acceptance.
- Gates: all 17 test suites green (hook-lib 275, worktree-sweep 225, the rest unchanged);
validate-kit23/23, each new check mutation-tested. - The ticket text of AOS-253 to AOS-256 was written against v0.41.0; the guide wording was re-read against the v0.42.0 files before editing.
This note's scope: was derived over v0.42.0..HEAD, non-merge commits only; the container epic AOS-242 is excluded.
Upgrade
Consumer-facing: fleet-mode follow-ups and two small fixes — no surface removed or renamed.
- Update the plugin, then run
/marvin:upgrade-agent-osonce. It refreshesfleet.md,fleet-child.md,session-budget.md,git-strategy.md,worktrees.mdand the kit coreCLAUDE.marvin.md. - If
.marvin/PROJECT-INFO.mdhas a free-text value (brief,description,owner,stack,dev_command,tracker_coordinates,project) holding:or#unquoted, run/marvin:project-info: it validates the frontmatter and wraps such values in double quotes. New installs write them quoted. - Fleet users: a master's own handoff now goes into the program plan's Handoff section (add it to an existing plan; the master does so at its next rest point), and a child that finds the master marker gone on resume asks the architect before continuing. Tell running children to stop (
fleet-child.md) before/marvin:fleet stop. /marvin:infonow reports a fleet marker (role, age); arole=mastermarker with no fleet running is stale and/marvin:fleet stopclears it.- No migration script, no new settings.
Changes
Added
validate-kitcheckfrontmatter-quoting(23rd): the free-textPROJECT-INFO.mdkeys are quoted scalars;fleet-pairsalso requires the fleet guides'E-*tag sets to be equal./marvin:inforeports a fleet marker (role, age) and flags a stale master marker.- The master's own handoff has a home: a Handoff section in the program plan.
Changed
PROJECT-INFO.mdwrites its free-text values (project,description,brief,owner,tracker_coordinates,stack,dev_command) as double-quoted YAML; the install andproject-infoskills escape\and"and repair an unquoted:value.- Fleet: a child compares resolved paths for
CLAUDE_PROJECT_DIR, treats a missing master marker as a stopped fleet and, told the fleet is stopping, hands off and ends its turn;/marvin:fleet stoplists the running children first, accepts a squash/rebase-merged epic with the architect's confirmation, and the Local-tracker refusal keys onpm_tool; resume rewrites a missing child marker. git-strategy.mdscopes itsdeveloprow and branch death for fleet mode; the fleet guides no longer restate the branch cut or the lock command; a board item without aFLEET-Q<n>is never relayed; the MEMORY.md-before-compaction rule carries the fleet-child exception.
Fixed
test-docker-lint.shandtest-ticket-lint.shno longer fail intermittently: the "never writes" snapshot listed the shared temp directory, which any concurrentmktempchanged.- A fleet child on a symlinked project path is no longer reported blocked.
Action needed
- Run
/marvin:upgrade-agent-os, then/marvin:project-infoif a free-textPROJECT-INFO.mdvalue holds:unquoted (upgrades/v0.42.1.md).