8000 fix(minimal): min box spec exits 3 for every BEP refusal that the start gives, with the same egress by minimal-foundry[bot] · Pull Request #3622 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(minimal): min box spec exits 3 for every BEP refusal that the start gives, with the same egress - #3622

Merged
norrietaylor merged 8 commits into
mainfrom
agent/3586-min-box-spec-exits-3-for-every-bep-refusal-that
Nov 19, 2026
Merged

norrietaylor merged 8 commits into
mainfrom
agent/3586-min-box-spec-exits-3-for-every-bep-refusal-that

Conversation

@minimal-foundry
Copy link
Copy Markdown
Contributor

Follow-up

Fixes #3586

Task marker
### D2445 — min box spec exits 3 for every BEP refusal that the start gives, with the same egress, network mode and host facts
  kind: task
  size: M
  est: 80 code, 120 tests
  executor: agent
  origin: bug
  epic: 1501
  layers:
    - preview:
      - crates/minimal/src/cmd/box_spec.rs: Adds the effective egress to SpecInputs, computes it in project_rows and expand_entry as the start does, and makes render return the full check_activation result with no refusal filter.
      - crates/minimal/src/cmd/boxes/create.rs: Makes session_effective_egress and session_box_network pub(crate) or moves the egress and network resolution into one shared helper, so the preview and the start read the same facts.
      test: cargo test -p minimal box_spec_preview_refuses_like_start
      test: cargo test -p minimal box_spec
  proof: For a project with a broker grant and no egress allow for the GitHub hosts, min box spec and min session both exit 3 with the same refusal text.

Proof

For a project with a broker GitHub grant and an egress that does not allow the GitHub hosts (an egress that names other hosts, or no egress on an own_ip box), min box spec now exits 3 with the same refusal text that min session activate prints: 'This box declares a GitHub grant, but its egress does not allow: github.com, api.github.com, uploads.github.com, codeload.github.com. Add them to egress.allow_dns_hosts.' The test box_spec_preview_refuses_like_start runs the start's steps and min box spec on the same project and checks for the same text and e 8000 xit 3.

Notes from the agent: SpecInputs has a new egress field. render now runs check_activation with no refusal filter, before the no-grant early return, as the start runs it for every project. project_rows computes the network and the egress with the start's own helpers in a new project_network function (flag_network_overrides, project_egress, session_box_network, session_effective_egress, network_override_policy). The preview now also applies the project's network.mode, which preview_host ignored. preview_host is now #[cfg(test)], because only the create.rs parity test uses it. expand_entry passes the egress that it already computed to proxy_rows. In create.rs, session_effective_egress is now pub(crate), and a new test uses it.

Outside the layers: crates/minimal/src/tests.rs. The test line cargo test -p minimal box_spec runs box_spec_path_form_renders_bep_rows and box_spec_renders_formats_secrets_as_refs. Both expected rows for an own_ip box with no egress. The start refuses that box (BEP-008), so the two tests now use --network host_ip.

The entry form (min box spec ) calls proxy_rows only when the entry has a broker grant. So for an entry with no grant, the entry form does not show the BEP-010 refusal (steering off with proxy_env). The project form now shows it. The project form still reads the grants from the [session] table, and the start reads them through the expansion. A project that decl…[truncated]

Tests

line exit tail
cargo test -p minimal box_spec_preview_refuses_like_start 0 result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 41 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 18 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 74 filtered out;
cargo test -p minimal box_spec 0 ections ... ok test tests::box_spec_task_entry_refusal_names_the_task_secrets_table ... ok test tests::box_spec_box_lists_hooks_with_declarer ... ok test tests::created_box_spec_json_names_each_hook_declarer ... ok test tests::box_spec_argument_directory_then_entry_then_box ... ok test tests::box_sp

Verify

