Commit Graph
7 Commits
Author SHA1 Message Date
claude-botandClaude Opus 5.5 af7ca24819 fix(encyclopedia): a planning reply that repeats a property is unusable
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
JsonObject builds its dictionary on first access and throws ArgumentException
on a repeated key, which escaped reply validation and failed the whole run
(assign reply with titleEn twice). Parsing now rejects duplicates up front, so
the reply counts as unusable like any other malformed one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:11:52 +01:00
claude-botandClaude Opus 5.5 d7de998821 fix(encyclopedia): stable consolidation groups, redirected slugs in assign, reset cleanup
Consolidation runs passes until one changes nothing; a changing reply ends
the pass and the next starts from the first seed, so the last pass's groups
are the ones the next run forms. Memory is pruned to that pass. A stable
neighbourhood after a merge is no longer asked again the next night.

Assign treats a redirected slug, proposed as new or referenced directly,
as its live target instead of dropping the note.

A plan reset deletes article files whose slug the new plan lacks.

The sub-articles heading has no id, so it cannot collide with a body
heading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 14:51:47 +01:00
claude-botandClaude Opus 5.5 179bc3bcbc feat(encyclopedia): consolidate nearby articles, plan hierarchy, room articles
Article vectors (titleDe | titleEn | scope, embedded locally, cosine in
memory) feed the assign candidates alongside the note-neighbour articles
and form the groups of a new consolidate step after assign: one bounded
call per group of up to 8 nearby articles, at most 60 per run, returning
merges (fold mechanics, redirects incl. public ones) and parent links
(no cycles anywhere in the plan). Groups are remembered by fingerprint
in _state.json.

PlannedArticle gains a parent; split children get the overview. The write
prompt marks main and sub-articles among its link targets (children
capped at 20); the article page shows the main article and the visible
sub-articles from the plan. Parent changes do not make articles stale.

The assign prompt also sends room notes to the room article; the write
prompt writes room articles from the room's angle.

The plan file gets version 3: the v2 plan reads as no plan, its state is
dropped, and the next run bootstraps. Prompts.Version 8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 14:36:59 +01:00
claude-botandClaude Opus 5.5 e9ffad448f fix(encyclopedia): room for thinking, merge duplicate new slugs, header timeouts retryable
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 11:43:24 +01:00
claude-botandClaude Opus 5.5 b41bee9743 feat(encyclopedia): reconcile through bounded assign, split and fold
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:42:32 +01:00
claude-botandClaude Sonnet 5.5 a5322e71d2 fix(encyclopedia): tighten assign tests and first-paragraph handling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 09:16:24 +01:00
claude-botandClaude Sonnet 5.5 e4384a2c54 feat(encyclopedia): assign notes in bounded batches
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 09:13:40 +01:00