docs: Add AI agent instructions for wiki files

This commit is contained in:
Matteo Cherubini 2026-05-10 15:11:04 +02:00
parent 55834529a7
commit dcb90f0fb6
2 changed files with 6 additions and 1 deletions

View file

@ -11,7 +11,8 @@ private: false
**[AGENT INSTRUCTION]**
This is the primary navigation file. Read it first on every session before accessing individual pages.
Maintain strict alphabetical sorting within each section.
Append new entries at the bottom of the relevant section — do not reorder or rewrite sections.
Alphabetical sorting is handled automatically by the pre-commit hook.
Update `last_updated` in the YAML frontmatter on every edit.
Entry format: `- [[folder/slug]] — One-line summary. \`maturity: <value>\``

View file

@ -9,6 +9,10 @@ private: false
# Operations Log: {{GENOME_NAME}}
**[ORCHESTRATOR]**
Inject only the last 20 entries into agent context: `tail -n 20 wiki/log.md`
The agent must never load or read the full log file — it grows unbounded.
**[AGENT INSTRUCTION]**
This is an append-only system ledger. Never edit or delete previous entries.
Append new entries at the bottom using the format defined below.