{
  "schemaVersion": 1,
  "scope": "source-only authenticated libp2p transport and private installation verification",
  "date": "2026-10-17",
  "node": "v22.23.3",
  "baseCommit": "395f010d",
  "protocol": "/omnius/sponsored-inference/1.0.0",
  "sourceHashes": {
    "packages/cli/src/mesh/libp2p-transport.ts": "be06968ef6987f072289179c4d670078a531d1c30ccd3ec915678b56895fc70b",
    "packages/cli/package.json": "f193fc1f66d41c1a1c46aaf5b5ea93496d6c467e436f044547247b11b612f0f4",
    "scripts/build-publish.mjs": "0cbdad4dc5baed907b650e7f23bd4523e8c4b5b42ce815088734ce82c6dd8e48"
  },
  "verificationOnlyContract": {
    "path": "packages/cli/src/mesh/contracts.ts",
    "sha256": "e9e44c3d02e0f5abdcee706993ba00f5491c82f1614dab793b8694e6a10ad682",
    "includedInPatch": false
  },
  "tests": {
    "uniqueCases": 17,
    "file": "packages/cli/tests/mesh-libp2p-transport.test.ts",
    "sha256": "291efb51ed8e9535d3a1cfeb08a643452adf4a64c73a4e1d5f20d69860bbc18b",
    "runs": [
      {
        "graph": "locked",
        "passed": 17,
        "failed": 0,
        "log": "/tmp/omnius-libp2p-mesh-locked-tests.json",
        "sha256": "71ad0723357b22d1d77efd6e4ede6edc7a9daa9faf9e86a7dc8360613d149cc9"
      },
      {
        "graph": "npm",
        "passed": 17,
        "failed": 0,
        "log": "/tmp/omnius-libp2p-mesh-npm-tests.json",
        "sha256": "afc9f75460ef833d0535fcf6b2fab7bb554877b2b44963fd2f52bc2a292cba52"
      }
    ],
    "cases": [
      "creates one private identity atomically across concurrent initializers without starting a listener",
      "refuses corrupted, publicly readable and symlinked identities without silently replacing them",
      "exchanges ordered Unicode frames over real TCP Noise/Yamux and replies after peer half-close",
      "rejects untrusted remote identities and mismatched dial targets before application admission",
      "authenticates a pinned peer even through a local TCP forwarder, then rejects modified ciphertext",
      "rejects oversized length from an authenticated peer",
      "rejects invalid JSON from an authenticated peer",
      "rejects invalid UTF-8 from an authenticated peer",
      "rejects truncated payload from an authenticated peer",
      "accepts a frame split across many writes and coalesced frames without losing boundaries",
      "bounds outgoing frames and queue memory while retaining valid ordered traffic",
      "applies real stream backpressure and aborts a blocked large write on operator Stop",
      "aborts pending receives promptly on caller cancellation and transport Stop",
      "bounds idle reads and refuses public/unconfigured relay addresses",
      "exchanges end-to-end Noise frames through a real relay while the relay sees ciphertext and endpoint identities remain pinned",
      "scopes legacy npm pins without changing unrelated or nested consumer overrides",
      "uses WSS with normal CA verification and pinned Noise peer identity on Node22+"
    ]
  },
  "typecheck": {
    "mode": "strict NodeNext noEmit, actual transport source + integration tests",
    "diagnostics": 0,
    "graphs": [
      "existing workspace locked dependencies",
      "fresh private npm installed dependencies"
    ],
    "log": "/tmp/omnius-libp2p-mesh-noemit-final.log",
    "latestParentContractCompatible": true
  },
  "privateNpmInstall": {
    "directRuntimeDependencies": {
      "libp2p": "3.3.0",
      "@libp2p/crypto": "5.1.18",
      "@libp2p/peer-id": "6.0.9",
      "@libp2p/tcp": "11.0.19",
      "@libp2p/websockets": "10.1.12",
      "@libp2p/circuit-relay-v2": "4.2.4",
      "@libp2p/identify": "4.1.5",
      "@chainsafe/libp2p-noise": "17.0.0",
      "@chainsafe/libp2p-yamux": "8.0.1",
      "@multiformats/multiaddr": "13.0.3"
    },
    "installedPackages": 135,
    "scripts": "ignored",
    "manifest": "synthetic private mesh runtime dependencies plus actual release overrides scoped by production helper",
    "shrinkwrapInput": "actual existing publish/npm-shrinkwrap.json (stale, reconciled by npm)",
    "shrinkwrapInputSha256": "c5b519f308ba4b490916b33defe49a97a87960b312afd53df43519e139b68c11",
    "newShrinkwrapSha256": "3511c03c5b1ed9799020ccfe3ef279a6e8c92f7174b24e2e58517e74dbdfd797",
    "evidence": [
      "all17 actual transport tests pass against fresh npm packages",
      "separate forced circuit-only Node22 exchange passes"
    ],
    "legacyConsumerRuntimeInstalled": false,
    "limitations": "Nexus/Helia nested version preservation is asserted by focused manifest policy test; full release install belongs to parent packaging gate."
  },
  "transport": {
    "identity": "standard Ed25519 private-key protobuf; private owner directory0700/file0600; no listener during load/create; atomic no-clobber concurrent initialization",
    "encryption": "standard libp2p Noise + Yamux; no copied Tracker encryption or source",
    "peerTrust": "pinned authenticated remotePeer; exact dial target; configured relay identity alone does not authorize application access",
    "relayProof": "real circuit-v2 reservation and forced circuit-only payload; relay HOP stream observed after outer Noise decryption, prompt remains absent; endpoint IDs remain origin and destination",
    "wssProof": "real TLS listener with generated local CA supplied by NODE_EXTRA_CA_CERTS in isolated child; no disabled certificate verification",
    "bounds": {
      "frameBytes": 8388608,
      "applicationQueuedFrames": 8,
      "applicationQueuedSendBytes": 16777224,
      "pausedNativeReadBytes": 16777224,
      "applicationReadBytes": 16777224,
      "channels": 64,
      "connections": 32,
      "dialQueue": 16,
      "parallelDials": 4,
      "defaultDialMs": 15000,
      "defaultIdleMs": 120000
    },
    "readBackpressure": "synchronous pause-on-message + bounded owned parser; convenience async iterator deliberately avoided because its pushable can drain beyond native cap",
    "cancellation": "caller AbortSignal and Stop abort active receive/send/dial; actual4MiB backpressured send test"
  },
  "lockPatch": {
    "path": "/tmp/omnius-libp2p-mesh-lock-importers.patch",
    "sha256": "2be41bd58915449e7e5800ed9c3e6ce4b11c57edfd9e310f675ac863bb151b91",
    "addedImporterLines": 30,
    "transitiveVersionChanges": 0,
    "rootLockChanged": false
  },
  "safety": {
    "externalPeerConnections": 0,
    "publicRendezvous": false,
    "inferenceRequests": 0,
    "modelLoads": 0,
    "cudaActions": 0,
    "serviceChanges": 0,
    "sharedBuilds": 0,
    "rootSourceWrites": 0,
    "publishDirectoryWrites": 0,
    "trackerSourceCopied": false
  },
  "primaryReferences": [
    "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.Libp2pInit.html",
    "https://libp2p.io/docs/circuit-relay/",
    "https://github.com/libp2p/specs/blob/master/noise/README.md"
  ],
  "beforeAfter": {
    "fixture": "actual4MiB send to a trusted peer whose application does not receive",
    "before": {
      "sourceSha256": "a9a84ad1d26530917a50f6d350bb06de673728bf824c9b815d850eb12ef1bd61",
      "testFailures": 1,
      "skippedOtherTests": 16,
      "observation": "write settles before50ms because convenience iterator/native stream never pauses at application boundary",
      "log": "/tmp/omnius-libp2p-mesh-before-pressure.json",
      "logSha256": "f72f038891aba9ab604ba42437d4eb2ef8efc4f353ebbf0655390fb5b90a4d03"
    },
    "after": {
      "observation": "write remains backpressured after50ms; explicit AbortSignal cancels it promptly",
      "testPasses": 17,
      "testFailures": 0
    }
  }
}
