{
  "schema_version": "attune_dependency_lock.v1",
  "generated_at": "2026-08-14",
  "platform": "k3",
  "device": "SpacemiT K3",
  "os": "Bianbu 4.0.1",
  "architecture": "riscv64",
  "release": "k3-v1.0.1",
  "verified_device": "192.168.100.233",
  "policy": {
    "model_delivery": "image-preinstalled",
    "scheduler_must_not_download_models": true,
    "apt_download_uses_exact_installed_versions": true,
    "do_not_upgrade_to_candidate_versions": true,
    "version_lock_scope": "reproduce-current-e2e-evidence",
    "new_image_may_use_official_apt_candidates_after_e2e": true,
    "official_runtime_package_names": [
      "spacemit-onnxruntime",
      "llama.cpp-tools-spacemit",
      "spacemit-tcm"
    ],
    "overlay_runtime_packages_are_optional": true,
    "overlay_runtime_packages_not_in_install_plan": true,
    "image_profile": "full",
    "image_build_requires_release_local_model_source": true,
    "external_model_sources_required_for_image_build": false,
    "attune_web_demo_required": true
  },
  "scheduler_deb": {
    "package": "k3-scheduler",
    "version": "1.0.1",
    "architecture": "riscv64",
    "path": "scheduler/k3-scheduler_1.0.1_riscv64.deb",
    "sha256": "0cb9cab211d7645916da46b211ef33436578458a5f0e86e8bb75f1fc9f310273",
    "source_commit": "7d3781be60a483849fe59fa70c4300c2587b964a",
    "source_tree_sha256": "552989a7db2005ffd2628bd4ab288d257fa5f45e3a9a4a747889ef9f75ec20fe",
    "source_provenance_sha256": "9e9a31abf837da6249dfa07ec7643bfd620fcb531417f7d4343ee90a6304cd47",
    "source": "clean master release; MiniCPM5 chat, Qwen3-30B-A3B summary, PPOCRv6 OCR, product ASR/TTS, unified OpenAI/KB admission, private peer forwarding, and Deb identity-bound E2E"
  },
  "runtime_debs": [
    {
      "package": "rv-sherpa-onnx-runtime",
      "version": "2026.08.02+k3spacemitort203",
      "architecture": "riscv64",
      "path": "runtime/rv-sherpa-onnx-runtime_2026.08.02+k3spacemitort203_riscv64.deb",
      "sha256": "165d08896c525fa90918d824703245aade76d33a251dc9a0c2b652ea47e2484a",
      "source": "locally staged deb"
    }
  ],
  "application_debs": [
    {
      "package": "attune-server",
      "version": "1.5.29+k3sqliteobs20260812.1",
      "architecture": "riscv64",
      "path": "attune/attune-server_1.5.29+k3sqliteobs20260812.1_riscv64.deb",
      "sha256": "b1877b155576afd928d06c01929d5f15bbe68b7fac48ce3e4c39c42d5bb71a7a"
    },
    {
      "package": "attune-web-demo",
      "version": "1.5.29+k3sqliteobs20260812.1",
      "architecture": "all",
      "path": "attune/attune-web-demo_1.5.29+k3sqliteobs20260812.1_all.deb",
      "sha256": "c3508615a9e93b2f840d9230aae166847cc27200ce7910ee77b00b398856e9ce"
    },
    {
      "package": "attune-oss-companion",
      "version": "1.5.29+k3sqliteobs20260812.1",
      "architecture": "all",
      "path": "attune/attune-oss-companion_1.5.29+k3sqliteobs20260812.1_all.deb",
      "sha256": "0c577024a25a3dabd2d5e5a3251e7e091cf5d9b77dc56a5590e4695df05f75d9"
    }
  ],
  "application_runtime_packages": [
    "ca-certificates",
    "curl",
    "libgcc-s1",
    "poppler-utils",
    "python3"
  ],
  "model_source": {
    "delivery": "release-local-rootfs-overlay",
    "rootfs": "model-source/rootfs",
    "inventory": "model-source/model-assets.json",
    "inventory_sha256": "fe35289061f7341e40e955095047160253329e10f85a252c2167b4aa44cf5137",
    "manifest": "manifests/model-manifest.json",
    "manifest_sha256": "748f923988b613823373ebc4df63a279ac838168778edc3fb7bf873cb12aa701",
    "file_count": 42,
    "total_size_bytes": 22846367946,
    "self_contained_for_image_build": true,
    "external_sources_required_for_image_build": false
  },
  "application_evidence": [
    {
      "kind": "api_contract",
      "path": "evidence/attune-api-contract.json",
      "sha256": "ea1893cef315ce07df4bc7183b981c5f1acee1c56e40d4165b148341d0b0e7c2",
      "status": "pass"
    },
    {
      "kind": "web_demo",
      "path": "evidence/attune-web-demo.json",
      "sha256": "fafe9a952e9b27ea19de6ef9e9857d13b5d9568764b2d123ddc8e041a4f69e9e",
      "status": "pass"
    },
    {
      "kind": "release_report",
      "path": "evidence/attune-release-report.md",
      "sha256": "9dfd5f1a8e72110a318f7c22c0fc770cc787254d935faac65059e8d7390bfbbf",
      "status": "pass"
    }
  ],
  "apt_downloaded": [
    {
      "package": "init-system-helpers",
      "version": "1.69",
      "architecture": "all",
      "path": "os-deps/apt/init-system-helpers_1.69_all.deb",
      "sha256": "49c68d09ceaaf5198966cf1e077ae9bf23d345189cb90e564bcd6594fd83a9fd",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "libc6",
      "version": "2.43-2ubuntu2bb1",
      "architecture": "riscv64",
      "path": "os-deps/apt/libc6_2.43-2ubuntu2bb1_riscv64.deb",
      "sha256": "35e50eba2179923e564b7f377252bf1abcb8cd88c1ebf813123c0dfb8f249ac2",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "libcurl4t64",
      "version": "8.18.0-1ubuntu2",
      "architecture": "riscv64",
      "path": "os-deps/apt/libcurl4t64_8.18.0-1ubuntu2_riscv64.deb",
      "sha256": "296689a5479a9fc7f69fac3e8aeeab6419c1cabc22168f830ecc16cade1762ad",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "libgomp1",
      "version": "16-20260226-1ubuntu1",
      "architecture": "riscv64",
      "path": "os-deps/apt/libgomp1_16-20260226-1ubuntu1_riscv64.deb",
      "sha256": "265a7412378ee843d871822f9c8646f69e93308a930a26dc2b244b1b50a1ba1f",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "libstdc++6",
      "version": "16-20260226-1ubuntu1",
      "architecture": "riscv64",
      "path": "os-deps/apt/libstdc++6_16-20260226-1ubuntu1_riscv64.deb",
      "sha256": "3003c644e5751abbb5817fa1040bdf990e90deb8465be05c9697797f1e8cc540",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "libuv1t64",
      "version": "1.51.0-2ubuntu1",
      "architecture": "riscv64",
      "path": "os-deps/apt/libuv1t64_1.51.0-2ubuntu1_riscv64.deb",
      "sha256": "31f1470fab2cf56e6adcc89602f5e118960626a067eaf4e61be65609dd0ec907",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "logrotate",
      "version": "3.22.0-1build1",
      "architecture": "riscv64",
      "path": "os-deps/apt/logrotate_3.22.0-1build1_riscv64.deb",
      "sha256": "7171064f90cbd7b2048a5058338c7b5a4db28361e60fc119985d50e72fe7fb50",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "llama.cpp-tools-spacemit",
      "version": "0.1.6",
      "architecture": "riscv64",
      "path": "os-deps/apt/llama.cpp-tools-spacemit_0.1.6_riscv64.deb",
      "sha256": "037b4b30cd91a7d1ddf40bcedad9522223d56080a629b302e9c8a2b0ad7b8694",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "python3-spacemit-ort",
      "version": "2.0.5",
      "architecture": "riscv64",
      "path": "os-deps/apt/python3-spacemit-ort_2.0.5_riscv64.deb",
      "sha256": "cc2c31d4ede152d14df5632428e76abaccc0c860bee9544fcfa57c99346cb4cc",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "spacemit-onnxruntime",
      "version": "2.0.5",
      "architecture": "riscv64",
      "path": "os-deps/apt/spacemit-onnxruntime_2.0.5_riscv64.deb",
      "sha256": "f002e5a16a43a220b32781c6b09666c4fc73ede8328d3bcf5079b69c0dc54bb5",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "spacemit-tcm",
      "version": "3.0.0+5",
      "architecture": "riscv64",
      "path": "os-deps/apt/spacemit-tcm_3.0.0+5_riscv64.deb",
      "sha256": "c43b4ca220f5e6d9fb91dce5126e3a38a8a7293ae2beeffe721b06bc43d2f55d",
      "source": "apt download package=version on verified device"
    },
    {
      "package": "util-linux",
      "version": "2.41.3-3ubuntu2",
      "architecture": "riscv64",
      "path": "os-deps/apt/util-linux_2.41.3-3ubuntu2_riscv64.deb",
      "sha256": "7490981c8544be505bcbb580d5703a7c8cb97650b7812aebe23d765a56dac1d1",
      "source": "apt download package=version on verified device"
    }
  ],
  "image_baseline_packages": [
    {
      "package": "systemd",
      "version": "259-1ubuntu3bb4",
      "architecture": "riscv64",
      "reason": "installed on verified K3 device; exact version no longer downloadable from current apt source"
    },
    {
      "package": "libsystemd0",
      "version": "259-1ubuntu3bb4",
      "architecture": "riscv64",
      "reason": "installed on verified K3 device; exact version no longer downloadable from current apt source"
    }
  ],
  "apt_download_command": "apt download libc6=2.43-2ubuntu2bb1 libstdc++6=16-20260226-1ubuntu1 init-system-helpers=1.69 util-linux=2.41.3-3ubuntu2 libuv1t64=1.51.0-2ubuntu1 libcurl4t64=8.18.0-1ubuntu2 spacemit-onnxruntime=2.0.5 python3-spacemit-ort=2.0.5 spacemit-tcm=3.0.0+5 llama.cpp-tools-spacemit=0.1.6 libgomp1=16-20260226-1ubuntu1 logrotate=3.22.0-1build1",
  "retired_overlay_runtime_packages": [
    {
      "package": "spacemit-k3-runtime-tools",
      "reason": "historical overlay/provider package; not part of K3 Minimal image install plan"
    },
    {
      "package": "spacemit-llama-cpp-runtime",
      "reason": "historical overlay/provider package; K3 Minimal uses official llama.cpp-tools-spacemit"
    },
    {
      "package": "spacemit-onnxruntime-runtime",
      "reason": "historical overlay/provider package; K3 Minimal uses official spacemit-onnxruntime"
    }
  ],
  "validation": {
    "installed_deb_e2e": "pass",
    "evidence": "evidence/k3-deb-e2e-summary.json",
    "openai_scheduler_mix": "pass",
    "product_audio": "pass",
    "ocr": "pass",
    "package_identity": "evidence/package-identity.json",
    "source_commit": "7d3781be60a483849fe59fa70c4300c2587b964a"
  }
}
