Comp-Core Architecture Diagrams
``` ┌─────────────────────────────────────────────────────────────────┐ │ COMP-CORE ARCHITECTURE │ │ "Motion becomes computation" │ ├─────────────────────────────────────────────────────────────────┤ │ │ │ ┌─────────────────────────────────────────────────────────┐ │ │ │ 8. ML LAYER │ │ │ │ cc-ml • Motion synthesis • Diffusion models │ │ │ └─────────────────────────────────────────────────────────┘ │ │ ▲ │ │ ┌─────────────────────────────────────────────────────────┐ │ │ │ 7. GATEWAYS LAYER │ │ │ │ cc-gemini • cc-r
Full Public Reader
Comp-Core Architecture Diagrams
1. Eight-Layer Stack
┌─────────────────────────────────────────────────────────────────┐
│ COMP-CORE ARCHITECTURE │
│ "Motion becomes computation" │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 8. ML LAYER │ │
│ │ cc-ml • Motion synthesis • Diffusion models │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 7. GATEWAYS LAYER │ │
│ │ cc-gemini • cc-relay • cc-sms-gateway │ │
│ │ Dual token bucket • <10µs TLV parsing │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 6. AUDIO-MEDIA LAYER │ │
│ │ cc-dj • cc-echelon • cc-speak • cc-cinematographer │ │
│ │ 3300+ voice commands • Ableton Link • Video FX │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 5. AGENTS LAYER │ │
│ │ cc-conductor • cc-orchestrator-agent • cc-agent │ │
│ │ PolicySignals • EventGates • RLM │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 4. RETRIEVAL LAYER │ │
│ │ cc-rag-plus-plus • cc-idea-vault • cc-retrieval │ │
│ │ 5D Trajectory Coordinates • Event-sourced ideas │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 3. SEMANTIC LAYER │ │
│ │ cc-inscription • cc-graph-kernel • cc-semantic │ │
│ │ 10 Sigils • 7-Operator Algebra • Basin lifecycle │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 2. MOTION LAYER │ │
│ │ cc-anticipation • cc-collection • cc-window-aligner │ │
│ │ Kalman filter • 5-stage pipeline • Anticipation │ │
│ └─────────────────────────────────────────────────────────┘ │
│ ▲ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 1. RUNTIME LAYER (Foundation) │ │
│ │ cc-core • cc-core-rs • cc-protocol • cc-kernel │ │
│ │ LIM-RPS • SMART kernel • Dual-time contract │ │
│ └─────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘---
2. The 10 N'Ko Sigils
┌─────────────────────────────────────────────────────────────────┐
│ THE 10 CLAIM TYPES │
│ Motion → Justified N'Ko Statements │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ │
│ │ ߛ │ │ ߜ │ │ ߕ │ │ ߙ │ │ ߡ │ │
│ │ │ │ │ │ │ │ │ │ │ │
│ │STAB │ │DISP │ │TRANS│ │ RET │ │DWELL│ │
│ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ │
│ contract expand change re-enter stay │
│ │
│ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ │
│ │ ߚ │ │ ߞ │ │ ߣ │ │ ߠ │ │ ߥ │ │
│ │ │ │ │ │ │ │ │ │ │ │
│ │OSCIL│ │RECOV│ │NOVEL│ │SHIFT│ │ECHO │ │
│ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ │
│ alternate recover discover place pattern │
│ │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Example inscription: │
│ │
│ ߛ ⟦100.0–200.0⟧ : z(σ) ↓ ; home ; c=0.85 │
│ │
│ "Stabilization from t=100 to t=200, dispersion decreased, │
│ at place 'home', confidence 0.85" │
│ │
└─────────────────────────────────────────────────────────────────┘---
3. Basin Lifecycle
┌─────────────────────────────────────────────────────────────────┐
│ BASIN LIFECYCLE │
│ "Hypotheses the machine bets its consistency on" │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────┐ │
│ │ Proto-Basin │ │
│ │ (scratch) │ │
│ └───────┬────────┘ │
│ │ │
│ 3 persistence signals met? │
│ • 3+ re-entries across sessions │
│ • Low internal dispersion (<0.3) │
│ • Repeatable transition signature (>0.7) │
│ │ │
│ YES │ NO │
│ ┌───────┴───────┐ │
│ │ │ │
│ ▼ ▼ │
│ ┌─────────────┐ ┌─────────────┐ │
│ │ Basin │ │ Retired │ │
│ │ (identity) │ │ (spurious) │ │
│ └──────┬──────┘ └─────────────┘ │
│ │ │
│ ┌───────────┼───────────┐ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌──────┐ ┌──────────┐ ┌────────┐ │
│ │SPLIT │ │ MERGE │ │ RETIRE │ │
│ │ │ │ │ │ │ │
│ │Child₁│ │ A + B → │ │Real- │ │
│ │Child₂│ │ C │ │ Gone │ │
│ └──────┘ └──────────┘ └────────┘ │
│ │
│ Deprecation markers: ⊘ₛ (spurious) ⊘ᵣ (real-gone) ⊘ᵥ (version) │
│ │
└─────────────────────────────────────────────────────────────────┘---
4. 5-Stage Motion Pipeline
┌─────────────────────────────────────────────────────────────────┐
│ 5-STAGE MOTION PIPELINE │
│ cc-window-aligner │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Raw Sensor Data │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ 1. TIME │ Align timestamps across devices │
│ │ NORMALIZE │ Handle clock drift │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ 2. RESAMPLE │ Uniform sample rate (60Hz) │
│ │ │ Cubic interpolation │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ 3. COORDINATE │ Transform to canonical skeleton │
│ │ UNIFY │ Mocopi → MediaPipe → Watch space │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ 4. FUSE │ Extended Kalman filter │
│ │ │ Confidence-weighted fusion │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ 5. WINDOW │ Create MotionWindow (deterministic) │
│ │ │ Replayable, hashable │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ MotionWindow (ready for ML) │
│ │
└─────────────────────────────────────────────────────────────────┘---
5. 5D Trajectory Coordinates (RAG++)
┌─────────────────────────────────────────────────────────────────┐
│ 5D TRAJECTORY COORDINATES │
│ cc-rag-plus-plus │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Every memory record positioned in 5D space: │
│ │
│ ┌──────────────────────────────────────────────────────────┐ │
│ │ │ │
│ │ depth ─────────────────── Tree depth (normalized) │ │
│ │ │ │ │
│ │ │ sibling_order ───── Position among siblings │ │
│ │ │ │ │ │
│ │ │ │ homogeneity ─ Semantic similarity │ │
│ │ │ │ │ to parent │ │
│ │ │ │ │ │ │
│ │ │ │ │ temporal ──── Normalized │ │
│ │ │ │ │ │ timestamp │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ complexity ─ Content │ │
│ │ │ │ │ │ │ component │ │
│ │ │ │ │ │ │ count │ │
│ │ │ │ │ │ │ │ │
│ │ ▼ ▼ ▼ ▼ ▼ │ │
│ │ (0.3, 0.5, 0.8, 0.2, 3.0) │ │
│ │ │ │
│ └──────────────────────────────────────────────────────────┘ │
│ │
│ Query formula: │
│ priority = (phase_weight + salience × salience_weight) │
│ × distance_decay^distance │
│ │
└─────────────────────────────────────────────────────────────────┘---
6. Anticipation Signals
┌─────────────────────────────────────────────────────────────────┐
│ ANTICIPATION SIGNALS │
│ cc-anticipation │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Four signals computed from motion dynamics: │
│ │
│ ┌──────────────────┐ │
│ │ COMMITMENT │ How constrained is the future? │
│ │ ──────────── │ High = motion locked in │
│ │ ██████████░░ │ Low = many possibilities │
│ │ 0.83 │ │
│ └──────────────────┘ │
│ │
│ ┌──────────────────┐ │
│ │ UNCERTAINTY │ Spread of predicted futures │
│ │ ──────────── │ High = unpredictable │
│ │ ████░░░░░░░░ │ Low = confident prediction │
│ │ 0.34 │ │
│ └──────────────────┘ │
│ │
│ ┌──────────────────┐ │
│ │ TRANSITION │ Likelihood of basin change │
│ │ PRESSURE │ High = about to shift │
│ │ ██████████████ │ Low = stable in current state │
│ │ 0.95 │ │
│ └──────────────────┘ │
│ │
│ ┌──────────────────┐ │
│ │ NOVELTY │ Distance from known patterns │
│ │ ──────────── │ High = new territory │
│ │ ██░░░░░░░░░░ │ Low = familiar motion │
│ │ 0.12 │ │
│ └──────────────────┘ │
│ │
│ Used by: cc-conductor, cc-gesture, cc-inscription │
│ │
└─────────────────────────────────────────────────────────────────┘---
7. CognitiveTwin Bridge Pipeline
┌─────────────────────────────────────────────────────────────────┐
│ COGNITIVETWIN BRIDGE PIPELINE │
│ cc-cognitivetwin-bridge │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Conversation DAG │
│ │ │
│ ▼ │
│ ┌─────────────┐ │
│ │ ATOMIZER │ Extract trajectory atoms (3 passes): │
│ │ │ • Recurrence detection │
│ │ │ • Life construct matching │
│ │ │ • Operator behavior detection │
│ └──────┬──────┘ │
│ │ │
│ ▼ │
│ ┌─────────────┐ │
│ │ PROPOSER │ Generate operator sequence hypotheses: │
│ │ │ • Structured rationales │
│ │ │ • Falsifiability conditions │
│ │ │ • Grammar-valid sequences │
│ └──────┬──────┘ │
│ │ │
│ ▼ │
│ ┌─────────────┐ │
│ │ RUNNER │ Collect evidence from Semantic Kernel: │
│ │ │ • TraceObserved events │
│ │ │ • InvarianceScored events │
│ │ │ • Promotion eligibility │
│ └──────┬──────┘ │
│ │ │
│ ▼ │
│ ┌─────────────┐ │
│ │ REALIZER │ Compile atoms to N'Ko surface forms: │
│ │ │ • Operator-first path │
│ │ │ • Text-first path │
│ │ │ • Template-based realization │
│ └──────┬──────┘ │
│ │ │
│ ▼ │
│ N'Ko Inscriptions │
│ │
└─────────────────────────────────────────────────────────────────┘---
8. Inscription Pipeline
┌─────────────────────────────────────────────────────────────────┐
│ INSCRIPTION PIPELINE │
│ cc-inscription │
├─────────────────────────────────────────────────────────────────┤
│ │
│ z-trajectory (continuous motion) │
│ │ │
│ │ + place │
│ │ + slice_id │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ CLAIM DETECTOR │ │
│ │ 10 detectors │ │
│ │ (one per type) │ │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ TYPED IR │ Strongly-typed claim structure │
│ │ │ with confidence, evidence refs │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ LEXICON │ Versioned vocabulary │
│ │ (vN) │ Basin tokens, place tokens │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ SURFACE RENDER │ Grammar skeletons │
│ │ │ Slot filling │
│ └────────┬────────┘ │
│ │ │
│ ▼ │
│ N'Ko Line: ߛ ⟦100.0–200.0⟧ : z(σ) ↓ ; home ; c=0.85 │
│ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ PROVENANCE CHAIN │ │
│ │ Evidence → IR → Surface → Proof Scaffold │ │
│ │ (every inscription is traceable) │ │
│ └─────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘---
9. Performance Metrics (Proof Points)
┌─────────────────────────────────────────────────────────────────┐
│ PERFORMANCE PROOF POINTS │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ LATENCY │ │
│ │ ═══════ │ │
│ │ │ │
│ │ 2.16 ms ──────────────────░░░░░░░░░░░░░░░░░ 40 ms │ │
│ │ ▲ ▲ │ │
│ │ actual target │ │
│ │ │ │
│ │ 18× under target! │ │
│ └────────────────────────────────────────────────────────┘ │
│ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ COHERENCE │ │
│ │ ═════════ │ │
│ │ │ │
│ │ Cross-modal coherence: 99.94% │ │
│ │ ████████████████████████████████████████████████░ │ │
│ │ │ │
│ └────────────────────────────────────────────────────────┘ │
│ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ THROUGHPUT │ │
│ │ ══════════ │ │
│ │ │ │
│ │ 43 FPS (real-time capable) │ │
│ │ │ │
│ └────────────────────────────────────────────────────────┘ │
│ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ SPECIAL: cc-relay TLV Parsing │ │
│ │ ═════════════════════════ │ │
│ │ │ │
│ │ <10 µs per packet (zero-copy) │ │
│ │ │ │
│ └────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘---
These diagrams are ready to be converted to SVG/PNG for granddiomande.com
Promotion Decision
Promote into a technical note or architecture paper with implementation anchors.
Source Anchor
portfolio-assets/diagrams/COMP_CORE_ARCHITECTURE.md
Detected Structure
Method · Evaluation · Architecture