Files
claudetools/wiki/_templates/pattern.md
Mike Swanson cd80f5e447 feat: add wiki knowledge layer (Phase 0 + Phase 1 seed)
Implements LLM-compiled wiki layer between raw session logs and live
CONTEXT.md, inspired by Karpathy's knowledge base workflow. Adds wiki/
directory structure, article templates, spec docs, and seeds first two
articles (Cascades of Tucson, GuruRMM) from 60+ session logs.

Updates CLAUDE.md to check wiki first on all context-loading triggers.
Captures verified ACG IP/hostname map and Neptune physical-location
clarification (Dataforth D2, subnet overlap TODO) in memory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 15:42:38 -07:00

634 B

type, name, display_name, last_compiled, compiled_by, sources, backlinks
type name display_name last_compiled compiled_by sources backlinks
pattern <slug> <Pattern Name> YYYY-MM-DD <session_id>

Rule

(One-sentence statement of the pattern — the thing to always do or never do)

Why

(Why this rule exists — the incident, constraint, or hard-learned lesson behind it)

How to Apply

(When and where this applies. Edge cases. What "good" looks like vs. what to avoid)

Examples

(Session log references where this played out — dates and brief context)

(Projects, clients, or systems where this pattern is especially relevant)