Skip to content

feat(metadocs): make update-before-add explicit in the distiller prompt - #29

Merged
AbsoluteMode merged 2 commits into
mainfrom
feat/metadocs-per-session
Aug 2, 2026
Merged

feat(metadocs): make update-before-add explicit in the distiller prompt#29
AbsoluteMode merged 2 commits into
mainfrom
feat/metadocs-per-session

Conversation

@AbsoluteMode

Copy link
Copy Markdown
Owner

The model always receives the complete current documents, so it CAN check
what exists; now the prompt demands it: before adding anything, search for
an existing entry about the same story and extend it — a twin entry is the
failure mode. Requested by Maxim for the all-projects rollout.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

Izzyleet and others added 2 commits August 2, 2026 09:48
The model always receives the complete current documents, so it CAN check
what exists; now the prompt demands it: before adding anything, search for
an existing entry about the same story and extend it — a twin entry is the
failure mode. Requested by Maxim for the all-projects rollout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…moved

Maxim's call: «давал бы ему обновления по сессии — он сам разберётся».
He was right — the 40K run budget treated a symptom. The timeout it was
added for came from PACKING several sessions into one call, not from
session size; the session is the natural narrative unit and the watermark
was per-session already.

Now: one call per session (its unseen tail, oldest session first). A failed
session halts its project for the run — later sessions continue earlier
stories, and distilling them out of order would write the ending before the
beginning. Each changed project gets its own commit. No spillover concept:
one run digests the whole backlog and is safely interruptible, since marks
advance chapter by chapter.

The only size threshold left lives at the level of ONE call: a marathon
session splits into sequential chapters (MAX_CALL_CHARS, 60K), later
chapters seeing the documents earlier ones updated.

Suite: 298 passed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@AbsoluteMode
AbsoluteMode merged commit 8558c17 into main Aug 2, 2026
7 checks passed
@AbsoluteMode
AbsoluteMode deleted the feat/metadocs-per-session branch August 2, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants