8000 docs: match the XDG config rule in cli-min.md and the host/provider terms in architecture.md by agent-137 · Pull Request #3892 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

docs: match the XDG config rule in cli-min.md and the host/provider terms in architecture.md - #3892

Merged
mitodrummer merged 1 commit into
mainfrom
docs/followup-xdg-and-host
Nov 30, 2026
Merged

mitodrummer merged 1 commit into
mainfrom
docs/followup-xdg-and-host

Conversation

@agent-137
Copy link
Copy Markdown
Member

Docs only. These are two sibling-page fixes that Norrie's review asked for, in pages that were already merged (AGENTS.md: change a repeated sentence everywhere or nowhere).

Corrected

Note

Open PRs #3851 and #2484 also touch cli-min.md, at lines 1010 and 659. Neither overlaps line 39.

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

…erms in architecture.md

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 14:02
@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 2 billable files and costs up to $0.50.

  • 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 58 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: d6dc1385-5161-477f-a561-783143895391
Commits

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

Files selected for processing: 2

  • docs/architecture.md
  • docs/reference/cli-min.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

Approved: no findings at cd4cbc5b6d68.

Nothing to do.

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

Both changes conform to the design. The glossary (architecture.md lines 31, 49 and 53) names minimald the host and local / local-minvmd the providers, as the new §1 text does. The --config-dir row matches xdg_config_home() and default_dir in crates/paths/src/lib.rs. One note: #3887, #3891 and #3878 are not in this base, so sessions.md, loadouts.md and user-policy.md still use the old text. Merge those PRs with this one, so that the docs use one name for one thing.

Ruled at cd4cbc5 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
@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
@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.

Every sentence this PR changes checks out against the code. Approving. The points below are follow-ups, and none makes the merged docs false.

Should fix

  1. min --help still states the old rule. crates/minimal/src/cli.rs:1590-1594 says --config-dir defaults to $XDG_CONFIG_HOME on Linux and that macOS uses $HOME/.config. xdg_config_home() at crates/paths/src/lib.rs:543-547 honours an absolute XDG_CONFIG_HOME on every platform, which is what the corrected row now says. After this PR the reference and --help disagree. A follow-up is fine because this PR is docs-only. Suggested help text: "Defaults to $XDG_CONFIG_HOME when it is an absolute path, else $HOME/.config. Linux and macOS use the same rule."

  2. The provider list omits local-box. docs/architecture.md now reads "its provider: local or local-minvmd", which reads as a closed list. crates/minimal/src/cmd/hosts.rs:8 defines three providers: local, local-minvmd and local-box. Suggested: "How min reaches a host is its provider, such as local or local-minvmd. min provider list --all lists the providers on this machine."

  3. "Host daemon" now names two things in one section. The new line says min "starts a host daemon when none is running". The same file calls minvmd "the microVM host daemon". A reader cannot tell which daemon is meant. Suggested: "and it starts the host when none is running". #3887 uses the same phrase in sessions.md, so change both or neither.

  4. Sibling pages contradict this one until four open PRs merge. #3891, #3878 and #3888 fix the same XDG rule on other pages, and #3887 fixes the provider term. Merge them together so the tree does not contradict itself in between.

  5. docs/internal/session-domain-diag.md still defines "provider" the old way, as the thing that creates and hosts sessions. No open PR touches it. This needs an issue.

Nits

  • The adjacent --minimal-dir row at docs/reference/cli-min.md:38 has the same error for XDG_STATE_HOME. crates/paths/src/lib.rs:151-155 honours an absolute value on every platform. The help text at cli.rs:1583-1586 matches the stale row.
  • architecture.md no longer says that min discovers host sockets. That is fine for an overview, but #3887 keeps the fact, so the two pages differ slightly.

Merged via the queue into main with commit 8eb2593 Nov 30, 2026
41 checks passed
@mitodrummer
mitodrummer deleted the docs/followup-xdg-and-host branch November 30, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:approved minimal-review approved the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0