Skip to content

Living codebase docs: auto-maintained repo wiki and visual codemap per project #268

Closed

Description

@currentbits

Inspired by Qoder's Repo Wiki (continuously maintained architecture/dependency docs) and Windsurf's Codemaps (AI-annotated visual structure and execution-trace maps).

Per project, keep a regenerated wiki: module map, key dependencies, architecture notes, refreshed by an automation when main moves. Every thread gets it as context (via the memory server), and the UI renders it as a browsable map. Distinct from agent memory: it describes the code, not the learnings. Onboarding deliverable in itself.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 28 intel: three independent products converged on a shared, cross-session code knowledge graph as the token-efficiency play: Tempest ("shared local code-knowledge graph that cuts token use across sessions"), Fletch (serves each agent a shared symbol and call-graph index over MCP), and Spotify Xirp (org-wide service/architecture index as session context). For Solenta: the per-project codeindex should be built once per project and shared by every thread in it (read-mostly, invalidated on merge), instead of each thread re-deriving its own context. That turns codeindex from a per-thread cost into fleet infrastructure, and the savings multiply with thread count.

  3. added
    plan:doing
    and removed
    plan:todo
    on Aug 29, 2026
  4. currentbits commented on Aug 29, 2026

    @currentbits
    OwnerAuthor

    Shipped the first slice on this thread (deterministic wiki, not an LLM write-up).

    • Wiki is derived from the shared code index (Shared code-intelligence index per repo, injected into every thread #377) plus manifests: modules, hottest files, key dependencies.
    • Refresh skips the 60s debounce when the default-branch SHA moves, so a merge to main rebuilds the map.
    • memory_bootstrap carries a wiki section (PUT /api/wiki). It is not an entry and must not be memory_stored.
    • Every dispatched prompt also gets a [Code wiki] standing note next to the existing [Code map].
    • Memory tab renders a browsable tree (survives memory-server-down). First open builds the index if missing.

    Not in this slice: LLM architecture essays, execution-trace maps.

  5. added
    plan:done
    and removed
    plan:doing
    on Aug 29, 2026
  6. currentbits commented on Aug 29, 2026

    @currentbits
    OwnerAuthor

    Landed from Solenta thread "Living codebase docs: auto-maintained repo wiki and visual c". Closed on merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions