Branch: refs/heads/okf-index-lean Home: https://github.com/xwiki/xwiki-dev-llm Commit: c217302896f04d38fb14c19aab970b8ae66509e2 https://github.com/xwiki/xwiki-dev-llm/commit/c217302896f04d38fb14c19aab970b... Author: Vincent Massol <[email protected]> Date: 2026-09-15 (Tue, 15 Sep 2026) Changed paths: M scripts/validate.mjs M xwiki/okf/index.md Log Message: ----------- [Misc] Make the OKF index a map again, and budget it so it stays one The index described each topic in a paragraph — 22209 bytes over 41 entries, ~450 each — while every topic file already carries a `summary:` frontmatter saying the same thing, and xwiki-org.md already lists the names. Overlap with the file's own summary was 100% for versioning and wiki-user-scope, 90% for code-style, 85%+ for four more. Worse, entries had become rule digests: the strategy entry listed the no-stdout rule, the scenario rule and the page-object boundary, which is enough for a reader to act without opening the file, at a third of the rule. * Rewrite all 41 entries as what the topic is and when to open it rather than its neighbour, leaving the rules to the topic file: 22209 -> 8488 bytes. * Say so at the top of the Topics section: read the entry to choose, then read the file, never act on the entry alone. * Add invariant 8 to scripts/validate.mjs — 240 bytes per entry, 11000 for the file. The budget is the point: extending the OKF always appends to this map and never cuts, which is how it grew in the first place. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-dev-llm/settings/notifications