{
  "schema": "turkos-public-development-evidence/v1",
  "originalReport": {
    "path": "reports/os-implementation/K2180-update-slots-rollback-local-8CZm8s/report.json",
    "sha256": "2422c7f30999e57d9f0cc402e250ad4d029dd4437cb4c974e13ab1cf47f95db2",
    "bytes": 19809
  },
  "status": "K2176_K2179_LOCAL_VALIDATED",
  "scope": "# UPDATE_SLOTS_ROLLBACK_CONTRACT (K2176–K2180)\n\n- **Milestone Range:** `K2176` (contract), `K2177` (runtime), `K2178` (positive test), `K2179` (negative / fault-injection test), `K2180` (18-profile guest acceptance)\n- **Feature:** `update_slots.rollback` (`Başarısız sürüm geri dönüşü`)\n- **Symbol:** `os_update_slots_rollback`\n- **Core Invariant:** `Rollback ile antirollback çelişkisi açık ele alınır` (When candidate slot B fails health checks, the controller explicitly evaluates the fallback slot A version against the anti-rollback floor before allowing rollback).\n- **Positive Path:** `B health veremez` — Candidate slot B (`v3`) fails to report health (`candidate_health_ok == false`) across bounded trials (`failed_trials == 3`) with a valid `TurkOS/SLOT-HEALTH-RECEIPT/v1` receipt MAC, and because fallback slot A (`v2`) satisfies `fallback_version >= antirollback_floor` (`2 >= 2`), policy deterministically commits a safe fallback to slot A (`Politika güvenli fallback veya açık ret`).\n- **Counterexample:** `Eski vulnerable A otomatik seçilir` — Automatic selection of an older vulnerable fallback slot A (`fallback_version < antirollback_floor`, e.g. `1 < 2`) is explicitly refused (`Error::VulnerableFallbackBlocked`), and corrupted health receipts, healthy candidates, or out-of-range trial counts are likewise rejected without committing a fallback decision (`fallback_committed == false`, `holds == 0`).\n- **Guest Acceptance:** `Politika güvenli fallback veya açık ret` — Evaluated across all 18 product profiles (`direct` and `uefi`, `256/512/1024 MiB`, `1/2/4 vCPU`) with EL0 negative actor `k2180-downgrader` and EL0 positive actor `k2180-recoverer`.\n",
  "productAccepted": false,
  "tests": {
    "greenCount": 4,
    "positiveName": "os_update_slots_rollback_positive",
    "negativeName": "os_update_slots_rollback_negative",
    "mutationsRejected": 21
  },
  "caseCount": 0,
  "caseSerialsSelected": 0,
  "imageSha256": null,
  "files": [
    {
      "name": "Cargo.toml",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/Cargo.toml",
      "originalSha256": "c3e5406bc0121d9f488812c52871060741153cd14f7b32cf54074f351a234e15",
      "href": "/os-evidence/c3e5406bc0121d9f488812c52871060741153cd14f7b32cf54074f351a234e15.txt",
      "sha256": "c3e5406bc0121d9f488812c52871060741153cd14f7b32cf54074f351a234e15",
      "bytes": 104,
      "redacted": false
    },
    {
      "name": "UPDATE_SLOTS_ROLLBACK_CONTRACT.md",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/kernel/UPDATE_SLOTS_ROLLBACK_CONTRACT.md",
      "originalSha256": "cef03f8d471e4ad4b5ce7f2e0fc83ffa2509ec928edafa30821b0f8d1356a7f4",
      "href": "/os-evidence/cef03f8d471e4ad4b5ce7f2e0fc83ffa2509ec928edafa30821b0f8d1356a7f4.txt",
      "sha256": "cef03f8d471e4ad4b5ce7f2e0fc83ffa2509ec928edafa30821b0f8d1356a7f4",
      "bytes": 1702,
      "redacted": false
    },
    {
      "name": "boot_choice.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/src/boot_choice.rs",
      "originalSha256": "3531b13ea7dc85db9c824d7420ca70298f3c49615d5d715e902bc2cd7c204d91",
      "href": "/os-evidence/3531b13ea7dc85db9c824d7420ca70298f3c49615d5d715e902bc2cd7c204d91.txt",
      "sha256": "3531b13ea7dc85db9c824d7420ca70298f3c49615d5d715e902bc2cd7c204d91",
      "bytes": 15909,
      "redacted": false
    },
    {
      "name": "lib.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/src/lib.rs",
      "originalSha256": "7751f29ea229b803c89211d5eb2ab8f2d2d7f9dd8b24e9f3b9458392355f0a08",
      "href": "/os-evidence/7751f29ea229b803c89211d5eb2ab8f2d2d7f9dd8b24e9f3b9458392355f0a08.txt",
      "sha256": "7751f29ea229b803c89211d5eb2ab8f2d2d7f9dd8b24e9f3b9458392355f0a08",
      "bytes": 106,
      "redacted": false
    },
    {
      "name": "rollback.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/src/rollback.rs",
      "originalSha256": "67e6eaddc9d7cef8d59338a1fadddce90d436e61f9cc418faff33dcbded5dc29",
      "href": "/os-evidence/67e6eaddc9d7cef8d59338a1fadddce90d436e61f9cc418faff33dcbded5dc29.txt",
      "sha256": "67e6eaddc9d7cef8d59338a1fadddce90d436e61f9cc418faff33dcbded5dc29",
      "bytes": 16032,
      "redacted": false
    },
    {
      "name": "slots.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/src/slots.rs",
      "originalSha256": "a8a54fcf05eb05538492c66c29420767f3e06e0307b29c704e2956895b3544b4",
      "href": "/os-evidence/a8a54fcf05eb05538492c66c29420767f3e06e0307b29c704e2956895b3544b4.txt",
      "sha256": "a8a54fcf05eb05538492c66c29420767f3e06e0307b29c704e2956895b3544b4",
      "bytes": 16882,
      "redacted": false
    },
    {
      "name": "verify.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/src/verify.rs",
      "originalSha256": "6dc2b6fac0b953cd78036b673f9913cc253f5cea78ca59bb7db882fcc9ce58f1",
      "href": "/os-evidence/6dc2b6fac0b953cd78036b673f9913cc253f5cea78ca59bb7db882fcc9ce58f1.txt",
      "sha256": "6dc2b6fac0b953cd78036b673f9913cc253f5cea78ca59bb7db882fcc9ce58f1",
      "bytes": 14448,
      "redacted": false
    },
    {
      "name": "boot_choice.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/tests/boot_choice.rs",
      "originalSha256": "4f510fd96d6a5d4cf8d7025d8b1e658fb343976e7ebbedd9d7e206f56872bbc2",
      "href": "/os-evidence/4f510fd96d6a5d4cf8d7025d8b1e658fb343976e7ebbedd9d7e206f56872bbc2.txt",
      "sha256": "4f510fd96d6a5d4cf8d7025d8b1e658fb343976e7ebbedd9d7e206f56872bbc2",
      "bytes": 9664,
      "redacted": false
    },
    {
      "name": "rollback.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/tests/rollback.rs",
      "originalSha256": "ab3303743dcfd6196db126fc17acf9208cde843bdbab1a3a99fafe53b4187421",
      "href": "/os-evidence/ab3303743dcfd6196db126fc17acf9208cde843bdbab1a3a99fafe53b4187421.txt",
      "sha256": "ab3303743dcfd6196db126fc17acf9208cde843bdbab1a3a99fafe53b4187421",
      "bytes": 8739,
      "redacted": false
    },
    {
      "name": "slots.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/tests/slots.rs",
      "originalSha256": "799395a76216442a6d63ea218c5495148309ded3528ee3229477104ac2bfaae5",
      "href": "/os-evidence/799395a76216442a6d63ea218c5495148309ded3528ee3229477104ac2bfaae5.txt",
      "sha256": "799395a76216442a6d63ea218c5495148309ded3528ee3229477104ac2bfaae5",
      "bytes": 9627,
      "redacted": false
    },
    {
      "name": "verify.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/source/os-update-slots/tests/verify.rs",
      "originalSha256": "2d20e0c344a98f91e3fa164bb0bf640d24c754d39e5d784223f53783b5747f40",
      "href": "/os-evidence/2d20e0c344a98f91e3fa164bb0bf640d24c754d39e5d784223f53783b5747f40.txt",
      "sha256": "2d20e0c344a98f91e3fa164bb0bf640d24c754d39e5d784223f53783b5747f40",
      "bytes": 8358,
      "redacted": false
    },
    {
      "name": "host-tests.log",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/host-tests.log",
      "originalSha256": "fbca88903038a83017ad68bbb2159d88f7c33b8c1f0b3d04cbecae3e2e445cfb",
      "href": "/os-evidence/26eca75c558155b2ffde6b0d031215695f6d9e5cb1c0f9ca06d6cb8fde083be5.txt",
      "sha256": "26eca75c558155b2ffde6b0d031215695f6d9e5cb1c0f9ca06d6cb8fde083be5",
      "bytes": 759,
      "redacted": true
    },
    {
      "name": "positive.log",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/positive.log",
      "originalSha256": "3c878118e8377707cdac2c0c559e4d4318ed46a8ac0aeba9579fe5b745c992b6",
      "href": "/os-evidence/3c878118e8377707cdac2c0c559e4d4318ed46a8ac0aeba9579fe5b745c992b6.txt",
      "sha256": "3c878118e8377707cdac2c0c559e4d4318ed46a8ac0aeba9579fe5b745c992b6",
      "bytes": 428,
      "redacted": false
    },
    {
      "name": "negative.log",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/negative.log",
      "originalSha256": "3535c4ad8c7ba0213d8dc8f591f34402918a16b0c098dca5e475ca16d66a17ac",
      "href": "/os-evidence/3535c4ad8c7ba0213d8dc8f591f34402918a16b0c098dca5e475ca16d66a17ac.txt",
      "sha256": "3535c4ad8c7ba0213d8dc8f591f34402918a16b0c098dca5e475ca16d66a17ac",
      "bytes": 428,
      "redacted": false
    },
    {
      "name": "target.log",
      "source": "reports/os-implementation/K2180-update-slots-rollback-staging-local-ODh8j6/target.log",
      "originalSha256": "7a7ada4530894def978aca45faed9d8b9663da340a88ecb6d0f4d56f812dabb0",
      "href": "/os-evidence/0e9b009a39db24320d7101eea640c78f9cb735fd7b4224eedc418344338b69e3.txt",
      "sha256": "0e9b009a39db24320d7101eea640c78f9cb735fd7b4224eedc418344338b69e3",
      "bytes": 225,
      "redacted": true
    },
    {
      "name": "harness.mjs.txt",
      "source": "reports/os-implementation/K2180-update-slots-rollback-local-8CZm8s/harness.mjs.txt",
      "originalSha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "href": "/os-evidence/afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284.txt",
      "sha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "bytes": 4604,
      "redacted": false
    },
    {
      "name": "k2180-update-slots-rollback.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-candidate-rXXAbz/sources/kernel/src/k2180-update-slots-rollback.rs",
      "originalSha256": "d3aff3d053142c99ba342af13bf8bf4c1ab3927c860a3ba87a86fa4de42d0c34",
      "href": "/os-evidence/d3aff3d053142c99ba342af13bf8bf4c1ab3927c860a3ba87a86fa4de42d0c34.txt",
      "sha256": "d3aff3d053142c99ba342af13bf8bf4c1ab3927c860a3ba87a86fa4de42d0c34",
      "bytes": 12763,
      "redacted": false
    },
    {
      "name": "update_slots_rollback.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-candidate-rXXAbz/sources/kernel/src/runtime/update_slots_rollback.rs",
      "originalSha256": "67e6eaddc9d7cef8d59338a1fadddce90d436e61f9cc418faff33dcbded5dc29",
      "href": "/os-evidence/67e6eaddc9d7cef8d59338a1fadddce90d436e61f9cc418faff33dcbded5dc29.txt",
      "sha256": "67e6eaddc9d7cef8d59338a1fadddce90d436e61f9cc418faff33dcbded5dc29",
      "bytes": 16032,
      "redacted": false
    },
    {
      "name": "main.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-candidate-rXXAbz/sources/kernel/src/main.rs",
      "originalSha256": "f75af061644fcd03d88744e6587609508a2720b3724fafade3d599f9c4bedc96",
      "href": "/os-evidence/10a31ce77065712cd11007441a210b2ad75751d12894103ccc3ec4029e6a8abf.txt",
      "sha256": "10a31ce77065712cd11007441a210b2ad75751d12894103ccc3ec4029e6a8abf",
      "bytes": 2308495,
      "redacted": true
    },
    {
      "name": "mod.rs",
      "source": "reports/os-implementation/K2180-update-slots-rollback-candidate-rXXAbz/sources/kernel/src/runtime/mod.rs",
      "originalSha256": "9c97ef15a72bb732dfa7437414a5df29253478a170811c70bb1beabf5b136f39",
      "href": "/os-evidence/9c97ef15a72bb732dfa7437414a5df29253478a170811c70bb1beabf5b136f39.txt",
      "sha256": "9c97ef15a72bb732dfa7437414a5df29253478a170811c70bb1beabf5b136f39",
      "bytes": 4423,
      "redacted": false
    },
    {
      "name": "kernel-product.log",
      "source": "reports/os-implementation/K2180-update-slots-rollback-candidate-rXXAbz/kernel-product.log",
      "originalSha256": "d66447b240ded5095422f73407d37d93bf61bd4a894bc58376b098b1a84ac9c8",
      "href": "/os-evidence/3a9d44a8f2ee2adc48666f1a3be183b4c5869e5fe059dd6734d29232affe0620.txt",
      "sha256": "3a9d44a8f2ee2adc48666f1a3be183b4c5869e5fe059dd6734d29232affe0620",
      "bytes": 2331,
      "redacted": true
    }
  ],
  "moves": [
    "K2176",
    "K2177",
    "K2178",
    "K2179"
  ]
}
