diff --git a/templates/wiki-index.md b/templates/wiki-index.md index 9fe4719..d948e11 100644 --- a/templates/wiki-index.md +++ b/templates/wiki-index.md @@ -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: \`` diff --git a/templates/wiki-log.md b/templates/wiki-log.md index 3987fb1..facf25a 100644 --- a/templates/wiki-log.md +++ b/templates/wiki-log.md @@ -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.