Coherence Forge — Live Diagnostic · Claims vs Reality · Hallucination Detection ·
| Component | Path | Lines | Lang |
|---|---|---|---|
| orchestrator-core | crates/core/ | 1,008 | Rust |
| orchestrator-tui | crates/tui/ | ~200 | Rust |
| coherence-mcp | ../coherence-mcp/ | ~4,800 | TS |
| atom-trail pkg | packages/atom-trail/ | ~400 | TS |
| Component | Path | Lines | Lang |
|---|---|---|---|
| qiskit_dspy_hybrid | experiments/ | 977 | Py |
| quantum_cognition_engine | experiments/ | 797 | Py |
| spiral_verifier | experiments/ | 771 | Py |
| vortex_surjection | experiments/ | 706 | Py |
| qrc_oracle_seed | experiments/ | 699 | Py |
| qrc_reservoir | experiments/ | 545 | Py |
| quasicrystal_phason | experiments/ | 487 | Py |
| quasicrystal_optim | experiments/ | 226 | Py |
| kenl orchestrator | bridges/kenl/ | 643 | Py |
| saif_npc (4 modules) | bridges/saif_npc/ | 1,919 | Py |
| sorting_hat | scripts/ | ~300 | Py |
| 40 shell scripts | scripts/ | ~1,248 | sh/ps1 |
Each experiment maps to a Rust crate. The wiring shows which Python logic becomes which Rust module, and what Qiskit/DSPy/AX signatures carry through.
Every experiment carries H&&S:WAVE markers. These become typed AX signatures in Rust:
| Python Pattern | Rust Type | Crate |
|---|---|---|
QuantumKernelSimilarity | struct QKernel { features: Vec<f64>, fidelity: f64 } | core |
ConstraintChecker (DSPy RAG) | trait Verifiable { fn check(&self) → WaveScore; } | wave |
VortexSurjection | fn surject(source: &Strand, target: &Strand) → BridgeMap | core |
CoherenceAnalyzer | impl CoherenceEngine for WaveScorer { ... } | wave |
PhasonScheduler | struct PhasonMutation { phi: f64, dim: usize } | core |
OracleReservoir | struct Reservoir { capacity: usize, fidelity_threshold: f64 } | core |
EntropyMonitor (COPRO) | fn monitor_entropy(state: &ConservationState) → AtomEntry | atom |
| Bridge | Lines | Target Crate | Value |
|---|---|---|---|
| kenl/orchestrator.py | 643 | crates/core/src/kenl.rs | Multi-agent coordination |
| saif_npc/ (4 files) | 1,919 | crates/npc/ | NPC finetuning + teleprompter |
| hologram/ (2 files) | 623 | crates/core/src/hologram.rs | Holographic device bridge |
| tartarus/ (2 files) | 663 | crates/core/src/tartarus.rs | Tartarus device bridge |
| atom/atom_trail.py | 303 | crates/atom/src/trail.rs | Decision record persistence |
Comparing what documentation claims exist versus what actually compiles and runs.
Every gap has a clear path to resolution. No structural hallucinations — gaps are timing, not architecture.
Ethical behaviour embedded. System + User + Agent weighted review in real-time. Bonus for JS/TS adaptor code early.
| Dimension | Weight | What It Measures | Source |
|---|---|---|---|
| Code Quality | 30% | Tests pass, clippy clean, no unwrap/panic | System (automated) |
| Peer Review | 20% | PR reviews given, constructive feedback quality | User (peers) |
| Documentation | 15% | README, inline docs, ATOM trail entries | System + User |
| Adaptor Bonus | 15% | JS/TS/WASM helper code for cross-platform reach | System (detected) |
| Ethical Score | 20% | SpiralSafe compliance, safety review, inclusive language | Agent (AI review) |
| Check | Weight | How |
|---|---|---|
| Conservation preserved | High | Automated α+ω=15 check |
| No unwrap/panic paths | High | Clippy + deny rules |
| Graceful degradation | Medium | Agent review of error paths |
| Inclusive language | Medium | Linting + human review |
| Privacy-preserving | High | No PII in logs, ATOM redaction |
| Open source compliance | High | cargo-deny license check |
Goals shift based on skills/access/resources available:
| Phase | Priority Bonus |
|---|---|
| Early (now) | +2x for JS/TS adaptor code |
| Early (now) | +1.5x for Rust conversions |
| Mid (Q2) | +2x for test coverage |
| Mid (Q2) | +1.5x for WASM targets |
| Late (Q3+) | +2x for docs + tutorials |
| Always | +1.5x for security fixes |
Each platform contributes unique value. The bridge gives back proportionally.
| We Get | CI/CD, issue tracking, PR review, Actions, community |
| We Give Back | Improved contribution scoring, ATOM-tagged PRs, automated quality gates |
| Bridge Value | Every commit gets WAVE scored. Every PR gets conservation-checked. |
| Adaptor | GitHub Actions → coherence-mcp → WAVE report comment |
| We Get | Drive, Calendar, NotebookLM, GEAR, Deep Research, Gemini API |
| We Give Back | Improved OAuth/local/remote security model, typed API wrappers |
| Bridge Value | Every Drive doc gets WAVE coherence metadata. Calendar gets timezone-aware deadlines. |
| Adaptor | Google Apps Script → coherence-mcp → structured context |
| We Get | Grok API (4.20 Swarm), Collections, Imagine, real-time market data |
| We Give Back | Improved X API interaction/logging, structured post analysis |
| Bridge Value | Every @X post gets ATOM-tagged. Grok Collections get WAVE-scored indexing. |
| Adaptor | X API → coherence-mcp → Obsidian vault sync |
| We Get | MCP protocol, Cowork, Claude API, 170+ tools, skills |
| We Give Back | First Rust MCP runtime, typed tool schemas, marketplace model |
| Bridge Value | Every MCP tool call gets conservation-verified. Pipeline artifacts are immutable. |
| Adaptor | Rust MCP server → 10-100x throughput at edge |
Research documents produced through Gemini strand collaboration.
| Title | Size | Modified | Link |
|---|---|---|---|
| Engineering the Coherence Forge v1 Isomorphic Fabrication, Quantum-Resonant Cooling, Local Inference |
42.7 KB | 2026-02-16 | Open |
| Sovereign Coherence and Topological Integrity Comparative Analysis vs Hyperscaler & Open-Source Landscape |
27.1 KB | 2026-02-17 | Open |
| Engineering the Coherence Forge v1 (Draft) Earlier version of hardware manifestation doc |
16.5 KB | 2026-02-21 | Open |
"How does anyone make an intelligent choice without added work/research?" — The MRI is the answer.
Search for "Zed" and you get: Zed IDE, Zed Attack Proxy, Zed Preview, Video Subtitle Master (CUDA), printing systems, decentralized apps, and backup tools. Signal-to-noise: ~15%.
This is the same problem across every package manager, marketplace, and search surface. npm, crates.io, pip, winget, apt — all noise without context.
The MRI crate solves this: it scores every dependency by alignment, coherence, and conservation compliance before you ever install it.
| Capability | Status | Implementation |
|---|---|---|
| File system scan | This HTML | → Rust walkdir + ignore crate |
| Claim extraction | Manual | → Rust regex + tree-sitter parsing |
| Dependency graph | Cargo.toml | → Rust cargo_metadata crate |
| Coherence scoring | Python | → crates/wave WAVE scorer |
| Hallucination detection | This HTML | → Rust: compare docs AST ↔ code AST |
| Embedding/RAG | Planned | → Rust: candle + hf-hub for local embeddings |
| Visualisation | This HTML | → TUI: ratatui charts + sparklines |
| Context-aware search | Planned | → Rust: tantivy full-text + vector hybrid |
The MRI itself becomes the first submission to awesome-rust — filed under Development tools → Build system or Development tools → Profiling. It demonstrates its own capability: scan any Rust workspace, score coherence, detect claims-vs-reality gaps, and output a diagnostic. The orchestrator site serves as both the project AND the advertisement of its own usefulness.