You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
suggest_investigations — auto-generated investigation questions from topology
Wiki auto-generation: index_codebase now generates deterministic wiki pages for communities, hub nodes, and surprising connections; pages are skipped if the source commit is unchanged (freshness check)
Wiki auto-capture: build_stack_tree and explain_flow fire-and-forget wiki capture for explored flows
New config fields wikiBudget (default 400 tokens) and wikiMaxPages (default 3) control wiki injection into prompt context
Wiki pages are injected as a separate always-on context block alongside memory context
Changed
Memory scoring: Over-accessed memories (accessCount > 8) are now penalized to prevent generic rule memories from dominating topic-specific results
accessCount > 15: score multiplied by 0.5
accessCount > 8: score multiplied by 0.75
Relative score threshold: raised from 0.70 to 0.85 within each filtered result set, tightening result cohesion
searchMemories: explicitly excludes wiki type; wiki retrieval is handled by a dedicated path
index_codebase response now includes a wiki field alongside existing index statistics
Fixed
wiki_check_staleness reads sourceCommit from the raw on-disk file rather than from already-stripped memory content
WikiGenerator.writePage skips write when sourceCommit matches HEAD; async indexFile errors are caught and logged rather than surfaced
derivePromotedType preserves wiki type during fact promotion
Topology context injection respects remaining token budget before appending
Wiki budget computation uses actual tokenCount from assembled code context
Wiki generator freshness guard handles undefined sourceCommit safely
surprisesPage flag correctly set regardless of written/skipped status