Commit Graph
4 Commits
Author SHA1 Message Date
Raven ScottandCursor d89b56d782 Deepen supercomputer category with shared base and expanded APIs.
Adds supercomputer-base helpers, richer job/shard/steal/thermal modules,
priority jobs, claimMatching, and bumps all 14 modules to 0.3.1.

Co-authored-by: Cursor <[email protected]>
2026-05-21 01:40:29 -04:00
Raven ScottandCursor cb9caad46c Add new features across streams, wire, network, scheduling, and supercomputer.
Manual feature pass: stream tee drain APIs, resume prune/checkpoints, transform compose/flush, wire pickBest and framed codec bridge, congestion analytics, bandwidth transfer, deadline extend, bloom union, time-capsule revoke, capacity findByTag/removePeer, cluster removeNode/listReservations, retry jitterDelay — each with tests and api docs.

Co-authored-by: Cursor <[email protected]>
2026-05-21 01:01:40 -04:00
Raven ScottandCursor e67097f62b Massive Supercomputer pass: mesh factory, compute-shard, fabric depth
Turn the category into a production-ready unified virtual supercomputer.

New:
- _shared/supercomputer-mesh.js — createSupercomputerMesh() wires all 14 modules
- hyper-p2p-compute-shard — round-robin workload sharding across cluster peers

cluster-fabric:
- canFit, broadcastSnapshot, completeClusterRun
- cluster-snapshot gossip; fix RAM lend on publishNode

Pool modules — introspection helpers:
- capacity-registry: meetsRequirements, exportClusterView, listPeerIds
- cpu-share: totalPool, hasBalance
- ram-pool: lendMb, listLenders, availableBytes, listLeases
- disk-stripe: reassemble, clusterDiskBytes
- job-dispatcher: listJobs, runningCount, cancelJob
- gpu-slot: reserveCount, clusterGpuSlots
- bandwidth-share: clusterMbps
- net-gateway: bestGateway, totalCapacityBytes
- thermal-guard: throttledPeerIds, healthyPeerIds
- cluster-affinity: bestPeer
- work-stealer: totalPending, stealFromBusiest
- cache-farm: has, keys

Docs: SUPERCOMPUTER_LAYERS, category README, cluster-fabric api.md
Examples: demo-supercomputer-mesh uses createSupercomputerMesh

Registry: 166 modules (14 supercomputer)
Co-authored-by: Cursor <[email protected]>
2026-05-21 00:45:58 -04:00
Raven ScottandCursor 03151a4cfc Unify supercomputer mesh into one virtual machine via cluster-fabric
Add hyper-p2p-cluster-fabric: aggregates every peer's CPU, RAM, GPU, disk,
and bandwidth into a single logical supercomputer (clusterId, asOneMachine).

- getVirtualMachine() — total vs available capacity across all nodes
- publishNode() — join the giant computer; syncs attached pool modules
- reserveCluster() — greedy multi-peer allocation for one workload
- runClusterJob() — reserve + fan-out jobs across slices
- Gossip cluster-node / cluster-reserve / cluster-run on Protomux

Enhance hyper-p2p-capacity-registry with clusterTotals() for the same
aggregate view at the registry layer.

Update SUPERCOMPUTER_LAYERS, category README, demo (3 racks → 44 cores,
155 GB RAM, 5 GPUs as one machine). Registry now 165 modules.

Co-authored-by: Cursor <[email protected]>
2026-05-21 00:41:57 -04:00