harness: the rented preflight refuses a stale executor resolver before it rents (GOTCHAS #344) #1866

Merged
ben merged 1 commit from session/stale-resolver-preflight into main 2026-09-25 05:07:31 +00:00
Owner

WKT-DEMO fire 5 (drive 20260925T040123Z, #1855) redded point at its 300 s ceiling, 40 minutes into the drive:

wkt-demo.idss.nz never resolved to the rented droplet (209.38.87.148); dig last answered: "168.144.172.141"

The old address was fire 4's box, which had been kept on red with its name. Every resolver disagreed with the executor's own:

Resolver Answer
Cloudflare authoritative (andy, dolly) 209.38.87.148, TTL 60
1.1.1.1 209.38.87.148
bens-mac-04 netbird resolver 209.38.87.148
bens-mac-04 Wi-Fi DHCP resolver, the home router 168.144.172.141, a fake TTL 60, over an hour after the move

Drive A re-founds a fixed slug, so the name's address changes every fire. Every executor-side dial goes through the system resolver.

Change. oc_rented_preflight now calls oc_rented_resolver_guard after the stale-slug offboard. It compares the executor's resolver with 1.1.1.1 for the claimed name, with three tries 30 s apart so an honest 60 s TTL can drain. If they still disagree, it refuses before the rent and names both answers. The comparison itself is oc_resolver_verdict, a pure function.

Tests. scripts/tests/rehearsal-stale-resolver-test.sh has 5 checks, and it failed before the change and passes after it. All 18 sibling harness tests that source the droplet library are green. GOTCHAS #344 and a STATUS entry are included.

The executor fix still needs Ben. bens-mac-04's Wi-Fi connection has to move onto public DNS. The auto-mode classifier blocked me from making that change.

Refs #1855

🤖 Generated with Claude Code

https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7

**WKT-DEMO fire 5** (drive `20260925T040123Z`, #1855) redded `point` at its 300 s ceiling, 40 minutes into the drive: ``` wkt-demo.idss.nz never resolved to the rented droplet (209.38.87.148); dig last answered: "168.144.172.141" ``` The old address was fire 4's box, which had been kept on red with its name. Every resolver disagreed with the executor's own: | Resolver | Answer | |---|---| | Cloudflare authoritative (andy, dolly) | 209.38.87.148, TTL 60 | | 1.1.1.1 | 209.38.87.148 | | bens-mac-04 netbird resolver | 209.38.87.148 | | bens-mac-04 Wi-Fi DHCP resolver, the home router | **168.144.172.141**, a fake TTL 60, over an hour after the move | Drive A re-founds a fixed slug, so the name's address changes every fire. Every executor-side dial goes through the system resolver. **Change.** `oc_rented_preflight` now calls `oc_rented_resolver_guard` after the stale-slug offboard. It compares the executor's resolver with 1.1.1.1 for the claimed name, with three tries 30 s apart so an honest 60 s TTL can drain. If they still disagree, it refuses before the rent and names both answers. The comparison itself is `oc_resolver_verdict`, a pure function. **Tests.** `scripts/tests/rehearsal-stale-resolver-test.sh` has 5 checks, and it failed before the change and passes after it. All 18 sibling harness tests that source the droplet library are green. GOTCHAS #344 and a STATUS entry are included. **The executor fix still needs Ben.** bens-mac-04's Wi-Fi connection has to move onto public DNS. The auto-mode classifier blocked me from making that change. Refs #1855 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7
harness: the rented preflight refuses a stale executor resolver before it rents (GOTCHAS #344)
All checks were successful
ci / seam (pull_request) Successful in 10m52s
ci / publish-broker (pull_request) Has been skipped
ci / publish (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
f1370c1e21
WKT-DEMO fire 5 (20260925T040123Z) redded `point` 40 minutes in: the
executor's home router kept serving the previous fire's box for
wkt-demo.idss.nz with a fake 60 s TTL an hour after Cloudflare moved it.

oc_rented_resolver_guard (called from oc_rented_preflight after the stale-
slug offboard) compares the executor's resolver with 1.1.1.1 for the
claimed name, three tries 30 s apart, and refuses naming both answers.

Refs #1855

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7
ben merged commit d9f7009a7e into main 2026-09-25 05:07:31 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1866
No description provided.