Repository navigation
docs(reference): correct user-policy.md (--no-input, mip reads [patches], config dir) - #3878
Conversation
…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
|
/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 56 minutes for your next included review. View limit details
|
|
Approved: no findings at Nothing to do. Clobber: none. |
There was a problem hiding this comment.
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.
|
/arch-review |
There was a problem hiding this comment.
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.
Docs pass,
docs/reference/user-policy.md. Docs only. Claims checked againstmainat b58e1f5.Corrected
--no-prompt(three places) is not a flag of any start command.min session startandmin box starttakeStartOverrideArgs, which has nono_prompt. The headless lane isglobal.no_input || !can_prompt_interactively()(minimal/src/cmd/boxes/create.rs:5134,:5447,:6207;ActivateArgs::no_promptis internal,minimal/src/cli.rs:1740). Now--no-input, linked to the global flags.minconsumesuser_policy.toml" contradicted the page's own[patches]section:mip runreads that section (mip/src/cmd_run.rs:377,mip/src/patch_gate.rs). The intro andthe last note now say so.
$XDG_CONFIG_HOMEcounts only when absolute, and macOS follows the same rule(
paths/src/lib.rs:481,:543,:589).Verified, kept as is or only reworded
minimal/src/prompt.rs:58-63); permanent choices hidden when the fileis not writable (
:80,:259);.bakbackup and.tmpatomic write (:869,:1065,:1079);Updated <path>(minimal/src/task.rs,create.rs).[hooks]: loadout hooks pass, package hooks refused, deny > ignore > allow,~//$VARexpansion (
boxes/src/core/policy.rs:532-565).boxes/src/core/compose.rs:320-341).policy.rs:402deserialize_one_or_many).--config-dirglobal flag (minimal/src/cli.rs:1596).config/user_policy.toml.redacted(minimal/src/diag/collect.rs:91).mip run[patches]paragraph, including the 10,000-entry probe (patch_gate.rsDIR_PROBE_LIMIT).Vale is clean on changed lines. Leaves
docs/specsand the BEP docs issues alone.🤖 Generated with Claude Code
https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g