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
+10 -5
View File
@@ -3,10 +3,10 @@ title: "Skills Index Drift — 4x Undercount"
type: incident
status: active
created: 2026-08-15
updated: 2026-10-23
updated: 2026-11-05
resolved_on: 2026-08-15
reopened_on: 2026-10-23
verified_on: 2026-10-23
verified_on: 2026-11-05
confidence: high
tags: [skills, wiki, drift, auto-regeneration]
sources: [session-investigation, agent-estate-wiki, live-filesystem-probe, cron-executions-db]
@@ -88,9 +88,14 @@ from the scan, prints the archived count as an explicit exclusion, and states th
filesystem inventory. The page was regenerated through the patched script and
committed with the fix.
**Still open:**
- The stale `~/.hermes/scripts/wiki-maintain.sh` copy must never be run — it produces
the divergent shape. It should be deleted or made to delegate to the repo script.
**Still open (as of 2026-10-23):**
- ~~The stale `~/.hermes/scripts/wiki-maintain.sh` copy must never be run — it produces
the divergent shape. It should be deleted or made to delegate to the repo script.~~
**✅ CLOSED 2026-11-05** — the stale copy is now a **delegating wrapper** with no generator logic of its
own; it `exec`s the repo script. The repo script gained `--no-build` so the wrapper can honour the
interface its callers used without carrying a second copy of the generator. Verified by running the
wrapper: it now produces the canonical **302 skills / 68 categories** shape.
→ [[incidents/2026-11-05-skills-index-generator-divergence]]
- The page will still read higher than the loader's 329: nested collections
(`context-engineering-collection/…`), `apple/` and hub-installed trees are counted as
installed files. Whether the page should instead report the loader's figure is a