feat(homelab): openbao mesh #130

Merged
nick merged 61 commits from nick/dotfiles:openbao-mesh into main 2026-11-21 00:54:10 -05:00
Owner
No description provided.
nick added 61 commits 2026-11-21 00:53:53 -05:00
The draft becomes a guest under nodes/guests/openbao plus the openbaoTrust
and openbaoClient features; the VM is named openbao by the naming rule.
Built in a throwaway worktree with null and test values; not deployed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Each link row now gives its address, gateway and VLAN by hand, and each VM
row its host, in place of a range and index; the tunnel servers give their
address, gateway and device. network.ranges and the arithmetic go, and new
checks refuse a row that isn't one /31, a stray VLAN, or a VM without a
machine host. network.json is byte-identical to main's, and every system
builds the same derivation but for the repo-as-source leaves.

docs/dendritic.md is the plan and handoff for moving to Isaac's machinery:
declared nixos/hm classes that features push into, with no records,
builder or lib. This is its step 1 of 7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Features push into declared nixos.<class> options (parts/classes.nix) and each machine builds its own system from its classes, its own first. Feature settings are my.<feature> options; failureAlerts is a module. Derivation-neutral but order-only leaves (docs/dendritic.md, step 2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Each service declares its VMs by name in microvm.vms, its guest module in microvm.guests and pushes its host side into each VM's host class. lib/nodes/build.nix and guestsOn go (docs/dendritic.md, step 3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
machines.<name> is a flake-level table (nodes/machines.nix); a system reads its row as config.my.machine. No specialArgs remain, and lib/nodes is gone (docs/dendritic.md, step 4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Programs push into hm.<class> groups and homes; each machine's class picks its people's homes. Every home tree is identical (docs/dendritic.md, step 5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
nodes.all, lib/helpers, the homelab bag, lib/options and flake.modules give way to declared flake-level options (mail, labHelpers, people, aesthetics, ...); the table checks are assertions in base; deploy is parts/deploy.nix. Fixes the projectsite guest's module arguments (docs/dendritic.md, step 6).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The firewall's tunnel_mail connected to an mx node nothing drew, so the drawing failed to evaluate. tunnelPeer draws a machine reached over its own tunnel; ownerDevice adds the household Wi-Fi to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
architecture.md rewritten for classes; README, openbao.md (draft in class shape), mail.md and network.md follow; dendritic.md records each step and the owner's answers (docs/dendritic.md, step 7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The groups (cli, dev, files, ...) and the shared workstation home go: each program pushes into every machine home that has it (hm.ceres, hm.mars, ...), so a program's file says where it lands. Every home tree is identical; mars's claudeCode is no longer applied twice. gnome joins the unimported orphans.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
microvm.guests.<service> is a deferredModule that reads its VM as config.my.machine, no longer a function of the VM. The five services that imported a role's module (enaychi, peertube, uproot-backend, uproot-frontend, uproot-routing) merge each role's settings by mkIf on its role. Every guest derivation is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The firewall's Unbound answers mars-dev.test with mars's link address (a static zone pushed from features/devTls), and deimos delegates the name to it through its tunnel, in place of its hosts-file entry. Only the firewall (unbound.conf, also in the installer) and deimos change. docs/dendritic.md records the owner's answers to questions 1-17.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 1 of docs/openbao.md, built and undeployed: the openbao guest on
openbao_priv (record, guest, host side with the hourly check left off),
openbaoTrust (both values null) and openbaoClient, ceres's dial to the
API for the check, and the six openbao/* sops entries (generated seal
key and admin password, AppRole IDs as placeholders).

The rotator is nixpkgs' openbao-agent, run in the openbao-certs group
so OpenBao can read the key it renews.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The owner's rulings of 2026-11-18: Isaac's mTLS between every pair of
machines, 7-day leaves, Caddy as a VM, no Cloudflare yet, the owner's
browsers as dialers, and devTls gone. openbao-check now alerts with
under 8 hours left, below the earliest normal renewal, and Locksmith's
role issues for 168 hours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 1 of docs/openbao.md. The root now also reaches the
firewall and mx, which the mesh needs; the SSH CA stays off both. Adds
`openbao.address` (agents dial it, not the name) and `openbao.rootCaFile`.
Both values are still null, so no system changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 2 of docs/openbao.md (owner, 2026-11-18: Caddy is a VM,
as Isaac's). features/caddy and features/acme push into the new class
nixos.caddy, which nodes/guests/caddy runs on caddy_prod. The ingress,
its forward and every public name's DNS answer follow network.ingress,
now caddy_prod alone. ceres keeps a Caddy for ComfyUI only, and dials
the ingress for its Forgejo runner. Stalwart's certificate share reads
the guest's ACME directory. Undeployed; the cut-over is in the doc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 3 of docs/openbao.md. A link may have a door into the
mesh: a gateway in front of named ports, or a server that checks
certificates itself. A live gateway turns dials to its fronted ports
into dials to the door. network.mesh.{enable,members} switch the mesh
on and add every member's dial to OpenBao; network.mesh.{doors,names}
derive each door's name and callers from the same dials the firewall
uses, outside network.resolved so its strict decoders don't change.
Everything is off: network.json is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 4 of docs/openbao.md. `locksmith mesh` writes prod's mesh
role and one pinned fetcher per member through the bao CLI, with the
owner's login; it deletes nothing and warns of stale fetchers. The dev
provisioner stays as `locksmith dev`. Makey now mints a member's secret
ID and writes both IDs into secrets/secrets.yaml with sops set
--value-stdin; per-VM files, the VM's host key, the password command
and the policy write are gone. Tested against a dev server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, steps 4 and 5 of docs/openbao.md. features/mesh carries Isaac's
helpers under mesh.*, lists the 36 members, and gives each its fetcher
agent and his consume pattern; guests keep certificates on a share and
copy the sign-in their host lends. network.mesh.identities gives each
member its id and name. The workstations get locksmith and makey with
settings from the network data. Off by default: only the workstations'
packages change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 6 of docs/openbao.md. Each member machine checks its own
certificate and its running guests' on their shares for more than 8
hours left, and alerts through failureAlerts, whose webhook now
defaults to alerts/discord-webhook on every member. Behind
network.mesh.enable; nothing changes while it's off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 7 of docs/openbao.md. Loki, Mimir and Tempo get
server-checked doors; with one live, the server requires a mesh client
certificate, Alloy and Grafana present theirs, and the backend's
archive stream pushes through a loopback client proxy.
features/mesh/routes.nix adds Isaac's two halves, my.mesh.gateway and
my.mesh.clientProxy, inert until their door is live. Every door is off:
no system changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 8 of docs/openbao.md. A gateway door now calls for its
gateway, with the link's own address as backend and its public name
as Host. caddy-prod reaches a live door through a loopback route,
so the site files stay as they are. The backend's routing calls and
the frontends' backend calls get client proxies. Doors, off: the
frontends, Mastodon, PeerTube, Forgejo, Stalwart, the backends and
routing. A live gateway door that a non-member (the phone) dials on a
fronted port is refused. With everything off, no system changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 9 of docs/openbao.md. A door in front of several apps
routes by the caller's X-Mesh-Port, which names the app's port; the
gateway helper takes byPort and fills it from the door's fronts, with
each app's public name as Host. caddy-prod gets one route per app.
torrent_priv's door fronts its seven public apps. Off, and it can't
go live while the phone dials them directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 2, step 10 of docs/openbao.md. On mars and deimos, a Firefox
policy installs the mesh's root, and mesh-firefox, a consumer the
agent restarts on each render, swaps the machine's new certificate
and key into the owner's profile. Behind network.mesh.enable. Whether
a running Firefox picks up the swap is left for the owner to check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Steps 2 to 10 are written, with every switch off. Step 11 waits for
the owner: the debug-dev APK, elm-land server's proxy and PeerTube
dev's single-hostname login can't show a mesh certificate, so
removing devTls would break them on deploy with nothing to hold it
back. The options are listed under Open points.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Why devTls stays for now (the debug-dev APK, elm-land's proxy and
PeerTube dev's one-hostname login), and the proposed fix: localhost
everywhere through mesh loopback routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
- Every link with an HTTP port gets a door, orphans included (owner,
  2026-11-18); ceres's door fronts ComfyUI and searx, and keeps Caddy's
  redirects for ComfyUI's public site (`my.mesh.gateway.redirects`).
- `network.mesh.devices`: links holding a hand-issued certificate, such as
  the phone, are callers with no fetcher.
- A door in front of several apps answers each on 10000 + its port,
  replacing X-Mesh-Port, which browsers and the phone can't send.
- The torrent guest gets a client route to Jellyfin's door.
- docs/openbao.md: steps 8, 9 and 11, the phone's certificate and the
  Torrent-to-Jellyfin hand steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Isaac's answer (2026-11-18): a phone holds no mesh certificate and never
dials a machine door. It reaches services by their public names at the
ingress, which the firewall's DNS already points at caddy-prod inside.
So `network.mesh.devices` goes, the refusal of a live door the phone
still dials says where it goes instead, and docs/openbao.md swaps the
certificate steps for moving each service off the phone's direct dials.
It also records the services with no people door yet, and ComfyUI's
public name, which no longer reaches ceres's Caddy since caddy-prod took
WAN 443.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Isaac's guide: a browser or a phone app counts as a person, and people get
server TLS and a login, never a mesh certificate. The owner's Firefox on mars
and deimos keeps the root, which openbaoTrust now installs once the root
exists, and loses the machine's certificate and its weekly swap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The link's `door`, `network.mesh.doors` and `network.mesh.identities` give way
to his three pieces in features/mesh/schema.nix: `mesh.names` (each member's
id and certificate name), `mesh.doors` (declared in the record of the node that
serves it) and `mesh.dials` (declared in the caller's record, native or through
a client proxy). A door admits exactly the hosts that dial it, or every member
for the telemetry stack, so the owner's machines are no longer implicit callers.

The firewall gets the dials as `network.dials` and the live gateways as
`network.mesh.gates`; with every switch off, network.json keeps the same rules
as sets. routes.nix splits into his mtls-gateway and client-proxy halves, with
his `my.mesh.callers` and mesh-callers target. Ours still: names follow the
firewall's DNS, each door names the port it `serves` and has a `live` switch,
a host runs a gateway per door (Torrent, ceres), and probes are deferred.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The overhaul (8a21175e) dropped PhotoPrism's data share, on the belief that its
state lived on the guest's tmpfs. It lives on eris under the owner's guest
storage (the 14.7 GB index, cache and sidecars), and with nothing at
/var/lib/photoprism the service failed to start from the guest's first boot
without it, 2026-11-17. The share comes back under its old label,
photoprism_data, over the same folder, mounted where PhotoPrism keeps state.

Deployed on eris 2026-11-18: photos.nicklab.site answers on the old index.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
disable_redirects was kept from routes.nix on the belief that a gateway's
Caddy also orders public certificates. It doesn't: every named site on a
gateway guest names its own certificate files, and with every gateway door
live each guest's Caddyfile adapts to the same listeners either way. ceres,
which does keep its redirects for ComfyUI, skips the setting as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
What a ceres deploy from this branch brings against the running system (the
OpenBao guest among it), and the order for the cut-over with the firewall,
checked 2026-11-18 and not run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
No commit since 0fd4f1c9 shared PhotoPrism's state: the old module took
dataSource but needed dataMountPoint too. The folder was last written
2026-10-15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The owner's call (2026-11-18): the cut-over deploys ceres without OpenBao,
and part 1's step 4 turns it back on. ceres loses only the guest's VLAN,
folders, units and backup path against the prepared candidate; mars and
deimos lose its fetcher from makey and locksmith; the firewall and every
other guest are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The cut-over sent the internet's 443 to caddy-prod, which had no ComfyUI
site, so comfyui.nicklab.site stopped answering from outside. caddy-prod
now serves the name and proxies it over HTTPS to ceres's own Caddy, which
keeps the login and timeouts. ceres's link names its 443 for the dial;
the firewall gains that rule and the name's inside answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Records the generations, the checks, the ComfyUI gap and its fix, and
that firewall deploys run from mars.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The owner doesn't want ComfyUI on the internet. caddy-prod drops any
connection for its name from outside the private ranges; the firewall
keeps a visitor's address on the way in, so that's everyone from the
internet. The house and the WireGuard tunnels keep it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Part 1's step 4 (docs/openbao.md): the hold for the caddy-prod cut-over
is over. ceres gains the guest, its VLAN, folders, units, backup path and
its six sops secrets, all present; mars and deimos regain its fetcher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Every public name in network.sites gets a bookmark, and each service
also gets one at its internal name (its link's dnsName, the firewall's
record) and web port, where that address serves the page. The dev stack
is at the dev name. Guests that are off drop out; a public name no
service claims still gets one under its own name. Keywords go to the
public bookmark, since Firefox keeps one per keyword.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The switch gets switch-1.internal (and its reverse record) in the
firewall's DNS, and a Firefox bookmark there. It only answers its own
subnet, so the firewall hands it traffic from the links as its own lan
address; before, mars's connections got no reply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
wl-clip-persist takes over each copy on the regular clipboard, so closing
the window it came from no longer empties it; the startup entry
"wl-clipboard" named no program and goes.

deimos loses amdgpu overdrive: every s2idle entry in its journal (since
2026-11-07) ends the boot with no resume, so a closed lid meant a cold
boot. The all-features mask is the likeliest cause on its Renoir APU.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Waking from s2idle, the only sleep deimos's firmware offers, restarts the
laptop. pm_test freezer and devices both come back cleanly, so it's the
firmware's last step, and nothing on the Linux side can fix it. Hibernating
to the swap partition (larger than its memory) comes back where it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Nothing locked on the way into sleep: the lid binding (bindl.nix) is
commented out, and named hyprlock, which isn't installed. hypridle now
locks the session before sleep, and every lock goes through swaylock
once. hypridle's home-manager service already starts it, so the startup
list's copy (a second hypridle) goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
hypridle's service PATH has no user profile, so every lock (idle and
before sleep) failed with "swaylock: command not found"; it now runs
swaylock by its store path. "hyprctl dispatch dpms on" is a Lua syntax
error under the Lua config; the dpms lines use hl.dsp.dpms({ action }),
whose bare-string form would toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Over a phone hotspot the NFS mount took 5.5-5.9s, past the unit's 5s, so
it failed, and every deploy failed with it (the failed share rolled the
activation back). Most of that was mountd asked over UDP first; over TCP
from the start it takes 2.5-3.2s. The timeout goes to 15s: when home is
out of reach the target is down and nothing waits on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
deimos reset on every s2idle wake. Bisecting on the laptop (2026-11-19)
put it on amd_pmc's request for S0i3: with it loaded, even pm_test's
platform step resets; without it, a real s2idle sleeps and wakes on the
same boot, with amdgpu loaded. The lid now suspends, and hibernates
after 2h shut, since sleep without S0i3 drains more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Step 4 landed on 2026-11-18. Step 5 now says what is ready on mars, how
to make secrets/offline.yaml and its rule from the USB stick, the admin
login from a file, and how to move values into sops without showing
them. The bootstrap certificate's 2026-12-19 expiry is the deadline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Bots signed up with strangers' addresses, and every confirmation mail
went out through the relay, wearing down its reputation (2026-11-19).
Single-user mode ends signups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Behind the relay, the guest's filter saw only the relay and scored real
mail about 3 points worse, so Koodo's activation mail (5.7) went to
Junk. The relay, which sees the sender, SPF and DMARC, now marks spam
from 7, and the guest's relay_verdict rule weighs its X-Spam-Score at
plus or minus 100. The guest still files into Junk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The root CA is set for openbaoTrust, the guest is switched on, and the
root's key and OpenBao's recovery keys go to secrets/offline.yaml, which
only the owner's USB stick opens (.sops.yaml). secrets.yaml gains the
members' sign-ins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Every door something dials is live: forgejo, grafana, jellyfin, loki,
mastodon, mimir, opencloud, photoprism, stalwart, tempo, torrent's seven,
vaultwarden and ceres's searx. Behind a live door the guest's own gateway
is the hop before its Caddy, so labHelpers, Mastodon and Stalwart trust
the guest's own address for X-Forwarded-For. The mesh keeps each member's
certificate under /var/lib, which the impermanent machines keep, so a cold
start with OpenBao down still has the last one, and a client route's
trusted proxies are keyed by its whole listen address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The phone's WireGuard tunnel has a new key and carries everything: home's
addresses stay home, the rest leaves through a Proton config of its own.
A link's egress can now take `dns = "split"`: the firewall runs a resolver
per tunnel that answers home's names as Unbound does and asks the tunnel's
resolver for the rest, through the tunnel or not at all. Its answers to
the links take the main table (without that, the phone's went out through
Proton). The torrent VM's lookups now resolve home's names too. The
firewall's model reads the egress's resolver port and an optional SYN
rate; the drawing gains the phone's Proton config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
A running container kept the old network's server after the move, and
ComfyUI's site hung on lookups. The server is now set from the host's
link, not copied from the host at start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Geofabrik moved Manitoba's extract one directory down. A graph is now
graph-<key>, the key hashing the build script and each extract's server
date and size: inputs already built build nothing, new ones build aside
and switch `current` atomically, and at most two graphs are kept. The
build runs at boot and on the timer only, never on a Valhalla restart (a
crash loop re-downloaded the extract until Geofabrik refused the address),
falls back to a cached extract under 45 days old, and valhalla-restart
restarts Valhalla only when `current` names another graph. The record also
makes both routing doors live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
features/devTls, mars's dev Caddy and its CA are gone. The dev stack is
http://localhost:<port> on mars and deimos: 4322 the site, 4323 Enaychi,
4522 compatIQ, 4722 PeerTube, each a loopback route (mesh.dials) that
dials the dev guest's door with the workstation's certificate. Every dev
door is live, and the dev guests reach each other through them; dials.dev
keeps only mars's searx, and deimos's WireGuard no longer delegates the dev
name. One name shares the sessions across the ports, and browsers keep
Secure cookies on http://localhost, so PeerTube's OpenID login needs no
TLS of its own.

- PeerTube dev serves as localhost:4722 over HTTP with issuer
  http://localhost:4322, reached through its own route; its gateway sets
  Host to localhost:4722, since PeerTube issues client credentials only to
  its own host. Its branding moved into a Caddy in the guest.
- compatIQ's gateway keeps the Host/Origin it is configured for
  (localhost:4521); the uproot site's rewrite is dropped, since the backend
  reads neither.
- The debug-dev APK dials http://localhost:4323 through adb reverse and
  allows cleartext to localhost only (allowLocalhostCleartext); both
  elm-land proxies send to 127.0.0.1, which Node can't mistake for ::1.
- The PeerTube runner and the import script use http://127.0.0.1:4722.
- Firefox's dev bookmarks follow mars's dials.

Several guests' records here also carry their prod door's `live` switch.
docs/TODO.md, the plan, is done and deleted; the deployment, frontend and
compatIQ docs say the new shape (the deployment doc also carries the
routing section for the previous commit).

BREAKING CHANGE: https://mars-dev.test is gone. A debug-dev APK built
before this, and a runner registered at the old name, need rebuilding and
re-registering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The binding ran plain pkgs.firefox by store path, which carries none of
home-manager's policies, so the OpenBao root never reached that browser.
It now runs `firefox` by name, as niri's binding does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
docs(openbao): parts 1 and 2 live, steps 11 and 12 done but for deimos
Some checks failed
CI / build (ceres) (pull_request) Has been cancelled
CI / build (deimos) (pull_request) Has been cancelled
CI / build (eris) (pull_request) Has been cancelled
CI / build (firewall) (pull_request) Has been cancelled
CI / build (lamdagibson) (pull_request) Has been cancelled
CI / build (mars) (pull_request) Has been cancelled
CI / check (pull_request) Has been cancelled
b033a06f0b
The status as deployed on 2026-11-20: every prod and personal door that
something dials, the dev stack on localhost routes (step 11, with how it
was done), and Firefox's exceptions on mars (step 12, with its two traps).
The Haskell packages run the mesh's sign-ins; the phone's doorless
services wait and mesh probes are wanted later (owner). The branch is now
openbao-mesh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
nick merged commit c58bbed11d into main 2026-11-21 00:54:10 -05:00
nick deleted branch openbao-mesh 2026-11-21 00:54:12 -05:00
Sign in to join this conversation.
No reviewers
No labels
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
upRootNutrition/dotfiles!130
No description provided.