Research-Stack/4-Infrastructure
allaun 1c65853243 feat: spectral threshold tuning + Gremlin-to-AppFloyo push
Spectral thresholds:
- Lower signalThreshold from 2.0 to 1.5 (98304 Q16_16 raw)
- colorToShapeName now returns LogogramProjection for blue-only
  (was none, which caused missing_prediction alignment status)
- Result: 0 missing_prediction, 32 aligned_exact, 66 compatible,
  180 alignment_warning across 278 rows

Gremlin bridge:
- Added push_to_appflowy() with auto GoTrue JWT acquisition
- PUSH_APPFLOWY=1 env var triggers push after report generation
- Retained JSON/Markdown file output as primary delivery
2026-06-30 04:36:49 -05:00
..
auto chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
bin chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
cloudflare feat(infra): Garage 6-node RF3 cluster, Cloudflare Workers deploy, k3s node additions 2026-05-31 03:39:11 -05:00
config initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
docs chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
drivers initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
exploit-infra/CATEGORY/TSM initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
hardware chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
infra fix(infra): purge hardcoded Postgres password from service_orchestrator.py 2026-06-28 19:58:35 -05:00
k3s-flake feat(infra): secure Vaultwarden installation using Authentik API and Caddy 2026-06-30 01:49:03 -05:00
kernel chore: preserve working tree before secure wipe 2026-05-13 17:36:02 -05:00
kube chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
lib chore(consolidation): integrate E8Sidon stack (PRs #79 #80 #81 #89) into one PR 2026-06-16 02:01:31 +00:00
nano-kernel Track remaining source and documentation inventory 2026-05-11 22:18:31 -05:00
netcup-vps chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
NoDupeLabs feat(lean): close gaussian_line_integral_unit_dir + consolidate infrastructure 2026-06-18 16:53:23 -05:00
packaging collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -05:00
rds_probe fix(deps): audit-driven updates across npm, pnpm, cargo, pip 2026-06-20 19:00:38 -05:00
scripts feat(lean): InformationManifold + SLUQ; chentsov_fusion, tdoku_16d; docs reconciliation suite 2026-06-28 10:38:13 -05:00
servo-fetch fix(deps): audit-driven updates across npm, pnpm, cargo, pip 2026-06-20 19:00:38 -05:00
shim feat: spectral threshold tuning + Gremlin-to-AppFloyo push 2026-06-30 04:36:49 -05:00
shims initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
storage chore(infra): stage working tree modifications 2026-06-22 01:23:17 -05:00
surface/static chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
witness Refactor provenance sources for open witness backends 2026-05-12 05:57:04 -05:00
workers/s2-proxy feat(infra): Semantic Scholar Cloudflare worker proxy 2026-06-21 01:04:19 -05:00
AGENTS.md docs(infra): document audiobookshelf-verify.spec.ts in AGENTS.md 2026-06-29 21:26:56 -05:00
README.md docs: full documentation + roadmap refresh (2026-05-19) 2026-05-19 09:12:16 +00:00

4-Infrastructure

Purpose: Rust/Python shims, GPU duty assignment, cloud storage, web interaction, hardware designs, drivers, and the ENE RDS Rust workspace.

Depends on: 0 through 3

Directory Layout

Path Purpose
infra/ Python shims, ENE distributed node, credential server
infra/ene-rds/ ENE RDS Rust workspace (8 crates — Rust replacement for Python RDS stack)
hardware/ FPGA Verilog, FAMM verilator, KiCad templates
drivers/ Hardware drivers
gpu/ WGSL shaders, wgpu compute dispatch
storage/ restic + Garage S3 + rclone storage stack
storage/storage_agent.py Storage observer/optimizer agent
shim/ Stack solidification probes, adversarial harnesses, gate library
surface/ FastAPI/WebSocket surface (spec'd, pending implementation)

ENE RDS Rust Workspace (infra/ene-rds/)

8-crate Rust workspace replacing the Python RDS stack. Build: cd 4-Infrastructure/infra/ene-rds && cargo build --release.

Crate Purpose
ene-rds-core Shared PostgreSQL client, DSN builder, receipts
ene-rds-wiki Wiki CRUD + full-text search + revision tracking
ene-rds-ephemeral EphemeralNode thermal zones, tasks, receipts, scars, metrics
ene-rds-chat Chat session ingestion, keyword/semantic search
ene-api Axum HTTP server on :3000
ene-node Node identity and gossip primitives
ene-storage S3/Garage object storage client
ene-sync Polls opencode.db SQLite → upserts into RDS chat tables

sqlx 0.8.6 (Dependabot vuln from 0.7 resolved 2026-05-19).

Storage Stack (storage/)

Three tools, non-overlapping roles. Full contract: 4-Infrastructure/AGENTS.md §Storage Stack.

Tool Job
restic Deduplicated, encrypted, content-addressed snapshots
Garage v2.3.0 Self-hosted S3-compatible object store (Tailscale mesh, 5 buckets)
rclone Raw sync between remotes (Garage↔gdrive cold copy)

Storage agent (storage/storage_agent.py): observe→decide→act loop, systemd timer (every 15 min), Q16_16 thresholds, JSONL hash-chain receipts.

GPU Status

  • Device: NVIDIA GeForce RTX 4070
  • Memory: 12.3GB total, ~10GB available
  • CUDA: 13.0
  • Compute dispatch: WGSL → wgpu (Vulkan GPU / lavapipe CPU / WebGPU WASM). Dispatch entry points: 5-Applications/parquet_compressor/src/gpu.rs, gpu/wasmgpu/ (47 WGSL shaders)

Components

  • ENE RDS — Rust workspace replacing Python RDS (see above)
  • Storage Stack — restic + Garage S3 + rclone (see above)
  • Lean Shim — Lean ↔ Python bidirectional interface
  • ENE Shim — ENE node management from Python
  • GPU Duty — WGSL/wgpu compute dispatch (Q16_16 deterministic across all substrates)
  • Credential Gatewayinfra/credential_server.py, apiProvider service kind, cupfox routing
  • Adversarial Harnessesshim/adversarial_duals/: Anti-FAMM, Anti-BraidStorm, 20+ gate library entries