Agent skill: matou.nz lab DNS records via the iwantmyname API — unblocks #5 #6
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
Matou/idss#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Agent skill: matou.nz lab DNS records via the iwantmyname API
Spike-lab ingress needs real public hostnames: issue #5's Q2 (Caddy ingress)
requires ACME certificates and WebAuthn origin binding, both of which need a
DNS name pointing at the (ephemeral) lab droplet's public IP.
matou.nzisserved by iwantmyname's nameservers (dns1–3.iwantmyname.com) with a wildcard
*.matou.nz→ matou-prod; a specific A record beats the wildcard, so labingress never touches production routing.
API reality (verified 2026-07-09, supersedes the original spec)
https://iwantmyname.com/basicauth/ddnsendpoint is dead —404 even with valid account credentials (also reported in go-acme/lego#2563).
endpoint:
https://dynamicdns.key-systems.net/update.php?hostname=…&password=…&ip=….It is update-only: it can change the A value of a record that was
pre-created in the web UI as a dynamic DNS record with a per-record
password. No programmatic create or delete.
disciplinary — the skill never holds account credentials; a per-record
password can mutate exactly one record and nothing else in the zone.
Provisioned substrate (the human step — DONE 2026-07-09)
clan-lab.matou.nz(A, TTL 600) created in theiwantmyname web UI with its own password.
MATOU_LAB_DNS_HOSTNAME/MATOU_LAB_DNS_PASSWORD(Sandcastle forwardsthem into task sandboxes).
code = 200→authoritative NS served the new value in ~5 s → parked back on matou-prod's
IP (
143.198.134.168), all three NS confirmed. Bad password fails legibly(
code = 531 Authorization failed).Task manifest
Requirements
point <ip>(aimthe record at a lab droplet) and
park(restore matou-prod's IP). Thehostname comes from the env, never from arguments — the skill manages the
lab record, not arbitrary names.
hunting. Non-200
codein the response → surface the code and descriptionverbatim (they are legible: 531 = bad password).
nameservers (dns1–3.iwantmyname.com), not the local resolver cache, until
they serve the new value; report the propagation time. TTL is 600 s —
document that public resolvers may serve the old value that long.
teardown includes
park; SKILL.md documents the pairing.Definition of done
note (per-record password) and the TTL/propagation honesty caveats.
GREEN run (agent with the skill) complies.
authoritative NS serve it → park → matou-prod IP restored. Evidence in the
issue.
Routed ready-for-human: the one human step is supplying the iwantmyname API credentials in a git-ignored env location and confirming the
lab-*record namespace (seeneeds_human_decisionin the manifest). Once that's done, clear the manifest item and flip this toready-for-agent— the body above is written to agent-brief standard. Issue #5 unblocks automatically when this closes (native dependency).Body amended to the verified API reality (2026-07-09): the legacy
basicauth/ddnsendpoint is dead (404 with valid account credentials); the Key-Systems dynamic-DNS endpoint is the only path and is update-only against a pre-created per-record-password record. The human step is done —clan-lab.matou.nz(dynamic, TTL 600) exists and its credentials are in the Sandcastle env; live round-trip verified (update → authoritative NS in ~5 s → parked back on matou-prod). Skill build proceeding in-session per writing-skills TDD.Done — skill installed at
.claude/skills/lab-dns/, all acceptance criteria demonstratedBuilt per writing-skills TDD:
getent(local resolver cache, not the authoritative NS), and was confused by stalelab-*naming in project docs. It did correctly refuse a non-routable IP and verify credential scoping — good instincts the skill now guarantees rather than hopes for.lab-dns, checked state vialab-dns status(authoritative NS), sourced the live droplet IP fromclan-lab iprather than task text, used the CLI for the change, and reasoned correctly about park-at-teardown. (Its write was stopped by the permission classifier because user DNS authorization doesn't propagate into subagent contexts — the harness working as intended; Sandcastle runs carry their own authorization.)CLI verification matrix (all live):
point <routable-ip>code = 200, all 3 authoritative NS serving the value in ≤15 spark143.198.134.168, verified on all 3 NSstatus--allow-test-ipfor skill tests only)code = 531 Authorization failedsurfaced verbatimAcceptance criteria from the manifest, demonstrated against the live record:
lab-dns point 168.144.164.27(the liveclan-lab-s13-3593cec8droplet) → propagated to dns1–3.iwantmyname.com in ~0 s,state: POINTED.lab-dns park→143.198.134.168on all three authoritative NS in ~55 s,state: PARKED— wildcard-equivalent routing restored.Wildcard and all other zone records untouched throughout (structurally guaranteed by the per-record password). Final state: PARKED.
Closing — #5 unblocks via the native dependency.
service-catalogueandsave-serviceshave no live half #1390GET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it) #1397service-catalogueandsave-serviceshave no live half #1390