Skip to content

[Story] Settings UI and documentation for dynamic tool loading #583

Open

Description

@edelauna

Context

Dynamic loading introduces four new settings (`threshold`, `initialK`, `searchK`, `searchTurns`) that need a discoverable home in the MCP settings panel and clear documentation. In particular, `searchTurns: 0` is the kill-switch to disable dynamic loading entirely and should be prominently documented.

Depends on #578, #579, #580.

Developer Notes

  • Add a "Dynamic tool loading" subsection to the MCP settings panel (`webview-ui/src/components/mcp/McpView.tsx`) with inputs for the four settings and inline tooltips explaining:
    • The rolling window and how `searchTurns` controls it
    • The `mcp_load` escape hatch
    • The two-tier ranker (BM25 always available; embeddings when a provider is configured)
    • `searchTurns: 0` as the kill-switch
  • Update `README.md` and any existing MCP documentation to describe the feature.

Acceptance Criteria

  • All four settings visible and labeled in MCP panel
  • Settings round-trip: change → save → reload → value persisted
  • Kill-switch (`searchTurns: 0`) documented prominently in UI tooltip and README
  • README updated with dynamic loading explanation

Activity

  1. changed the title [-][Story] W2.3 — Settings UI and documentation for dynamic tool loading[/-] [+][Story] Settings UI and documentation for dynamic tool loading[/+] on Jun 11, 2026
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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions