Dev loop: auto-resolve eco-server target (LAN mDNS first, tailnet FQDN fallback) #3
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?
The dev loop's eco-server base URLs (
ECO_INFO_URL,ECO_ADMIN_BASE_URL,ECO_MAP_BASE_URL) default to the publiceco.coilysiren.me:3001and are only overridable by hand-exported env vars. Standing up the loop tonight required manually flipping all three tokai-server.local:3001because the tailnet path from kais-macbook-pro is blackholed on the home LAN (Archer A20 hairpin fault, infrastructure#294 - recurrence logged there 2026-06-12).Proposal: a small dev-target resolver, mirroring the ssh-config pattern infrastructure#294 landed.
make/wardarg or tiny script that probeskai-server.local(mDNS, ~1s timeout) and falls through to the SSM-resolved tailnet FQDN (/coilysiren/kai-server/tailnet-fqdn) when off-LAN.ward exec httppicks the resolved base automatically so the agent or Kai never hand-assembles the three env vars.Until then the manual incantation is the three env vars prefixed onto
ward exec http.