Skip to content

Add LSP interface parity, feature-ideas roadmap, and Semahub vision#100

Merged
jsilvanus merged 4 commits into
mainfrom
claude/add-lsp-interface-parity
Jun 16, 2026
Merged

Add LSP interface parity, feature-ideas roadmap, and Semahub vision#100
jsilvanus merged 4 commits into
mainfrom
claude/add-lsp-interface-parity

Conversation

@jsilvanus

Copy link
Copy Markdown
Owner

Summary

Comprehensive documentation for gitsema's interface parity, undesigned feature ideas, and long-term SaaS vision.

Changes

  1. docs/parity.md (canonical reference)

    • Tool parity matrix across 9 interfaces (CLI, REPL, LSP, Guide, MCP, HTTP, Interactive/Web UI/MCP HTTP planned)
    • Flag implementation and coherence tables across 85 commands
    • Interface-specific implementation notes
    • Maintenance guidelines for keeping tables in sync
  2. docs/feature-ideas.md (new canonical reference)

    • LSP remote delegation (--remote flag) for querying remote index
    • LSP WebSocket transport for firewall-friendly IDE connectivity
    • LSP structural navigation using knowledge graph
    • LSP diagnostics and code lens (hotspots, debt, churn)
    • MCP remote delegation and HTTP transport (parallel to LSP)
    • Improved LSP hover with temporal and risk data
    • Semahub: hosted semantic indexing SaaS built on self-hosted remote MCP
  3. Updated CLAUDE.md

    • Added parity.md and feature-ideas.md to canonical documentation (5 core references)
    • Updated implementation guidelines to require parity table updates

Strategic Clarity

Two-layer architecture:

  • Layer 1: Self-Hosted Remote MCP (Phase 112-113) — Foundation

    • Enables distributed teams and self-hosted infrastructure
    • LSP/MCP remote delegation, WebSocket transport
    • ~1500-2000 LOC of new gitsema code
  • Layer 2: Semahub SaaS (Post-Phase 113) — Built on foundation

    • Thin management layer: user auth, billing, managed storage
    • Reuses gitsema's HTTP API and multi-tenancy (Phase 101+)
    • ~5000-7000 LOC separate Semahub project

Why This Matters

  • Shipped self-hosted remote MCP first → Immediately useful for distributed teams
  • Then Semahub → Optional managed tier (open-source core + optional SaaS)
  • Parallelizable → Phase 112-113 can happen while brainstorming Semahub
  • Clear roadmap → All undesigned ideas documented in feature-ideas.md

Files Changed

  • docs/parity.md (new, 437 lines)
  • docs/feature-ideas.md (new, 700+ lines, includes all ideas above)
  • CLAUDE.md (updated references)
  • .changeset/tool-parity-tables.md (changeset)

Note: LSP currently only supports semantic search and symbol navigation. This PR documents the intended expansion to structural analysis, risk scoring, and remote delegation—all designed to build on existing infrastructure (Phase 101-110).


Generated by Claude Code

claude added 4 commits June 16, 2026 11:40
Added LSP as a dedicated interface column in the tool parity matrix. LSP is
a specialized Language Server Protocol for IDE integration (hover, go-to-definition,
find-references, symbol search). Only search and code-search have LSP support—
LSP provides read-only navigation features, not high-level analysis.

Updated legend and added LSP Interface Details section explaining:
- 5 JSON-RPC methods: textDocument/hover, definition, references, documentSymbol, workspace/symbol
- Mapping to gitsema operations (semantic search, symbol lookup)
- Why most tools are not applicable to IDE protocol

All maintenance, analysis, workflow, and visualization tools correctly
marked as not available in LSP since it's for IDE navigation only.

https://claude.ai/code/session_01EQQxujvhrBMVsHbYdoujKE
Created new canonical reference document for feature ideas not yet in active
development (PLAN.md) or fully designed. Staging area for medium-term product
direction and "what now?" questions.

