8000 docs(guide): correct install.md (daemon stop on upgrade, removed verbs, go-back step, PATH) by agent-137 · Pull Request #3889 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

docs(guide): correct install.md (daemon stop on upgrade, removed verbs, go-back step, PATH) - #3889

Merged
mitodrummer merged 2 commits into
mainfrom
docs/guide-install
Nov 30, 2026
Merged

mitodrummer merged 2 commits into
mainfrom
docs/guide-install

Conversation

@agent-137
Copy link
Copy Markdown
Member

Docs pass, docs/guide: install.md. Docs only. Every changed claim was checked against scripts/install.sh and the code at main (f0ccb30).

Corrected

  • Upgrade and the daemon. The installer stops the daemon only just before it swaps the first bin or lib file, and nothing starts it again; the next min does (scripts/install.sh:1759-1786, "It did not start it again" at :1782). The page said every upgrade restarts the daemon.
  • Removed verbs. The page said "the old session verbs are gone", but min session still has list, start, attach, logs, stop and rm (crates/minimal/src/cli.rs:231-275). It now names the removed ones: activate, destroy, exec, rename, policy, hooks and run, each refused with exit 2 (crates/minimal/src/tests.rs:856-922).
  • The go-back step. Over 0.8 state the installer prints fixed text, min host list then min host stop <host>, and fills in only the mv paths (install.sh:1305-1318). Step 3 now says to replace <host> with each host name.
  • PATH in the install shell. The rc block takes effect only in new shells. The closing card says when bin is not on PATH and prints an export PATH=... line (install.sh:2286-2300), so the page now mentions it next to min --version.
  • "still" cut in the vars refusal.

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, the vars/vars_lenient refusal (exit 3), min init writing [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, --purge and --dry-run. File:line evidence is in the review notes.

Not verified

  • https://go.minimal.dev/stable is 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 --force on 0.7, the "can fail to start" claim for a 0.7 daemon on 0.8 state, and macOS cp -Rc sparseness 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 --version pinning outside the go-back step; MINIMAL_INSTALL_FORCE_STOP needing to reach sh under a pipe; MINIMAL_INSTALL_SKIP_STATE_ARCHIVE, MINIMAL_BIN, MINIMAL_INSTALL_PLAIN, MINIMAL_TELEMETRY=0; the no-terminal upgrade abort; uninstall's --force-stop and -n, its daemon stop and finalize-install cleanup; installer prerequisites (curl or wget, a SHA-256 tool); and min box attach refusing a box without a terminal.

Vale is clean on changed lines. Leaves docs/specs and the BEP docs issues alone.

🤖 Generated with Claude Code

https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g

…s, go-back step, PATH)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g
@agent-137
agent-137 requested a review from a team as a code owner November 30, 2026 03:07
@agent-137
Copy link
Copy Markdown
Member Author

/arch-review

@coderabbitai
coderabbitai Bot commented Nov 30, 2026 •
Copy link
Copy Markdown
Contributor

Warning

Review limit reached

  • Run on-demand review

This review includes 1 billable file and costs up to $0.25.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 5c7ec69a-7718-467b-ba38-1c1088a47b57
Commits

Reviewing files that changed from the base of the PR and between f0ccb30 and 0e960ff.

Files selected for processing: 1

  • docs/guide/install.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@minimal-foundry
minimal-foundry Bot commented Nov 30, 2026 •
Copy link
Copy Markdown
Contributor

Reviewed: no findings; approval withheld, 2 threads unresolved at 0e960ff08dac.

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.

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approved

Verdict APPROVE — No findings.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

@minimal-foundry minimal-foundry Bot added the review:approved minimal-review approved the current head label Nov 30, 2026
@norrietaylor norrietaylor left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/guide/install.md Outdated
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Comment thread docs/guide/install.md Outdated
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@agent-137
Copy link
Copy Markdown
Member Author

/arch-review

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@minimal-foundry minimal-foundry Bot removed the review:approved minimal-review approved the current head label Nov 30, 2026
@mitodrummer mitodrummer left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@mitodrummer
mitodrummer added this pull request to the merge queue Nov 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 30, 2026
@mitodrummer
mitodrummer added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit d438765 Nov 30, 2026
40 checks passed
@mitodrummer
mitodrummer deleted the docs/guide-install branch November 30, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0