Repository navigation
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Start, attach and resume | S | routine | standard | an agent | 90 (25 code, 65 tests) |
The Box Egress Proxy refusals name the minimal.toml tables that the user edits.
Found in the owner's test run of 2026-11-14 on 0.8.0-dev.527 (dd7d8cf), finding F6. A broker secret on an un-enrolled host was refused, with a hint to set steering in [network.bep]. minimal.toml rejects [network.bep] as an unknown field, and only [defaults.session.network.bep] worked.
Cause: the refusals in crates/boxes/src/core/bep.rs name the box.toml paths of the expanded spec, not the minimal.toml tables:
SteeringOffWithProxyEnvsaysin [network.bep](bep.rs:723).NoResolversaysSet steering = "proxy_env" in [network.bep].(bep.rs:731).UnenrolledNodeand itsnext_stepsayremove <grants> from [session.secrets] in minimal.toml(bep.rs:770,bep.rs:675). That is the legacy table, which BOX-050 reads as[defaults.session].PROJECT_ACKNOWLEDGEMENT_IGNOREDsays[session.secrets](bep.rs:368).- The CLI's own grant refusals say
[session.secrets](crates/minimal/src/cmd/boxes/create.rs:1089,:1102,:1110).
The CLI reads these settings from [defaults.session] today (project_bep_and_grants; min init writes that table since #3392). So each refusal names [defaults.session.network.bep] or [defaults.session.secrets]. When #3204 carries a typed entry's body into the stored spec, these refusals should name the entry's own table. That change belongs to #3204, not to this task.
New text:
This box sets steering = "off" and proxy_env = true in [defaults.session.network.bep] in minimal.toml. With steering off the box does not trust the proxy, so every HTTPS request through the proxy fails. Remove proxy_env, or set steering = "proxy_env".
This box declares a secret with steering = "<steering>", but this host has no box DNS resolver. Set steering = "proxy_env" in [defaults.session.network.bep] in minimal.toml.
… To create the box without the grant, remove <grants> from [defaults.session.secrets] in minimal.toml.
The next_step hint of the machine-mode error and the create.rs grant refusals change [session.secrets] to [defaults.session.secrets] the same way, as does PROJECT_ACKNOWLEDGEMENT_IGNORED.
These tests and scripts pin the old text and change with it: crates/minimal/src/main.rs:1005, crates/minimal/src/cmd/boxes/create.rs:4986 and :6160, the refusal tests in bep.rs, and scripts/session-e2e.sh:18803.
Covers:
- BCLI-021 (
min box specpreviews the same refusals) - BCLI-078 (the refusal of a failed expansion)
Layers:
- client:
- crates/boxes/src/core/bep.rs: the refusals and
next_stepname[defaults.session.network.bep]and[defaults.session.secrets]in minimal.toml - crates/minimal/src/cmd/boxes/create.rs: the grant refusals name
[defaults.session.secrets]; the tests that pin the BEP text read the new text - crates/minimal/src/main.rs: the machine-mode test of the un-enrolled refusal's hint reads the new table
- scripts/session-e2e.sh: the pinned un-enrolled hint reads
[defaults.session.secrets] cargo nextest run -p boxes bep_refusals_name_the_minimal_toml_table
- crates/boxes/src/core/bep.rs: the refusals and
Plan block
### T51 — The Box Egress Proxy refusals name the minimal.toml tables
slice: S3
kind: task
covers: BCLI-021, BCLI-078
size: S
est: 25 code, 65 tests
executor: agent
difficulty: routine
model: standard
diagnostics: each BEP refusal and hint names `[defaults.session.network.bep]` or `[defaults.session.secrets]` in minimal.toml; bep_refusals_name_the_minimal_toml_table pins them, and the tests and script listed in the issue move with them
observability: none new; the refusal's existing debug line keeps its rule and fields
layers:
- client:
- crates/boxes/src/core/bep.rs: the refusals and `next_step` name `[defaults.session.network.bep]` and `[defaults.session.secrets]` in minimal.toml
- crates/minimal/src/cmd/boxes/create.rs: the grant refusals name `[defaults.session.secrets]`; the tests that pin the BEP text read the new text
- crates/minimal/src/main.rs: the machine-mode test of the un-enrolled refusal's hint reads the new table
- scripts/session-e2e.sh: the pinned un-enrolled hint reads `[defaults.session.secrets]`
test: cargo nextest run -p boxes bep_refusals_name_the_minimal_toml_table
produces: none
consumes: none
proof: Following any BEP refusal's hint as written, in the minimal.toml table it names, gives a file that loads and changes the refused setting.
Activity
minimal-foundry commentedon Nov 14, 2026
Done. #3433 merged.
branch
agent/3424-the-box-egress-proxy-refusals-name-the-minimal-t· epic #2879 · PR #34336c6061241afda4ab36301701d33bda1bUpdated 2026-11-16T06:24:48.312Z.