min task run agent-verify exited 100, so this PR is a draft.

 {
                "parent_span_id": "e1e969ad4b2ceb33",
                "rpc": "minimald-v1-GetSessionRecord",
                "span_id": "2b01e7db01702cc6",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "2b01e7db01702cc6",
                "queued_behind": "0",
                "span_id": "8357bbb2816389df",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "rpc",
            fields: {
                "parent_span_id": "e1e969ad4b2ceb33",
                "rpc": "minimald-v1-DestroySession",
                "span_id": "2a7fa558cb1cd9fb",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "2a7fa558cb1cd9fb",
                "queued_behind": "0",
                "span_id": "66901d4d67a73d50",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "DeleteSession",
                "parent_span_id": "2a7fa558cb1cd9fb",
                "queued_behind": "0",
                "span_id": "5b1f49f956092cf7",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "session.message",
            fields: {
                "kind": "Destroy",
                "parent_span_id": "5b1f49f956092cf7",
                "span_id": "865e7cb65555a0a9",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "HandOverName",
                "parent_span_id": "5b1f49f956092cf7",
                "queued_behind": "0",
                "span_id": "f944c38d10915aa3",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
    ]
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  Cancelling due to test failure: 
────────────
     Summary [  92.004s] 1197 tests run: 1196 passed, 1 failed, 2 skipped
        FAIL [  13.103s] (1197/1197) minimal::otel_cli exec_run_attach_and_task_run_share_the_commands_trace
error: test run failed

Base

The base branch moved while the coder worked; it was merged in before the tests ran.

Out of scope

These files are outside the task's layers:, so this PR is a draft:

  • crates/minimal/src/tests.rs

The preview now computes the session box's network mode and effective
egress with the start's own helpers, and runs the whole activation check
with no refusal filter. A project with a broker grant and an egress that
does not admit the GitHub hosts now exits 3 from min box spec with the
same text as the start.
An own_ip box with no egress is refused by the start (BEP-008), and now
by min box spec too. The row tests use a host_ip box, which admits every
host.
@coderabbitai
coderabbitai Bot commented Nov 19, 2026 •
Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bc54042e-5692-4315-ae91-3248bdee82db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@norrietaylor
Copy link
Copy Markdown
Member

Un-drafted: the agent-verify result is the same minimald trace-span failure (or a 1800 s verify timeout) seen across this batch, not a failure in this diff. Every lane is green.

@norrietaylor
Copy link
Copy Markdown
Member

/review

@norrietaylor
Copy link
Copy Markdown
Member

/arch-review

@minimal-foundry
minimal-foundry Bot commented Nov 19, 2026 •
Copy link
Copy Markdown
Contributor Author

Approved: no findings at 4d8eb865b498.

Nothing to do.

Clobber: none seen.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approved

Verdict APPROVE — No findings.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

@minimal-foundry minimal-foundry Bot added the review:approved minimal-review approved the current head label Nov 19, 2026
@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: CONDITIONS · 1 condition · the full ruling

The project form of min box spec now runs the start's whole BEP check with the start's network, egress and host facts. That part conforms to D6 and to line 1253. The entry form still skips the check for an entry with no credentialed grant. The start refuses such an entry with exit 3 when it sets steering = "off" with proxy_env (BEP-010). Line 476 says min box spec <entry> validates and exits 3 on invalid. Make the edit in C1.

Ruled at 5e59eec against gominimal/arch@8b824707cde6 by claude-opus-5-5.

Comment thread crates/minimal/src/cmd/box_spec.rs Resolved
@norrietaylor
Copy link
Copy Markdown
Member

/revise Arch condition C1 (crates/minimal/src/cmd/box_spec.rs:1026): the egress check now runs only inside if grants.values().any(SecretGrant::is_credentialed) at line 1001, so an entry with no grant and steering = "off" together with proxy_env gets no check, while min box start refuses it with exit 3 (BEP-010). Run proxy_rows for every entry, and keep rows_text empty when no grant is credentialed (line 476). Add a test: an entry with no grant and that steering combination makes min box spec <entry> exit 3 with the start's refusal text. Also cover the two cases from #2445's comment (a store-reference secret with no egress section, and an allow_dns_hosts list on host_ip on a VM host): min box spec <entry> must give the start's refusal for each.

…ntry

The entry preview ran the activation check only for a credentialed
grant, so an entry with no grant and steering "off" with proxy_env got
no refusal, while the start refused it with exit 3 (BEP-010). The
preview now checks every entry and prints rows only for a credentialed
grant. It also runs the start's store reference check (BEP-034,
BEP-036) after the activation check, in the start's order.

The store fixtures in two row tests now allow their rule's upstream in
the egress, as the start requires.
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 1 of 10 on a /revise note, pushed as 902052e991ca.

line exit tail
cargo test -p minimal box_spec_preview_refuses_like_start 0 result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 41 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 18 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 74 filtered out;
cargo test -p minimal box_spec 0 ections ... ok test tests::box_spec_task_entry_refusal_names_the_task_secrets_table ... ok test tests::created_box_spec_json_names_each_hook_declarer ... ok test tests::box_spec_box_lists_hooks_with_declarer ... ok test tests::box_spec_argument_directory_then_entry_then_box ... ok test tests::box_sp

Verify min task run agent-verify exited 100.

 {
                "parent_span_id": "6254dff3b981cb63",
                "rpc": "minimald-v1-GetSessionRecord",
                "span_id": "9631c16c0f3f52ee",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "9631c16c0f3f52ee",
                "queued_behind": "0",
                "span_id": "7a01506bacbe334b",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "rpc",
            fields: {
                "parent_span_id": "6254dff3b981cb63",
                "rpc": "minimald-v1-DestroySession",
                "span_id": "b0ce21bf68adc4b2",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "b0ce21bf68adc4b2",
                "queued_behind": "0",
                "span_id": "0dff9d165f84a38a",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "DeleteSession",
                "parent_span_id": "b0ce21bf68adc4b2",
                "queued_behind": "0",
                "span_id": "155254a49fd28224",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "session.message",
            fields: {
                "kind": "Destroy",
                "parent_span_id": "155254a49fd28224",
                "span_id": "18079024316a0558",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "HandOverName",
                "parent_span_id": "155254a49fd28224",
                "queued_behind": "0",
                "span_id": "26c8cc17338e8ec4",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
    ]
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  Cancelling due to test failure: 
────────────
     Summary [  85.613s] 1202 tests run: 1201 passed, 1 failed, 2 skipped
        FAIL [  12.945s] (1202/1202) minimal::otel_cli exec_run_attach_and_task_run_share_the_commands_trace
error: test run failed

Outside the task's layers::

  • crates/minimal/src/tests.rs

Converted to a draft: something above needs a person before review.

Review threads the coder judged:

  • 👍 valid — crates/minimal/src/cmd/box_spec.rs: expand_entry now runs proxy_rows for every entry and keeps rows_text empty unless a grant is credentialed; box_spec_entry_preview_refuses_like_start pins the steering off + proxy_env case with no grant.

For a project with a broker grant and no egress allow for the GitHub hosts, min box spec and min session both exit 3 with the same refusal text. min box spec now also gives the start's exit 3 refusal in three more cases: an entry with no grant and steering "off" with proxy_env, a store reference with no egress section, and an allow_dns_hosts list on a host_ip box on a VM host.

Notes from the agent: Revise round 1. expand_entry now calls proxy_rows for every entry, and rows_text stays empty when no grant is credentialed. render now also runs the start's check_store_references (deny set and egress, BEP-034/BEP-036) after check_activation, in the start's order. Before this change the preview never refused a store reference outside the egress. A store reference with no rule, or a rule that asks or denies, still prints a row in the preview, because the start decides those as consent and not as a refusal. The new test box_spec_entry_preview_refuses_like_start in create.rs covers the three cases from the directive. Its start_refusal_of helper runs refuse_unhonourable_grants and then check_store_grants for the entry. Out of layers: crates/minimal/src/tests.rs. Its box_spec_render_carries_client_store_rules fixture had a store rule upstream that its egress did not allow, and the start refuses that fixture. I added allow_dns_hosts = ["registry.npmjs.org"] so that the test still checks the render. The test runs under the box_spec test line. The fixture in box_spec_lists_store_references_with_their_authorities got the same fix: its egress now allows the rule's anthropic hosts. The start reads its refusal tables from [defaults.session]. So the new test puts the settings in [defaults.session] and [defaults.network.egress], where the preview and the start name the same tables.

@minimal-foundry
minimal-foundry Bot marked this pull request as draft November 19, 2026 07:07
@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The ruling on 5e59eec set C1, and this head meets it. expand_entry now runs the start's check for every entry. It prints rows only for a credentialed grant. A new test proves the BEP-010 refusal with exit 3 for an entry with no grant. The new store reference check in render follows the start's order. The change conforms to the min box spec line in architecture.md.

Ruled at 902052e against gominimal/arch@8b824707cde6 by claude-opus-5-5.

@norrietaylor
norrietaylor marked this pull request as ready for review November 19, 2026 09:30
@norrietaylor
Copy link
Copy Markdown
Member

Marked ready: the lanes are green at this head. agent-verify exited 100 with the recurring minimald LoggedSpan tail, outside this diff.

@norrietaylor
Copy link
Copy Markdown
Member

/review

@norrietaylor
Copy link
Copy Markdown
Member

/arch-review

@minimal-foundry minimal-foundry Bot removed the review:approved minimal-review approved the current head label Nov 19, 2026
@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The change conforms to the design. min box spec now runs the same activation check and store reference check as the start, with the same network, egress and host facts. architecture.md line 476 says the preview validates with exit 3, and line 1253 says its render is exactly what the host receives. The new tests compare the refusal text and exit code with the start's own steps. There are no conditions.

Ruled at 902052e against gominimal/arch@8b824707cde6 by claude-opus-5-5.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — advisory review

Verdict COMMENT — 2 findings, 2 inline.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

Comment thread crates/minimal/src/cmd/box_spec.rs Resolved
Comment thread crates/minimal/src/cmd/box_spec.rs Resolved
The entry preview read the full-breadth acknowledgement for every
entry. The start reads it only when a grant is narrower than full, so
an unreadable organization config.toml failed the preview and not the
start. The preview now reads it under the same condition.

min task run makes no grant check, so a task entry with no
credentialed grant no longer runs the check. A session entry still
runs the start's whole check for every entry.
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 2 of 10 on the runtime's review findings, pushed as 4d8eb865b498.

line exit tail
cargo test -p minimal box_spec_preview_refuses_like_start 0 result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 18 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 74 filtered out;
cargo test -p minimal box_spec 0 ets_table ... ok test tests::created_box_spec_json_names_each_hook_declarer ... ok test tests::box_spec_argument_directory_then_entry_then_box ... ok test tests::box_spec_box_lists_hooks_with_declarer ... ok test tests::box_spec_box_renders_stored_copy ... ok test result: ok. 23 passed; 0 failed; 0

Verify min task run agent-verify exited 100.

 {
                "parent_span_id": "41880f29862c07b8",
                "rpc": "minimald-v1-GetSessionRecord",
                "span_id": "ac3b8121b1c6885a",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "ac3b8121b1c6885a",
                "queued_behind": "0",
                "span_id": "ce13791d1bc654ce",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "rpc",
            fields: {
                "parent_span_id": "41880f29862c07b8",
                "rpc": "minimald-v1-DestroySession",
                "span_id": "d7d7800d2234bd63",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "d7d7800d2234bd63",
                "queued_behind": "0",
                "span_id": "1a3e7e453158a6f7",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "DeleteSession",
                "parent_span_id": "d7d7800d2234bd63",
                "queued_behind": "0",
                "span_id": "5be61e3d765a6c7f",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "session.message",
            fields: {
                "kind": "Destroy",
                "parent_span_id": "5be61e3d765a6c7f",
                "span_id": "038d942e6f02a8cb",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "HandOverName",
                "parent_span_id": "5be61e3d765a6c7f",
                "queued_behind": "0",
                "span_id": "3f8a2da9d8280873",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
    ]
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  Cancelling due to test failure: 
────────────
     Summary [  80.003s] 1206 tests run: 1205 passed, 1 failed, 2 skipped
        FAIL [  12.804s] (1206/1206) minimal::otel_cli exec_run_attach_and_task_run_share_the_commands_trace
error: test run failed

Outside the task's layers::

  • crates/minimal/src/tests.rs

Converted to a draft: something above needs a person before review.

Review threads the coder judged:

  • 👍 valid — crates/minimal/src/cmd/box_spec.rs: proxy_rows now reads the acknowledgement only when a grant is narrower than full, as the start does. The user config.toml is already read for loadouts before this point, so the organization config is the file this protects.
  • 👍 valid — crates/minimal/src/cmd/box_spec.rs: A task entry with no credentialed grant now skips the check, because min task run makes none. Added box_spec_task_entry_preview_accepts_what_task_run_accepts. A credentialed task entry keeps the check and rows it had on main.

For a project with a broker grant and no egress allow for the GitHub hosts, min box spec and min session both exit 3 with the same refusal text. A session entry with no grant that the start refuses is refused by min box spec too. A task entry that min task run accepts is not refused by the preview.

Notes from the agent: Revise round 2. proxy_rows reads the full-breadth acknowledgement only when a grant is narrower than full, as activate_box does. No test pins this. expand_entry already reads the user config.toml for loadouts, so only the organization config, at a fixed path, can show the difference. A task entry with no credentialed grant now skips the check, because task::run_entry makes no grant check. A task entry with a credentialed grant still runs the check and prints rows, as on main. The new test box_spec_task_entry_preview_accepts_what_task_run_accepts fails without the fix and passes with it. cargo fmt --check and cargo clippy -p minimal --all-targets report nothing.

@minimal-foundry
minimal-foundry Bot marked this pull request as draft November 19, 2026 09:57
@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The new commit makes min box spec <entry> refuse only what the start refuses. The preview reads config.toml only for a narrow grant, as activate_box does. A task entry with no credentialed grant skips the grant check, because min task run makes none. Lines 490 and 1253 of architecture.md say the preview shows exactly what the box gets. No condition is open.

Ruled at 4d8eb86 against gominimal/arch@8b824707cde6 by claude-opus-5-5.

@norrietaylor
norrietaylor marked this pull request as ready for review November 19, 2026 15:02
@norrietaylor
Copy link
Copy Markdown
Member

Marked ready: the lanes are green at this head. agent-verify exited 100 with the recurring minimald LoggedSpan tail, outside this diff.

@norrietaylor
Copy link
Copy Markdown
Member

/review

@norrietaylor
Copy link
Copy Markdown
Member

/arch-review

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approval withheld

Verdict COMMENT — APPROVE withheld: 3 unresolved threads — minimal-arch[bot] crates/minimal/src/cmd/box_spec.rs, minimal-foundry[bot] crates/minimal/src/cmd/box_spec.rs, minimal-foundry[bot] crates/minimal/src/cmd/box_spec.rs. No findings.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The change conforms to the design. min box spec now checks the grants against the same effective egress, network mode and host facts that the start uses, and it exits 3 with the start's refusal. Section min box line 476 and line 490 require this. The preview calls the start's own helpers, so the code is in the correct owner. The tests.rs edits follow the stricter gate and do not relax it.

Ruled at 4d8eb86 against gominimal/arch@8b824707cde6 by claude-opus-5-5.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approved

Verdict APPROVE — every review thread is resolved; @norrietaylor closed the last one. The review of 4d8eb865b498 withheld this approval on the threads open then. Posted as a comment: the App cannot approve its own pull request; the check and the label carry it.

@norrietaylor
Copy link
Copy Markdown
Member

/review

@minimal-foundry minimal-foundry Bot added the review:approved minimal-review approved the current head label Nov 19, 2026
@norrietaylor norrietaylor left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gate passed at 4d8eb86: minimal-review APPROVE, arch APPROVED, no open threads, lanes green.

@norrietaylor
norrietaylor added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit cdb697b Nov 19, 2026
40 checks passed
@norrietaylor
norrietaylor deleted the agent/3586-min-box-spec-exits-3-for-every-bep-refusal-that branch November 19, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:approved minimal-review approved the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

D2445 — min box spec exits 3 for every BEP refusal that the start gives, with the same egress, network mode and host facts

1 participant

0