Sovereign 8s.is mirror of 8b-is/qbit-protein-studio
  • HTML 61.5%
  • Rust 28.5%
  • JavaScript 10%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-20 03:10:25 -04:00
src feat: qbit-protein-studio — the 1-bit protein lane, self-hostable 2026-09-18 02:13:53 -04:00
studio readme: the protein-binding viz — the parity, the view stamp, the residual row, and the corridor 2026-09-20 03:10:25 -04:00
.gitignore feat: qbit-protein-studio — the 1-bit protein lane, self-hostable 2026-09-18 02:13:53 -04:00
Cargo.lock feat: qbit-protein-studio — the 1-bit protein lane, self-hostable 2026-09-18 02:13:53 -04:00
Cargo.toml feat: qbit-protein-studio — the 1-bit protein lane, self-hostable 2026-09-18 02:13:53 -04:00
README.md feat: qbit-protein-studio — the 1-bit protein lane, self-hostable 2026-09-18 02:13:53 -04:00
viz-selftest.mjs the support score + the view stamp (Nate's rule #2): every channel bears its support from the source pose — grounded near, INFERRED stamped far; parity generalized; corridor 10/10 2026-09-19 17:03:34 -04:00

qbit-protein-studio — the 1-bit protein lane

A self-hostable, 1-bit (ternary) protein fold engine + a ComfyUI-flavoured studio. The constellation's doctrine, applied to folding: contacts are -1 / 0 / +1 — no floaty half-truths, no cloud dependency. Fold it on your machine, drink the JSON, blend the layers.

the engine

src/lib.rs — a deterministic, stateless ternary fold:

  • residues are classified (HP + charge), placed on a 2D zigzag lattice, and lattice-neighbour pairs score through a ternary potential (H-H=+1, P-P=-1, charge-same=-1, charge-opposite=+1, else 0)
  • every contact is clamped to {-1, 0, +1} — the clamp is the doctrine
  • cross-combo blends two folds' maps, still ternary after the blend
  • CLI: --seq <AAs> [--layer clear|focus|depth|gaia] [--combo] [--json]
cargo run --release -- --seq MVLSPADKTNVKAAWGKVGAH --layer depth --json

the studio

studio/index.html — a dark, dependency-free, ComfyUI-style node canvas (sequence → 1bit fold → contact map → cross-combo), a layers dock, a live contact-map heat render, and a JSON output panel. Self-host: open the file directly, or python3 -m http.server in the repo root.

the layers (the filters)

Layers are weight profiles with provenance tags — applied openly, consensually, reversibly (the enthea consent-before-injection doctrine): focus (nightshade · gaia-grown · soured), depth (psilocybin · gaia-grown · sourcable), gaia (the planted layer), clear (0+1). These are studio filters over sequence state-spaces — a fold is shaped by the layer you pour over it, and every layer says where it came from.

the tests

cargo test --lib   # ternary purity · HP+charge potential · determinism · combo clamp

One bit of truth per contact. the constellation · 0 + 1 · fine touch from within · vaked.dev