knowledge-genome-orchestrator/templates/wiki-log.md

54 lines
1.3 KiB
Markdown

---
title: "Operations Log — {{GENOME_NAME}}"
type: log
domain: {{GENOME_NAME}}
private: false
---
# Operations Log: {{GENOME_NAME}}
**[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.
---
## Entry Format
### Required header (enables shell parsing):
```text
## [YYYY-MM-DD] TYPE | Subject or title
```
### Required metadata block for all agent-generated entries:
```markdown
- run_id: `<short-uuid or session-identifier>`
- model: `<model-name-and-version>`
- context_read: `[[path/A]]`, `[[path/B]]`
- output_written: `[[path/C]]`, `[[path/D]]`
- reasoning: One sentence explaining what changed and why.
```
**Valid TYPEs:** `INGEST` | `LINT` | `QUERY` | `CONFLICT` | `CONFIG` | `SECURITY`
**Parse examples:**
```bash
# Last 5 entries
grep "^## \[" wiki/log.md | tail -5
# All CONFLICT entries
grep "^## \[" wiki/log.md | grep "CONFLICT"
# All entries from a specific date
grep "^## \[2026-05" wiki/log.md
```
---
## [{{DATE}}] CONFIG | Genome scaffolded
- run_id: `system-init`
- model: `setup-knowledge-genome.sh`
- context_read: *(none — initial scaffold)*
- output_written: `[[wiki/index.md]]`, `[[wiki/log.md]]`, `[[AGENTS.md]]`
- reasoning: Initial directory structure and encryption layer initialized by setup script.