Files
ryaneggzandClaude Opus 4.7 e7b410e164 feat: US-001 — scaffold wiki/ + context/rules/wiki.md schema rule
Establishes the Karpathy LLM Wiki foundation: top-level wiki/ +
wiki/raw/ directories with README anchors, .gitignore exemption
for the snapshot README, and the complete 7-section schema rule
at context/rules/wiki.md (boundary table, entry schema, slug
derivation, cross-link convention, confidence lifecycle, canonical
frontmatter extraction command, body-merge strategy for updates).

The schema rule auto-loads via context/rules/*.md and is the
canonical reference for US-002 (/wiki-ingest), US-003 (/wiki-query),
and US-004 (/wiki-lint). All three skills MUST use the locked
extraction command from § 6 to avoid silent divergence.

Refs #350. Wave 1 of /delegate execution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 01:09:30 +00:00
..

wiki/raw/ — Immutable WebFetch snapshots; entries cite via sources: frontmatter

This directory holds immutable source captures: one file per fetch, never overwritten. Each file records the content of a URL at the moment /wiki-ingest captured it. Wiki entity pages in wiki/ reference these snapshots through their sources: frontmatter field, providing a concrete provenance trail for every claim.

Conventions

  • Naming: <yyyy-mm-dd>-<slug>.md — UTC date of the fetch, plus the slug that identifies the topic
  • Format: each file opens with # Source: <url> followed by the fetched body verbatim
  • Immutability: files are never edited after creation; re-ingesting a URL appends a new dated snapshot rather than overwriting the existing one
  • Gitignore: all files in this directory are gitignored (wiki/raw/*); only this README.md is tracked (exempted by !wiki/raw/README.md)
  • Retrieval: snapshots are not queried directly — /wiki-query operates on wiki/<slug>.md entity pages; snapshots exist for audit and provenance only

Canonical docs

Full schema and authoring conventions: context/rules/wiki.md