Skip to content

Buddy v0.1.22

Choose a tag to compare

@github-actions github-actions released this 11 Aug 04: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. WikiConnection now 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. replaceConnectionsSection stops 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. findPageBySlug falls back to hyphen-boundary suffix matching, resolving article-prefix mismatches (el-zapato-como-micro-entornozapato-como-micro-entorno). Links to files outside user/wiki/ that exist on disk are no longer flagged as broken.
  • Consolidation excluded from wiki. installMaintenanceGate blocks all file tools on user/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.