|
Download artifacts/README.md from Snapkitty/bob-ide: direct link, hf CLI and curl.
- Browser
- Download file 6.91 kB
-
https://huggingface.co/Snapkitty/bob-ide/resolve/main/artifacts/README.md
- Command line
-
hf download hf://Snapkitty/bob-ide/artifacts/README.md
-
curl -L -o README.md https://huggingface.co/Snapkitty/bob-ide/resolve/main/artifacts/README.md
6.91 kB
BOB ARTIFACT MONOREPO
Consolidated all BOB work in tools into unified artifact system
Structure
artifacts/
βββ quantum-core/ β Fortran quantum engine (bob_*.f90)
β βββ bob_kinds.f90 β Type definitions
β βββ bob_state.f90 β Quantum state vector
β βββ bob_gates.f90 β Quantum gates
β βββ bob_measurement.f90 β Born rule + collapse
β βββ bob_worm.f90 β WORM chain (Blake3 + Ed25519)
β βββ bob_integrator.f90 β Time evolution (RK4)
β βββ ... (14 modules total)
β
βββ theorem-3/ β Theorem 3 proof kernel (Haskell)
β βββ Jacobian/
β β βββ Theorem3Kernel.hs β Polynomial ops, Thermal monad
β β βββ CrackTheorem3.hs β Genus-0 forcing (Ξ΄-invariants)
β β βββ MoraLocal.hs β Mora standard basis
β β βββ SingularityAnalysis.hs β Singular locus computation
β β βββ Theorem3Entry.hs β Entry point
β
βββ orchestration/ β QuantumPiper (11-stage pipeline)
β βββ QuantumPiper/
β β βββ QuantumPiper.hs β Manifest-driven orchestration
β β βββ Stages.hs β 11 stage executors
β β βββ Isabelle.hs β Real theorem prover (Phase 3)
β β βββ IBMGranite.hs β IBM Granite inference
β β βββ WebGPU.hs β Cross-platform GPU
β β βββ Terminal.hs β Sovereign shell
β
βββ bridges/ β Integration bridges
β βββ quantum_governance.hs β State transitions + capability tokens
β βββ quantum_monad.hs β DeFi state management
β βββ quantum_receipt.rs β Receipt verification
β
βββ artifacts-schema/ β Type definitions
β βββ ARTIFACT_TYPES.ts β ArtifactType, Realm, VerificationStatus
β βββ (TypeScript schema for all artifacts)
β
βββ SOVEREIGN_IDE_FRAMEWORK.ts β Main integration layer
β β’ Artifact Store (WORM-sealed)
β β’ Terminal (shell access)
β β’ Isabelle (theorem proving)
β β’ IBM Granite (inference)
β β’ WebGPU (GPU compute)
β
βββ README.md β This file
Artifact Types (11 Production Types)
| Type | Purpose | Realm |
|---|---|---|
FortranModule |
Compiled quantum engine | Hamiltonian |
CmmModule |
C-- intermediate code | QuantumIR |
MLIRModule |
Polyhedral fusion IR | QuantumIR |
LLVMModule |
LLVM optimized IR | Verification |
PulseSchedule |
IBM Quantum pulse sequences | Pulse |
IsabelleTheorem |
Formal proofs (lights on) | Verification |
ProofCertificate |
Verified artifacts | Verification |
BinaryELF |
Native executables | Runtime |
WASMModule |
WebAssembly binaries | Runtime |
ConfigFile |
Manifests + specs | WORM |
11-Stage Pipeline
Input β Fortran β C-- β MLIR β LLVM β Alive2 β Isabelle β QuantumVerify
β PulseCompile β WASM β Native β Custom β Output
Each stage:
- Takes artifact as input
- Produces artifact as output
- Calls
attestStageCompletion()β WORM chain seal - Records Blake3 hash + Ed25519 signature
WORM Chain (Immutable Attestation)
interface WORMTx {
hash: string; // Blake3 content hash
timestamp: number; // Unix time
signature: string; // Ed25519 signature
artifactType: ArtifactType;
height: number; // Chain height
}
Example: Artifact passes Stage 6 (Isabelle)
[WORM] Attested: a3f9e2d4... (IsabelleTheorem)
Phase 3 Production Components (Lights On)
Isabelle Real Integration
initIsabelle :: FilePath -> IO (Either String IsabelleSession)
submitProof :: IsabelleSession -> Text -> Text -> IO (Either String IsabelleProof)
verifyTheorem :: IsabelleSession -> Text -> IO (Either String Bool)
IBM Granite Inference
loadGraniteModel :: FilePath -> IO (Either String GraniteModel)
inferenceRequest :: GraniteModel -> GraniteInference -> IO (Either String GraniteResponse)
streamTokens :: GraniteModel -> GraniteInference -> (Text -> IO ()) -> IO (Either String ())
WebGPU GPU Compute
initWebGPU :: IO (Either String WebGPUDevice)
createBuffer :: WebGPUDevice -> Word64 -> BufferUsage -> IO (Either String WebGPUBuffer)
dispatchCompute :: WebGPUDevice -> WebGPUShader -> [WebGPUBuffer] -> IO (Either String ())
Sovereign Terminal
initTerminal :: Text -> Int -> Int -> IO (Either String TerminalSession)
executeCommand :: TerminalSession -> Text -> IO (Either String (TerminalSession, [Text]))
streamOutput :: TerminalSession -> (Text -> IO ()) -> IO (Either String ())
Cherry-Picked Commits
From sov-kernel-monster:
a26a50cβ ORGANIZATION.md Phase 3 production status179877bβ Phase 3 Real Implementations (Isabelle, Granite, WebGPU, Terminal)5c248c1β SPRINT 3 Phase 2.5 (11 stage executors + WORM attestation)0b41460β QuantumPiper orchestration (monolithic, 1,050L)
Integration Points
SovereignIDE Framework
const ide = new SovereignIDE();
await ide.initialize();
// Execute manifest
const result = await ide.executeManifest({
name: "quantum-circuit",
stages: [
{ stage: PipelineStage.Fortran, enabled: true, config: {} },
{ stage: PipelineStage.Isabelle, enabled: true, config: {} },
// ... more stages
],
wormAttest: true,
timeout: 300,
});
// Terminal
const output = await ide.executeCommand("quantum --run circuit.qasm");
// Inference
await ide.inference("What is the Jacobian Conjecture?", (token) => {
console.log(token);
});
End-Game Vision
β Sovereign AI Platform
- IBM Granite models as exclusive inference backend
- WebGPU for cross-platform tensor operations
- Custom terminal with sovereign shell access
- Real Isabelle verification (no fakes, no stubs)
- WORM attestation on every artifact
- Beat IBM's 2030 timeline
Status
PRODUCTION READY (Commit: 179877b)
- β All quantum core modules
- β Theorem 3 proof kernel
- β 11-stage orchestration pipeline
- β Real Isabelle integration
- β IBM Granite model loading
- β WebGPU cross-platform GPU
- β Sovereign terminal framework
- β WORM chain attestation
- β Artifact monorepo consolidation
Artifact Monorepo β All BOB work consolidated
Framework: Sovereign IDE
Owned by: SNAPKITTYWEST (Jessica)
Updated: 2026-07-20