8000 docs(reference): correct user-policy.md (--no-input, mip reads [patches], config dir) by agent-137 · Pull Request #3878 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

docs(reference): correct user-policy.md (--no-input, mip reads [patches], config dir) - #3878

Merged
mitodrummer merged 2 commits into
mainfrom
docs/reference-user-policy
Nov 30, 2026
Merged

mitodrummer merged 2 commits into
mainfrom
docs/reference-user-policy

Conversation

@agent-137
Copy link
Copy Markdown
Member

Docs pass, docs/reference/user-policy.md. Docs only. Claims checked against main at b58e1f5.

Corrected

  • --no-prompt (three places) is not a flag of any start command. min session start and
    min box start take StartOverrideArgs, which has no no_prompt. The headless lane is
    global.no_input || !can_prompt_interactively() (minimal/src/cmd/boxes/create.rs:5134,
    :5447, :6207; ActivateArgs::no_prompt is internal, minimal/src/cli.rs:1740). Now
    --no-input, linked to the global flags.
  • "Only min consumes user_policy.toml" contradicted the page's own [patches] section:
    mip run reads that section (mip/src/cmd_run.rs:377, mip/src/patch_gate.rs). The intro and
    the last note now say so.
  • Config dir: $XDG_CONFIG_HOME counts only when absolute, and macOS follows the same rule
    (paths/src/lib.rs:481, :543, :589).

Verified, kept as is or only reworded

  • Prompt choices and labels (minimal/src/prompt.rs:58-63); permanent choices hidden when the file
    is not writable (:80, :259); .bak backup and .tmp atomic write (:869, :1065, :1079);
    Updated <path> (minimal/src/task.rs, create.rs).
  • [hooks]: loadout hooks pass, package hooks refused, deny > ignore > allow, ~//$VAR
    expansion (boxes/src/core/policy.rs:532-565).
  • Package patches and user-data vars dropped before the gate (boxes/src/core/compose.rs:320-341).
  • Single string or list for every key (policy.rs:402 deserialize_one_or_many).
  • --config-dir global flag (minimal/src/cli.rs:1596).
  • Diagnostics file config/user_policy.toml.redacted (minimal/src/diag/collect.rs:91).
  • The mip run [patches] paragraph, including the 10,000-entry probe (patch_gate.rs
    DIR_PROBE_LIMIT).

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

…es], config dir)

--no-prompt is not on any start command; the prompts follow the global --no-input.
mip run reads the [patches] section. XDG_CONFIG_HOME counts only when absolute,
on Linux and macOS alike.

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 29, 2026 17:01
@agent-137
Copy link
Copy Markdown
Member Author

/arch-review

@coderabbitai
coderabbitai Bot commented Nov 29, 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 56 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: fb30872e-5811-4755-a5b9-0a8554c19169
Commits

Reviewing files that changed from the base of the PR and between 6d14201 and f9dd612.

Files selected for processing: 1

  • docs/reference/user-policy.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Approved: no findings at f9dd612aaa65.

Nothing to do.

Clobber: none.

@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 conforms. The page now names --no-input, which is the global never-prompt flag in architecture.md line 351 and principle 3 at line 335. The mip run and config-dir claims match the tree, and the design is silent on them. Enforcement stays on the client, so no check crosses a boundary.

Ruled at d86c250 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 29, 2026
@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 page is the same as at d86c2501, which had a PASS. This push only merges #3880 from main, and #3880 has its own PASS. The --no-input text agrees with the design's global flags table (architecture.md line 351). The code supports the other two corrections. There are no conditions.

Ruled at f9dd612 against gominimal/arch@d3d472929d81 by claude-opus-5-5.

@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
Merged via the queue into main with commit 98d3389 Nov 30, 2026
40 checks passed
@mitodrummer
mitodrummer deleted the docs/reference-user-policy branch November 30, 2026 16:39
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