{"children":[{"children":[],"kind":"view-node","props":{"html":"<nav aria-label=\"Compute pages\"><a href=\"/view/app/compute/home\">About Compute</a> · <a href=\"/view/app/compute/atlas\">Compute Atlas</a> · <a href=\"/view/app/compute/script\">Script workbench</a> · <a href=\"/view/app/compute/packages\" aria-current=\"page\">Package Explorer</a> · <a href=\"/view/app/compute/guide\">Compute guide</a> · <a href=\"/view/compiler\">Compiler</a> · <a href=\"/view/compiler/builds\">Retained builds</a> · <a href=\"/view/compiler/tools\">Tool roster</a></nav>"},"tag":"RawHtml"},{"children":[],"kind":"view-node","props":{"html":"<style>/* Package Explorer. Neutrals read the app-view palette (`--cre8-view-*`, light-dark\n   pairs from base_theme.css) so the workbench follows the viewer's scheme; the\n   literal after each token is the light value the page carried before. The five\n   accent hues are semantic and stay literal, defined once per modifier. */\n.pkg-overview,.pkg-panel,.pkg-empty,.pkg-note,.pkg-market{\n  --pkg-surface:var(--cre8-view-surface,#f8f9fa);\n  --pkg-card:var(--cre8-view-surface-alt,#fff);\n  --pkg-border:var(--cre8-view-border-strong,#e9ecef);\n  --pkg-fg:var(--cre8-view-fg,#333);\n  --pkg-fg-soft:var(--cre8-view-fg-soft,#495057);\n  --pkg-fg-muted:var(--cre8-view-fg-muted,#666);\n  --pkg-chip:var(--cre8-view-chip-bg,#eef);\n  --pkg-ok:#28a745;\n}\n\n/* Overview: five metric tiles and the explanatory lede. */\n.pkg-overview{margin-bottom:1.5rem;font-family:system-ui,sans-serif}\n.pkg-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.25rem}\n.pkg-stat{background:rgba(var(--pkg-rgb),.08);border:1px solid rgba(var(--pkg-rgb),.25);border-radius:8px;padding:1rem}\n.pkg-stat--green{--pkg-hue:#28a745;--pkg-rgb:40,167,69}\n.pkg-stat--blue{--pkg-hue:#007bff;--pkg-rgb:0,123,255}\n.pkg-stat--purple{--pkg-hue:#6f42c1;--pkg-rgb:111,66,193}\n.pkg-stat--cyan{--pkg-hue:#17a2b8;--pkg-rgb:23,162,184}\n.pkg-stat--orange{--pkg-hue:#fd7e14;--pkg-rgb:253,126,20}\n.pkg-stat__label{font-size:.8rem;color:var(--pkg-hue);font-weight:600;text-transform:uppercase}\n.pkg-stat__value{font-size:1.5rem;font-weight:700;color:var(--pkg-hue);margin-top:.25rem}\n.pkg-stat__note{font-size:.75rem;color:var(--pkg-fg-muted);margin-top:.25rem}\n.pkg-lede{line-height:1.5;color:var(--pkg-fg-soft);font-size:.9rem}\n\n/* Catalog tables (recent packages, lockfile crystals, gossip catalog). */\n.pkg-panel{margin-top:1rem}\n.pkg-panel--roomy{margin-top:1.25rem}\n.pkg-panel__title{margin:0 0 .5rem 0;font-size:.95rem;color:var(--pkg-fg)}\n.pkg-table{width:100%;border-collapse:collapse;font-size:.85rem;text-align:left;background:var(--pkg-card);border:1px solid var(--pkg-border);border-radius:6px;overflow:hidden}\n.pkg-table thead tr{background:var(--pkg-surface);border-bottom:1px solid var(--pkg-border);color:var(--pkg-fg-soft)}\n.pkg-table th,.pkg-table td{padding:.5rem}\n.pkg-table .pkg-center{text-align:center}\n.pkg-table .pkg-strong{font-weight:600}\n.pkg-table .pkg-mono{font-family:monospace;font-size:.8rem}\n.pkg-table .pkg-muted{color:var(--pkg-fg-muted)}\n.pkg-table .pkg-saved{color:var(--pkg-ok);font-size:.8rem;font-weight:600}\n.pkg-chip{background:var(--pkg-chip);padding:2px 6px;border-radius:4px;font-size:.75rem}\n.pkg-chip--count{padding:2px 8px;font-weight:600}\n.pkg-chip--ok{background:rgba(40,167,69,.1);color:var(--pkg-ok);font-weight:600}\n.pkg-status{color:var(--pkg-ok);font-size:.75rem;font-weight:600}\n.pkg-empty{padding:1rem;background:var(--pkg-surface);border:1px dashed var(--pkg-border);border-radius:6px;color:var(--pkg-fg-muted);font-size:.85rem}\n.pkg-empty--spaced{margin-top:1rem}\n\n/* Witness inspector: monospace callout with the endpoint list. */\n.pkg-note{background:var(--pkg-surface);border:1px solid var(--pkg-border);border-radius:6px;padding:1rem;margin:1rem 0;font-family:monospace;font-size:.85rem}\n.pkg-note__row--gap{margin-top:.5rem}\n.pkg-note__row--api{margin-top:.75rem;color:#0066cc}\n\n/* P2P CDN and economic markets. */\n.pkg-market{background:var(--pkg-surface);border:1px solid var(--pkg-border);border-radius:6px;padding:1rem;margin:1rem 0}\n.pkg-market__title{margin:0 0 .5rem 0;font-size:.95rem;color:var(--pkg-fg)}\n.pkg-market__lede{font-size:.85rem;color:var(--pkg-fg-soft);margin-bottom:.75rem}\n.pkg-market__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:1rem}\n.pkg-market__card{background:var(--pkg-card);border:1px solid var(--pkg-border);border-radius:6px;padding:.85rem}\n.pkg-market__kicker{font-size:.8rem;font-weight:700;text-transform:uppercase;color:var(--pkg-kicker)}\n.pkg-market__kicker--blue{--pkg-kicker:#0066cc}\n.pkg-market__kicker--green{--pkg-kicker:#28a745}\n.pkg-market__kicker--purple{--pkg-kicker:#6f42c1}\n.pkg-market__value{font-size:1.2rem;font-weight:700;color:var(--pkg-fg);margin:.25rem 0}\n.pkg-market__note{font-size:.8rem;color:var(--pkg-fg-muted)}\n.pkg-market__endpoints{margin-top:1rem;font-size:.8rem;color:var(--pkg-fg-soft)}\n</style>"},"tag":"RawHtml"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"html":"<div class=\"package-workbench-overview pkg-overview\">\n  <div class=\"pkg-stats\">\n    <div class=\"pkg-stat pkg-stat--green\">\n      <div class=\"pkg-stat__label\">Zero Disk Pollution</div>\n      <div class=\"pkg-stat__value\">0 node_modules</div>\n      <div class=\"pkg-stat__note\">Dependencies stream from crystal store</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--blue\">\n      <div class=\"pkg-stat__label\">Irreducible Crystals</div>\n      <div class=\"pkg-stat__value\">0 crystals</div>\n      <div class=\"pkg-stat__note\">Canonical IR canonicalization to fixpoint</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--purple\">\n      <div class=\"pkg-stat__label\">Merkle Lockfiles</div>\n      <div class=\"pkg-stat__value\">0 locks</div>\n      <div class=\"pkg-stat__note\">HyperDB: cre8/packages/lock</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--cyan\">\n      <div class=\"pkg-stat__label\">Federation Catalog</div>\n      <div class=\"pkg-stat__value\">0 published</div>\n      <div class=\"pkg-stat__note\">Gossip topic: packages.published.v1</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--orange\">\n      <div class=\"pkg-stat__label\">Registered Providers</div>\n      <div class=\"pkg-stat__value\">11 providers</div>\n      <div class=\"pkg-stat__note\">npm, crates.io, pypi, git, crystal-store</div>\n    </div>\n  </div>\n  <div class=\"pkg-lede\">\n    <strong>The Node Modules Black Hole Problem:</strong> Traditional package managers duplicate thousands of files and ASTs on local disk for every single project.<br/>\n    <strong>The CRE8 Solution:</strong> Ingested packages are decomposed into immutable atoms in universal storage (<code>cre8_app_atom::store</code>), canonicalized into irreducible crystal nuclei, and bound to dual-Merkle witnesses. Projects resolve dependencies virtually through W3C import maps or native <code>crystal:</code> specifiers without creating physical <code>node_modules</code>.\n  </div>\n</div>"},"tag":"RawHtml"},{"children":[],"kind":"view-node","props":{"text":"Every package ingested or published in CRE8 is stored once by content hash and bound to an irreducible crystal nucleus. Cross-ecosystem packages (e.g. JS npm vs Rust crates) that reduce to the same canonical IR graph share the exact same crystal hash and proof.","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-empty\">\n          No packages recorded in local gossip catalog yet. Use the <strong>Ingest & Crystallize</strong> tab to ingest your first package.\n        </div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"overview","label":"Black Hole Savings"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageIngest","fields":[{"default":"package_ingest","kind":"hidden","name":"action"},{"default":"npm:is-number@7.0.0","hint":"e.g. npm:is-number@7.0.0, crates:itoa@1.0.9, pypi:requests, go:github.com/gin-gonic/gin, maven:junit:junit, or crystal:v:crystal:...","kind":"text","label":"Package specifier","name":"specifier","required":false},{"default":"javascript","kind":"select","label":"Language","name":"language","options":[{"label":"JavaScript","value":"javascript"},{"label":"Rust","value":"rust"},{"label":"Python","value":"python"},{"label":"Go","value":"go"},{"label":"Java (Maven)","value":"java"},{"label":"PHP (Composer)","value":"php"},{"label":"Ruby (Gems)","value":"ruby"},{"label":"Elixir (Hex)","value":"elixir"},{"label":"Lua","value":"lua"}]},{"default":"","hint":"If provided, directly crystallizes this source into an irreducible nucleus.","kind":"textarea","label":"Direct source (optional)","name":"source"},{"default":"","kind":"text","label":"Display name (optional)","name":"name"}],"id":"compute-package-ingest","maxResultChars":64000,"resultReport":{"requestFields":[{"label":"Requested specifier","path":"specifier"},{"label":"Language","path":"language"}],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Ingestion successful","path":"ok"},{"label":"Crystal nucleus hash","path":"crystal_hash"},{"label":"Original IR hash","path":"ir_hash"},{"label":"Canonical IR nodes","path":"node_count"},{"label":"Fixpoint passes","path":"passes_applied"},{"label":"Irreducible reduction achieved","path":"reduced"},{"label":"Dual-Merkle witness ID","path":"witness_id"},{"label":"Virtual import specifier","path":"import_specifier"},{"label":"CDN byte-lane route","path":"blob_url"}],"title":"Canonical Crystal Identity"},{"fields":[{"label":"Content-addressed atoms","path":"atoms_count"},{"label":"Total source bytes retained","path":"total_source_bytes"},{"label":"Local disk pollution avoided (bytes)","path":"blackhole_savings.node_modules_disk_pollution_bytes_eliminated"},{"label":"Deduplication ratio","path":"blackhole_savings.dedup_ratio"}],"title":"Black Hole Elimination Metrics"}],"title":"Crystallization & Ingestion Result"},"submitLabel":"Ingest & Crystallize","timeoutMs":120000,"title":"Ingest and crystallize package"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Ingesting resolves the package tarball from npm, crates.io, PyPI, or Git, extracts entry files as content-addressed atoms, runs canonicalization passes to an irreducible crystal, and binds a dual-Merkle witness. A synthetic canonical hash fallback ensures native or complex packages never fail ingestion.","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"ingest","label":"Ingest & Crystallize"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageLock","fields":[{"default":"package_lock","kind":"hidden","name":"action"},{"default":"lock","kind":"select","label":"Action","name":"subaction","options":[{"label":"Lock dependencies into Merkle crystal","value":"lock"},{"label":"Verify lockfile crystal integrity","value":"verify"},{"label":"Get lockfile crystal by hash","value":"get"},{"label":"List all active lockfile crystals","value":"list"}]},{"default":"{\n  \"is-number\": \"npm:is-number@7.0.0\",\n  \"itoa\": \"crates:itoa@1.0.9\"\n}","hint":"Maps package names to registry specifiers to crystallize into a single Merkle lock.","kind":"textarea","label":"Dependencies manifest (JSON object)","name":"dependencies"},{"default":"","hint":"e.g. v:lock:... to inspect or cryptographically verify an existing lock.","kind":"text","label":"Lock crystal hash (for verify or get)","name":"lock_hash"}],"id":"compute-package-lock","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Status","path":"ok"},{"label":"Action performed","path":"action"},{"label":"Lockfile crystal hash (v:lock:...)","path":"lock_hash"},{"label":"Dependencies Merkle root","path":"dependencies_merkle_root"},{"label":"Locked packages count","path":"package_count"},{"label":"HyperDB graph persistence key","path":"hyperdb_path"}],"title":"Deterministic Lock Crystal Identity"},{"fields":[{"label":"node_modules disk bytes eliminated","path":"node_modules_disk_bytes_eliminated"},{"label":"Virtual W3C imports map","path":"import_map.imports"},{"label":"Native crystal import map","path":"import_map.crystal_imports"}],"title":"Black Hole Elimination & Virtual Import Map"},{"fields":[{"label":"Locked package array","path":"packages"}],"title":"Locked Packages Details"}],"title":"Merkle Lockfile Crystal Report"},"submitLabel":"Lock & Crystallize Tree","timeoutMs":120000,"title":"Lock & crystallize multi-package dependency graph"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"PackageLockCrystal captures entire multi-package dependency trees into deterministic Merkle lockfiles (v:lock:...) stored at cre8/packages/lock in HyperDB. Each locked package binds its canonical crystal nucleus, atom count, and dual-Merkle witness, computing complete virtual import maps with zero-disk node_modules.","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-empty pkg-empty--spaced\">\n          No lockfile crystals registered yet. Use the form above to lock your project dependencies into a persistent Merkle crystal.\n        </div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"lock","label":"Lockfiles & Dependency Graphs"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageSync","fields":[{"default":"package_sync","kind":"hidden","name":"action"},{"default":"v:crystal:is-number-sample","hint":"Content-addressed hash of the package to fetch from the peer.","kind":"text","label":"Crystal nucleus hash to sync","name":"crystal_hash","required":true},{"default":"http://127.0.0.1:4000","hint":"Remote CRE8 cluster peer offering package byte-lanes.","kind":"text","label":"Peer endpoint URL","name":"peer_url","required":false},{"default":"is-number","kind":"text","label":"Package name (optional)","name":"name"},{"default":30000,"kind":"number","label":"Timeout (ms)","name":"timeout_ms"}],"id":"compute-package-sync","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Sync successful","path":"ok"},{"label":"Crystal nucleus hash","path":"crystal_hash"},{"label":"Package name","path":"name"},{"label":"Dual-Merkle witness verified","path":"witness_verified"},{"label":"Sync source","path":"source"}],"title":"Sync & Cryptographic Verification"},{"fields":[{"label":"Atoms transferred","path":"atoms_synced"},{"label":"Total bytes transferred","path":"total_bytes"},{"label":"Universal durable store keys","path":"atoms_persisted"}],"title":"Universal Durable Atom Persistence"}],"title":"P2P Cluster Package Sync Result"},"submitLabel":"Sync From Peer","timeoutMs":60000,"title":"P2P package & atom synchronization"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Synchronize packages across CRE8 cluster peers over the packages.published.v1 gossip mesh. Remote atoms stream through the content-addressed CDN byte-lane directly into the local universal durable atom store (cre8_app_atom::store), cryptographically verified against the dual-Merkle PackageWitness before crystal registration.","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-empty pkg-empty--spaced\">\n          No cluster gossip records received yet. Peers broadcasting on <code>packages.published.v1</code> will automatically populate this catalog.\n        </div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"sync","label":"P2P Cluster Sync"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageImportMap","fields":[{"default":"package_import_map","kind":"hidden","name":"action"},{"default":"{\n  \"is-number\": \"npm:is-number@7.0.0\",\n  \"itoa\": \"crates:itoa@1.0.9\"\n}","hint":"Maps package names to registry specifiers without writing node_modules to disk.","kind":"textarea","label":"Dependencies manifest (JSON object or array)","name":"dependencies","required":true},{"default":"/packages/blob","kind":"text","label":"CDN Base URL","name":"base_url"}],"id":"compute-package-import-map","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Status","path":"ok"},{"label":"Summary","path":"summary"},{"label":"node_modules eliminated from disk","path":"node_modules_eliminated"},{"label":"Dependencies mapped","path":"total_dependencies"},{"label":"Content-addressed source bytes","path":"total_source_bytes"},{"label":"Universal atoms persisted","path":"total_atoms"}],"title":"Summary & Savings"},{"fields":[{"label":"W3C imports map","path":"imports"}],"title":"W3C Standard Import Map"},{"fields":[{"label":"Crystal imports map","path":"crystal_imports"}],"title":"CRE8 Native Crystal Import Map"}],"title":"Virtual Import Map (Zero node_modules)"},"submitLabel":"Generate Virtual Import Map","timeoutMs":120000,"title":"Generate virtual import map"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"The Virtual Import Map engine turns package manifests into standard W3C import maps and native CRE8 crystal import maps. Browsers, Deno, and CRE8 in-VM runtimes load modules directly from the content-addressed CDN byte-lane (/packages/blob/{crystal_hash}/file/{name}) or in-memory crystal cache without writing anything to disk.","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"import_map","label":"Virtual Import Map"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageEquivalence","fields":[{"default":"package_equivalence","kind":"hidden","name":"action"},{"default":"npm:is-number@7.0.0","hint":"Specifier or crystal:v:crystal:...","kind":"text","label":"Side A specifier","name":"specifier_a"},{"default":"crates:itoa@1.0.9","hint":"Specifier or crystal:v:crystal:...","kind":"text","label":"Side B specifier","name":"specifier_b"},{"default":"","kind":"textarea","label":"Side A inline source (optional alternative)","name":"source_a"},{"default":"javascript","kind":"select","label":"Side A language","name":"language_a","options":[{"label":"JavaScript","value":"javascript"},{"label":"Rust","value":"rust"},{"label":"Python","value":"python"},{"label":"Go","value":"go"},{"label":"Java","value":"java"}]},{"default":"","kind":"textarea","label":"Side B inline source (optional alternative)","name":"source_b"},{"default":"rust","kind":"select","label":"Side B language","name":"language_b","options":[{"label":"Rust","value":"rust"},{"label":"JavaScript","value":"javascript"},{"label":"Python","value":"python"},{"label":"Go","value":"go"},{"label":"Java","value":"java"}]}],"id":"compute-package-equivalence","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Comparison completed","path":"ok"},{"label":"Identical crystal nucleus","path":"equivalent"},{"label":"Cross-language equivalence","path":"cross_ecosystem"},{"label":"Structural similarity score","path":"structural_similarity"},{"label":"Shared crystal nucleus","path":"crystal_hash"},{"label":"Interoperability explanation","path":"explanation"}],"title":"Equivalence Proof"},{"fields":[{"label":"Side A","path":"package_a.descriptor"},{"label":"Side A crystal","path":"package_a.crystal_hash"},{"label":"Side A language","path":"package_a.language"},{"label":"Side A IR nodes","path":"package_a.node_count"}],"title":"Package A Details"},{"fields":[{"label":"Side B","path":"package_b.descriptor"},{"label":"Side B crystal","path":"package_b.crystal_hash"},{"label":"Side B language","path":"package_b.language"},{"label":"Side B IR nodes","path":"package_b.node_count"}],"title":"Package B Details"}],"title":"Cross-Ecosystem Equivalence Verdict"},"submitLabel":"Compare Structural Equivalence","timeoutMs":120000,"title":"Cross-ecosystem equivalence comparator"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Algorithms implemented in different languages (e.g. is-number, itoa, fast hash, math clamp) that compile to identical canonical IR structures share the exact same crystal nucleus. This unlocks cross-language cache hits, instant proof verification, and zero code duplication across JavaScript, Rust, and Python.","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"equivalence","label":"Cross-Ecosystem Equivalence"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageBuild","fields":[{"default":"package_build","kind":"hidden","name":"action"},{"default":"npm:is-number@7.0.0","hint":"e.g. npm:is-number@7.0.0, crates:itoa@1.0.9, or crystal:v:crystal:...","kind":"text","label":"Package specifier or crystal hash","name":"specifier","required":true},{"default":"wasm-mvp","kind":"select","label":"Build target","name":"target","options":[{"label":"WebAssembly MVP (wasm-mvp)","value":"wasm-mvp"},{"label":"RISC-V 64-bit (riscv64)","value":"riscv64"},{"label":"ARM 64-bit (arm64)","value":"arm64"},{"label":"x86-64 Native","value":"x86_64"}]}],"id":"compute-package-build","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Status","path":"ok"},{"label":"Source crystal nucleus hash","path":"crystal_hash"},{"label":"Target architecture","path":"target"},{"label":"Source language","path":"language"},{"label":"Build cache hit","path":"cached"},{"label":"Capsule magic (C8CAP001)","path":"capsule.wire_magic"},{"label":"Binary artifact atom ID","path":"capsule.atom_id"},{"label":"Artifact Merkle root","path":"capsule.atom_set_merkle_root"},{"label":"Build metadata Merkle root","path":"capsule.metadata_merkle_root"},{"label":"Universal durable store persistence","path":"capsule.durable"}],"title":"Canonical Build & Capsule Identity"},{"fields":[{"label":"Artifact byte size","path":"artifact.size"},{"label":"Artifact sha256 checksum","path":"artifact.sha256"}],"title":"Emitted Binary Artifact"}],"title":"Hermetic In-VM Build Result & C8CAP001 Capsule"},"submitLabel":"Compile to Target","timeoutMs":120000,"title":"Compile package & mint C8CAP001 build capsule"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Hermetic in-VM package builds compile resolved packages on demand to target architectures (wasm-mvp, riscv64, arm64). Emitted binary artifacts are immediately persisted to the universal durable atom store and anchored by a canonical C8CAP001 capsule committing dual-Merkle roots (atom_set_merkle_root and metadata_merkle_root).","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"build","label":"Hermetic Builds & C8CAP001"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-market\">\n  <h4 class=\"pkg-market__title\">P2P Content-Addressed CDN & Economic Markets</h4>\n  <p class=\"pkg-market__lede\">\n    Peers in the CRE8 network serve package source atoms and compiled <code>C8CAP001</code> build artifacts directly over content-addressed HTTP byte-lanes (<code>/packages/blob/{crystal_hash}/file/{name}</code> and <code>/packages/blob/{crystal_hash}/build/{target}</code>).\n  </p>\n  <div class=\"pkg-market__grid\">\n    <div class=\"pkg-market__card\">\n      <div class=\"pkg-market__kicker pkg-market__kicker--blue\">Earned Economic Asset</div>\n      <div class=\"pkg-market__value\">cre8/reuse/compute</div>\n      <div class=\"pkg-market__note\">Awarded to the first prover / serving peer for fulfilling package byte-lane requests.</div>\n    </div>\n    <div class=\"pkg-market__card\">\n      <div class=\"pkg-market__kicker pkg-market__kicker--green\">Consuming Asset Meter</div>\n      <div class=\"pkg-market__value\">cre8/consume/reuse/compute</div>\n      <div class=\"pkg-market__note\">Tracks network bandwidth and compute reuse consumption per consuming node.</div>\n    </div>\n    <div class=\"pkg-market__card\">\n      <div class=\"pkg-market__kicker pkg-market__kicker--purple\">Settlement Engine</div>\n      <div class=\"pkg-market__value\">Compute.ReuseCredit</div>\n      <div class=\"pkg-market__note\">Atomic two-sided Manifold contract settlement reconciling global reuse credit quanta.</div>\n    </div>\n  </div>\n  <div class=\"pkg-market__endpoints\">\n    <strong>Active CDN Endpoints:</strong><br/>\n    • <code>GET /packages/blob/{crystal_hash}/offers</code> — Live rate cards & pricing per role<br/>\n    • <code>GET /packages/blob/{crystal_hash}/file/{name}</code> — Immutable raw content-addressed bytes<br/>\n    • <code>GET /packages/blob/{crystal_hash}/build/{target}</code> — Compiled target machine code / WASM<br/>\n    • <code>POST /packages/build</code> — On-demand compilation with dual-Merkle capsule commitment\n  </div>\n</div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"market","label":"P2P CDN & Reuse Credits"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"text":"A published package is anchored by a PackageWitness (v3) committing two independent Merkle roots:","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-note\">\n  <div class=\"pkg-note__row\"><strong>1. atom_set_merkle_root</strong>: Merkle root over sorted sha256 atom IDs. This is THE canonical content identity — two peers publishing the same bytes under any layout produce the identical root.</div>\n  <div class=\"pkg-note__row pkg-note__row--gap\"><strong>2. metadata_merkle_root</strong>: Merkle root over (atom_id, name, size, kind) tuples. Preserves file paths and MIME types without altering content identity.</div>\n  <div class=\"pkg-note__row pkg-note__row--api\">\n    API Endpoints:<br/>\n    • <code>GET /packages/blob/{crystal_hash}/manifest</code> — File manifest & atom layout<br/>\n    • <code>GET /packages/blob/{crystal_hash}/witness</code> — Raw dual-Merkle witness v3<br/>\n    • <code>GET /packages/blob/{crystal_hash}/file/{name}</code> — Immutable raw content-addressed bytes<br/>\n    • <code>GET /packages/blob/{crystal_hash}/build/{target}</code> — Compiled target machine code / WASM<br/>\n    • <code>GET /packages/blob/{crystal_hash}/offers</code> — Economic serving offers\n  </div>\n</div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"witness","label":"Dual-Merkle Witness Inspector"},"tag":"Tab"}],"kind":"view-node","props":{"defaultTab":"overview"},"tag":"Tabs"},{"children":[{"children":[{"children":["Compute.compute.packages SSR payload is live-ready."],"kind":"view-node","props":{},"tag":"Text"}],"kind":"view-node","props":{"id":"payload-live-content-compute-compute-packages","title":"Live Payload"},"tag":"Card"}],"kind":"view-node","props":{"id":"payload-live-compute-compute-packages","patchTarget":"#payload-live-content-compute-compute-packages","pollIntervalMs":8000,"refreshHref":"/view/payload/patch?app=Compute&view=compute.packages","streamUrl":"/view/payload/patch?app=Compute&view=compute.packages","transport":"http","transportStatus":true},"tag":"LiveSlot"}],"data":{"children":[{"children":[],"kind":"view-node","props":{"html":"<nav aria-label=\"Compute pages\"><a href=\"/view/app/compute/home\">About Compute</a> · <a href=\"/view/app/compute/atlas\">Compute Atlas</a> · <a href=\"/view/app/compute/script\">Script workbench</a> · <a href=\"/view/app/compute/packages\" aria-current=\"page\">Package Explorer</a> · <a href=\"/view/app/compute/guide\">Compute guide</a> · <a href=\"/view/compiler\">Compiler</a> · <a href=\"/view/compiler/builds\">Retained builds</a> · <a href=\"/view/compiler/tools\">Tool roster</a></nav>"},"tag":"RawHtml"},{"children":[],"kind":"view-node","props":{"html":"<style>/* Package Explorer. Neutrals read the app-view palette (`--cre8-view-*`, light-dark\n   pairs from base_theme.css) so the workbench follows the viewer's scheme; the\n   literal after each token is the light value the page carried before. The five\n   accent hues are semantic and stay literal, defined once per modifier. */\n.pkg-overview,.pkg-panel,.pkg-empty,.pkg-note,.pkg-market{\n  --pkg-surface:var(--cre8-view-surface,#f8f9fa);\n  --pkg-card:var(--cre8-view-surface-alt,#fff);\n  --pkg-border:var(--cre8-view-border-strong,#e9ecef);\n  --pkg-fg:var(--cre8-view-fg,#333);\n  --pkg-fg-soft:var(--cre8-view-fg-soft,#495057);\n  --pkg-fg-muted:var(--cre8-view-fg-muted,#666);\n  --pkg-chip:var(--cre8-view-chip-bg,#eef);\n  --pkg-ok:#28a745;\n}\n\n/* Overview: five metric tiles and the explanatory lede. */\n.pkg-overview{margin-bottom:1.5rem;font-family:system-ui,sans-serif}\n.pkg-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.25rem}\n.pkg-stat{background:rgba(var(--pkg-rgb),.08);border:1px solid rgba(var(--pkg-rgb),.25);border-radius:8px;padding:1rem}\n.pkg-stat--green{--pkg-hue:#28a745;--pkg-rgb:40,167,69}\n.pkg-stat--blue{--pkg-hue:#007bff;--pkg-rgb:0,123,255}\n.pkg-stat--purple{--pkg-hue:#6f42c1;--pkg-rgb:111,66,193}\n.pkg-stat--cyan{--pkg-hue:#17a2b8;--pkg-rgb:23,162,184}\n.pkg-stat--orange{--pkg-hue:#fd7e14;--pkg-rgb:253,126,20}\n.pkg-stat__label{font-size:.8rem;color:var(--pkg-hue);font-weight:600;text-transform:uppercase}\n.pkg-stat__value{font-size:1.5rem;font-weight:700;color:var(--pkg-hue);margin-top:.25rem}\n.pkg-stat__note{font-size:.75rem;color:var(--pkg-fg-muted);margin-top:.25rem}\n.pkg-lede{line-height:1.5;color:var(--pkg-fg-soft);font-size:.9rem}\n\n/* Catalog tables (recent packages, lockfile crystals, gossip catalog). */\n.pkg-panel{margin-top:1rem}\n.pkg-panel--roomy{margin-top:1.25rem}\n.pkg-panel__title{margin:0 0 .5rem 0;font-size:.95rem;color:var(--pkg-fg)}\n.pkg-table{width:100%;border-collapse:collapse;font-size:.85rem;text-align:left;background:var(--pkg-card);border:1px solid var(--pkg-border);border-radius:6px;overflow:hidden}\n.pkg-table thead tr{background:var(--pkg-surface);border-bottom:1px solid var(--pkg-border);color:var(--pkg-fg-soft)}\n.pkg-table th,.pkg-table td{padding:.5rem}\n.pkg-table .pkg-center{text-align:center}\n.pkg-table .pkg-strong{font-weight:600}\n.pkg-table .pkg-mono{font-family:monospace;font-size:.8rem}\n.pkg-table .pkg-muted{color:var(--pkg-fg-muted)}\n.pkg-table .pkg-saved{color:var(--pkg-ok);font-size:.8rem;font-weight:600}\n.pkg-chip{background:var(--pkg-chip);padding:2px 6px;border-radius:4px;font-size:.75rem}\n.pkg-chip--count{padding:2px 8px;font-weight:600}\n.pkg-chip--ok{background:rgba(40,167,69,.1);color:var(--pkg-ok);font-weight:600}\n.pkg-status{color:var(--pkg-ok);font-size:.75rem;font-weight:600}\n.pkg-empty{padding:1rem;background:var(--pkg-surface);border:1px dashed var(--pkg-border);border-radius:6px;color:var(--pkg-fg-muted);font-size:.85rem}\n.pkg-empty--spaced{margin-top:1rem}\n\n/* Witness inspector: monospace callout with the endpoint list. */\n.pkg-note{background:var(--pkg-surface);border:1px solid var(--pkg-border);border-radius:6px;padding:1rem;margin:1rem 0;font-family:monospace;font-size:.85rem}\n.pkg-note__row--gap{margin-top:.5rem}\n.pkg-note__row--api{margin-top:.75rem;color:#0066cc}\n\n/* P2P CDN and economic markets. */\n.pkg-market{background:var(--pkg-surface);border:1px solid var(--pkg-border);border-radius:6px;padding:1rem;margin:1rem 0}\n.pkg-market__title{margin:0 0 .5rem 0;font-size:.95rem;color:var(--pkg-fg)}\n.pkg-market__lede{font-size:.85rem;color:var(--pkg-fg-soft);margin-bottom:.75rem}\n.pkg-market__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:1rem}\n.pkg-market__card{background:var(--pkg-card);border:1px solid var(--pkg-border);border-radius:6px;padding:.85rem}\n.pkg-market__kicker{font-size:.8rem;font-weight:700;text-transform:uppercase;color:var(--pkg-kicker)}\n.pkg-market__kicker--blue{--pkg-kicker:#0066cc}\n.pkg-market__kicker--green{--pkg-kicker:#28a745}\n.pkg-market__kicker--purple{--pkg-kicker:#6f42c1}\n.pkg-market__value{font-size:1.2rem;font-weight:700;color:var(--pkg-fg);margin:.25rem 0}\n.pkg-market__note{font-size:.8rem;color:var(--pkg-fg-muted)}\n.pkg-market__endpoints{margin-top:1rem;font-size:.8rem;color:var(--pkg-fg-soft)}\n</style>"},"tag":"RawHtml"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"html":"<div class=\"package-workbench-overview pkg-overview\">\n  <div class=\"pkg-stats\">\n    <div class=\"pkg-stat pkg-stat--green\">\n      <div class=\"pkg-stat__label\">Zero Disk Pollution</div>\n      <div class=\"pkg-stat__value\">0 node_modules</div>\n      <div class=\"pkg-stat__note\">Dependencies stream from crystal store</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--blue\">\n      <div class=\"pkg-stat__label\">Irreducible Crystals</div>\n      <div class=\"pkg-stat__value\">0 crystals</div>\n      <div class=\"pkg-stat__note\">Canonical IR canonicalization to fixpoint</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--purple\">\n      <div class=\"pkg-stat__label\">Merkle Lockfiles</div>\n      <div class=\"pkg-stat__value\">0 locks</div>\n      <div class=\"pkg-stat__note\">HyperDB: cre8/packages/lock</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--cyan\">\n      <div class=\"pkg-stat__label\">Federation Catalog</div>\n      <div class=\"pkg-stat__value\">0 published</div>\n      <div class=\"pkg-stat__note\">Gossip topic: packages.published.v1</div>\n    </div>\n    <div class=\"pkg-stat pkg-stat--orange\">\n      <div class=\"pkg-stat__label\">Registered Providers</div>\n      <div class=\"pkg-stat__value\">11 providers</div>\n      <div class=\"pkg-stat__note\">npm, crates.io, pypi, git, crystal-store</div>\n    </div>\n  </div>\n  <div class=\"pkg-lede\">\n    <strong>The Node Modules Black Hole Problem:</strong> Traditional package managers duplicate thousands of files and ASTs on local disk for every single project.<br/>\n    <strong>The CRE8 Solution:</strong> Ingested packages are decomposed into immutable atoms in universal storage (<code>cre8_app_atom::store</code>), canonicalized into irreducible crystal nuclei, and bound to dual-Merkle witnesses. Projects resolve dependencies virtually through W3C import maps or native <code>crystal:</code> specifiers without creating physical <code>node_modules</code>.\n  </div>\n</div>"},"tag":"RawHtml"},{"children":[],"kind":"view-node","props":{"text":"Every package ingested or published in CRE8 is stored once by content hash and bound to an irreducible crystal nucleus. Cross-ecosystem packages (e.g. JS npm vs Rust crates) that reduce to the same canonical IR graph share the exact same crystal hash and proof.","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-empty\">\n          No packages recorded in local gossip catalog yet. Use the <strong>Ingest & Crystallize</strong> tab to ingest your first package.\n        </div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"overview","label":"Black Hole Savings"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageIngest","fields":[{"default":"package_ingest","kind":"hidden","name":"action"},{"default":"npm:is-number@7.0.0","hint":"e.g. npm:is-number@7.0.0, crates:itoa@1.0.9, pypi:requests, go:github.com/gin-gonic/gin, maven:junit:junit, or crystal:v:crystal:...","kind":"text","label":"Package specifier","name":"specifier","required":false},{"default":"javascript","kind":"select","label":"Language","name":"language","options":[{"label":"JavaScript","value":"javascript"},{"label":"Rust","value":"rust"},{"label":"Python","value":"python"},{"label":"Go","value":"go"},{"label":"Java (Maven)","value":"java"},{"label":"PHP (Composer)","value":"php"},{"label":"Ruby (Gems)","value":"ruby"},{"label":"Elixir (Hex)","value":"elixir"},{"label":"Lua","value":"lua"}]},{"default":"","hint":"If provided, directly crystallizes this source into an irreducible nucleus.","kind":"textarea","label":"Direct source (optional)","name":"source"},{"default":"","kind":"text","label":"Display name (optional)","name":"name"}],"id":"compute-package-ingest","maxResultChars":64000,"resultReport":{"requestFields":[{"label":"Requested specifier","path":"specifier"},{"label":"Language","path":"language"}],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Ingestion successful","path":"ok"},{"label":"Crystal nucleus hash","path":"crystal_hash"},{"label":"Original IR hash","path":"ir_hash"},{"label":"Canonical IR nodes","path":"node_count"},{"label":"Fixpoint passes","path":"passes_applied"},{"label":"Irreducible reduction achieved","path":"reduced"},{"label":"Dual-Merkle witness ID","path":"witness_id"},{"label":"Virtual import specifier","path":"import_specifier"},{"label":"CDN byte-lane route","path":"blob_url"}],"title":"Canonical Crystal Identity"},{"fields":[{"label":"Content-addressed atoms","path":"atoms_count"},{"label":"Total source bytes retained","path":"total_source_bytes"},{"label":"Local disk pollution avoided (bytes)","path":"blackhole_savings.node_modules_disk_pollution_bytes_eliminated"},{"label":"Deduplication ratio","path":"blackhole_savings.dedup_ratio"}],"title":"Black Hole Elimination Metrics"}],"title":"Crystallization & Ingestion Result"},"submitLabel":"Ingest & Crystallize","timeoutMs":120000,"title":"Ingest and crystallize package"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Ingesting resolves the package tarball from npm, crates.io, PyPI, or Git, extracts entry files as content-addressed atoms, runs canonicalization passes to an irreducible crystal, and binds a dual-Merkle witness. A synthetic canonical hash fallback ensures native or complex packages never fail ingestion.","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"ingest","label":"Ingest & Crystallize"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageLock","fields":[{"default":"package_lock","kind":"hidden","name":"action"},{"default":"lock","kind":"select","label":"Action","name":"subaction","options":[{"label":"Lock dependencies into Merkle crystal","value":"lock"},{"label":"Verify lockfile crystal integrity","value":"verify"},{"label":"Get lockfile crystal by hash","value":"get"},{"label":"List all active lockfile crystals","value":"list"}]},{"default":"{\n  \"is-number\": \"npm:is-number@7.0.0\",\n  \"itoa\": \"crates:itoa@1.0.9\"\n}","hint":"Maps package names to registry specifiers to crystallize into a single Merkle lock.","kind":"textarea","label":"Dependencies manifest (JSON object)","name":"dependencies"},{"default":"","hint":"e.g. v:lock:... to inspect or cryptographically verify an existing lock.","kind":"text","label":"Lock crystal hash (for verify or get)","name":"lock_hash"}],"id":"compute-package-lock","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Status","path":"ok"},{"label":"Action performed","path":"action"},{"label":"Lockfile crystal hash (v:lock:...)","path":"lock_hash"},{"label":"Dependencies Merkle root","path":"dependencies_merkle_root"},{"label":"Locked packages count","path":"package_count"},{"label":"HyperDB graph persistence key","path":"hyperdb_path"}],"title":"Deterministic Lock Crystal Identity"},{"fields":[{"label":"node_modules disk bytes eliminated","path":"node_modules_disk_bytes_eliminated"},{"label":"Virtual W3C imports map","path":"import_map.imports"},{"label":"Native crystal import map","path":"import_map.crystal_imports"}],"title":"Black Hole Elimination & Virtual Import Map"},{"fields":[{"label":"Locked package array","path":"packages"}],"title":"Locked Packages Details"}],"title":"Merkle Lockfile Crystal Report"},"submitLabel":"Lock & Crystallize Tree","timeoutMs":120000,"title":"Lock & crystallize multi-package dependency graph"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"PackageLockCrystal captures entire multi-package dependency trees into deterministic Merkle lockfiles (v:lock:...) stored at cre8/packages/lock in HyperDB. Each locked package binds its canonical crystal nucleus, atom count, and dual-Merkle witness, computing complete virtual import maps with zero-disk node_modules.","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-empty pkg-empty--spaced\">\n          No lockfile crystals registered yet. Use the form above to lock your project dependencies into a persistent Merkle crystal.\n        </div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"lock","label":"Lockfiles & Dependency Graphs"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageSync","fields":[{"default":"package_sync","kind":"hidden","name":"action"},{"default":"v:crystal:is-number-sample","hint":"Content-addressed hash of the package to fetch from the peer.","kind":"text","label":"Crystal nucleus hash to sync","name":"crystal_hash","required":true},{"default":"http://127.0.0.1:4000","hint":"Remote CRE8 cluster peer offering package byte-lanes.","kind":"text","label":"Peer endpoint URL","name":"peer_url","required":false},{"default":"is-number","kind":"text","label":"Package name (optional)","name":"name"},{"default":30000,"kind":"number","label":"Timeout (ms)","name":"timeout_ms"}],"id":"compute-package-sync","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Sync successful","path":"ok"},{"label":"Crystal nucleus hash","path":"crystal_hash"},{"label":"Package name","path":"name"},{"label":"Dual-Merkle witness verified","path":"witness_verified"},{"label":"Sync source","path":"source"}],"title":"Sync & Cryptographic Verification"},{"fields":[{"label":"Atoms transferred","path":"atoms_synced"},{"label":"Total bytes transferred","path":"total_bytes"},{"label":"Universal durable store keys","path":"atoms_persisted"}],"title":"Universal Durable Atom Persistence"}],"title":"P2P Cluster Package Sync Result"},"submitLabel":"Sync From Peer","timeoutMs":60000,"title":"P2P package & atom synchronization"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Synchronize packages across CRE8 cluster peers over the packages.published.v1 gossip mesh. Remote atoms stream through the content-addressed CDN byte-lane directly into the local universal durable atom store (cre8_app_atom::store), cryptographically verified against the dual-Merkle PackageWitness before crystal registration.","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-empty pkg-empty--spaced\">\n          No cluster gossip records received yet. Peers broadcasting on <code>packages.published.v1</code> will automatically populate this catalog.\n        </div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"sync","label":"P2P Cluster Sync"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageImportMap","fields":[{"default":"package_import_map","kind":"hidden","name":"action"},{"default":"{\n  \"is-number\": \"npm:is-number@7.0.0\",\n  \"itoa\": \"crates:itoa@1.0.9\"\n}","hint":"Maps package names to registry specifiers without writing node_modules to disk.","kind":"textarea","label":"Dependencies manifest (JSON object or array)","name":"dependencies","required":true},{"default":"/packages/blob","kind":"text","label":"CDN Base URL","name":"base_url"}],"id":"compute-package-import-map","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Status","path":"ok"},{"label":"Summary","path":"summary"},{"label":"node_modules eliminated from disk","path":"node_modules_eliminated"},{"label":"Dependencies mapped","path":"total_dependencies"},{"label":"Content-addressed source bytes","path":"total_source_bytes"},{"label":"Universal atoms persisted","path":"total_atoms"}],"title":"Summary & Savings"},{"fields":[{"label":"W3C imports map","path":"imports"}],"title":"W3C Standard Import Map"},{"fields":[{"label":"Crystal imports map","path":"crystal_imports"}],"title":"CRE8 Native Crystal Import Map"}],"title":"Virtual Import Map (Zero node_modules)"},"submitLabel":"Generate Virtual Import Map","timeoutMs":120000,"title":"Generate virtual import map"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"The Virtual Import Map engine turns package manifests into standard W3C import maps and native CRE8 crystal import maps. Browsers, Deno, and CRE8 in-VM runtimes load modules directly from the content-addressed CDN byte-lane (/packages/blob/{crystal_hash}/file/{name}) or in-memory crystal cache without writing anything to disk.","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"import_map","label":"Virtual Import Map"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageEquivalence","fields":[{"default":"package_equivalence","kind":"hidden","name":"action"},{"default":"npm:is-number@7.0.0","hint":"Specifier or crystal:v:crystal:...","kind":"text","label":"Side A specifier","name":"specifier_a"},{"default":"crates:itoa@1.0.9","hint":"Specifier or crystal:v:crystal:...","kind":"text","label":"Side B specifier","name":"specifier_b"},{"default":"","kind":"textarea","label":"Side A inline source (optional alternative)","name":"source_a"},{"default":"javascript","kind":"select","label":"Side A language","name":"language_a","options":[{"label":"JavaScript","value":"javascript"},{"label":"Rust","value":"rust"},{"label":"Python","value":"python"},{"label":"Go","value":"go"},{"label":"Java","value":"java"}]},{"default":"","kind":"textarea","label":"Side B inline source (optional alternative)","name":"source_b"},{"default":"rust","kind":"select","label":"Side B language","name":"language_b","options":[{"label":"Rust","value":"rust"},{"label":"JavaScript","value":"javascript"},{"label":"Python","value":"python"},{"label":"Go","value":"go"},{"label":"Java","value":"java"}]}],"id":"compute-package-equivalence","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Comparison completed","path":"ok"},{"label":"Identical crystal nucleus","path":"equivalent"},{"label":"Cross-language equivalence","path":"cross_ecosystem"},{"label":"Structural similarity score","path":"structural_similarity"},{"label":"Shared crystal nucleus","path":"crystal_hash"},{"label":"Interoperability explanation","path":"explanation"}],"title":"Equivalence Proof"},{"fields":[{"label":"Side A","path":"package_a.descriptor"},{"label":"Side A crystal","path":"package_a.crystal_hash"},{"label":"Side A language","path":"package_a.language"},{"label":"Side A IR nodes","path":"package_a.node_count"}],"title":"Package A Details"},{"fields":[{"label":"Side B","path":"package_b.descriptor"},{"label":"Side B crystal","path":"package_b.crystal_hash"},{"label":"Side B language","path":"package_b.language"},{"label":"Side B IR nodes","path":"package_b.node_count"}],"title":"Package B Details"}],"title":"Cross-Ecosystem Equivalence Verdict"},"submitLabel":"Compare Structural Equivalence","timeoutMs":120000,"title":"Cross-ecosystem equivalence comparator"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Algorithms implemented in different languages (e.g. is-number, itoa, fast hash, math clamp) that compile to identical canonical IR structures share the exact same crystal nucleus. This unlocks cross-language cache hits, instant proof verification, and zero code duplication across JavaScript, Rust, and Python.","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"equivalence","label":"Cross-Ecosystem Equivalence"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Compute.PackageBuild","fields":[{"default":"package_build","kind":"hidden","name":"action"},{"default":"npm:is-number@7.0.0","hint":"e.g. npm:is-number@7.0.0, crates:itoa@1.0.9, or crystal:v:crystal:...","kind":"text","label":"Package specifier or crystal hash","name":"specifier","required":true},{"default":"wasm-mvp","kind":"select","label":"Build target","name":"target","options":[{"label":"WebAssembly MVP (wasm-mvp)","value":"wasm-mvp"},{"label":"RISC-V 64-bit (riscv64)","value":"riscv64"},{"label":"ARM 64-bit (arm64)","value":"arm64"},{"label":"x86-64 Native","value":"x86_64"}]}],"id":"compute-package-build","maxResultChars":64000,"resultReport":{"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Status","path":"ok"},{"label":"Source crystal nucleus hash","path":"crystal_hash"},{"label":"Target architecture","path":"target"},{"label":"Source language","path":"language"},{"label":"Build cache hit","path":"cached"},{"label":"Capsule magic (C8CAP001)","path":"capsule.wire_magic"},{"label":"Binary artifact atom ID","path":"capsule.atom_id"},{"label":"Artifact Merkle root","path":"capsule.atom_set_merkle_root"},{"label":"Build metadata Merkle root","path":"capsule.metadata_merkle_root"},{"label":"Universal durable store persistence","path":"capsule.durable"}],"title":"Canonical Build & Capsule Identity"},{"fields":[{"label":"Artifact byte size","path":"artifact.size"},{"label":"Artifact sha256 checksum","path":"artifact.sha256"}],"title":"Emitted Binary Artifact"}],"title":"Hermetic In-VM Build Result & C8CAP001 Capsule"},"submitLabel":"Compile to Target","timeoutMs":120000,"title":"Compile package & mint C8CAP001 build capsule"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"text":"Hermetic in-VM package builds compile resolved packages on demand to target architectures (wasm-mvp, riscv64, arm64). Emitted binary artifacts are immediately persisted to the universal durable atom store and anchored by a canonical C8CAP001 capsule committing dual-Merkle roots (atom_set_merkle_root and metadata_merkle_root).","variant":"p"},"tag":"Text"}],"kind":"view-node","props":{"id":"build","label":"Hermetic Builds & C8CAP001"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-market\">\n  <h4 class=\"pkg-market__title\">P2P Content-Addressed CDN & Economic Markets</h4>\n  <p class=\"pkg-market__lede\">\n    Peers in the CRE8 network serve package source atoms and compiled <code>C8CAP001</code> build artifacts directly over content-addressed HTTP byte-lanes (<code>/packages/blob/{crystal_hash}/file/{name}</code> and <code>/packages/blob/{crystal_hash}/build/{target}</code>).\n  </p>\n  <div class=\"pkg-market__grid\">\n    <div class=\"pkg-market__card\">\n      <div class=\"pkg-market__kicker pkg-market__kicker--blue\">Earned Economic Asset</div>\n      <div class=\"pkg-market__value\">cre8/reuse/compute</div>\n      <div class=\"pkg-market__note\">Awarded to the first prover / serving peer for fulfilling package byte-lane requests.</div>\n    </div>\n    <div class=\"pkg-market__card\">\n      <div class=\"pkg-market__kicker pkg-market__kicker--green\">Consuming Asset Meter</div>\n      <div class=\"pkg-market__value\">cre8/consume/reuse/compute</div>\n      <div class=\"pkg-market__note\">Tracks network bandwidth and compute reuse consumption per consuming node.</div>\n    </div>\n    <div class=\"pkg-market__card\">\n      <div class=\"pkg-market__kicker pkg-market__kicker--purple\">Settlement Engine</div>\n      <div class=\"pkg-market__value\">Compute.ReuseCredit</div>\n      <div class=\"pkg-market__note\">Atomic two-sided Manifold contract settlement reconciling global reuse credit quanta.</div>\n    </div>\n  </div>\n  <div class=\"pkg-market__endpoints\">\n    <strong>Active CDN Endpoints:</strong><br/>\n    • <code>GET /packages/blob/{crystal_hash}/offers</code> — Live rate cards & pricing per role<br/>\n    • <code>GET /packages/blob/{crystal_hash}/file/{name}</code> — Immutable raw content-addressed bytes<br/>\n    • <code>GET /packages/blob/{crystal_hash}/build/{target}</code> — Compiled target machine code / WASM<br/>\n    • <code>POST /packages/build</code> — On-demand compilation with dual-Merkle capsule commitment\n  </div>\n</div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"market","label":"P2P CDN & Reuse Credits"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"text":"A published package is anchored by a PackageWitness (v3) committing two independent Merkle roots:","variant":"p"},"tag":"Text"},{"children":[],"kind":"view-node","props":{"html":"<div class=\"pkg-note\">\n  <div class=\"pkg-note__row\"><strong>1. atom_set_merkle_root</strong>: Merkle root over sorted sha256 atom IDs. This is THE canonical content identity — two peers publishing the same bytes under any layout produce the identical root.</div>\n  <div class=\"pkg-note__row pkg-note__row--gap\"><strong>2. metadata_merkle_root</strong>: Merkle root over (atom_id, name, size, kind) tuples. Preserves file paths and MIME types without altering content identity.</div>\n  <div class=\"pkg-note__row pkg-note__row--api\">\n    API Endpoints:<br/>\n    • <code>GET /packages/blob/{crystal_hash}/manifest</code> — File manifest & atom layout<br/>\n    • <code>GET /packages/blob/{crystal_hash}/witness</code> — Raw dual-Merkle witness v3<br/>\n    • <code>GET /packages/blob/{crystal_hash}/file/{name}</code> — Immutable raw content-addressed bytes<br/>\n    • <code>GET /packages/blob/{crystal_hash}/build/{target}</code> — Compiled target machine code / WASM<br/>\n    • <code>GET /packages/blob/{crystal_hash}/offers</code> — Economic serving offers\n  </div>\n</div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"witness","label":"Dual-Merkle Witness Inspector"},"tag":"Tab"}],"kind":"view-node","props":{"defaultTab":"overview"},"tag":"Tabs"},{"children":[{"children":[{"children":["Compute.compute.packages SSR payload is live-ready."],"kind":"view-node","props":{},"tag":"Text"}],"kind":"view-node","props":{"id":"payload-live-content-compute-compute-packages","title":"Live Payload"},"tag":"Card"}],"kind":"view-node","props":{"id":"payload-live-compute-compute-packages","patchTarget":"#payload-live-content-compute-compute-packages","pollIntervalMs":8000,"refreshHref":"/view/payload/patch?app=Compute&view=compute.packages","streamUrl":"/view/payload/patch?app=Compute&view=compute.packages","transport":"http","transportStatus":true},"tag":"LiveSlot"}],"kind":"view-node","ok":true,"props":{"subtitle":"Content-addressed atom storage, irreducible canonical crystals, and virtual W3C import maps eliminating local node_modules.","title":"Crystalline Package Explorer"},"tag":"Page"},"kind":"view-node","ok":true,"props":{"subtitle":"Content-addressed atom storage, irreducible canonical crystals, and virtual W3C import maps eliminating local node_modules.","title":"Crystalline Package Explorer"},"tag":"Page"}