Wiki Knowledge Maintenance
The capability that keeps a project-owned wiki a current, compounding knowledge base from preserved sources, and how its parts fit.
Wiki Knowledge Maintenance
Wiki knowledge maintenance keeps a project-owned wiki current: supplied sources stay preserved in Git, their knowledge is reconciled into canonical articles, and future work reads those articles before it plans. Terms follow the glossary. The accepted contract is the spec and its architecture.
Origin
Andrej Karpathy's LLM Wiki idea file proposes a persistent, compounding wiki between a human and raw sources: raw sources stay immutable, an agent writes and maintains the wiki, and a schema file (AGENTS.md or CLAUDE.md) makes the agent a disciplined maintainer. Its operations are ingest, query and lint; index.md is the catalog and log.md the append-only chronology (raw original, repository-only; research report).
These are the source's claims. Harness accepted only what the spec records, and changed several parts:
| Karpathy idea | Harness contract |
|---|---|
| Raw sources, immutable | Raw home raw/<origin>/<slug>/<revision12>/, committed and read back (provenance record) |
| Schema file | Wiki contract in the wiki-root AGENTS.md |
index.md catalog | Routed discovery map with "Applies when" cues; index.md is only bookkeeping |
| Ingest | Reconciliation flow with recorded freshness |
| Query, file answers back | Consultation flow: plans cite knowledge; only novel, evidence-backed findings return |
| Lint | Health flow with a separate health outcome |
Boundaries
- Ownership. The project owns its wiki, contract, sources and articles. Shared skills carry the workflow; the installer catalog does not own wiki files.
- Distinct facts. Source committed, knowledge integrated and renderer working are separate results. A green structural check does not prove accuracy or deployed access.
- One corpus. Repository readers and HTTP readers (
/llms.txt, per-page Markdown, search) see the same routed articles. The raw home,index.mdandlog.mdare outside the HTTP exports. - Evidence status. A page is
implementedonly with code, test or verification evidence; a retained source stays a claim until accepted evidence settles it.
Flows
- Setup and adoption: resolve the contract, report readiness.
- Source capture: preserve, commit, read back.
- Reconciliation: flows, concepts, discovery, outcome.
- Consultation: plans cite what they used.
- Health and recovery: structure and meaning, resume, chronology.
Implemented behavior and evidence
- Raw source (
sources):apps/wiki/raw/external/karpathy-llm-wiki/ac46de1ad27f/llm-wiki.md, SHA-256dc3efe98ae62f23dd08acad13aba2e95287beb20b6bec2f4af0423557fe37401, repository-only. - Shared skills at
wearedevpunks/skills@3da47eb(tagsync/wiki-knowledge-maintenance-3da47ebbf8ec):docs-ingest-phase(commits2319349,0500473),create-plan(83478d8),requirements-grillandcreate-specbookkeeping (3da47eb). 37 contract tests intests/wiki-*.contract.test.mjspass at that SHA. Synced into this repository in commit56c22bf8e. - Project side:
check:health(commit1b6aa37fa), the wiki contract inapps/wiki/AGENTS.md(commit7308b0837), and the T9 proof run in the implementation notes.
Open questions
IP-439 resolved (2026-10-12). The IP-439 grill
removed root docs/ and made apps/wiki/content/docs the only knowledge home; Fumadocs stays.
The root-docs/ authority bullet of Q8 is superseded by
Q12. Contract:
Knowledge Unification.
Installed skill mirror. .agents/skills in this repository still holds the pre-delivery
docs-ingest-phase; it updates only when a published baseline is adopted. Agents that read the
installed copy do not yet follow this contract.