feat(encyclopedia): bounded planning — no model call sees the whole wiki #19

Merged
k.renner merged 16 commits from feat/bounded-planning into main 2026-10-26 09:28:27 +00:00
16 Commits
Author SHA1 Message Date
claude-botandClaude Opus 5.5 bf274fb5a3 fix(house): anonymous readers follow only redirects public at fold time
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ArticleQueries serves anonymous readers only the redirects listed in
publicRedirects, so a retired slug whose article was not public (or a chain
through one) answers the usual 404, identical to a missing slug. Signed-in
readers follow every redirect. Body links of the anonymous view resolve
through the same filtered set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:17:54 +01:00
claude-botandClaude Opus 5.5 4706e49fd7 fix(encyclopedia): planning survives model errors, thin articles wait for fold
- A text-model HttpRequestException skips its assign batch (not remembered),
  split or fold article; only embedding/index failures end planning.
- Neighbour timeouts (TaskCanceledException, run not cancelled) count as
  service down.
- Thin articles with a nearby article and no keep at their inputs are not
  written until their fold decision; split children of the run are not
  folded.
- NearestAsync widens its query up to 8x the batch size, then fills from
  the open notes in slug order.
- Deleted articles' slugs (and redirects to them) stay reserved in
  _plan.json "retired"; a note left without articles is unassigned, not
  skipped.
- Fold records whether the folded article was public in both languages
  ("publicRedirects"); repointed redirects keep their flag.
- Assigned counts only notes assigned to an article.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:17:38 +01:00
claude-botandClaude Opus 5.5 61af595614 fix(house): redirect lookup survives store failures
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:57:07 +01:00
claude-botandClaude Opus 5.5 41a54a5844 feat(house): follow article redirects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:50:55 +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 Opus 5.5 7a6cfc5124 feat(encyclopedia): writer links only to bounded targets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:24:12 +01:00
claude-botandClaude Opus 5.5 2d94f9a8d8 feat(encyclopedia): fold thin articles into a neighbour
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:21:32 +01:00
claude-botandClaude Opus 5.5 ad45fe4ac2 feat(encyclopedia): split oversized articles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:21:16 +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
claude-botandClaude Opus 5.5 348f8e4f75 test(encyclopedia): cover self-hit exclusion and ranking before cap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:11:24 +01:00
claude-botandClaude Opus 5.5 45c76ac4ba feat(encyclopedia): nearby articles through the note index
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:09:36 +01:00
claude-botandClaude Opus 5.5 13d5495899 feat(encyclopedia): state v2 with per-batch and keep memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:07:19 +01:00
claude-botandClaude Opus 5.5 996ff182c0 feat(encyclopedia): plan v2 model with assignments and redirects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:04:49 +01:00
claude-botandClaude Opus 5.5 fa45a96a81 docs: bounded encyclopedia planning implementation plan
ci/woodpecker/push/test Pipeline was successful
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:00:17 +01:00
claude-botandClaude Opus 5.5 8d51f1958d docs: bounded encyclopedia planning design
ci/woodpecker/push/test Pipeline was successful
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:55:20 +01:00