1 AGENTS
Dave Sampson edited this page 2026-10-25 23:24:32 -04:00
title description version date draft tags categories agents
AGENTS.md Operational configuration, curation rules, and ingestion protocols for AI agents managing the LLM-Wiki knowledge base. 1.0.0 2026-10-16 false
wiki
llm-wiki
knowledge-base
karpathy-pattern
governance
Knowledge Management
Governance
agents_permission
agent_read
true
agent_write
true
agent_delete
false
agent_execute
false

LLM-Wiki Agent Directives

Purpose

This document establishes the operational protocols, schema rules, and ingestion behaviors for AI agents operating within this knowledge repository.


The Three Rules of Wiki Curation

  1. Source Immutability: Agents must never modify raw source files (/source/ or knowledge/raw/). Those files are ground truth evidence anchors.
  2. Lossless Synthesis: Every wiki synthesis page must clearly cite the source file, author, URL, or evidence paragraph it is derived from. Never fabricate claims beyond source evidence.
  3. Compound Knowledge: When answering user queries, file valuable answers, code patterns, or distilled insights back into this wiki as new cross-linked pages.

Ingestion Protocol

When new sources arrive:

  1. Read source content thoroughly.
  2. Check existing index.md and related entity/concept pages for overlapping topics.
  3. Update or create concept pages using Forgejo wikilinks: [[Target Page]] or [[Target Page|Anchor Text]].
  4. Update index.md with link and one-line summary.
  5. Append entry to log.md: [YYYY-MM-DD HH:MM] agent_name | ingest | {target_pages} | Ingested {source}

Periodic Health Lint Protocol

When asked to lint or health-check the wiki:

  1. Verify all [[WikiLinks]] resolve to an existing .md file.
  2. Check index.md for orphan pages (pages not listed in index).
  3. Flag contradictory assertions between older and newer pages.
  4. Report findings and suggest reconciliation questions to the operator.