From d0c2e8825a37de012f56dfe2f464b2ecce71de37 Mon Sep 17 00:00:00 2001 From: Howard Enos Date: Sun, 21 Jun 2026 13:13:09 -0700 Subject: [PATCH] sync: auto-sync from HOWARD-HOME at 2026-06-21 13:12:05 Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-06-21 13:12:05 --- .../unifi-wifi/references/site-gateways.tsv | 19 +++++++++++++++++++ errorlog.md | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 .claude/skills/unifi-wifi/references/site-gateways.tsv diff --git a/.claude/skills/unifi-wifi/references/site-gateways.tsv b/.claude/skills/unifi-wifi/references/site-gateways.tsv new file mode 100644 index 00000000..3a3aee92 --- /dev/null +++ b/.claude/skills/unifi-wifi/references/site-gateways.tsv @@ -0,0 +1,19 @@ +# site-gateways.tsv — persisted UOS-site -> pfSense-gateway-cred binding for the unifi-wifi gateway tooling. +# +# gw-audit / gw-control AUTO-SELECT the pfSense SSH backend for any site listed here — no --pfsense needed. +# This is the "auto-select from the map" half of ROADMAP §E: a site has no UniFi gateway, so its gateway is +# a pfSense, and this file records WHICH vaulted cred drives it. Manage/query with scripts/gateway-map.sh. +# +# TAB-separated. '#' lines are comments. Columns: +# site_id 24-hex UOS site _id (stable key — get it from sites.sh). REQUIRED. +# cred_path vault path to the pfSense cred (full path, Mike's option A). REQUIRED. +# port SSH port, or '-' to let pfsense-ssh.sh resolve it (vault `port` field, else 22). +# site_name human label (informational only; matching is by site_id). +# +# Add a row by running: bash scripts/gateway-map.sh suggest (shows unmapped pfSense sites + creds) +# Validate all rows: bash scripts/gateway-map.sh validate +# +# site_id cred_path port site_name +685f39068e65331c46ef6dd2 clients/cascades-tucson/pfsense-firewall - Cascades +# Example (fill the real site_id from sites.sh, set port 2248 in the vault entry or here, then uncomment): +# infrastructure/pfsense-firewall 2248 ACG office diff --git a/errorlog.md b/errorlog.md index fd52dbfa..943d06bd 100644 --- a/errorlog.md +++ b/errorlog.md @@ -17,6 +17,8 @@ Categories (the `[type]` tag): _(none)_ = skill/command execution failure · +2026-06-21 | Howard-Home | git/submodule | [friction] Commits in the guru-rmm submodule landed on a DETACHED HEAD: a feature branch created via 'git switch -c' kept getting reset to the recorded gitlink commit (likely background auto-sync running submodule checkout in the superproject), so the branch never advanced and 'git push -u origin ' pushed the stale ref. Wasted a full re-diagnose+rebuild cycle. FIX: in submodules under auto-sync, don't trust local branch refs survive across tool calls. Commit, capture sha=$(git rev-parse HEAD), cherry-pick onto the known base if detached, and push by EXPLICIT sha: 'git push origin :refs/heads/'; then VERIFY with 'git ls-remote origin ' and a server-side worktree build. + 2026-06-21 | Howard-Home | unifi-wifi/pfsense-ssh | SSH connect/auth failed (rc=255) [ctx: host=192.168.0.1:22 slug=clients/cascades-tucson/pfsense-firewall act=showblock] 2026-06-21 | Howard-Home | unifi-wifi/pfsense-ssh | SSH connect/auth failed (rc=255) [ctx: host=192.168.0.1:9999 slug=cascades-tucson act=showblock]