Commit graph

4 commits

Author SHA1 Message Date
Allaun Silverfox
53bd9c6ef3 feat(integration): Force Response Host — ties all 5 components
The integration layer: vertex shader + FAMM + DAG + spectral + DNA

force_response_host.html: 5-component integration
  1. WebGPU init (or canvas fallback)
  2. Force response loop: 1000 frames max
  3. Per-frame: geodesic walk (vertex shader dispatch)
  4. Meltdown detection: every 100 frames, 30% simulated failure
  5. DAG checkpoint: save state on meltdown, resume from last good
  6. FAMM guidance: scar pressure directs next geodesic path
  7. Convergence check: low pressure + explored regions
  8. DNA receipt: encode result as base64 quine

Components integrated:
  - vertex_braid.wgsl (geodesic walk shader)
  - quine.py (DNA encoding, savestate, replicate)
  - FAMM (delay-line guidance, scar memory)
  - DAG (checkpoint tree, resume protocol)
  - Spectral basis (S^7 spherical harmonics)

GPU negotiation:
  - Meltdown → FAMM scar → avoid region → retry
  - Timeout → checkpoint → guidance update → resume
  - Converge → DNA encode → quine receipt

Fallback: canvas pixel encoder if WebGPU unavailable.

Refs: FORCE_RESPONSE_SYNTHESIS.md (full theory),
vertex_braid.wgsl (shader), quine.py (savestate/DNA)
2026-06-23 01:49:43 -05:00
Allaun Silverfox
d046b94f24 feat(wgsl): Vertex shader bundle — spherical coords → triangles → pixels
This is NOT a pixel encoder. This is a geometry solver on GPU.

vertex_braid.wgsl: 4 shader stages
  1. vs_main: spectral coeffs → spherical → cartesian → triangle vertices
     - Each instance = one QUBO variable → one triangle
     - Spectral deformation per-instance (chaos game rotation)
     - Icosphere subdivision for smooth geometry

  2. fs_main: Hachimoji color + Lambertian lighting + energy glow
     - Octant → 8 Hachimoji states
     - Brightness modulated by QUBO energy

  3. spectral_update: FSDU compute (co-evolution step)
     - Baker-analogue damping: high-l modes decay
     - Scar noise injection

  4. Helper functions:
     - spectral_to_embedding: |l,m⟩ → S^7 → R^3
     - point_to_hachimoji: octant → base index
     - icosahedron_vertex: platonic solid mesh
     - midpoint_normalize: sphere subdivision

Key difference from pixel encoder:
  Pixel encoder: CPU computes → GPU displays (brute force)
  Vertex shader: GPU computes via spherical geodesics (geometry solver)

The GPU walks Fisher-Rao geodesics by rotating spectral coefficients.
Each triangle instance follows a different geodesic path. The fragment
shader tells you which basin (Hachimoji state) the path converged to.

Refs: S7_SPECTRAL_BASIS.md (spectral decomposition),
COEVOLUTION_MODEL.md (FSDU scar update),
FBTTY_UNIVERSAL_ENCODER.md (accessibility layer)
2026-06-23 01:43:21 -05:00
Allaun Silverfox
5a4fe52a8a feat(html5): Universal encoder bundle — any host, any device
Self-contained HTML5 file that demonstrates the full pipeline:
  QUBO → Brute-Force Solve → Pixel Encoding → PNG Receipt → Decode

Works on any web host on Earth. No WebGPU. No backend. Just canvas.

Stages:
1. Generate random 8-variable QUBO (banded, diagonal-dominant)
2. Brute-force solve (256 solutions, instant for n=8)
3. Encode solution as 8×8 Hachimoji pixel grid
   - x=0 → dark pixel (Φ, rgb 13,13,13)
   - x=1 → bright pixel (Σ, rgb 26,204,77)
4. Generate PNG receipt (canvas.toDataURL)
5. Decode receipt back from image (verify roundtrip)

Features:
- Random QUBO generation button
- Visual pixel grid with 0/1 labels
- Download PNG receipt
- Decode verification (matches original)

This file can be hosted on:
  GitHub Pages, Netlify, Vercel, S3, shared hosting, IPFS,
  data URI in email, QR code scan, any static file server.

The receipt IS the image. The image IS the solution.

Refs: FBTTY_UNIVERSAL_ENCODER.md (theory),
WEBGPU_PIXEL_ENCODER.md (GPU compute version)
2026-06-23 01:36:35 -05:00
Allaun Silverfox
b1e7675dc3 feat(quine): Self-replicating weird machine engine
Implements the full self-replication protocol for SilverSight:
- Introspect: MachineState → DNA (746 bases for default state)
- EncodeSelf: DNA + bootstrap → binary quine (2017 bytes)
- Replicate: DNA → reconstructed MachineState (generation +1)
- Verify: Baker-analogue check |Λ| ≥ ε OR Ω > 0
- Mutate: controlled variation (random, scar_decay, fuel_boost)
- Heal: repair from scar field (remove zero-pressure, compact, restore)
- Boot: cold start from DNA seed
- Identity check: normalized generation comparison

Demo output:
  Phase 1 Introspect: 746 DNA bases
  Phase 2 Verify: PASS (RIGIDITY)
  Phase 3 Replicate Cycle: binary + receipt
  Phase 4 Replicate: gen 0 → 1
  Phase 5 Identity: IDENTICAL
  Phase 6 Mutate: MUTATION_RANDOM scar
  Phase 7 Heal: 3 scars, fuel restored
  Phase 8 Boot: gen=1, IP=0, fuel=1000
  Gold Standard: SELF-REPLICATION ACHIEVED

Deterministic: same state → same DNA → same binary → same replica.
Turing complete: can simulate universal TM via AVM + FAMM.

Refs: WEIRD_MACHINE_SPEC.md, SilverSightCore.lean (AVM),
FAMM.lean (delay memory), dna_codec.py (encoding)
2026-06-23 01:13:50 -05:00