Wiki
Wordnerds Knowledge Wiki

Wiki Skills & Content Pipeline

The skills that keep the wiki current, the automation that runs it on a daily schedule, and the pipeline that turns canonical assets into live website pages.

Part 1 — The Wiki Operating System

Five Skills That Keep the Knowledge Base Current

Each skill has a narrow, well-defined job. Together they form the wiki lifecycle: ingest → synthesise → maintain → promote → retrieve.

wiki-ingest Core pipeline prompt v11

The main ingest loop. A new file lands in the inbox — wiki-ingest runs the sensitivity gate, classifies it into one of 8 domains, synthesises edits to the concept pages, updates the domain index and log, archives the input, detects trend signals, and opens a draft PR for review.

Two ingest lanes: the repo lane (files dropped into inputs/inbox/) and the Drive lane (files uploaded to the Wiki Google Shared Drive Inbox — fetched via the Drive API, host-converted, archived to Drive on success).

Sensitivity gate (SCHEMA v0.10): class-scoped — public third-party scrapes bypass it; Wordnerds-generated or customer-touching material gets the full gate; ambiguous cases gate. --auto mode powers the daily run: clean files go end-to-end, anything needing a judgement call escalates to needs-review/.

sensitivity gate domain classification concept synthesis index + log update trend detection archive input draft PR → 96h auto-merge needs-review escalation
wiki-lint Quality check

Schema compliance audit. Checks frontmatter completeness, broken cross-references, stale-page warnings, and SCHEMA version alignment. Also runs as a PR-time hook — lint failures notify the Wiki Google Chat space and block auto-merge until resolved.

frontmatter validation broken links staleness flags PR-time lint
wiki-canon-drift Canonical maintenance

Scans concept pages for where wiki understanding has moved ahead of the canonical assets. Drafts proposed edits to positioning, methodology docs, or playbooks, then opens a PR. Deliberately human-run, not on the daily schedule — canon changes warrant considered review.

scan concepts vs canon identify gaps draft updates open PR
wiki-trend-digest Trend promotion

Reads trends-buffer.md across all domains. When a candidate trend hits the evidence threshold (SCHEMA §8), it drafts a synthesis and opens a PR to promote it into the canonical or concept layer, then posts a digest alert to the Wiki Chat space.

read trends-buffer threshold check draft promotion PR digest + Chat alert
wiki-query Retrieval

Retrieves relevant wiki knowledge on demand — called by other skills (the content pipeline, competitor-digest, outreach) as their "go fetch context" step. Searches concepts, canonicals, and index files; returns structured excerpts with sources: traceability. Reads only.

structured retrieval cross-domain search sourced excerpts
Part 2 — Automation Infrastructure

What Runs the Wiki on a Schedule

Two automated systems (added June 2026) that mean the wiki mostly manages itself. The human job has shifted from doing the ingest to reviewing the output.

macOS LaunchAgent
Daily Auto-Ingest

Runs wiki-ingest --auto every morning at 09:30. It runs locally, so the laptop must be on — whatever it can see in the inbox gets processed.

ScheduleDaily at 09:30 (laptop on)
Happy pathClean files → synthesis → draft PR
EscalationJudgement calls → needs-review/
Kill switchDISABLE file in the schedules dir
GitHub Actions workflow
wiki-steward

Runs weekdays at 08:30 UTC. Applies lazy-consensus merge logic to skill-opened PRs: 96 hours open with no comment, it merges. Any comment holds the PR until a human resolves it.

ScheduleWeekdays 08:30 UTC
Merge rule96h, no comment → merge
Drift nudgeAt 5 merged batches / domain
Lint gateFrontmatter-lint must pass
Part 3 — Wiki to Website

From Canonical Assets to a Live Page

A 7-stage pipeline in the wordnerds-site repo. wiki-query retrieves canon at stage 1; the Schema Composer produces a JSON schema that lib/renderer.ts renders to self-contained HTML; then stage 7, review-page, QAs the rendered page — strategy, copy/tone, AEO, SEO, conversion/UX balance and fact-check — and gates it (any BLOCKER → not ready). Only once it's clean does Pete deploy to Cloudflare via npm run deploy:<slug>.

1
Brief
Content Strategist
briefs/
2
Layout
Design Orchestrator
.layout-spec
3
AEO
AEO Strategist
.aeo-spec
4
Style
Style Director
.styled-spec
5
Copy
Copy Composer
04-page-copy
6
Schema
Schema Composer → build
.schema.json
7
Review
Review Page · QA gate
reviews/
Deploy
human → Cloudflare
deploy:<slug>