63 lines
1.5 KiB
Markdown
63 lines
1.5 KiB
Markdown
---
|
|
title: "Operations Log — {{GENOME_NAME}}"
|
|
type: log
|
|
domain: {{ GENOME_NAME }}
|
|
maturity: stable
|
|
last_updated: {{ DATE }}
|
|
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.
|
|
|
|
---
|
|
|
|
## 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: `scaffold.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.
|