{
  "schema": "omnius.omni-setup-runtime-verification.v1",
  "timestamp": "2026-10-18T00:42:34.755245+00:00",
  "worktree": "/tmp/omnius-omni-runtime-20261017",
  "baseCommit": "dd0bd9658fa763e89866e01807c0384b6b2e2535",
  "sourceRevision": "54bca6ba5883285c4b6073bb217b0d2c800eda74",
  "result": "passed",
  "productionSource": [
    {
      "path": "packages/cli/src/omni-setup-runtime.ts",
      "sha256": "eab47699c7e579975b55f24494aa00d5643232c76b1ee352bdb7a1e09527d267",
      "bytes": 57426
    },
    {
      "path": "packages/cli/tests/omni-setup-runtime.test.ts",
      "sha256": "2e535fde6606afd8d41cddc90665fe68eb3b061bb0558073f2abc081a6cf7c90",
      "bytes": 35083
    },
    {
      "path": "packages/cli/tests/fixtures/omni-setup/pinned-source.json.gz",
      "sha256": "3ff90493ae7065936f180ce52c7b38d7ca633940628b6ffb0464ffed52e01e97",
      "bytes": 29804
    },
    {
      "path": "packages/cli/tests/fixtures/omni-setup/LICENSE",
      "sha256": "778e18d8a6eab6c8dbca2f945438f8b3e549b5ac6c221dc1546e1c02e2d00aa3",
      "bytes": 11335
    },
    {
      "path": "packages/cli/tests/fixtures/omni-setup/README.md",
      "sha256": "96f102c9520e769838056e5089387d7137827a34515fb7b3dbc6affedaf8f979",
      "bytes": 416
    }
  ],
  "verification": [
    {
      "kind": "fixture-tests",
      "command": "PATH=/tmp/node-v22.22.1-linux-x64/bin:$PATH /tmp/node-v22.22.1-linux-x64/bin/node ./packages/cli/node_modules/vitest/vitest.mjs run --root packages/cli tests/omni-setup-runtime.test.ts --maxWorkers 1 --minWorkers 1",
      "files": 1,
      "tests": 40,
      "passed": 40,
      "log": "/tmp/omnius-omni-runtime-final-tests-20261017.log",
      "node": "22.22.1",
      "vitest": "2.1.9"
    },
    {
      "kind": "source-noemit",
      "command": "node ./node_modules/typescript/bin/tsc --noEmit -p /tmp/omnius-omni-runtime-tsconfig.json",
      "exitCode": 0,
      "log": "/tmp/omnius-omni-runtime-noemit-20261017.log",
      "typescript": "6.0.3",
      "scope": "Runtime + copied shared public contract; no execution imports or alias required."
    }
  ],
  "coverage": [
    "Pinned upstream source verification and narrow cloudflared/smoke removal; retained lease, exact CUDA and cleanup gates.",
    "No arbitrary ambient Ollama host/store, build directory, architecture or runtime activation overrides.",
    "Configured protected adapter token sent only to its exact endpoint; no public token or raw logs.",
    "Broker discovery protocol, availability, health, selection, quarantine and pending/revoking-scope admission; bounded warnings and lease ownership summaries.",
    "24,000 MiB generic discrete minimum and exact 24,000/45,000 profile check before build/download; known capable Tegra-only direct path with residency proof.",
    "Explicit user-owned unit/launcher, source pin, actual process/cgroup/broker-or-Tegra residency proof; health alone cannot pass.",
    "Owned child cancellation/stop awaited; rollback failure remains error; callback rejection rolls back; abort during final proof does not invoke commit.",
    "Private 0600 per-operation 4 MiB diagnostics with sanitized command steps and tails, failure retention and no public raw diagnostics.",
    "Real CPU-only Python launcher decoding of dollar/backtick PATH literals without command execution; namespace scrub; real bash syntax parse only.",
    "Systemd ExecStart-only dollar escaping preserves literal $HOME/${PATH} paths without altering EnvironmentFile or WorkingDirectory semantics."
  ],
  "limitations": [
    "All installer, service, broker, nvidia-smi, model show/pull and adapter calls were injected fixtures. No actual deployment, CUDA allocation, model load, generation, service changes or network downloads occurred.",
    "No claim of live setup readiness: actual deployment requires explicit UI action, current broker admission and final process residency proof.",
    "Shared Ollama models remain cached after cancellation/failure; source and venv retained for explicit retry.",
    "Model resolver uses existing populated local standard stores with inherited OLLAMA_MODELS cleared; inaccessible/nonstandard undiscoverable stores fail explicitly.",
    "Explicit runtime lock is never automatically stolen. Existing healthy external adapter is attach-only and never stopped.",
    "Tegra uses upstream admission and actual procfs residency proof, not a fabricated free-VRAM guarantee."
  ],
  "integration": {
    "runtimeAPI": "inspectOmniHost(input,{dependencies?}); deployOmniRuntime(input,{signal,onProgress,onReady,dependencies?})",
    "onReady": "Synchronous host commit point after final proof and abort check; thrown callback rolls back; no awaited work after successful callback.",
    "privateDiagnostics": "<root>/setup-<operationId>.log; phase/step/tails only, bounded 4 MiB, 0600, known secrets/Bearer/URL credentials redacted; never returned by plan/job API.",
    "copiedVerificationOnly": [
      "packages/cli/src/api/omni-setup-contract.ts",
      "node_modules",
      "packages/cli/node_modules"
    ],
    "newExecutionExports": []
  }
}
