8000 Merge remote-tracking branch 'origin/main' into agent/3356-the-native-box-zone-answerer-answers-a-name-outs · gominimal/minimal@6b0c775 · GitHub
[go: up one dir, main page]

Skip to content

Merge remote-tracking branch 'origin/main' into agent/3356-the-native…

Minimal Arch / arch-review succeeded Nov 13, 2026 in 0s

PASS

Governs (arch 15b603e6. The checkout has no arch-map.md, so I found the sections by search.) Egress-gateway design §7.1 line 256: one host answerer, never forwarded upstream, unknown names → NXDOMAIN, and negatives MUST be cacheable. §4.1 line 54: a deny-all host_ip box reaches only the node's own resolver. §5.3 line 146: non-matching names are refused, which spec 18 NET-141 reads as NXDOMAIN with a root-owned SOA, not REFUSED.

Ruling. The native answerer's Verdict::Refused arm in crates/minimald/src/net/answerer.rs now replies NXDOMAIN, not authoritative, with dns_gate::out_of_zone_soa_record() (owner ., 15 s minimum and TTL). That makes the out-of-zone negative cacheable (§7.1 line 256), and the answerer still forwards nothing. The zone SOA never covers a foreign name. The reply() refactor keeps the zone SOA on in-zone NODATA and NXDOMAIN (NET-124) and none on an A answer; I read all four call sites. The change stays in the answerer layer and in boxes::core::zone_answer docs, which are their owners. The spec edits remove the issue-3020 residual from NET-141 and record the native behaviour in the NET-079 note. The new test out_of_zone_name_is_nxdomain_with_root_soa asserts rcode 3, not authoritative, no answers and the root SOA through the shared assert_cites_root_soa. It tests the rule and does not relax a gate. No precedent in the ledger decides this question.

Noted, not a condition. crates/minvmd/src/net/answerer.rs still answers an out-of-zone name REFUSED. That answerer serves only the host OS's ~min.internal hook on a VM-backed host, and no box resolves through it. The design does not state an rcode for an out-of-zone name at the host answerer, and the spec binds none there, so this is not a residual of this task. The Verdict::Refused variant name now disagrees with the native reply. That is a naming matter for minimal-review.

Not checked. I did not compile or run the tests. The PR's agent-verify run timed out in an unrelated test (env::tests::minenv_run_forwards_stdin_to_the_task). The two named tests exited 0 in the PR's table.

Ruled at 6b0c775 against gominimal/arch@15b603e6afb8 by claude-opus-5-5; arch_rulings 1233, job 65223a4c-6541-43c9-90b3-5f2c5eacf562.

0