Skip to content

[alpha-trial] mcp-hub server routing flow #2

Description

@sleticalboy

CodeInsight Adoption Evidence Issue

Summary

# CodeInsight Adoption Evidence

- Status: `pass`
- Route: `index_project -> project_overview -> context_pack -> impact_analysis`
- Selected context: `601/9111` source lines, `93.4%` reduction
- Source lines avoided: `8510`
- Read less: `15.2x`
- Seed strategy: `auto_task_match`
- Selected seeds: `2`
- First seed source: `task_match`
- Companion entrypoint: `src/MCPConnection.js`
- Type-relation edges: `15`
- Top type-relation target: `MCPHubError`
- Type-relation graph filter: `base_type`
- First selected file: `src/utils/router.js`
- First reading focus: Start with seed file route registration, matching, or handler dispatch boundaries.
- First reading question: Where are routes registered, matched, and dispatched to handlers here?
- MCP server: `codeinsight`
- MCP first-call contract: reading_order=`true`, current_reading_step=`true`, read_less_instruction=`true`, suggested_tool_handoff=`true`, continuation_after_selected_context=`true`
- First-read gating: suggested_tool_after_selected_context=`true`, continuation_after_selected_context=`true`, impact_review_before_edits=`true`
- MCP suggested tool executed: `true`
- MCP impact status: `complete`

Failure Category

If the command failed, paste the exact category line here:

adoption evidence failed [usage|prerequisite|local_cli_route|mcp_first_call|artifact_write]: ...

Command

scripts/adoption-evidence.sh "/Users/binlee/code/open-source/mcp-hub" --output-dir "/tmp/codeinsight-alpha-trials/mcp-hub" --print-snippet --issue-template

Artifacts

  • Adoption evidence: /tmp/codeinsight-alpha-trials/mcp-hub/adoption-evidence.md
  • Aggregate summary JSON: /tmp/codeinsight-alpha-trials/mcp-hub/summary.json
  • Raw agent_route JSON: /tmp/codeinsight-alpha-trials/mcp-hub/agent-route.json
  • Local evidence stdout: /tmp/codeinsight-alpha-trials/mcp-hub/local-repo-evidence.out
  • Local evidence stderr: /tmp/codeinsight-alpha-trials/mcp-hub/local-repo-evidence.err
  • MCP first-call stdout: /tmp/codeinsight-alpha-trials/mcp-hub/mcp-first-call.out
  • MCP first-call stderr: /tmp/codeinsight-alpha-trials/mcp-hub/mcp-first-call.err
  • Artifact write stderr: /tmp/codeinsight-alpha-trials/mcp-hub/artifact-write.err

Environment

  • OS:
  • Shell:
  • CodeInsight version:
  • MCP client:
  • Repository language/framework:
  • Repository size:

Notes

Describe what you expected the first-read route to do and what looked wrong.

Activity

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

    adoption-feedbackCodeInsight Alpha feedback triageroute-hitCodeInsight Alpha feedback triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions