8000 T51 — The Box Egress Proxy refusals name the minimal.toml tables · Issue #3424 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T51 — The Box Egress Proxy refusals name the minimal.toml tables #3424

Closed

Description

@agent-137

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:

  • SteeringOffWithProxyEnv says in [network.bep] (bep.rs:723).
  • NoResolver says Set steering = "proxy_env" in [network.bep]. (bep.rs:731).
  • UnenrolledNode and its next_step say remove <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_IGNORED says [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 spec previews the same refusals)
  • BCLI-078 (the refusal of a failed expansion)

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]
    • cargo nextest run -p boxes bep_refusals_name_the_minimal_toml_table
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

  1. minimal-foundry commented on Nov 14, 2026

    @minimal-foundry
    Contributor

    Done. #3433 merged.

    branch agent/3424-the-box-egress-proxy-refusals-name-the-minimal-t · epic #2879 · PR #3433

    round outcome job
    1 changed nothing: Revise round 1: no new commits. The directive lists two failed checks, e2e and ci-macos-success. The ci-macos-success excerpt shows only the aggregator's 'exit 1'. The e2e excerpt is cut off before th 6c606124
    2 pushed 1afda4ab
    1 pushed 36301701
    1 pushed d33bda1b

    Updated 2026-11-16T06:24:48.312Z.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0