feat(encyclopedia): consolidate creates overview articles; higher fold/consolidate caps #23

Merged
k.renner merged 2 commits from feat/encyclopedia-overviews into main 2026-10-27 09:43:08 +00:00
2 Commits
Author SHA1 Message Date
claude-botandClaude Opus 5.5 4145e023ff fix(encyclopedia): overviews borrow their sub-articles' sources each run and live as long as they have sub-articles
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
An overview's borrowed sources were a snapshot taken at creation: a
sub-article that left kept feeding it, a merge moved the borrowed notes
into the target, and losing the borrowed notes deleted the overview and
retired its natural slug while its sub-articles lived on.

Overviews now carry an overview mark (optional plan field, format
unchanged) and only their own sources; what they are written from is
derived every run from their current sub-articles (in turn, at most 12),
for staleness, fingerprints and the write. Note removal never deletes an
overview; one left without sub-articles is deleted when it has no own
sources (slug stays free) or becomes an ordinary article.

An overview proposal under a redirected or retired slug is dropped
instead of parenting the children under the redirect target. An overview
takes the parent most of its children have, none on a tie. The
consolidate prompt carries the no-concrete-names rule for titles and
slugs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:38:22 +01:00
claude-botandClaude Opus 5.5 6a1d51ec02 feat(encyclopedia): consolidation proposes overview articles; raise fold and consolidate caps
Consolidation could only link existing articles as parents, so subjects
whose natural parent had no article (heating, lighting, floors) stayed
flat. The consolidate reply may now propose new overview articles over
two or more group members. An overview is written from its children's
first sources (in turn, at most 12) and an article with sub-articles is
never folded for being thin. The prompts name floors EG/OG/DG/KG and
treat UG, KG and Keller as one floor.

MaxFoldsPerRun 5 -> 100 and MaxConsolidationsPerRun 60 -> 150: a
bootstrap plan of ~400 articles needs several passes and the calls are
small. Prompts.Version 9 re-asks remembered consolidation groups; the
plan format is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:25:01 +01:00