v0.45.0 — The Questions sidebar

What consumers do once: run /marvin:upgrade-agent-os, then start a new session so the mod loads. Keep .marvin/questions/ tracked. See upgrades/v0.45.0.md.

Why. Every Marvin status update ended with an Open questions list. It was the one part of a message that repeated from update to update, and no question in it could be answered with a click. The questions now live in a sidebar, numbered and expandable, and they can be answered in place. An answer reaches the session that asked as the architect's own words, and the question survives compaction, the end of the session and a hand-off.

What changed.

Acceptance.

Documentation, checked (repo rule 10):

Behaviour:

This note's scope: was derived over v0.44.0..HEAD (git log --no-merges), each subject's leading key deduplicated. AOS-288 is the epic key, carried by the release commit.

Upgrade

Consumer-facing: open questions move out of status updates into a Questions sidebar in Claude Code. The marvin plugin now loads a hooks module beside its command hooks. Rules: .marvin/agents/questions.md.

  • Update the plugin, then run /marvin:upgrade-agent-os. It adds the cascade files .marvin/agents/questions.md and .marvin/agents/session-names.md. It refreshes, with backups, user-updates.md, escalation.md, escalation-ladder.md, guardrails.md, codex.md, fleet.md, fleet-child.md and the kit core CLAUDE.marvin.md.
  • Start a new session so the mod loads. Its pieces are the four tools mcp__marvin__questions_open/get/list/resolve, the Questions pane, the ❓ <N> open questions band above the prompt, and /marvin-questions.
  • Keep .marvin/questions/ tracked. Question files ride your next regular commit; never ignore the folder. Only the mod writes there: a guard denies Write, Edit and Bash writes into it.
  • Status updates end with ❓ <N> open questions — see the Questions sidebar instead of the Open questions list. Hosts without mods (Codex, older Claude Code) keep the list, ending (questions sidebar unavailable). There is nothing to configure.
  • Consent gates are still asked with the question tool. The sidebar only mirrors them read-only, and a sidebar answer is never consent.
  • No new setting. No migration script.

Changes

Added

  • The Questions sidebar: an in-kit Claude Code mod (hooks/questions/, named under modules in hooks/hooks.json). It adds a Questions pane, a prompt band (❓ <N> open questions) and /marvin-questions.
  • The tools mcp__marvin__questions_open/get/list/resolve over committed .marvin/questions/Q<n>.md files. Numbers are unique across worktrees, each file carries an HMAC fingerprint, and secrets are refused.
  • Answering in place: an option or typed text reaches the asking session as Q<n> answer: <text>, or as ORPHAN Q<n> answer: … (handled under a caution rule) when the asker is gone.
  • .marvin/agents/questions.md: when to open a question, the answer and orphan protocol, the consent mirror, the commit rule and the fallback without mods.
  • .marvin/agents/session-names.md: session titles <state> <identity> with a live state prefix, and a fleet master's Fleet · <milestone> sidebar group.
  • Docs site: the Questions sidebar mod page, and the "How a question travels" flow on Around the loop.
  • Factory: the mod's tests run under claude plugin test . (80 tests); CI gains a mod job (claude plugin validate . and claude plugin test .).

Changed

  • The status-update tail: the Open questions list becomes ❓ <N> open questions — see the Questions sidebar. The update gate's U4 accepts that line as the tail, and U2 exempts only its leading ❓.
  • Every consent gate (the max gate, cost blowout, descope, the Codex ask and user gate, a fleet child's consent questions) is also mirrored to the sidebar read-only. A sidebar answer is data, never consent.
  • Fleet: the master's pane shows each child's questions under its epic. An answer there reaches the master as a relay prompt; it logs a D<m>, relays the answer, and the child resolves its own question.
  • Repo rule 8 names the mod gates claude plugin validate . and claude plugin test ..

Security

  • Only questions the mod wrote and fingerprinted are answerable; other files show read-only.
  • A guard denies the model's Write, Edit, MultiEdit and Bash writes into .marvin/questions/.
  • Sub-agents cannot open or resolve questions.

Action needed

  • Run /marvin:upgrade-agent-os, then start a new session so the mod loads. Keep .marvin/questions/ tracked.