8000 test(minimal): list the dash refusal helper in the create inventory · gominimal/minimal@2f66a35 · GitHub
[go: up one dir, main page]

Skip to content

test(minimal): list the dash refusal helper in the create inventory

Minimal Arch / arch-review failed Nov 23, 2026

CONDITIONS

Inputs. Re-review of #3738 at 2f66a35d, on arch 4f2eb87d. The baseline is the CONDITIONS ruling at b9f53d3a, and it is on the same arch commit. since-conditions.json holds that ruling's C1 and C2. since.diff holds two PR commits (b5dea194, 2f66a35d) and no merge. They touch dash/rpc.rs, the SessionEntryCreate doc comment in cmd/boxes/create.rs and the inventory in src/tests.rs. No findings.json or arch-map.md is staged. I opened the cited lines again at this arch commit, and they read the same. Everything that since.diff does not touch keeps its baseline status.

Governs. Glossary Entry (line 61): an entry expands into one Box Spec. Policy layers (lines 1336-1346): the expansion layers, with layer 7 as the only command-line override. Type nouns (line 477): the stored spec and its projection carry the same value.

Conditions.

  • C1: met. put_picked_entry (rpc.rs lines 939-961) reads project_egress and project_bep_and_grants for the picked entry after the pick and before put_session_entry. These are the same readers that the CheckProject step of activate_box uses (create.rs lines 4231-4235). It bails when the entry has a policy, ingress, grants, non-default BepSettings, env vars or quic443. The tests dashboard_create_refuses_an_entry_that_declares_network_egress and ..._declares_secrets check the exact message and that no spec and no expansion are put. A project with none of these settings gets defaults from both readers, so the refusal does not fire. One difference from the text of C1: the refusal comes back through rpc::activate, so Msg::ActionDone(Err) shows it as error: <reason> (app.rs line 662), not as error: no session created: <reason>. The message still names the entry and the command that applies it. That was the substance of C1, so I count C1 as met.
  • C2: open. The two code comments now say that the caller sets the network and policy, and they name #3739. The PR body still says a candidate follow-up and gives no issue URL. It also still says that an egress project gets a different network section, and this head refuses that project. C2 is carried, narrowed to the PR-body edit.

Ruling. The code conforms to lines 61 and 1336-1346. The dashboard now stores an entry's own expansion, or it refuses the entry. The residual (the dashboard does not apply CheckProject/MintGrants) is not yet named in the PR, so it is not a filed residual (rule 6). That keeps the ruling at CONDITIONS, not PASS_WITH_CONDITIONS. Note: the form's network-mode field sets the mode, and egress.mode is not in the refusal. I read the form field as the dashboard's form of the layer-7 --network override, so it is not a deviation.

Not checked. No network access, so I was not able to confirm that #3739 exists or that it tracks this work. agent-verify exited 100 on exec_run_attach_and_task_run_share_the_commands_trace. That test is not in this change's files and I did not run it.

Conditions

  • C2: Carried from the ruling at b9f53d3a. The code half is met: the SessionEntryCreate doc comment (create.rs line 3918) and the activate() comment (rpc.rs line 542) now say that network and policy come from the caller, and they name #3739. Still open: in the PR body, replace This was true before this change and is a candidate follow-up with the URL of the issue that tracks the dashboard's CheckProject and MintGrants steps and the lift of the put_picked_entry refusal. That URL is #3739 if #3739 is that issue. Also replace the sentence A project that declares egress still gets a different network section from the dashboard: at this head the dashboard refuses that project.

Ruled at 2f66a35 against gominimal/arch@4f2eb87d5d12 by claude-opus-5-5; arch_rulings 1605, job c96690c4-1798-4d5d-ab2d-ea4dc1dee66a.

0