8000 client: read [loadout-file-rules] for loadout patches, and deny an ask with no terminal (BOX-167, BOX-182) · Issue #3246 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content
8000

client: read [loadout-file-rules] for loadout patches, and deny an ask with no terminal (BOX-167, BOX-182) #3246

Open

Description

@agent-137

Residual of BOX T124 (the loadout_mode gate), from spec 29 as #3069 merged it.

BOX-167 applies an open box's loadout config-file patches "read under the client's [loadout-file-rules]". BOX-182 refuses an ask rule with exit 3 when the client has no terminal. The client has no [loadout-file-rules] today. crates/client-config reads [secret-store-rules] (store_rules.rs) and nothing for loadout files. The only mention in the tree is mfile's warning that a project minimal.toml cannot set the table (crates/mfile/src/spec.rs, BOX-076).

Scope: read the client's [loadout-file-rules] in crates/client-config. Apply its allow, deny and ask rules to each config-file patch BOX-167 reads. Deny an ask read with no terminal and fail with exit 3, naming the file and the rule (BOX-182). The prompt an ask shows at a terminal is not specified yet. The task that plans this writes its exact text. Pin it in loadout_file_ask_without_terminal_denied and that prompt's own test.

T124 leaves this clause out and applies patches as main does today.

Refs #2236, #3069.


This is a residual of epic #2236 (BOX).

Activity

  1. added
    priority:should-have
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:should-have

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0