Skip to content

Commit 92062be

Browse files
chousweicursoragent
andcommitted
docs: add LLM novel writer application note
- New single-file application note at application-notes/llm-novel-writer.md demonstrating the exact 6-step pipeline (read the data if it needs → generate context → user prompt/selection → analyse change to the data → update the data → loop) with all novel data (background, configs, bibles, style rules, user preferences, current story) kept inside MemNet. - Schema + complete initial seed (persistent reference rows + transient story rows with correct recycle values) as copy-pasteable blocks. - 3 compact worked turns, each structured strictly as the 6 numbered steps, with warm output (including prepended LAW rows), exact memnet add/update commands, id discipline, and canon-changing updates to persistent rows. - Mermaid diagram of the pipeline loop + persistent-vs-transient legend. - Snapshot for full project state, pipeline-aware pitfalls, and quick-start bootstrap commands (heredoc for schema, session open, add seed, first warm). - Updated README.md with "Application notes" section. - Updated LLM-GUIDE.md with pointer to the example. This is repo documentation only (single .md under application-notes/); the distributed package is unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 445f5ee commit 92062be

3 files changed

Lines changed: 345 additions & 0 deletions

File tree

LLM-GUIDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ memnet query warm --anchor PLR01
263263
- `memnet guide --loose` — short cheat sheet.
264264
- `memnet examples map|workflow`
265265

266+
**Application note:** see `application-notes/llm-novel-writer.md` for a long-running creative writing example that follows the explicit 6-step pipeline (read → context → user input as data → analyse citing rows → add/update with correct recycle → loop) where background, configurations, bibles, rules and user preferences are kept as persistent rows inside the graph.
267+
266268
**Read this file (`LLM-GUIDE.md`) at the beginning of any non-trivial task.**
267269

268270
When the current schema or examples change, re-run `memnet examples map` and `memnet tagmap show`.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ All caps have `MEMNET_MAX_*` names; see source for the full list and defaults.
195195

196196
No JSON on the wire for LLM consumption — only the `@TAG:` lines plus a handful of control records on stderr.
197197

198+
## Application notes
199+
200+
Rich, document-style worked examples live under `application-notes/`. These are self-contained narratives (one `.md` per note) showing complete usage patterns with all data — including background, configurations, bibles, rules, and user preferences — kept inside MemNet.
201+
202+
See [application-notes/llm-novel-writer.md](application-notes/llm-novel-writer.md) for the first example: an interactive LLM novel writer driven by the explicit 6-step read → context → user-input-as-data → analyse → update → loop pipeline.
203+
198204
## Development
199205

200206
```powershell

0 commit comments

Comments
 (0)