{
  "createdAt": "2026-10-17T01:45:22.994403+00:00",
  "passed": true,
  "scope": "Source-only backend media inventory/download/delete and shared execution store admission",
  "uniqueTests": 134,
  "uniqueTestFiles": 12,
  "overlap": "CLI70 contains routes17; final routes18 supersedes that file, yielding CLI71. Execution63 is disjoint. No full workspace test claim.",
  "verification": {
    "runs": [
      {
        "report": "/tmp/omnius-dashboard-media-execution-tests.json",
        "sha256": "2b2785068abaf6c4d7a4dac5efcc6843b015a4768ae7eba38c8d4543de0ee1e6",
        "success": true,
        "passed": 63,
        "failed": 0,
        "files": [
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/audio-generate.test.ts",
            "passed": 11
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/image-generate.test.ts",
            "passed": 9
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/media-store-lease.test.ts",
            "passed": 7
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/media-store-migrate.test.ts",
            "passed": 4
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/model-store.test.ts",
            "passed": 15
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/relocate-media-store.test.ts",
            "passed": 7
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/execution/tests/video-generate.test.ts",
            "passed": 10
          }
        ]
      },
      {
        "report": "/tmp/omnius-dashboard-media-cli-tests.json",
        "sha256": "da5e1cf9f6158b5d730eca7a70cbd47fc9a52ac04a10b876d59b10e3f180987d",
        "success": true,
        "passed": 70,
        "failed": 0,
        "files": [
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/cli/tests/media-management.test.ts",
            "passed": 19
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/cli/tests/routes-media.test.ts",
            "passed": 17
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/cli/tests/web-chat-transport-lifecycle.test.ts",
            "passed": 21
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/cli/tests/web-ui-client-runtime.test.ts",
            "passed": 4
          },
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/cli/tests/web-ui-script.test.ts",
            "passed": 9
          }
        ]
      },
      {
        "report": "/tmp/omnius-dashboard-media-routes-final.json",
        "sha256": "004b6306a2090cf84746ea8e22698d6c827c7a304d6a2f8191316951e39935c9",
        "success": true,
        "passed": 18,
        "failed": 0,
        "files": [
          {
            "path": "/home/roko/Documents/Projects/Adjacent/omnius/omnius/packages/cli/tests/routes-media.test.ts",
            "passed": 18
          }
        ]
      }
    ],
    "typechecks": [
      "pnpm --filter @omnius/execution exec tsc --noEmit --pretty false",
      "pnpm --filter omnius exec tsc --noEmit --pretty false"
    ],
    "typechecksPassed": true,
    "ownedDiffCheckPassed": true
  },
  "productionSources": {
    "packages/cli/src/api/media-management.ts": "030e2010cc717dce706d8fcc64fb719c1122d5247e676a759ac0b6f03e835903",
    "packages/cli/src/api/routes-media.ts": "917c571b8c78bae34046b5fc2ab141c0c564a48bb8e1439544c98b83f29de755",
    "packages/cli/src/api/openapi.ts": "d107bef0a06b60fafc40ddd89525b1e76f8786c1a10b524bbc5a27e6d0b9ecbb",
    "packages/execution/src/tools/media-store-lease.ts": "cb092b227c458497006b3e43391bb402ef8ebcf5f9172b8a74ec5f00851725e3",
    "packages/execution/src/tools/model-store.ts": "ebc0c8b0d53a146ba6e9723f347a485982b86aa69c4bd0e6f08ab75b38358cbd",
    "packages/execution/src/tools/media-store-migrate.ts": "cb579514ea78f32b28ab9f69dbf47401dbcf6a2b2c7147dc7b51350750ebad4e",
    "packages/execution/src/tools/image-generate.ts": "9250305ade3d5a2929ff340187b011f6b076a68130268cc5d7e19ebe21742bf8",
    "packages/execution/src/tools/video-generate.ts": "3e3d7de37702d1372705395bd422e140ff45fd8e7abe60d8cb2915d8246958ae",
    "packages/execution/src/tools/audio-generate.ts": "cd07597312f17bccaf8fccfa518f3ca6ef253014f5a443947643cfe8b4c1c639"
  },
  "ownedTests": {
    "packages/cli/tests/media-management.test.ts": "83eb44b33ee213f0381581c8ca93b2e841bd1e8e6c90fe57ab905cdd89d4521f",
    "packages/cli/tests/routes-media.test.ts": "8d131e23bd07be02adf40ea45db0484efde2b4a6fb41cdee98082f8ad62f6337",
    "packages/execution/tests/media-store-lease.test.ts": "43766be3f1236291c8a716c72023e2498ef354484b65e03d2b58d0c02ed8a10a",
    "packages/execution/tests/media-test-home.ts": "f2ee820b3e764f263ca29d6a2353202e98a1acb78febf778e8edf945bb03c99f",
    "packages/execution/tests/image-generate.test.ts": "b922278f5b95180dcd937bf8fc60f126303977b772b61922b80e69e6190720ac",
    "packages/execution/tests/video-generate.test.ts": "9c77f1a16485989d9cea68604ef1164be16e8d86bdc17eee5c85bb0865df3367",
    "packages/execution/tests/audio-generate.test.ts": "d8c0d42118cf5958d4ff0ed78f16acc32afff28445d71e47ba971ff186e33f32"
  },
  "api": {
    "inventory": "GET /v1/media/weights?kind=&model=",
    "download": "POST /v1/media/weights/download {kind,model}",
    "status": "GET /v1/media/weights/jobs/:id",
    "cancel": "POST /v1/media/weights/jobs/:id/cancel",
    "deleteWeights": "DELETE /v1/media/weights {kind,model,repository,allowShared?}",
    "deleteOutput": "DELETE /v1/media/file?kind=&name=",
    "store": "GET /v1/media/store; legacy scanning is opt-in ?scanLegacy=1"
  },
  "constraints": [
    "No real model downloads, inference, CUDA loads, user media/weight deletion, service starts/restarts, publishing or installed package changes. Download tests inject deterministic HTTPS metadata/body responses. Separate-process ownership test starts only a disposable Node fixture.",
    "Explicit Download fetches entire pinned repository snapshots, including variants; all files require pinned size and SHA256 or Git-blob checksum. It installs no Python/runtime and loads no model. Insufficient disk fails without LRU eviction.",
    "Existing unverified bytes are cached, never ready. Ready means initially checksum-verified snapshot manifests still have all expected contained files and sizes; inventory does not rehash multi-gigabyte files on every read.",
    "Global generative invocation serialization is deliberate: any invocation may install/download/LRU-evict. Metadata-only setup/list actions remain available. Busy daemon generation requests return409 before constructing a runner.",
    "New image/video/audio/music tools, model-store deletion/eviction/disk admission, cache migration and store relocation participate in the cross-process root lease. Asynchronous relocation also reserves its destination. Exact same-process random-token nesting preserves the outer daemon lease.",
    "Unrelated external programs and already-running older Omnius versions do not participate in this filesystem lease. The daemon additionally rejects destructive/download/store operations for broker-known active media models; this is not a claim of control over arbitrary external cache readers. Existing service-specific ASR/TTS management remains separate.",
    "Weight deletion retains catalog adapters. Shared dependencies require explicit allowShared:true consent; busy/in-use restrictions still apply.",
    "Saved-media deletion removes only the exact gallery file and matching regular metadata. Source/work copies, other previews and weights remain.",
    "Deep legacy-cache scanning no longer occurs on ordinary GET /store. Unscanned counts are null rather than fabricated zero."
  ],
  "fixtureRepairs": [
    "Generator tests now isolate OMNIUS_HOME, OMNIUS_MEDIA_HOME and host GPU allowlist/preference. An initial parallel fixture run briefly created/contended on a real-home lease file only; it was automatically released and verified absent. No weight/cache/model operation ran.",
    "Existing audio fixture expected an explicit incompatible GPU mask to widen to unrequested capable cards. Updated only that assertion to current fail-closed policy; default unpinned selection remains unchanged.",
    "Relocation dry-run initially created its destination because of destination admission. Corrected before final verification; dry-run regression passes."
  ],
  "warnings": [
    "Existing managed-stop transport fixtures emitted MaxListenersExceededWarning for SIGINT/SIGTERM listeners; all assertions passed."
  ]
}
