8000 fix(boxes,minimal): a refusal for a Box Egress Proxy that does not answer names bep.log, the proxy's by minimal-foundry[bot] · Pull Request #3616 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(boxes,minimal): a refusal for a Box Egress Proxy that does not answer names bep.log, the proxy's - #3616

Merged
norrietaylor merged 9 commits into
mainfrom
agent/3580-a-refusal-for-a-box-egress-proxy-that-does-not-a
Nov 19, 2026
Merged

norrietaylor merged 9 commits into
mainfrom
agent/3580-a-refusal-for-a-box-egress-proxy-that-does-not-a

Conversation

@minimal-foundry
Copy link
Copy Markdown
Contributor

Follow-up

Fixes #3580

  • Epic: charged to Local box egress proxy — sealed GitHub credentials and host-store secrets without Gatehouse #1501
  • Size: S; estimated 90 code, 80 tests
  • May touch:
    • crates/minimal/src/cmd/boxes/create.rs
    • crates/minimal/src/mint.rs
    • crates/minimal/src/cmd/secret.rs
    • crates/minimal/src/tests.rs
    • crates/boxes/src/core/bep.rs
    Task marker
    ### D3572 — A refusal for a Box Egress Proxy that does not answer names bep.log, the proxy's last error and the restart step
      kind: task
      size: S
      est: 90 code, 80 tests
      executor: agent
      origin: bug
      epic: 1501
      layers:
        - client:
          - crates/minimal/src/cmd/boxes/create.rs: proxy_present connects to control.sock, so a left-over socket takes the NotAnswering branch. The mint path gives the bep.log path to MintError::NotRunning.
          - crates/minimal/src/mint.rs: MintError::NotRunning holds the bep.log path and the last error line of the log. Its Display names both and tells the user to restart minvmd.
          - crates/minimal/src/cmd/secret.rs: the match on MintError::NotRunning accepts the new fields
          - crates/minimal/src/tests.rs: a stale control.sock with no listener gives NotAnswering with the log. The NotRunning text names bep.log and the restart step.
          test: cargo test -p minimal a_grant_box_with_no_proxy_is_refused_as_an_unenrolled_node
          test: cargo test -p minimal a_stale_control_socket_names_the_proxy_log
        - boxes:
          - crates/boxes/src/core/bep.rs: ProxyAbsence::NotAnswering shows the proxy's last error line from the log when one exists, and tells the user to fix it and restart minvmd
          test: cargo test -p boxes not_answering_names_the_proxy_reason_and_restart
      proof: With bep serve exited and an old control.sock left over, min session activate on a GitHub-grant box prints the bep.log path, the proxy's last error and a step to restart minvmd.
    

    Proof

    Stop bep serve and leave its old control.sock in place. Then min session activate on a GitHub-grant box refuses the box, and the refusal names the bep.log path and the proxy's last error line from that log. It ends with "Fix that error, then restart minvmd, which starts the proxy again." The creation check and the mint at activation both print this text.

    Notes from the agent: proxy_present now connects to control.sock, so a socket file with no listener counts as no proxy. The existing test now binds a real listener where it used to write an empty file. crate::mint::last_error_line reads the last 64 KiB of bep.log. It takes the last tracing record at level ERROR, and keeps the text after the level. A line that is no tracing record (what bep prints as it exits) also counts. ANSI colour codes are removed, and the line is capped at 300 characters. NotAnswering and NotRunning always give the restart step now, also with no error line ("Restart minvmd, which starts the proxy again."), so the pinned texts in a_grant_box_with_no_proxy_is_refused_as_an_unenrolled_node changed. Printed text: the step says "restart minvmd", as the task says, but it names no command, because I did not find one command that restarts minvmd on every host. min host stop followed by an autospawn is a possible step, but I did not check it against this code path. mint_into_request now takes an eighth argument (proxy_log), with a justified #[allow(clippy::too_many_arguments)]. I did not run just clippy-strict or the full crate suites.

    Tests

    line exit tail
    cargo test -p minimal a_grant_box_with_no_proxy_is_refused_as_an_unenrolled_node 0 sed_as_an_unenrolled_node ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1026 filtered out; finished in 0.00s running 0 tests test 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;
    cargo test -p minimal a_stale_control_socket_names_the_proxy_log 0 running 1 test test tests::mint_tests::a_stale_control_socket_names_the_proxy_log ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1026 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 41 filtered out; finished in 0.00
    cargo test -p boxes not_answering_names_the_proxy_reason_and_restart 0 running 1 test test core::bep::tests::not_answering_names_the_proxy_reason_and_restart ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 612 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in

    Verify

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

     {
                    "parent_span_id": "11a4d6a938de7846",
                    "rpc": "minimald-v1-GetSessionRecord",
                    "span_id": "9084d0fa0108dce0",
                    "trace_id": "0af7651916cd43dd8448eb211c803111",
                },
                parent: None,
                closed: true,
            },
            LoggedSpan {
                name: "sessions.manager.message",
                fields: {
                    "kind": "GetRecord",
                    "parent_span_id": "9084d0fa0108dce0",
                    "queued_behind": "0",
                    "span_id": "0419fc31c89066a3",
                    "trace_id": "0af7651916cd43dd8448eb211c803111",
                },
                parent: None,
                closed: true,
            },
            LoggedSpan {
                name: "rpc",
                fields: {
                    "parent_span_id": "11a4d6a938de7846",
                    "rpc": "minimald-v1-DestroySession",
                    "span_id": "0484c36ae775073c",
                    "trace_id": "0af7651916cd43dd8448eb211c803111",
                },
                parent: None,
                closed: true,
            },
            LoggedSpan {
                name: "sessions.manager.message",
                fields: {
                    "kind": "GetRecord",
                    "parent_span_id": "0484c36ae775073c",
                    "queued_behind": "0",
                    "span_id": "ba871645b7924a9a",
                    "trace_id": "0af7651916cd43dd8448eb211c803111",
                },
                parent: None,
                closed: true,
            },
            LoggedSpan {
                name: "sessions.manager.message",
                fields: {
                    "kind": "DeleteSession",
                    "parent_span_id": "0484c36ae775073c",
                    "queued_behind": "0",
                    "span_id": "43c8609fea0c5622",
                    "trace_id": "0af7651916cd43dd8448eb211c803111",
                },
                parent: None,
                closed: true,
            },
            LoggedSpan {
                name: "session.message",
                fields: {
                    "kind": "Destroy",
                    "parent_span_id": "43c8609fea0c5622",
                    "span_id": "dc174d73500c12fc",
                    "trace_id": "0af7651916cd43dd8448eb211c803111",
                },
                parent: None,
                closed: true,
            },
            LoggedSpan {
                name: "sessions.manager.message",
                fields: {
                    "kind": "HandOverName",
                    "parent_span_id": "43c8609fea0c5622",
                    "queued_behind": "0",
                    "span_id": "647b4bbcda09ec6f",
                    "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 [  97.498s] 1850 tests run: 1849 passed, 1 failed, 2 skipped
            FAIL [  13.234s] (1850/1850) 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.

ProxyAbsence::NotAnswering carries the last error line of bep.log, and
its text tells the user to fix it and restart minvmd.
proxy_present connects to control.sock, so a socket file that a stopped
bep serve left behind takes the not-answering branch. The mint names
bep.log, its last error line and the step to restart minvmd.
The connect-site inventory lists every connection by function. The new
stale control.sock test opens two proxy control connections.
@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: 845efb4b-dca3-4b81-b8f1-231960590691

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 e09fe29283c4.

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 — advisory review

Verdict COMMENT — 1 finding, 1 inline.

Panel: 1 of 3 personas ran (correctness); did not complete: security, supply-chain.

Comment thread crates/minimal/src/mint.rs Resolved
@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. Gatehouse §6.2 keeps gatehouse_unenrolled_node as the refusal where no node-local BEP exists. A proxy that does not answer on its control socket is that case, and the refusal stays exit 5. The quoted bep.log line carries no credential, because no bep ERROR record holds a secret. Note that bep.log is appended across boots. So the quoted "last error" can come from an earlier run. The design does not decide this, so it is not a condition.

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

@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. Gatehouse §6.2 line 580 keeps gatehouse_unenrolled_node as the refusal wherever no node-local BEP exists. A stale control.sock now counts as no proxy, and the refusal code and exit 5 do not change. The added log line and restart step stay in the client and in boxes::core::bep, as #3607 set. Before merge, the author must check two items that are outside the design. The restart step names no command, and the agent-verify run failed in otel_cli.

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

bep.log keeps the records of earlier runs. An ERROR that a later INFO or
WARN record follows did not stop the proxy, so the refusal no longer
quotes it. After the last record, the first line with no level is kept,
not the tail of a backtrace.
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 1 of 10 on the runtime's review findings, pushed as 63d49b73ffa8.

line exit tail
cargo test -p minimal a_grant_box_with_no_proxy_is_refused_as_an_unenrolled_node 0 sed_as_an_unenrolled_node ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1030 filtered out; finished in 0.00s running 0 tests test 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;
cargo test -p minimal a_stale_control_socket_names_the_proxy_log 0 running 1 test test tests::mint_tests::a_stale_control_socket_names_the_proxy_log ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1030 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 41 filtered out; finished in 0.00
cargo test -p boxes not_answering_names_the_proxy_reason_and_restart 0 running 1 test test core::bep::tests::not_answering_names_the_proxy_reason_and_restart ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 612 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in

Verify min task run agent-verify exited 100.

 {
                "parent_span_id": "139679fc5539ae19",
                "rpc": "minimald-v1-GetSessionRecord",
                "span_id": "53f2132a0b412aee",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "53f2132a0b412aee",
                "queued_behind": "0",
                "span_id": "54a471f81f4ec855",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "rpc",
            fields: {
                "parent_span_id": "139679fc5539ae19",
                "rpc": "minimald-v1-DestroySession",
                "span_id": "a08d267657948585",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.me
8BD0
ssage",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "a08d267657948585",
                "queued_behind": "0",
                "span_id": "b6cbf16640c8f497",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "DeleteSession",
                "parent_span_id": "a08d267657948585",
                "queued_behind": "0",
                "span_id": "35eac322cb8d7e80",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "session.message",
            fields: {
                "kind": "Destroy",
                "parent_span_id": "35eac322cb8d7e80",
                "span_id": "42fabca6686f1491",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "HandOverName",
                "parent_span_id": "35eac322cb8d7e80",
                "queued_behind": "0",
                "span_id": "d770cc8482f0afed",
                "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 [  95.965s] 1854 tests run: 1853 passed, 1 failed, 2 skipped
        FAIL [  13.154s] (1854/1854) minimal::otel_cli exec_run_attach_and_task_run_share_the_commands_trace
error: test run failed

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

Review threads the coder judged:

  • 👍 valid — crates/minimal/src/mint.rs:115: last_error_line now lets the last record decide: an INFO/WARN after an ERROR gives no quote, and after the last record only the first unleveled line is quoted, not a backtrace tail.

With bep serve exited and an old control.sock left over, min session activate on a GitHub-grant box prints the bep.log path and the restart step for minvmd. It also quotes the error that ends bep.log, and no longer quotes an older error from an earlier run.

Notes from the agent: Revise round 1. last_error_line now reads only the end of bep.log. If the last record is ERROR, its text is quoted. If the last record has another level, the first unleveled line after it is quoted, which is what bep printed when it stopped (for example 'bep stopped serving: ...'). If there is no such line, nothing is quoted. The stale-socket test log no longer ends with an INFO line after the ERROR, because under the new rule that error is not the cause. New assertions cover an old error followed by INFO, an unleveled stop line followed by a backtrace, and an ERROR followed by a wrapped line. cargo clippy -p minimal --all-targets and cargo fmt --check are clean.

@minimal-foundry
minimal-foundry Bot marked this pull request as draft November 19, 2026 06:47
@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 changes only which bep.log line the refusal quotes. Now the refusal quotes an error only when that error ends the log. A proxy that does not answer still refuses the box at creation and at mint, as gatehouse-spec §6.3 line 637 requires. With no quoted line, the refusal still names the log and the restart step. The earlier PASS on this PR stands.

Ruled at 63d49b7 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 — 1 finding, 1 inline.

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

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

/revise Fix the two open minimal-review threads in crates/minimal/src/mint.rs:

  1. MEDIUM (last_error_line, line 115): bep.log is appended across runs, so the last ERROR record in the final 64 KiB can come from an earlier run. Only report an ERROR record written by the run that just failed: take the log's length (or the last start marker the proxy writes) before the start and read only what follows it. If nothing from this run is at ERROR, print no "last error" line. Add a test with an old ERROR followed by INFO lines from a later start that prints no error.
  2. LOW (final_error, line 98): the doc says unlevelled lines after an ERROR record belong to it, but the ERROR branch drops them. Return the record with its continuation lines, and pin a multi-line error in a test.
    Keep the printed wording otherwise unchanged; update every test that pins it.

bep.log keeps earlier runs. The leftover control.sock's modification
time marks the start of the last bep serve, so records stamped before
it are no longer quoted. An ERROR record now keeps the lines with no
level that follow it, so a multi-line error is quoted whole.
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 2 of 10 on a /revise note, pushed as e09fe29283c4.

line exit tail
cargo test -p minimal a_grant_box_with_no_proxy_is_refused_as_an_unenrolled_node 0 sed_as_an_unenrolled_node ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1032 filtered out; finished in 0.00s running 0 tests test 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;
cargo test -p minimal a_stale_control_socket_names_the_proxy_log 0 running 1 test test tests::mint_tests::a_stale_control_socket_names_the_proxy_log ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1032 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00
cargo test -p boxes not_answering_names_the_proxy_reason_and_restart 0 running 1 test test core::bep::tests::not_answering_names_the_proxy_reason_and_restart ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 612 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in

Verify min task run agent-verify exited 100.

 {
                "parent_span_id": "6930d4012f3707a0",
                "rpc": "minimald-v1-GetSessionRecord",
                "span_id": "ccc15ea571a63356",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "ccc15ea571a63356",
                "queued_behind": "0",
                "span_id": "0c066eac0dff363c",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "rpc",
            fields: {
                "parent_span_id": "6930d4012f3707a0",
                "rpc": "minimald-v1-DestroySession",
                "span_id": "3a5b5d6e1d4f1a16",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "GetRecord",
                "parent_span_id": "3a5b5d6e1d4f1a16",
                "queued_behind": "0",
                "span_id": "0554aabeca71ccdf",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "DeleteSession",
                "parent_span_id": "3a5b5d6e1d4f1a16",
                "queued_behind": "0",
                "span_id": "22e2846f51f235db",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "session.message",
            fields: {
                "kind": "Destroy",
                "parent_span_id": "22e2846f51f235db",
                "span_id": "3afd389a32634674",
                "trace_id": "0af7651916cd43dd8448eb211c803111",
            },
            parent: None,
            closed: true,
        },
        LoggedSpan {
            name: "sessions.manager.message",
            fields: {
                "kind": "HandOverName",
                "parent_span_id": "22e2846f51f235db",
                "queued_behind": "0",
                "span_id": "c5d16ad7bb73e2f9",
                "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 [  84.308s] 1857 tests run: 1856 passed, 1 failed, 2 skipped
        FAIL [  12.939s] (1857/1857) minimal::otel_cli exec_run_attach_and_task_run_share_the_commands_trace
error: test run failed

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

Review threads the coder judged:

  • 👍 valid — crates/minimal/src/mint.rs: final_error now returns an ERROR record with the unlevelled lines after it, joined by spaces. The stale-socket test pins a three-line error.

With bep serve exited and an old control.sock left over, min session activate on a GitHub-grant box prints the bep.log path, the restart step for minvmd, and the last error of the proxy run that left the socket. A multi-line error is quoted whole. An error from an earlier run is not quoted.

Notes from the agent: The note asks for the log length or a start marker from before the proxy starts. min does not start the proxy. minvmd opens bep.log and starts bep serve, bep writes no start marker, and both crates are outside this task's layers. So the run boundary is the leftover control.sock's modification time, which is when the last bep serve began to listen. last_error_line(log, control) reads only from the first tracing record stamped at or after that second. If no record is stamped at or after it, it quotes nothing. When no control.sock file exists, the start is not known and only the earlier end-of-log rule applies. A test pins that case. A future change can make minvmd pass the bep.log length at spawn, or make bep write a start line. That gives an exact boundary for the no-socket case too. The wording of the refusal is unchanged. Continuation lines are joined with spaces, because control characters in the quote are escaped. The existing test for an old ERROR followed by INFO from a later start already passed before this round. This round adds the same case with the socket boundary, and adds an old ERROR that ends the log with nothing from this run after it. I did not run just clippy-strict or the full crate suite. cargo clippy -p minimal --all-targets is clean.

@minimal-foundry minimal-foundry Bot added the needs-human An agent handed off; a human must act, then clear this label. Set by defer and handoffs. label Nov 19, 2026
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

The runtime will not revise this pull request again on its own: the diff is +492/-25 (517 lines), past 3x the plan's estimate of 170 lines (est: 90 code, 80 tests, as #3580 reads now), at round 2 (the last trigger was a /revise note). A person decides now. Remove needs-human from this pull request to let /revise <note> or the automatic rounds resume, or finish #3580 by hand.

@norrietaylor
norrietaylor marked this pull request as ready for review November 19, 2026 15:01
@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-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

This push quotes only the bep.log error of the last proxy run. It also quotes a multi-line error whole. The design has nothing to say about how the client selects that line. The quoted text comes from bep.log, and architecture.md line 79 keeps secret values out of logs. The 300-character cap and the escape of control characters stay in place, and the refusal still fails closed. The merge of main carries no hand edits. The ruling at 63d49b73 stands for the rest of the change.

Ruled at e09fe29 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 — approval withheld

Verdict COMMENT — APPROVE withheld: 2 unresolved threads — minimal-foundry[bot] crates/minimal/src/mint.rs:127, minimal-foundry[bot] crates/minimal/src/mint.rs. No findings.

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

@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 e09fe29283c4 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.

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

/review

@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 e09fe29: 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 bbc2a56 Nov 19, 2026
41 checks passed
@norrietaylor
norrietaylor deleted the agent/3580-a-refusal-for-a-box-egress-proxy-that-does-not-a 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

needs-human An agent handed off; a human must act, then clear this label. Set by defer and handoffs. review:approved minimal-review approved the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

D3572 — A refusal for a Box Egress Proxy that does not answer names bep.log, the proxy's last error and the restart step

1 participant

0