Back to corpus
architecturetechnical paper candidatescore 28
Stage 0: Research — Twin Swarm + Cognitive Routing Architecture
> Date: 2026-03-10 | Evo-Cube #1 of 11 > Noosphere Context: Dreams gestating on orchestration + iteration concepts. KARL trajectory intelligence evo-cube at stage 2.
Full HTML reader
Read the full artifact
Extracted abstract or opening context
> Date: 2026-03-10 | Evo-Cube #1 of 11 > Noosphere Context: Dreams gestating on orchestration + iteration concepts. KARL trajectory intelligence evo-cube at stage 2.
**1. Discord Gateway (`handlers.ts`, 906 lines)** - TaskType: code | research | debug | docs | ops | general - Classification: regex keyword matching on prompt content - Model override: `gemini:` / `codex:` / `claude:` prefix forces model - Rate limit fallback: Claude unavailable + model='any' → force Gemini - Platform affinity: Swift/Xcode keywords → `platform_required = 'darwin'` - No complexity scoring. No learning. No feedback loop.
**2. NUMU Router (`numu-router/src/index.ts`, 375 lines)** - TaskType: creative | implementation | debugging | documentation | research | analysis - Provider affinity: creative→gemini, implementation→claude, debugging→claude, documentation→gemini - Complexity scoring: baseline 0.3, adjusted by word count (+0.2 for >200 words), keyword hits (+0.08 each high-complexity, -0.05 each low-complexity), code blocks, multi-step indicators - Model tier: complexity > 0.7 → "high" (Opus/Pro), > 0.4 → "medium" (Sonnet/Flash), else "low" (Haiku/Flash-lite) - Learned performance: tracks success rate per provider per task type, switches if delta > 15% and > 10 samples - ACMP capacity check: if preferred provider exhausted → switch to available - Decay: removes completions older than 30 days - State: `[home-path]`
**3. Cortex Ops Trigger (`ops_trigger.py`, 249 lines)** - Matches prompt text against SKILL.md auto-trigger regex patterns - 500ms hard timeout (SIGALRM), 29ms typical - Pane claims conflict detection (if another pane has domain claimed → skip) - Currently: all 30+ skills have `status=None` (not active) - KARL integration: init_session_buffer on skill injection
**4. Cognitive Twin Brain-1 Router (`router.py`, 173 lines)** - Three tiers: IDENTITY (about Mo) → KNOWLEDGE (project/tech) → REASONING (multi-hop) - Pre-compiled regex: 8 identity patterns, 10 multi-hop patterns, 9 graph patterns, 3 general patterns - Confidence values: IDENTITY=0.95, REASONING=0.90, GENERAL=0.85, GRAPH=0.80, KNOWLEDGE+=0.65, KNOWLEDGE=0.60 - Maps to TwinConfig: A (bare), B (RAG only), C (RAG+Graph), D (RAG+Graph+RLM)
Promotion decision
What has to happen next
Promote into a technical note or architecture paper with implementation anchors.
Why this is not always a full paper yet
Corpus pages are public-safe readers for discovered workspace artifacts. They are not automatically final papers. A corpus item becomes a polished paper only after the editable source, evidence checkpoints, references, figures, render path, and release status are attached through the paper schema.