Skip to content

docs: Modularization & Reproducibility Plan - #158

Draft
rafmacalaba wants to merge 1 commit into
devfrom
docs/modularization-reproducibility-plan
Draft

docs: Modularization & Reproducibility Plan#158
rafmacalaba wants to merge 1 commit into
devfrom
docs/modularization-reproducibility-plan

Conversation

@rafmacalaba

Copy link
Copy Markdown
Collaborator

Summary

Adds TODO/MODULARIZATION-REPRODUCIBILITY-PLAN.md — a proposal to modularize this repo so other teams can reproduce it with their own data sources / MCP servers, while Data360 remains the default profile. Documentation only in this single plan document — no code changes.

Why

The README already claims "Any other MCP server can be plugged in by changing MCP_SERVER_URL", but only the endpoint is configurable. Everything downstream assumes Data360: tool-name partitions, 1,857 lines of Data360 prompts, quick-answer card synthesis on data360_* names, a data360-hardcoded readiness gate, and a frontend with per-tool widget switches and mandatory @data360/* deps.

Proposal (5 phases, each independently mergeable)

  1. Backend multi-server MCP registryMCP_SERVERS_JSON with per-server auth/capabilities; legacy MCP_* env vars keep working
  2. Capability tags replace hardcoded data360_* tool-name frozensets
  3. Prompt packs — domain-neutral base prompts + per-datasource tool guides (Data360 = default pack)
  4. Frontend renderer registry — generic JSON/table fallback; Data360 widgets become an opt-in profile
  5. Reproducibility artifactsexamples/demo-mcp toy server + onboarding guide; end-to-end run with zero Data360 dependency

The document includes current/target architecture diagrams (mermaid), rationale for each design decision, a verification matrix, and risks & trade-offs.

Review focus

Proposes a datasource plugin contract (multi-server MCP registry,
capability tags, prompt packs, frontend renderer registry) so other
teams can self-host with their own data sources while Data360 remains
the default profile. Includes current/target architecture diagrams,
rationale for each design decision, 5-phase implementation plan,
verification matrix, and risks.
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.

1 participant