OpenWriterControle/novel/templates/AGENTS.md
cclohmar 3ce2d638a6
Some checks are pending
Create Release / Check if Version Bump PR Merged (push) Waiting to run
Create Release / Create Git Tag and GitHub Release (push) Blocked by required conditions
Post-Merge Version Bump / Check if Version Bump Needed (push) Waiting to run
Post-Merge Version Bump / Create Version Bump PR (push) Blocked by required conditions
feat(novel): add the OpenNovelWriter agent pack (10 agents, commands, schema, templates)
The novel-writing agent pack existed only as three byte-identical copies inside
Obsidian vaults (Die-Kessler-Zwillinge, Scruffy-der-Weltenhund, OpenNovelWriter),
with no version control anywhere. It is now versioned here as the single source
of truth.

Contents (novel/):
- .opencode/agent/  OpenNovelAgent (primary) + LineEditor, Proofreader,
  StyleAnalyst, ContinuityEditor, StoryReviewer, Translator, Importer,
  Illustrator, CopyrightWatchdog
- .opencode/command/  import.md, init.md
- .opencode/languages.yaml, .opencode/opencode.json (pristine: default_agent)
- docs/SCHEMA.md  canonical schema — the newer OpenNovelWriter revision, which
  supersedes the stale copy in the Scruffy vault (adds workspace = book,
  images/prompts + images/generated, parallel books, rewrites section 7)
- templates/  AGENTS.md placeholder + DATA/{wiki,timeline,glossary}.yaml.md, style.md
- sync-to-vault.sh  dry-run by default; --apply backs up what it replaces and
  never touches DATA/, AGENTS.md, chapters or a vault's own opencode.json
- PACK-NOTES.md  per-file md5 provenance and the verified cross-vault comparison

Verified before committing: all 10 agents, both commands, languages.yaml and
start.sh are md5-identical across the three vaults.
2026-10-16 23:18:30 +01:00

1 KiB

{{SERIES_TITLE}}

Project

  • Series title: {{SERIES_TITLE}}
  • Author: {{AUTHOR}}
  • Genre: {{GENRE}}
  • Audience: {{AUDIENCE}}

Languages

  • Canonical (writing language): {{CANONICAL_LANGUAGE}}
  • Publication languages: {{PUBLICATION_LANGUAGES}}

Structure

  • Books: 01, 02, … (add titles by renaming)
  • Chapters: [Chapter word] NNN.md in the language folder (see SCHEMA)
  • Data: DATA/wiki.yaml.md, DATA/timeline.yaml.md, DATA/glossary.yaml.md, DATA/style.md

Rules for the agent

  1. ALWAYS write in the voice from DATA/style.md.
  2. YAML keys in English, values in the canonical language ({{CANONICAL_LANGUAGE}}).
  3. Respect the wiki and timeline — on conflict, ask the author.
  4. Propose → get approval → write (never write unrequested).
  5. After each chapter, harvest new facts into the wiki/timeline (after approval).