stocktake 2026-11-05: fix skills-index generator divergence at the root; correct Docker + Tailscale drift against live probes

ROOT CAUSE FIXED - systems/skills-index.md had TWO WRITERS:
the repo wiki-maintain.sh (302 skills / 68 categories) and the stale
~/.hermes/scripts/wiki-maintain.sh (mtime 2026-08-17, 349 skills / 26
categories - it used Path.rglob() and counted the parked .archive/ tree) were
different scripts with different generators, and wiki-maintenance/SKILL.md
line 569 pointed the 23:59 nightly audit at the stale path while the 03:00
stocktake ran the repo path. Each job overwrote the other's page; neither
raised an error. The stale copy is now a delegating wrapper with no generator
logic, and the repo script gained --no-build so the wrapper honours the old
interface without a second generator. Verified by execution.

Live-probe corrections:
- infrastructure/docker-services.md: CT200 61 running / 68 total (was 62);
  worldmonitor-seeder-scheduled does not exist on ANY host (zero 'seeder'
  matches across CT200/201/333/460); CT333 first container renamed again
  (nostalgic_leavitt -> flamboyant_mahavira); CT201 20/26, CT460 1/1,
  CT1001 1/9.
- infrastructure/tailscale.md: node table verified programmatically - 52 rows
  vs 52 live IPv4 peers, no live peer missing, no orphan row, every
  online/offline state matching. conduit 59d->60d, ubuntu-server-xfce
  75d->76d. Serve table still matches tailscale serve status exactly.
- infrastructure/hosts.md: skills figure corrected to 302 / 68 categories.
- index.md: skills-index bullet refreshed to the 2026-11-05 figures.

New incident: incidents/2026-11-05-skills-index-generator-divergence.md
(closes the still-open item on the 2026-08-15 skills-index drift incident).

Freshness: 0 stale / 123 fresh / 3 no-date of 126 pages.
This commit is contained in:
Tony0410
2026-11-05 05:55:45 +08:00
parent 20aa11b0c4
commit 2f3fc9952b
11 changed files with 722 additions and 457 deletions
+15
View File
@@ -15,6 +15,13 @@ STOCKTAKE_DIR="$WIKI_DIR/raw/stocktake"
QUARTZ_CONTENT_DIR="$WIKI_DIR/public"
TODAY=$(date +%Y%m%d)
# --no-build: regenerate content + run the freshness audit, but skip the
# Quartz build/deploy. Supported so that the delegating wrapper at
# ~/.hermes/scripts/wiki-maintain.sh can honour the interface its callers
# were written against without carrying a second copy of the generator.
NO_BUILD=false
[[ "${1:-}" == "--no-build" ]] && NO_BUILD=true
cd "$WIKI_DIR"
echo "[wiki-maintain] Starting maintenance at $(date -Iseconds)"
@@ -166,6 +173,14 @@ echo ""
# config-file existence test that isn't the real one: check quartz.config.yaml.
echo "[3/3] Rebuilding Quartz static site..."
if $NO_BUILD; then
echo " --no-build: skipping Quartz build and deploy (content + freshness report already written)"
echo ""
echo "[wiki-maintain] Maintenance complete at $(date -Iseconds) (no-build)"
echo " Freshness report: $REPORT"
exit 0
fi
QUARTZ_DIR="/home/hermes/workspace/quartz-temp"
QUARTZ_CONTENT="$QUARTZ_DIR/content"
QUARTZ_PUBLIC="$QUARTZ_DIR/public"