Microservice Decoupling Plan
Status: Proposal | 2026-06-19
Goal: Split monorepo into 3 sidecar repositories
Everything lives in one repo: Ikalus1988/MisakaNet
MisakaNet/
├── hub/ # Hub server (API, federation, sync)
├── web/ # Dashboard UI (Node.js/Next.js)
├── scripts/ # CLI tools (leaderboard, harvest, contribute)
├── misakanet/ # Python library (search engine, tools)
├── lessons/ # Knowledge base
└── docs/ # Documentation
Repo
Contents
Responsibility
Ikalus1988/MisakaNet (shrunk)
misakanet/, search_knowledge.py, lessons/, docs/, scripts/
Core SKP engine + knowledge base
Ikalus1988/MisakaNet-Hub
hub/, config.yaml
Hub server, federation, arbitration
Ikalus1988/MisakaNet-Web
web/
Dashboard, node management
Phase 1: Code Audit (Week 1)
Phase 2: Hub Extraction (Week 2-3)
Phase 3: Web Extraction (Week 3-4)
Phase 4: Cleanup (Week 4)
Current Import
Target Repo
Resolution
hub.storage.vector_store
MisakaNet-Hub
Extract to shared package (misakanet-core)
hub.master.master_api
MisakaNet-Hub
Extract client SDK to main repo
hub/federation/
MisakaNet-Hub
Full move
web/ (Next.js)
MisakaNet-Web
Full move
Risk
Mitigation
Circular dependencies between Hub and Core
Extract shared types to misakanet-core first
CI/CD pipeline duplication
Use reusable workflows
Breaking changes for existing nodes
Semver bump + migration guide
Loss of cross-repo visibility
Monthly cross-repo sync meeting or README