Voxel Governance Simulator (SCBE)
Purpose
Implements a deterministic sparse voxel simulation that bridges:
- Spectral channels (six Sacred Tongues)
- Voxel addressing (quantized cubic space)
- Quasicrystal projection/validation
- Governance routing using Poincaré distance and Layer 12 costs
Canonical wall formula is preserved:
H(d*,R) = R * pi^(phi * d*)
Files
- Script:
scripts/voxel_governance_sim.py - Sample input:
examples/voxel_inputs.sample.json - Output (default):
artifacts/voxel_governance_run.json
Run
python scripts/voxel_governance_sim.py `
--input-json examples/voxel_inputs.sample.json `
--count 12 `
--output artifacts/voxel_governance_run.json
Output contract
Top-level output includes:
state_vector(coherence, energy, drift)decision_record(action, signature, timestamp, reason, confidence)route(geodesic-style shortest path and total cost)voxels[](per-voxel metrics and decision details)
Layer mapping
- Layer 4/5: Poincaré embedding + hyperbolic distance via
poincare_dist_3d. - Layer 9/12: coherence + Layer 12 cost from
src/scbe_governance_math.py. - Layer 13: consensus decision from six local votes.
- QC lattice: projection and acceptance window checks from
qc_lattice/quasicrystal.py.
Notes
- The simulator is deterministic for a given input seed list.
- If quasicrystal validity fails, decision severity is escalated.
- This is an engineering bridge artifact for runtime experimentation, not a replacement for canonical spec/tests.