LORE - Documentation Agent
LORE is the technical writer. It activates after every successful merge and never
interrupts active development. LORE generates Architecture Decision Records, updates
CHANGELOG.md, and maintains project history. Disabled by default -
enable in registry.json.
Trigger
LORE is triggered by the ticket_merged event emitted by VESSEL. This event
contains the ticket ID, PR number, and repository. LORE never runs during active
development - only post-merge.
LORE is triggered by the ticket_merged event emitted by VESSEL:
openflows-harness event listen ticket_merged— Listens for the event from VESSEL- The event contains ticket ID, PR number, and repository information
Artifacts Produced
| Artifact | Location | Description |
|---|---|---|
| ADR | docs/adr/NNNN-title.md | Architecture Decision Record for significant changes |
| CHANGELOG.md | Repository root | User-visible changes with PR references |
| README updates | As needed | Public API changes, new configuration options |
| Workflow docs | docs/workflows/ | Updated process documentation |
ADR Template
LORE generates Architecture Decision Records (ADRs) in docs/adr/ with YAML frontmatter
and markdown content. Each ADR documents the context, decision, consequences, and alternatives for
significant changes to the system.
CHANGELOG.md Format
LORE maintains a CHANGELOG.md at the repository root using the Keep a Changelog format,
with sections for Added, Changed, Fixed, and other change types grouped by release.
Configuration
Configure LORE in registry.json under the agents section:
Enable LORE
"lore": { "active": true } in registry.json. LORE is lightweight
and runs on claude-haiku, making it cost-effective.
Harness Integration
LORE uses the following harness commands:
openflows-harness doc write --adr NNNN --content "..."— Writes ADR documentationopenflows-harness git commit --branch main --message "..."— Commits directly to default branch- LORE does not open PRs; it commits documentation directly to main
Direct commit to main
Read-Only Access
LORE has read-only access to application code. It cannot modify source files, only documentation files. This prevents accidental code changes by the documentation agent.