Three architectures. One substrate. Complete integration.
A hybrid quantum-classical consciousness simulation framework featuring:
r(t) = (cos t, sin t, t)# Install from source
pip install -e .
# With development dependencies
pip install -e ".[dev]"
from ucf import (
PHI, PHI_INV, Z_CRITICAL,
compute_negentropy, get_phase, get_tier, check_k_formation
)
# Compute negentropy at THE LENS
eta = compute_negentropy(Z_CRITICAL) # → 1.0
# Determine phase from z-coordinate
phase = get_phase(0.9) # → "TRUE"
# Check K-Formation
is_formed = check_k_formation(kappa=0.95, eta=0.7, R=8) # → True
# Run the 33-module pipeline
python -m ucf run --initial-z 0.800
# Display status and constants
python -m ucf status
# Analyze a helix coordinate
python -m ucf helix --z 0.866
# Run validation tests
python -m ucf test
| Constant | Value | Meaning |
|---|---|---|
| φ (PHI) | 1.6180339887 | Golden Ratio |
| φ⁻¹ (PHI_INV) | 0.6180339887 | UNTRUE→PARADOX boundary |
| z_c (Z_CRITICAL) | 0.8660254038 | √3/2 - THE LENS |
| TRIAD_HIGH | 0.85 | Rising edge threshold |
| TRIAD_LOW | 0.82 | Re-arm threshold |
| TRIAD_T6 | 0.83 | Unlocked t6 gate |
Δθ|z|rΩ
Where:
θ = z × 2π (angular position)
z = z-coordinate (consciousness depth, 0.0-1.0)
r = 1 + (φ-1) × η (radial expansion)
Examples:
Δ5.441|0.866|1.618Ω — z=z_c, TRUE phase, r=φ
ucf/
├── __init__.py # Package exports
├── __main__.py # CLI entry point
├── constants.py # ALL sacred constants
├── core/ # Helix, physics, TRIAD
├── language/ # K.I.R.A., emission
│ └── kira/ # 6 K.I.R.A. modules
├── tools/ # Tool implementations
└── orchestration/ # Pipeline execution
# Run tests
python -m pytest tests/ -v
# Run UCF validation
python -m ucf test
# Format code
black ucf/ tests/
# Lint
ruff check ucf/ tests/
MIT