{
  "schema_version": "engi_stack_k3_artifact_sources.v1",
  "platform": "k3",
  "architecture": "riscv64",
  "release": "k3-v1.0.1",
  "release_path": "img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1",
  "release_subpath": "k3/bianbu-4.0.1-riscv64/k3-v1.0.1",
  "image_release_url": "https://dl.engi-stack.com/img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1/",
  "apt": {
    "base_url": "https://dl.engi-stack.com/apt/k3",
    "distribution": "bianbu-4.0.1",
    "aliases": [
      "bianbu4"
    ],
    "default_components": [
      "main"
    ],
    "optional_components": [
      "frozen"
    ],
    "packages": {
      "main": [
        "scheduler/k3-scheduler_1.0.1_riscv64.deb",
        "runtime/rv-sherpa-onnx-runtime_2026.08.02+k3spacemitort203_riscv64.deb",
        "attune/attune-server_1.5.29+k3sqliteobs20260812.1_riscv64.deb",
        "attune/attune-web-demo_1.5.29+k3sqliteobs20260812.1_all.deb",
        "attune/attune-oss-companion_1.5.29+k3sqliteobs20260812.1_all.deb",
        "firstboot/ipco-apt-source_0.1.0~preview.1_all.deb",
        "firstboot/ipco-firstboot_0.1.0~preview.1_all.deb"
      ]
    },
    "architecture": "riscv64",
    "trusted_source_line": "deb [arch=riscv64 trusted=yes] https://dl.engi-stack.com/apt/k3 bianbu-4.0.1 main",
    "signed_source_line": "deb [arch=riscv64 signed-by=/usr/share/keyrings/engi-stack-k3-archive-keyring.gpg] https://dl.engi-stack.com/apt/k3 bianbu-4.0.1 main",
    "alias_trusted_source_line": "deb [arch=riscv64 trusted=yes] https://dl.engi-stack.com/apt/k3 bianbu4 main",
    "alias_signed_source_line": "deb [arch=riscv64 signed-by=/usr/share/keyrings/engi-stack-k3-archive-keyring.gpg] https://dl.engi-stack.com/apt/k3 bianbu4 main",
    "public_key_path": "/usr/share/keyrings/engi-stack-k3-archive-keyring.gpg",
    "trust_policy": "Private HTTPS source may use trusted=yes only for controlled K3 devices. Signed mode uses only the public key on devices; the private signing key stays on the publishing host."
  },
  "bianbu": {
    "upstream_url": "https://archive.spacemit.com/bianbu/",
    "version_family": "v4.0",
    "base_os": "Bianbu 4.0.1",
    "suite_contract": "Bianbu 4.0.1 K3 builds use EngiStack apt distribution bianbu-4.0.1 with compatibility alias bianbu4 plus SpacemiT Bianbu v4 upstream suites for base/runtime dependencies.",
    "suites": [
      "resolute-porting/snapshots/v4.0beta3",
      "resolute-customization/snapshots/v4.0beta3",
      "bianbu-v4.0-updates"
    ],
    "components": [
      "main",
      "universe",
      "restricted",
      "multiverse"
    ],
    "signed_by": "/usr/share/keyrings/bianbu-archive-keyring.gpg"
  },
  "models": {
    "company_endpoint": "https://models.engi-stack.com",
    "download_lock_url": "https://dl.engi-stack.com/img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1/model-source/download-lock.json",
    "model_assets_url": "https://dl.engi-stack.com/img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1/model-source/model-assets.json",
    "manual_model_archive_url": "https://dl.engi-stack.com/img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1/manual-models/model-tree.tar",
    "p6_target": "/var/lib/ipco-data/ipco/models/k3-scheduler/",
    "delivery_policy": "Use download-lock public/direct/archive sources for future model population. Do not upload model-source/rootfs directly."
  },
  "local": {
    "asset_root": "/data/img-attune",
    "release_root": "/data/img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1",
    "apt_repo_root": "/data/company/cloud/download-mirror/srv/dl/apt/k3",
    "model_download_lock": "/data/img-attune/k3/bianbu-4.0.1-riscv64/k3-v1.0.1/model-source/download-lock.json",
    "stage_script": "/data/company/project/rv-bianbu-nas/scripts/k3-stage-manual-models.sh",
    "stage_output": "/data/bianbu/k3-manual-models-cloud"
  }
}
