You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or wi
8000
ndow. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
8000
client: read [loadout-file-rules] for loadout patches, and deny an ask with no terminal (BOX-167, BOX-182) #3246
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.
Activity