SCBE-AETHERMOORE v3.0.0 - Installation Guide
Complete installation guide organized by layers and dependencies
Quick Start (5 Minutes)
# 1. Clone repository
git clone https://github.com/issdandavis/scbe-aethermoore-demo.git
cd scbe-aethermoore-demo
# 2. Run unified build script
./BUILD.bat # Windows
# or
./BUILD.sh # Linux/Mac
# 3. Verify installation
npm test
python -m pytest tests/ -v
System Requirements
Minimum Requirements
- Node.js: 18.0.0 or higher
- Python: 3.10 or higher
- npm: 8.0.0 or higher
- pip: 21.0.0 or higher
- RAM: 4 GB minimum, 8 GB recommended
- Disk Space: 2 GB for dependencies
Supported Platforms
- ✅ Windows 10/11 (x64)
- ✅ macOS 11+ (Intel/Apple Silicon)
- ✅ Linux (Ubuntu 20.04+, Debian 11+, RHEL 8+)
Installation by Layer
Layer 0: Environment Setup
Step 1: Install Node.js
Windows:
# Download from https://nodejs.org/
# Or use Chocolatey:
choco install nodejs
macOS:
brew install node
Linux:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
Step 2: Install Python
Windows:
# Download from https://www.python.org/downloads/
# Or use Chocolatey:
choco install python
macOS:
brew install python@3.11
Linux:
sudo apt-get update
sudo apt-get install python3.11 python3-pip
Step 3: Verify Installation
node --version # Should be >= 18.0.0
npm --version # Should be >= 8.0.0
python --version # Should be >= 3.10
pip --version # Should be >= 21.0.0
Layer 1: Core Dependencies
TypeScript/JavaScript Dependencies
npm install
Key Packages Installed:
typescript@^5.4.0- TypeScript compilervitest@^4.0.17- Testing frameworkfast-check@^4.5.3- Property-based testing@types/node@^20.11.0- Node.js type definitions
Python Dependencies
pip install -r requirements.txt
Key Packages Installed:
numpy>=1.24.0- Numerical computingscipy>=1.10.0- Scientific computingcryptography>=41.0.0- Cryptographic primitivespytest>=7.4.0- Testing frameworkhypothesis>=6.82.0- Property-based testing
Layer 2: SCBE Core Modules
Layer 2.1: Cryptographic Primitives (src/crypto/)
Files:
bloom.ts- Bloom filter for replay protectionenvelope.ts- Encrypted envelope formathkdf.ts- HMAC-based Key Derivation Functionjcs.ts- JSON Canonical Serializationkms.ts- Key Management System interfacenonceManager.ts- Nonce generation and trackingreplayGuard.ts- Replay attack prevention
Build:
npm run build:src
Verify:
ls dist/src/crypto/ # Should show compiled .js and .d.ts files
Layer 2.2: Python Cryptographic Modules (src/crypto/)
Files:
rwp_v3.py- RWP v3.0 Protocol (Argon2id + XChaCha20-Poly1305)sacred_tongues.py- Sacred Tongue tokenization (6 tongues × 256 tokens)
Verify:
python -c "from src.crypto.rwp_v3 import RWPv3; print('RWP v3.0 loaded')"
python -c "from src.crypto.sacred_tongues import SacredTongueTokenizer; print('Sacred Tongues loaded')"
Layer 3: Harmonic & Geometric Modules
Layer 3.1: Harmonic Scaling (src/harmonic/)
TypeScript Files:
assertions.ts- Mathematical invariant checksaudioAxis.ts- Audio telemetry (Layer 14)constants.ts- Physical constantshalAttention.ts- HAL attention coupling matrixhamiltonianCFI.ts- Hamiltonian CFI (PHDM)harmonicScaling.ts- Harmonic scaling lawhyperbolic.ts- Hyperbolic geometry (Poincaré ball)languesMetric.ts- Langues weighting systemphdm.ts- Polyhedral Hamiltonian Defense Manifoldpqc.ts- Post-quantum cryptography (ML-KEM, ML-DSA)qcLattice.ts- Quasicrystal latticesacredTongues.ts- Sacred Tongues (TypeScript interface)spiralSeal.ts- Spiral Seal (SS1)vacuumAcoustics.ts- Vacuum acoustics (bottle beam)
Build:
npm run build:src
Test:
npm test tests/harmonic/
Layer 3.2: Python Harmonic Modules (src/harmonic/)
Files:
context_encoder.py- SCBE context encoding (Layers 1-4)
Verify:
python -c "from src.harmonic.context_encoder import ContextEncoder; print('Context Encoder loaded')"
Layer 4: SCBE Context Encoding (src/scbe/)
Files:
context_encoder.py- Complete SCBE context encoding pipeline
Layers Implemented:
- Layer 1: Complex context vector c(t) ∈ ℂ^D
- Layer 2: Realification x(t) = [ℜ(c), ℑ(c)]^T
- Layer 3: Weighted transform x_G(t) = G^(1/2)x(t)
-
Layer 4: Poincaré embedding u(t) = tanh( x_G )x_G/ x_G
Test:
python -m pytest tests/test_sacred_tongue_integration.py::test_scbe_context_encoder -v
Layer 5: Spiralverse (RWP v3.0 + Policy Engine)
TypeScript Implementation (src/spiralverse/)
Files:
index.ts- Main exportsrwp.ts- RWP v3.0 TypeScript implementationpolicy.ts- Policy enginetypes.ts- Type definitions
Build:
npm run build:src
Test:
npm test tests/spiralverse/
Layer 6: Symphonic Cipher
TypeScript Implementation (src/symphonic/)
Files:
Complex.ts- Complex number arithmeticFFT.ts- Fast Fourier TransformFeistel.ts- Feistel networkHybridCrypto.ts- Hybrid cryptographySymphonicAgent.ts- Symphonic agentZBase32.ts- ZBase32 encodingindex.ts- Main exports
Build:
npm run build:src
Test:
npm test tests/symphonic/
Layer 7: Metrics & Telemetry
TypeScript Implementation (src/metrics/)
Files:
telemetry.ts- Telemetry collection
Build:
npm run build:src
Layer 8: Rollout & Deployment
TypeScript Implementation (src/rollout/)
Files:
canary.ts- Canary deploymentcircuitBreaker.ts- Circuit breaker pattern
Build:
npm run build:src
Layer 9: Self-Healing
TypeScript Implementation (src/selfHealing/)
Files:
coordinator.ts- Self-healing coordinatordeepHealing.ts- Deep healing strategiesquickFixBot.ts- Quick fix bot
Build:
npm run build:src
Complete Build Process
Option 1: Unified Build Script (Recommended)
# Windows
BUILD.bat
# Linux/Mac
chmod +x BUILD.sh
./BUILD.sh
What it does:
- Verifies environment (Node.js, Python, npm, pip)
- Cleans previous builds
- Installs Node.js dependencies
- Installs Python dependencies
- Builds TypeScript modules
- Runs test suite (TypeScript + Python)
- Packages npm module
- Verifies build integrity
Option 2: Manual Build
# 1. Clean
rm -rf dist node_modules __pycache__ .pytest_cache
# 2. Install dependencies
npm install
pip install -r requirements.txt
# 3. Build TypeScript
npm run build
# 4. Run tests
npm test
python -m pytest tests/ -v
# 5. Package
npm pack
Verification
TypeScript Verification
# Type check
npm run typecheck
# Run tests
npm test
# Check coverage
npm test -- --coverage
Expected Output:
✓ tests/harmonic/phdm.test.ts (7 tests)
✓ tests/spiralverse/rwp.test.ts (7 tests)
✓ tests/symphonic/*.test.ts (multiple tests)
Test Files X passed (X)
Tests X passed (X)
Python Verification
# Run all tests
python -m pytest tests/ -v
# Run specific test suite
python -m pytest tests/test_sacred_tongue_integration.py -v
# Check coverage
python -m pytest tests/ --cov=src --cov-report=term
Expected Output:
tests/test_sacred_tongue_integration.py::test_sacred_tongue_tokenizer PASSED
tests/test_sacred_tongue_integration.py::test_rwp_v3_encryption PASSED
tests/test_sacred_tongue_integration.py::test_scbe_context_encoder PASSED
...
======================== 17 passed in 43.79s ========================
Package Verification
# Check package contents
tar -tzf scbe-aethermoore-3.0.0.tgz | head -20
# Test installation
npm install scbe-aethermoore-3.0.0.tgz
node -e "const scbe = require('scbe-aethermoore'); console.log('Package loaded successfully');"
Troubleshooting
Common Issues
Issue 1: Node.js version too old
Error: error:0308010C:digital envelope routines::unsupported
Solution:
# Upgrade Node.js to 18.0.0 or higher
nvm install 18
nvm use 18
Issue 2: Python module not found
Error: ModuleNotFoundError: No module named 'numpy'
Solution:
pip install -r requirements.txt
# Or install specific package:
pip install numpy scipy cryptography
Issue 3: TypeScript build fails
Error: error TS2307: Cannot find module
Solution:
# Clean and rebuild
rm -rf dist node_modules
npm install
npm run build
Issue 4: Tests fail with “pytest not found”
Error: bash: pytest: command not found
Solution:
# Install pytest
pip install pytest pytest-cov hypothesis
# Or use python -m pytest
python -m pytest tests/ -v
Issue 5: Permission denied on BUILD.bat
Error: Permission denied: ./BUILD.bat
Solution:
# Windows: Run as administrator
# Linux/Mac: Make executable
chmod +x BUILD.sh
./BUILD.sh
Next Steps
After successful installation:
- Read Documentation:
README.md- Project overviewQUICKSTART.md- 5-minute tutorialHOW_TO_USE.md- Detailed usage guideARCHITECTURE_5_LAYERS.md- System architecture
-
Run Demos:
# Python demos python examples/rwp_v3_sacred_tongue_demo.py # TypeScript demos npm run demo - Explore Examples:
examples/rwp_v3_demo.py- RWP v3.0 basic usageexamples/rwp_v3_sacred_tongue_demo.py- Sacred Tongue integrationexamples/demo_integrated_system.py- Complete system demo
- Read Technical Documents:
SCBE_TOPOLOGICAL_CFI_UNIFIED.md- Complete technical specificationPATENT_PROVISIONAL_APPLICATION.md- Patent applicationVERIFICATION_REPORT.md- Test verification report
Support
- GitHub Issues: https://github.com/issdandavis/scbe-aethermoore-demo/issues
- npm Package: https://www.npmjs.com/package/scbe-aethermoore
- Documentation: See
docs/folder - Email: issdandavis@gmail.com
Installation Guide Version: 3.0.0
Last Updated: January 18, 2026
Status: Production-Ready