v0.46.0 — The progress panel, and rules that stay
Consumers: update the plugin and restart Claude Code. Then run /marvin:upgrade-agent-os and start a new session. Installing marvin-progress@emprove is optional. See upgrades/v0.46.0.md.
Why.
- Rules that stay. The architect reported that Marvin's rules faded "every time a new session starts or it compacts a few times". The kit core reached a session only through
CLAUDE.md's import, which loads once as ordinary context. Seeing the work. The architect also wanted to see a Marvin session work, without the orchestrator spending tokens to report it:
- where the milestone stands;
- which task is at which gate;
- what every
marvin:*sub-agent is doing.
A fleet master should see every child the same way, above all a child waiting for an answer.
What changed.
- The kit core every turn. marvin's hooks module adds
.marvin/CLAUDE.marvin.mdto the system prompt as one section on every turn. The system prompt is rebuilt each turn and never compacted.- The file must be a regular file inside the session root, 32 KB at most, and is cached by mtime.
- On hosts that run no mods,
marvin-session-start.shbrings the core back at startup, resume, clear and compact. It inlines the core when it fits under Claude Code's hook-output limit; otherwise it prints a short directive to read the file in full. Where the module is active, it stays silent. CLAUDE.md's import stays.
- The
VERDICT:line. Every validator's final message carries a reservedVERDICT:line: completion and securityPASS|FAIL, visualPASS|NOTES. The visual verdict never gates.validation-agent.mdowns the line and the SubagentStop gate enforces it.progress-contractholds its values equal tocontract.ts.
The progress-panel seam.
progress-panel.mdis the kit side of the seam with the optionalmarvin-progressmod, a separate repo forked under MIT from savvy-progress. It covers:- the run-path grammar and the persona→gate table;
- the step-text rule (fixtures prove the gate and runs-sync ignore the appended text);
- avatars, the shared band and the fleet status file.
Without the mod, nothing happens and nothing warns.
- The persona registry. marvin's module publishes
marvin.personas. Each persona declares its crab in its own frontmatter, andpersona-avatarschecks the declarations. - The band on both Claude Code models.
- Before 2.1.330 it is one shared row.
- From 2.1.330 each mod draws its own row. marvin's
AbovePromptListhook moves the ❓ row last, and the mod's hook moves progress first. fleet.mdnames the live Fleet view.
- Install and docs. Install and upgrade offer the mod. The docs site gains the mod page, the
VERDICT:line on the lifecycle page, the fleet live view, and the kit core's per-turn delivery.
Acceptance. Documentation is checked against repo rule 10:
- README:
- inventory rows for
hooks/kitcore.ts,hooks/progress/*,templates/marvin/agents/progress-panel.mdandassets/avatars/; - the hooks description and the band rows true on both engine models;
- twenty-nine checks, with
progress-contractandpersona-avatars, and twenty suites; - the companion sentence.
- inventory rows for
hooks/hooks.json: the description names the kit core and its fallback.- The site: the mod page
site/mods/marvin-progress.html(feature: marvin-progress), lifecycleVERDICT:, the fleet live view, the start-page gate bullet and the loop page's kit-core note. Everything is regenerated, and--checkexits 0. - Rules and settings: no repo rule changed, so
CLAUDE.md/AGENTS.mdare untouched. No setting changed. The install and upgrade skills carry the mod offer. - Screenshots (rule 11) are deferred by the architect's decision of 2026-11-30: "skip the screenshots. ship the solutions and then I will add screenshots from the live thing".
docs/images/marvin-progress/captions.mdstays empty and the shoot script is committed. AOS-331 tracks the screenshots. Gates on
release/0.46.0, on Claude Code 2.1.318 and 2.1.330 both (CI pins both, plus a non-blockinglatest):- all 29
validate-kit.shchecks; - every
scripts/test-*.sh(20); claude plugin validate .andclaude plugin test .;build-docs.sh --check.
No migration script changed, so
mutate-migrations.shdoes not apply. Every new bash guard is mutation-tested in its own suite.- all 29
- Reviews:
- a review on every task;
- a whole-branch review of the kit and of the mod, each with one fix wave;
- an engine-drift audit against 2.1.330, fixed in the mod;
- the v0.45.1 merge resolution, reviewed.
Live acceptance, in headless real sessions:
- On a scratch fleet (2026-11-26):
- the kit alone runs clean;
- with both plugins loaded, the mod's status file shows the linked run at gate build, with the crew avatar and the telemetry rate label;
- the step text is appended verbatim;
- a validator without
VERDICT:is sent back once; - pricing is read after session start;
- a fleet master finds its child.
- Kit core (2026-11-30), on 2.1.318 and 2.1.330:
- the end-of-file canary of the 16 KB core is quoted from the system prompt, including after
/compactwith the SDK's dynamic sections excluded; - on a host without mods, a small core arrives inline and the shipped core arrives as the read directive, with nothing persisted.
- the end-of-file canary of the 16 KB core is quoted from the system prompt, including after
The UI-only checks (the band, ⚑, ❓n, the live install walk) ride AOS-331's live walk.
- On a scratch fleet (2026-11-26):
- Companion:
marvin-progressv0.1.0, tagv0.1.0, with CI on 2.1.318, 2.1.330 andlatest, listed in the emprove marketplace. - Follow-ups:
- AOS-328: kit test hardening;
- AOS-329: pre-existing tsc errors in the questions tests;
- AOS-330: mod polish;
- AOS-331: the screenshots.
Upgrade
Consumer-facing: Marvin's kit core now stays in force every turn, validator final messages end with one VERDICT: line, and an optional live progress panel (the marvin-progress mod) is offered. Contracts: .marvin/CLAUDE.marvin.md, .marvin/agents/progress-panel.md.
- Update the plugin, then restart Claude Code. marvin's hooks module now keeps
.marvin/CLAUDE.marvin.mdin the system prompt on every turn, so the rules survive long sessions and compactions. YourCLAUDE.mdkeeps its@.marvin/CLAUDE.marvin.mdimport; nothing to change there. On hosts that run no mods, the SessionStart hook brings the core back at start and after each compaction (inline when small, else a directive to read the file). A core over 32 KB is not injected (one notice says so). - Run
/marvin:upgrade-agent-os. It adds the cascade file.marvin/agents/progress-panel.mdand its line in.marvin/CLAUDE.marvin.md. It refreshes, with backups,validation-agent.md,briefing.md,visual-validation.mdandfleet.md. - Validators: completion and security end with
VERDICT: PASSorVERDICT: FAIL; visual ends withVERDICT: PASSorVERDICT: NOTESand never FAILs — a release gate weighs the visual sweep's sev1/sev2 findings, not the verdict line. A final message without the line is sent back once by the SubagentStop gate. - Optional: the live band, agents pane and fleet view —
claude plugin install marvin-progress@emprove(firstclaude plugin marketplace add Zenosyne-Technologies/emprove-marketplaceifemproveis not registered), then restart. Without it nothing changes and nothing warns. - The prompt band keeps progress first and
❓ Nlast: one shared row on older Claude Code, one row per mod from 2.1.330. - No new setting. No migration script.
- Start a new session so the refreshed rules, personas and mods load.
Changes
Added
- Kit core in force every turn: marvin's hooks module keeps
.marvin/CLAUDE.marvin.mdin the system prompt as one section (marvin:kit-core), so Marvin's rules survive long sessions and compactions; guarded to a regular file in the session root, 32 KB at most, cached by mtime. - SessionStart fallback for hosts that run no mods:
marvin-session-start.shbrings the kit core back at startup, resume, clear and compact — inline when it fits the host's hook-output limit, else a directive to read.marvin/CLAUDE.marvin.mdin full — and stays quiet where the hooks module has it in the system prompt. progress-panel.md: the contract for the optionalmarvin-progressmod — run-path grammar, persona-to-gate table, when the orchestrator callsprogress, the step-text rule, avatars, the shared band and the fleet status file;hooks/progress/contract.tsis its machine-readable owner.- marvin's hooks module publishes
marvin.personasat session start: tier, model and effort from the active model profile, the gate, and each persona's declared crab avatar (sprites checked and inlined). avatar,avatar_colorandavatar_motionfrontmatter on all 15 personas.- Install and upgrade offer the optional
marvin-progressmod (claude plugin install marvin-progress@emprove); absent, nothing changes. - Docs site: the Progress panel mod page; the
VERDICT:line on the lifecycle page; the Fleet pane as the live view on the fleet page; the kit core's per-turn delivery on the loop page. - Factory:
validate-kitchecksprogress-contract(contract.ts against progress-panel.md, the personas, the gate's verdict values and the real model-profile tables) andpersona-avatars(29 checks).
Changed
- Validator final messages carry one reserved
VERDICT:line outside the 25-line cap — completion and securityPASS|FAIL, visualPASS|NOTES; the SubagentStop FINAL MESSAGE gate enforces it for the three validators always. - The visual validator never FAILs:
visual-validation.md's verdict isPASS | NOTES(wasPASS | ADVISORY | FAIL); a release gate weighs the visual sweep's sev1/sev2 findings, never the verdict line. - The questions band draws one shared row on Claude Code before 2.1.330 (never shrinking its own segment, never nesting Claude Code's own band node) and its own row, moved last, from 2.1.330; progress stays first either way.
fleet.mdpoints at the optional live Fleet view; the board stays the record, doorbells the trigger, open questions the sidebar's.
Action needed
- Update the plugin and restart; run
/marvin:upgrade-agent-osand start a new session. Optional: installmarvin-progress@emprove. - A
.marvin/CLAUDE.marvin.mdover 32 KB is no longer injected by the plugin (one notice says so); the shipped core is about 16 KB.