Repository navigation
docs(guide): correct install.md (daemon stop on upgrade, removed verbs, go-back step, PATH) - #3889
Conversation
…s, go-back step, PATH) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g
|
/arch-review |
|
Warning Review limit reached
This review includes 1 billable file and costs up to $0.25.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 59 minutes for your next included review. View limit details
|
|
Reviewed: no findings; approval withheld, 2 threads unresolved at APPROVE withheld: 2 unresolved threads — norrietaylor docs/guide/install.md, norrietaylor docs/guide/install.md. Resolving the last thread releases the approval on this head. Resolve the open threads. Resolving the last one releases the approval on this head; no new review is required. Clobber: none seen. |
There was a problem hiding this comment.
arch-review: PASS · the full ruling
The change is docs only and conforms. The list of removed min session verbs now matches the design command tree at architecture.md line 429. The other changed claims are outside the design, and they match scripts/install.sh at this head. One optional wording note: not every min command starts the daemon. min --version and completions do not. No condition is open.
Ruled at e0f74e9 against gominimal/arch@d3d472929d81 by claude-opus-5-5.
There was a problem hiding this comment.
Scope matches the title. The diff changes only docs/guide/install.md, and each hunk traces to one of the four stated corrections.
Clobber none. git log on the file shows #3877, #3873 and #3844 as the recent changes, and the diff keeps their text.
Correctness I checked each changed claim against scripts/install.sh and crates/minimal/src/cli.rs. The daemon stop before the first bin or lib swap, the seven removed min session verbs, the min host list and min host stop <host> refusal text, and the PATH advisory all agree with the code. One sentence says more than the code proves: not every min command starts the daemon. One new line is not wrapped.
Not checked: Vale on the changed lines, the script that https://go.minimal.dev/stable serves, and 0.7 behaviour. None of these is in this tree. I did not confirm the CLI version, so agent.version is unknown.
| are currently active. When sessions are running, the installer lists them and | ||
| Note: an upgrade that replaces a Minimal program stops the Minimal daemon, | ||
| which ends any active sessions. The next `min` command starts the daemon | ||
| again. When sessions are running, the installer lists them and |
There was a problem hiding this comment.
nit · The sentence says that the next min command starts the daemon. The code does not prove that for every command. min --version, which this page tells the reader to run after an install, does not start the daemon. The box commands start it through ensure_daemon (for example crates/minimal/src/cmd/boxes/list.rs:33). Write that the next min command that needs the daemon starts it again. This is one instance in this file.
There was a problem hiding this comment.
Addressed in 0e960ff: "The next min command that needs the daemon starts it again." min --version does not call ensure_daemon; the box commands do (e.g. crates/minimal/src/cmd/boxes/list.rs:33). @norrietaylor, could you re-approve when you have a moment?
| anything. It prints the commands for this machine. They stop the 0.8 | ||
| hosts. Then one line renames the 0.8 state aside, and renames the newest | ||
| anything. It prints how to stop the 0.8 hosts: `min host list`, then | ||
| `min host stop <host>` for each host that is not stopped. Then one line renames the 0.8 state aside, and renames the newest |
There was a problem hiding this comment.
nit · This new line is about 135 characters. The other lines of the file wrap near 80. The new lines 93 and 230 are also short, ragged wraps. Wrap the three paragraphs again so the next diff of this section stays small.
There was a problem hiding this comment.
Addressed in 0e960ff: the three paragraphs are rewrapped to the file's width. @norrietaylor, could you re-approve when you have a moment?
…; rewrap install.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g
|
/arch-review |
There was a problem hiding this comment.
arch-review: PASS · the full ruling
The new commit narrows one claim and rewraps two passages in docs/guide/install.md. The Upgrade note now says that the next min command that needs the daemon starts it again. The code agrees: ensure_daemon_running starts the daemon, and min box list, min host and completion only probe it. The design of record says nothing on this point. The earlier PASS stands for the rest of the page.
Ruled at 0e960ff against gominimal/arch@d3d472929d81 by claude-opus-5-5.
There was a problem hiding this comment.
APPROVE withheld: 2 unresolved threads — norrietaylor docs/guide/install.md, norrietaylor docs/guide/install.md.
minimal-review — advisory review
Verdict COMMENT — No findings.
Panel: 2 of 3 personas ran (correctness, supply-chain); did not complete: security.
Docs pass,
docs/guide:install.md. Docs only. Every changed claim was checked againstscripts/install.shand the code at main (f0ccb30).Corrected
binorlibfile, and nothing starts it again; the nextmindoes (scripts/install.sh:1759-1786, "It did not start it again" at:1782). The page said every upgrade restarts the daemon.min sessionstill haslist,start,attach,logs,stopandrm(crates/minimal/src/cli.rs:231-275). It now names the removed ones:activate,destroy,exec,rename,policy,hooksandrun, each refused with exit 2 (crates/minimal/src/tests.rs:856-922).min host listthenmin host stop <host>, and fills in only themvpaths (install.sh:1305-1318). Step 3 now says to replace<host>with each host name.binis not onPATHand prints anexport PATH=...line (install.sh:2286-2300), so the page now mentions it next tomin --version.varsrefusal.Verified, kept as is
Architectures, the kernel 5.10 floor,
min --version, the macOS libkrun microVM and Apple Silicon only, hash compare and atomic swap, the session prompt and the abort on "no",MINIMAL_INSTALL_FORCE_STOP/--force-stop, the 0.7→0.8 state copy,min box rm/prune,min host stop,-C, derived names and-<n>, the held-name refusal, thevars/vars_lenientrefusal (exit 3),min initwriting[sessions.default],min box list --all/attach, the copy naming and--skip-state-archive, the state dir and the absolute-XDG rule, the sparse VM volume,cp -a --sparse=always, newer box state refused, the go-back copy matching and rename line, and the uninstall record with--force,--purgeand--dry-run. File:line evidence is in the review notes.Not verified
https://go.minimal.dev/stableis hosted outside this repo. The--version <0.7.x>go-back works only once the served script includes fix(install): let --version replace the channel go.minimal.dev injects #3877.min stop/min stop --forceon 0.7, the "can fail to start" claim for a 0.7 daemon on 0.8 state, and macOScp -Rcsparseness on other disks. These are 0.7 or OS behaviour, not code in this tree.Gaps found, not added here
What gets installed and where on each OS;
min finalize-install(the installer offers it at the end); KVM picking the microVM on Linux; channels and--versionpinning outside the go-back step;MINIMAL_INSTALL_FORCE_STOPneeding to reachshunder a pipe;MINIMAL_INSTALL_SKIP_STATE_ARCHIVE,MINIMAL_BIN,MINIMAL_INSTALL_PLAIN,MINIMAL_TELEMETRY=0; the no-terminal upgrade abort; uninstall's--force-stopand-n, its daemon stop and finalize-install cleanup; installer prerequisites (curl or wget, a SHA-256 tool); andmin box attachrefusing a box without a terminal.Vale is clean on changed lines. Leaves
docs/specsand the BEP docs issues alone.🤖 Generated with Claude Code
https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g