Buddy v0.1.22
Wiki synthesis and production hardening
The wiki grows on its own: a background task discovers implicit concepts and creates synthesis pages. Six production bugs are fixed, and the wiki is now fully self-maintaining.
What changed
- Wiki synthesis (FR-WIKI-06). A heartbeat task detects tag clusters, co-occurrence patterns, and disconnected page groups, then creates synthesis pages that tie them together. Capped at 3 pages per run, gated by page-count growth and a 7-day cooldown. Runs on the fast model tier with its own session, independent of consolidation.
- Connection label preservation.
WikiConnectionnow stores the original link label from markdown. Backlink additions, health repairs, and page rewrites preserve human-readable titles instead of normalizing them to filename slugs. - Section boundary fix.
replaceConnectionsSectionstops at the last connection bullet when no following H2 exists, instead of absorbing everything to EOF. Content after the connections block (e.g.## Fuentes) survives repair cycles. - Broken link repair improved.
findPageBySlugfalls back to hyphen-boundary suffix matching, resolving article-prefix mismatches (el-zapato-como-micro-entorno→zapato-como-micro-entorno). Links to files outsideuser/wiki/that exist on disk are no longer flagged as broken. - Consolidation excluded from wiki.
installMaintenanceGateblocks all file tools onuser/wiki/during consolidation sessions. The wiki and consolidation are fully decoupled. - Local timestamps. All production timestamps use local ISO format instead of UTC.
- First synthesis initialization. When synthesis state is null, the system sets a baseline page count without running, preventing an immediate synthesis on an established wiki.
989 unit tests and 334 scenarios.