Documented intended features:
- LSP --remote flag for querying remote HTTP-based index
- LSP WebSocket transport for IDE connectivity through firewalls
- LSP structural navigation using knowledge graph edges (Phase 107+)
- LSP diagnostics and code lens (hotspots, debt, churn metrics)
- MCP --remote delegation (parallel to LSP)
- MCP HTTP transport (MCP over JSON-RPC/HTTP)
- Improved LSP hover with temporal and risk data

Each feature includes:
- Problem statement
- Intended behavior (code examples)
- Design gaps (checklist of decisions needed)
- Data dependencies (which phases required)
- Effort estimates
- Prerequisites

Included deployment modes matrix showing progression from local to remote to
HTTP-based access patterns.

Updated CLAUDE.md to add feature-ideas.md to canonical documentation (5 core
reference docs now).

https://claude.ai/code/session_01EQQxujvhrBMVsHbYdoujKE
Documented vision for Semahub: a hosted semantic indexing platform where
users register repos and gitsema handles indexing as a service.

Architecture:
- Separate Semahub project (user auth, billing, job queue, storage)
- Load-balanced gitsema servers with multi-tenant support
- S3/MinIO for index storage, PostgreSQL for metadata
- Token-based authentication

Gitsema changes needed (~1200 LOC):
- gitsema auth login/logout/token commands
- Service configuration (service.url, service.token)
- HTTP multi-tenancy support (user isolation, quotas)
- Remote indexing delegation (index start --service semahub)
- Index sync (push/pull/sync)

Semahub project (separate, ~5000-7000 LOC):
- User signup/login, OAuth2 support
- Repository registry and access control
- Indexing job queue orchestration
- Index storage and lifecycle management
- Billing and subscription tiers
- Web dashboard
- API authentication and rate limiting

MVP approach: Start with auth + service config in gitsema, then build
Semahub gradually (user signup → storage → job queue → dashboard).

Includes deployment modes matrix showing progression across all features,
design gaps checklist, and competitive positioning.

Effort: 2-3 weeks (gitsema) + 6-8 weeks (Semahub) for MVP.

https://claude.ai/code/session_01EQQxujvhrBMVsHbYdoujKE
…s layer on top

Restructured feature-ideas.md to clarify the strategic vision:

**Layer 1: Self-Hosted Remote MCP (Phase 112-113)**
- Extends gitsema with LSP --remote, MCP --remote, MCP HTTP/WebSocket
- Enables distributed teams: developers on A, index on B
- All infrastructure already exists from Phase 101+ (HTTP API, multi-tenancy)
- New work: remote delegation flags + WebSocket transport

**Layer 2: Semahub SaaS (Built on Layer 1)**
- Not a separate architecture—wraps Layer 1 with user management
- Adds: signup/login, billing, managed S3 storage, job queue
- Users use same gitsema auth/tools commands, Semahub provides endpoint
- Revenue model: per-user subscription + compute costs

Key insight: Semahub is NOT the priority. Self-hosted remote MCP is the
foundation that both self-hosted teams AND Semahub depend on.

Updated all sections:
- MCP Remote Delegation: clarified as foundation (Phase 112-113)
- Architecture: two-layer diagram (foundation + managed)
- What gitsema Needs: clarified ~1500-2000 LOC for Phases 112-113
- What Semahub Needs: clarified it's thin layer on top (user mgmt + billing)
- Deployment Modes: separate tables for Layer 1 (self-hosted) vs Layer 2 (SaaS)
- Strategy: two tiers with clear timeline

This positions gitsema as open-source semantic engine with optional managed
tier, similar to Tailscale (open-source core, managed SaaS option).

https://claude.ai/code/session_01EQQxujvhrBMVsHbYdoujKE
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@jsilvanus jsilvanus merged commit ff6162f into main Jun 16, 2026
4 checks passed
@jsilvanus jsilvanus deleted the claude/add-lsp-interface-parity branch June 16, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants