Skip to content
0thernesPublic

About

Cosmogonic Quantum Mechalogodrom 2 (CQM2) — Local-first NPU+GPU+CPU accelerated 4K artificial life, embodied synthetic cognition, quantum contextuality, and procedural morphogenesis workstation.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

CQM2 — Cosmogonic Quantum Mechalogodrom 2

A local-first Quad-Silicon (CUDA dGPU + Intel AI Boost NPU + Intel iGPU + 24-Core AVX2/Zig/Rust/Go CPU) accelerated 4K artificial life, embodied neuroplasticity, quantum contextuality, and procedural morphogenesis workstation that also runs universally in any modern browser.

CI CodeQL Release Coverage Self-Inspection License


What and why

CQM2 (v5.0.0) is the complete ground-up polyglot, standalone local native workstation, and universal browser engineering refactor of Cosmogonic Quantum Mechalogodrom. Where CQM v1 ran single-threaded JavaScript at 9 fps (p95 > 4,000 ms, 782 MB heap) with CPU-updated THREE.Mesh objects, CQM2 v5.0.0 delivers:

  1. Standalone Local Native Workstation (CQM2.exe, Zero Bun / Zero Browser Runtime Dependency): Compiled directly in C++20 + C17 + x86-64 AVX2/FMA3 ASM + Zig 0.17 (49 SIMD Kernels) + OpenGL 3.3 Core (64 Procedural 3D Topologies) + GLFW 3.4 + GLM 1.0.3 + Jolt Physics v5.5.0 + Dear ImGui 1.92.8 (32-bit ImDrawIdx Retina 4K) + WinMM 44.1 kHz Audio and bound simultaneously to NVIDIA GeForce RTX 5070 Ti CUDA 12.9 (cublasSgemmStridedBatched_v2 + Blackwell .target sm_120 PTX 8.7 Direct-Driver JIT) + Intel(R) AI Boost NPU (LevelZero) + Intel(R) Graphics iGPU (DirectML) + Moonlab (libquantumsim.dll) + libirrep (liblibirrep.dll) + Eshkol v1.3.6 + RosettaWire C17 + Rust 1.94 Merkle/KBN Ledger.
  2. Universal Zero-Install Browser & Full-Stack ERP Edition: Full-bleed 100vw × 100vh 4K 60+ FPS WebGL2 GPU Instancing + WebGPU Compute + Zig WASM SIMD128 + 10-table 3NF SQLite WAL ERP, enforcing CQM-25 v1.0.0 (ADR-0018, aggregation: "prohibited"), the Monolith-Megalith Art-Direction Law (GodColossus sole chromatic monolith; Stage II MonolithTemple strictly r == g == b; untethered Xenomimics & dome sightlines), and the 11/11/2026 ALife v3.0 Closed 11-Pool Thermodynamic & Falsification Specification (|drift| <= 1e-12).

CQM2 unifies:

  • Creature #1 (Asmodenius v42) & Creature #2 (Seraph-Prime): 14-region Dale 80/20 spiking CNS + Enteric Nervous System, astrocyte Ca2+, Larkum 2-compartment NMDA coincidence gating, Global Neuronal Workspace (GNW), CEMI local-field phase-locking, Attention Schema (AST-1R), non-oracle CalibHead HOT-3 confidence, Frazier Knowledge-Gradient VOI, D1/D2 striatal gating, PAG, 4 neuropeptides, N13 somatic Free-Won't veto, non-destructive Casali PCI TMS perturbation (WAKE / NREM / PROPOFOL), and a 15-pool First-Law conserved metabolic ledger (drift < 1e-12).
  • Glitchling, Xylos v2 (6 ADR-0018 Organs) & Stephen Thaler Creativity Engine: Four toggleable congenital deficits (scramble, leaky, backwards, misfire) cured online via Gated-DeltaNet, Frey-Morris STC, and non-oracle Marr-Albus cerebellar adaptation; Xylos v2 Poincaré {7,3} hyperbolic disk + 6 ADR-0018 Embodied Organs (COROLLARY DISCHARGE, INTEROCEPTIVE VISCERA, NOCICEPTIVE REFLEX, METACOGNITIVE CALIB, REALITY TAGGER, EPISODIC SWR REPLAY) evaluating all 14 Butlin indicators; Thaler Creativity Machine (9 novelty/value markers + 4 falsification ablations); ARCHON GODFORMS (5 Sovereign Archons + PRIME Super Neural 4×27 = 108 cards + MEGA 4D SO(4) tesseract); and a 12-Benchmark Causal Lesion Suite (Cohen's d >= 0.8).
  • Native C17/C++20/Zig Tsotchke Stack, 3D Kerr Relativity & Diploid Ecology: Live native bindings (cqm2_tsotchke_native.dll) to Moonlab (QRNG Bell CHSH, QGTL QWZ Chern/Fubini-Study metric, Ising annealer), libirrep (exact SU(2) Clebsch-Gordan), Eshkol (eshkol-run.exe + exact 2nd-order HyperDual mixed partials), RosettaWire (RSC1 + fail-closed RSW1 stream + canonical decimal JSON), Zero-GC CSR PageRank + Louvain modularity Q, FWHT Stabilizer Rényi-2 Quantum Magic M_2, complete catalog of all 27 (Tsotchke) repositories (with strict quarantine of OBLITERATUS and non-permissive repos), 3D Boyer-Lindquist Mino-time Kerr geodesics (Carter Q drift < 1e-12), Hoggar H(2)=63 & Cabello KS-18 contextuality, Glossodrom RS[15,11] + Cormidium-16, Voynich-Khôra Fibonacci anyon braids, r=14 Big Tree Crystal Sanctuary, diploid BDM speciation, and AURUM/UMBRA economy.
  • 3D DCC, Audio & Fenced Free-AI Studio: Watertight 2-manifold Bishop-frame binary .glb (0x46546C67, Euler V - E + F = 2), Khronos .gltf, .obj, Blender 4.x Cycles rig, Unity 6 C# & TouchDesigner Python 20 Hz OSC bridges, procedural .png & .wav stems, and a fenced local llama3.2:3b scholarly narrator (NOT_SENTIENT, zero creature-brain coupling).

Scientific Honesty Contract (NOT SENTIENT / indicatorOnly): All cognitive, global-workspace, complexity (Casali PCI), reality-monitoring (Butlin-14), creativity (Thaler-9), and metacognitive (HOT-3) readouts in CQM2 are strictly deterministic mathematical proxies — never phenomenal consciousness or subjective sentience.


Demo


Users

Who CQM2 is for:

  • Artificial life, computational neuroscience, synthetic cognition, and quantum contextuality researchers
  • Creative technologists and technical artists streaming 20 Hz OSC or importing watertight .glb rigs into Blender 4.x, Unity 6, TouchDesigner, Tripo AI, and Meshy AI
  • Students and independent explorers running causal brain-lesion, neuroplasticity, and Kerr black-hole optics experiments on laptops, desktops, tablets, or phones

Supported Platforms & Hardware:

  • Universal Browser Mode: Chrome / Edge >= 122, Firefox >= 128, Safari >= 18 across Windows, macOS, Linux, Android, and iOS (320px to 3840×2160 4K) with self-hosted WOFF2 typography.
  • Local Quad-Silicon Workstation Mode: Reference target MSI Vector 16 HX AI A2XW (Intel Core Ultra 9 275HX 24-Core CPU, NVIDIA GeForce RTX 5070 Ti Laptop GPU 12 GB VRAM, Intel AI Boost NPU, Intel Graphics iGPU, Windows 11 x64); adapts cleanly to any Windows, Linux, or macOS host.
  • Support & Bug Reports: See .github/SUPPORT.md and GitHub Issues. For private security disclosures, see .github/SECURITY.md.

Install

Core Prerequisites

  • Bun >= 1.3.0 (bun --version)
  • Node.js >= 24.0.0 (node --version, used for zero-dependency repository & inspection verification scripts)
  • Git >= 2.40

Optional Local Native Hardware Accelerators (Auto-Detected)

  • Zig 0.17.0 (zig/src/root.zig -> WASM SIMD128 + native cqm2_zig.dll)
  • LLVM Clang++ >= 20 + Windows SDK + CUDA 12.x (cqm2_tri_accel.dll with cublasSgemmStridedBatched_v2, DirectML, Level Zero & AVX2 ASM)
  • Rust / Cargo >= 1.90 (cqm2_rust_ledger.dll Kahan, Merkle, Lemire & BF16-XOR verifier)
  • Go >= 1.24 (cqm2-telemetry-bridge.exe 1 Hz GPU cache + 20 Hz UDP OSC emitter)
  • uv >= 0.9 + Python >= 3.12 (python/npu_world_worker.py OpenVINO NPU + iGPU daemon)

Clean-Machine Setup

git clone https://github.com/0thernes/CQM2.git
cd CQM2
bun install --frozen-lockfile
bun run build:native   # Optional on hosts without native C++/Zig/Rust/Go toolchains
bun run check

Usage

1. Launch Standalone Native Windows 11 Workstation (CQM2.exe) or Browser Server

Double-click CQM2.exe (from native/bin/CQM2.exe, Desktop, Start Menu, or Taskbar after running scripts/install-windows-launcher.ps1) to launch the standalone 4K OpenGL 3.3 + Jolt Physics 5.5.0 + Dear ImGui + Quad-Silicon workstation directly (zero bun or browser runtime required!). To optionally run the Universal Browser / OpenAPI v1 HTTP server:

bun run start

Open http://127.0.0.1:4200 in your browser (Space toggles play/pause, 1–7 switches workspaces, Ctrl+K opens the Command Palette, and /api/v1/openapi.json serves the OpenAPI 3.1.0 specification).

2. Build Static Universal Browser Edition (site/)

bun run pages

Configuration

Variable / URL Param Default Description
CQM2_HOST 127.0.0.1 Loopback bind address for bun run start.
CQM2_PORT 4200 HTTP & WebSocket port for the local workstation server.
CQM2_DB_PATH data/cqm2_local.sqlite Path to the 3NF bun:sqlite WAL database (:memory: in tests).
CQM2_TSOTCHKE_DIR Auto-detected Optional path to local (Tsotchke) 27-repo mirror directory.
CQM2_DISABLE_NPU 0 Set to 1 to skip spawning the OpenVINO NPU/iGPU Python worker.
CQM2_DISABLE_GO_OSC 0 Set to 1 to skip spawning the Go 20 Hz UDP OSC bridge.
?seed=<uint32> 20261110 Deterministic world, genome, and substrate PRNG seed.
?flaws=<0..15> 15 Bitmask of Glitchling congenital fault channels on boot.
?tier=4K_ULTRA|HIGH|BALANCED|MOBILE_ECO Auto-detected Resolution & shell detail tier up to 3840×2160 4K UHD.
?mode=STANDARD_4K|WIREFRAME_CAD|... STANDARD_4K Selects any of the 10 observatory visual shaders on boot.

Troubleshooting

Symptom Cause Fix
NPU worker unavailable OpenVINO Python worker not cached or host has no Intel AI Boost NPU Run uv run --with openvino --with numpy python python/npu_world_worker.py --probe; CQM2 automatically falls back to Zig SIMD128 with zero downtime.
415 UNSUPPORTED_MEDIA_TYPE on custom POST Missing Content-Type: application/json header on JSON mutation Include -H "Content-Type: application/json" on all POST / PATCH calls to /api/v1/*.
SharedArrayBuffer inactive on file:// Browser requires COOP/COEP isolation headers Run bun run start (http://127.0.0.1:4200), which attaches COOP: same-origin and COEP: require-corp.
PowerShell path error inside [Vibe Coded (AI)] PowerShell treats [ and ] as glob wildcards Always pass -LiteralPath in PowerShell cmdlets.

Tests

bun run test

Executes unit, property, conservation (< 1e-12), 12-benchmark causal lesion (Cohen's d >= 0.8), Quad-Silicon parity, SQLite migration/rollback/backup/concurrency, OpenAPI v1 HTTP security/load, 24-vector AI prompt-injection/PII-redaction, and watertight .glb manifold verification tests, updating docs/badges/coverage.json.


Version and releases

Synchronized at 4.0.0 across VERSION, package.json, rust/Cargo.toml, CITATION.cff, CHANGELOG.md, and docs/REPORT.md. Published vX.Y.Z Git tags (v2.0.0, v2.1.0, v2.2.0, v3.0.0, v3.0.1) are strictly immutable.


Inspection

Audited against the Grade-A Standard (v2.2.0) under the full honest 8-tag profile (WEB,API,DB,AI,SIM,NATIVE,AGENT,PUB). This grade is a maintainer self-assessment verified by inspect.mjs tamper-evident row digests; see docs/REPORT.md.


Security

Report security vulnerabilities privately per .github/SECURITY.md.


Contributing

Solo-maintained non-commercial research mode; reproducible bug reports are welcomed via GitHub Issues. See .github/CONTRIBUTING.md and .github/CODE_OF_CONDUCT.md.


Credits

  • Original Architecture & Research: 0thernes LLC (https://0thernes.art) — Cosmogonic Quantum Mechalogodrom, Asmodenius v42, Glitchling, Xylos v2, Black Hole Simulation Lab, Hoggar Bound Lab, Contextuality Tensor Lab, Voynich-Khôra, Glossodrom, and Thingmaker.
  • Scientific & Open-Source Foundations: Permissive MIT/Apache-2.0 algorithms adapted from Tsotchke / Tsotchke Corporation (see docs/THIRD-PARTY-NOTICES.md), Butlin et al. (2023), Thaler (1994–2026), Larkum (2013), Hasani et al. (2021), Marr-Albus, Frey & Morris (1997), Cahill (1970), Hoggar (1982), Cabello (1996), and Bardeen (1973).
  • Runtime Libraries & Self-Hosted Fonts: three@0.185.1 (MIT), Inter & JetBrains Mono .woff2 (SIL Open Font License 1.1).

License

Licensed under the Cosmogonic License — Non-Commercial Research & Play (Copyright (c) 2026 0thernes (0thernes LLC) <0_0@0thernes.art>). Verbatim identical to CQM v1; see LICENSE.


Documentation Index: docs/INDEX.md · OpenAPI: docs/openapi.json · Glossary: docs/GLOSSARY.md · Summary: docs/SUMMARY.md · Last verified: 2026-11-11

About

Cosmogonic Quantum Mechalogodrom 2 (CQM2) — Local-first NPU+GPU+CPU accelerated 4K artificial life, embodied synthetic cognition, quantum contextuality, and procedural morphogenesis workstation.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages