From 774ff3f67342a7f414feaa06ab23c12d8e9732a8 Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 19 Nov 2026 14:13:08 -0700 Subject: [PATCH] Tailnet discovery skill: built in 16e5a9c, only the headscale checks remain Co-Authored-By: Claude Opus 5.5 --- .../coredesktop-tailnet-discovery/SKILL.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.claude/skills/coredesktop-tailnet-discovery/SKILL.md b/.claude/skills/coredesktop-tailnet-discovery/SKILL.md index 0bf460b..72a9146 100644 --- a/.claude/skills/coredesktop-tailnet-discovery/SKILL.md +++ b/.claude/skills/coredesktop-tailnet-discovery/SKILL.md @@ -1,6 +1,6 @@ --- name: coredesktop-tailnet-discovery -description: Plan and progress for making configure storage and configure ai-servers find servers on the Core's tailnet (Tailscale/headscale) as well as over mDNS, so a laptop away from home still finds the MiniServer and the LLM box. Use when resuming, continuing, checking the status of, or changing tailnet discovery, configure.d/lib/tailnet.sh, find_storage or find_servers. +description: Plan and progress for making configure storage and configure ai-servers find servers on the Core's tailnet (Tailscale/headscale) as well as over mDNS, so a laptop away from home still finds the MiniServer and the LLM box. All six steps are built (commit 16e5a9c); what's left is checking it against a real headscale. Use when resuming, continuing, checking the status of, or changing tailnet discovery, configure.d/lib/tailnet.sh, find_storage or find_servers. --- # Find servers on the tailnet, not only the LAN @@ -8,7 +8,13 @@ description: Plan and progress for making configure storage and configure ai-ser ## Where things stand This plan was written on 2026-11-17 from the MiniServer session, against -CoreDesktop `ffbaf71`. Nothing in it was built then. Check before starting: +CoreDesktop `ffbaf71`. All six steps below were built the same day in +`16e5a9c` ("Find storage and AI servers on the tailnet, not only over mDNS"): +`configure.d/lib/tailnet.sh`, tailnet peers in `find_servers` and +`find_storage`, a machine found both ways listed once by its tailnet name (the +recommended choice in step 4), tailnet servers mounted at `/mnt/`, +tests in `tests/network.bats`, and the README. What's left is "To verify" at +the end, which needs a real headscale. Check before starting: ``` git -C ~/Projects/coredesktop fetch && git -C ~/Projects/coredesktop log --oneline origin/main -10 @@ -16,8 +22,8 @@ ls ~/Projects/coredesktop/configure.d/lib/tailnet.sh 2>/dev/null grep -n 'tailnet' ~/Projects/coredesktop/configure.d/50-ai-servers.sh ~/Projects/coredesktop/configure.d/60-storage.sh ``` -Map what you find onto the steps below, tell the user which step is next, and -confirm before starting it. +Tell the user which of the "To verify" items are still open, and confirm +before changing anything. ## Why @@ -157,7 +163,7 @@ Run `make check`. (its `.claude/skills/coredesktop-sync`), it has no `configure storage`, so only the shared lib and any ai-servers part would apply. -## To verify (unconfirmed when written) +## To verify (still open: needs a real headscale) - **MagicDNS in headscale.** Names like `box.tail.example` resolve only with `dns.magic_dns: true` in headscale's config. If they don't, use the peer's