Repository navigation
PASS
Inputs. This is a re-review of #3622 at 902052e9 on arch 8b824707, which is the same arch as the baseline CONDITIONS at 5e59eece. since-conditions.json contains C1. The since.diff is large because it includes a merge of origin/main (69b92038). For this PR, only the commit 902052e9 and the three files in pr.diff count. No findings.json or arch-map.md was staged.
Governs: architecture.md line 476 (min box spec <entry> … "validates; exit 3 on invalid"). The preview must refuse what the start refuses, with exit 3.
Conditions. C1: met. In crates/minimal/src/cmd/box_spec.rs expand_entry, the code no longer puts the bep/quic443/BepTables parse and the proxy_rows call inside if grants.values().any(SecretGrant::is_credentialed). It runs them for every entry, with the entry's mode and egress. Only rows_text depends on a credentialed grant. The proof is in crates/minimal/src/cmd/boxes/create.rs. It is a new test, box_spec_entry_preview_refuses_like_start, not a new case in box_spec_preview_refuses_like_start, and it uses the entry dev, not default. The test has the case that C1 asked for: no grant, steering = "off", proxy_env = true. It asserts exit 3, the start's refusal text (through start_refusal_of, which runs the start's own helpers for that entry) and empty output. The test also adds a BEP-036 case and a BEP-008 host_ip case. I count this as C1 met, because the substance is the same.
Other changes in the compare. render now runs check_store_references after check_activation. This matches the start's order in accept_store_references (create.rs ~2456, after refuse_unhonourable_grants). The preview still does not run the BEP-035 no-rule / deny / ask step. The fix commit did not change that step, and C1 did not ask for it. The store fixtures in three unit tests and in box_spec_render_carries_client_store_rules now allow the rule's upstream in the egress, as BEP-036 requires. These fixture edits do not relax the gate. Instead, they make the inputs valid under it. crates/minimal/src/tests.rs is still outside the task's layers:. The baseline ruling allowed that, and this head changes it by three lines in the same way.
Ruling. The project form and the entry form now run the start's whole check with the start's facts. Each form refuses with exit 3 where the start refuses. No condition stays open.
Not checked. I did not build or run the tests. The PR's agent-verify run failed in minimal::otel_cli exec_run_attach_and_task_run_share_the_commands_trace, a trace test that this change does not touch. That failure is not a design question, and this ruling does not decide it.
Ruled at 902052e against gominimal/arch@8b824707cde6 by claude-opus-5-5; arch_rulings 1451, job 34eba715-863f-4ab7-a578-39fdd2977978.