Weekly housekeeping for the company wikis and the AI brain that answers from them: broken links, contradictions, stale pages — and whether this week's edits actually made it into the brain's index.
Sunday morning summary to Nish on Telegram: what synced, what it fixed, what needs a human.
Every loop and every person queries the company brain — a stale or contradictory brain quietly poisons everything downstream. The investigation found the machinery mostly healthy but with a real gap: wiki edits were being pulled but not re-embedded — the brain kept answering from old text.
The quiet hour
Self-maintenance logs, ingestion timers
Re-indexes wikis edited this week
Auto-fixes frontmatter/index drift; lists the rest
Fixed / synced / needs-a-human
For implementers and the technically curious. The full build sheet — verified queries, thresholds, and build notes — lives on the specs page.
| System | Role in this loop |
|---|---|
| GBrain + wikisthe company brain | Git-synced wikis embedded into a queryable brain. The loop supervises the ingestion path and fills its documented re-indexing gap. |
| Hermes vpsops profileinfrastructure cron | Where this loop actually runs — Sunday 08:00, wrapper script, durable deployment. |
| Healthcheckshealthchecks.huxapps.com | The dead-man's switch. The loop pings it only after a clean run — if the loop dies or errors, the ping stops and Healthchecks raises the alarm independently. This is how 'never silent' is enforced by machinery, not promises. |
| Telegramdelivery channel | The Sunday summary arrives as a bot message — short enough to read in bed. |
| Model / brain | What it does here |
|---|---|
| Claude Opusthe judgment model | Reviews alert wording, thresholds, and anything a human will read and act on. Post-Fable, Opus owns everything that ships. |
| GPT-5.5 via Codexthe bulk-work model | Wrote and maintains the mechanical parts — SQL, diffing, digest assembly. Effectively free on our existing subscription, so routine cycles cost almost nothing. |
Lint-rotation pointer + last-known timer states. The sync step is idempotent — re-running after a clean week is a no-op, verified.
Telegram summary, Sundays. Quiet weeks say so in one line.
Content changes limited to mechanical fixes; everything else is reported. Runs under the infrastructure profile with its own scoped permissions.