8000 T128 — The interim answerer on a native host answers host.min.internal by minimal-foundry[bot] · Pull Request #2985 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T128 — The interim answerer on a native host answers host.min.internal - #2985

Merged
norrietaylor merged 1 commit into
mainfrom
agent/2947-the-interim-answerer-on-a-native-host-answers-ho
Nov 4, 2026
Merged

norrietaylor merged 1 commit into
mainfrom
agent/2947-the-interim-answerer-on-a-native-host-answers-ho

Conversation

@minimal-foundry
Copy link
Copy Markdown
Contributor

T128 — The interim answerer on a native host answers host.min.internal

slice: S22
kind: task
covers: NET-003
size: M
est: 30 code, 190 tests
executor: agent
difficulty: routine
model: standard
diagnostics: what a person reads is the lookup itself: from the host, host.min.internal answers 127.0.0.1 while the daemon hosts the interim answerer, as it does on macOS; min bug bundles carry the daemon log, whose interim start line lists the rows it holds
observability: the interim answerer's start-up info line lists the host row beside the registry's rows
layers:
- answerer:
- crates/minimald/src/net/answerer.rs: the interim's zone_view holds host.min.internal at 127.0.0.1 ahead of the registry's rows, as the VM host daemon's answerer does, so a box named host cannot take the host's name
test: cargo nextest run -p minimald interim_answerer_answers_host_min_internal_at_loopback
test: cargo nextest run -p minimald host_min_internal_resolves_to_host_reach_address_per_mode
test: cargo nextest run -p minimald host_ip_box_resolves_through_node_dns_layer
produces: none
consumes: none
depends on:
- blocked by #2940
proof: On a native Linux host, a lookup of host.min.internal made from the host answers 127.0.0.1, as it does on macOS.

Proof

On a native Linux host, while minimald hosts the interim answerer, a lookup of host.min.internal made from the host answers 127.0.0.1, as it does on macOS. A box named host does not change that answer, and the interim start line in the daemon log names the host row.

Notes from the agent: The interim start line gets two fields: host_row (host.min.internal=127.0.0.1) and rows. The HostnameRegistry has no method that lists its names, so the rows field states the order of the rows and does not enumerate the registry. cargo fmt --check and cargo clippy -p minimald --all-targets are clean. The other two test lines already existed in net/provider.rs and pass without change.

Tests

line exit tail
cargo nextest run -p minimald interim_answerer_answers_host_min_internal_at_loopback 0 Applying loadouts: default Running task runtime-implement-test-0 in session task-runtime-implement-test-0-1353... Compiling paths v0.0.1 (/workbench/crates/paths) Compiling args v0.0.1 (/workbench/crates/args) Compiling ot v0.0.1 (/workbench/crates/ot) Compiling client-config v0.0.1 (/wo
cargo nextest run -p minimald host_min_internal_resolves_to_host_reach_address_per_mode 0 Applying loadouts: default Running task runtime-implement-test-1 in session task-runtime-implement-test-1-5407... Compiling stdlib v0.0.22 (/workbench/crates/stdlib) Compiling version v0.8.0 (/workbench/crates/version) Compiling decode v0.0.1 (/workbench/crates/decode) Compiling mlog v0.
cargo nextest run -p minimald host_ip_box_resolves_through_node_dns_layer 0 Applying loadouts: default Running task runtime-implement-test-2 in session task-runtime-implement-test-2-d4d1... Compiling stdlib v0.0.22 (/workbench/crates/stdlib) Compiling version v0.8.0 (/workbench/crates/version) Compiling decode v0.0.1 (/workbench/crates/decode) Compiling mlog v0.

Verify

min task run agent-verify passed ([tasks.verify]).

Closes #2947

The native interim answerer now answers host.min.internal at 127.0.0.1
ahead of the box registry, as the VM host daemon's answerer does, so a
box named host cannot take the host's name. The interim start line
lists the host row beside the registry's rows.
@coderabbitai
coderabbitai Bot commented Nov 4, 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: a56cbdc2-e412-41d4-bb4b-557495f52d08

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

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

Approved: no findings at ecbce3b42678.

Nothing to do.

Verdict APPROVE, posted as a comment: the App cannot review its own pull request; the check and the label carry it.

Clobber: none seen.

@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 interim answerer on a native host now answers host.min.internal at 127.0.0.1. This is the answer that design §7.1 lines 248 and 255 give on the host. The row comes before the registry, so a box named host cannot take the name. A non-A lookup is NODATA, and a lookup from off the machine gets no reply. The change mirrors the row in minvmd's answerer and uses the shared HOST_ROW_NAME. No condition is open.

Ruled at ecbce3b against gominimal/arch@7a86ec7bb3c0 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 — 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 4, 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.

Reviewed ecbce3b4 against T128's plan block. The answerer holds host.min.internal at 127.0.0.1 ahead of the registry, so a box named host cannot take it, and it stays silent off the machine. interim_answerer_answers_host_min_internal_at_loopback pins all three, and arch-review passes on this head.

@norrietaylor
norrietaylor added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit 014fa3e Nov 4, 2026
36 checks passed
@norrietaylor
norrietaylor deleted the agent/2947-the-interim-answerer-on-a-native-host-answers-ho branch November 4, 2026 06:53
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.

T128 — The interim answerer on a native host answers host.min.internal

1 participant

0