{
  "schema": "turkos-public-development-evidence/v1",
  "originalReport": {
    "path": "reports/os-implementation/K2175-update-slots-boot-choice-local-J3nZcO/report.json",
    "sha256": "c8d6496da38912124211c3a6ad3e5998fc3e7583d2e08f7148bc0e00f0263225",
    "bytes": 19422
  },
  "status": "K2171_K2174_LOCAL_VALIDATED",
  "scope": "# UPDATE_SLOTS_BOOT_CHOICE_CONTRACT (K2171–K2175)\n\n- **Milestone Range:** `K2171` (contract), `K2172` ( runtime), `K2173` (positive test), `K2174` (negative / fault-injection test), `K2175` (18-profile guest acceptance)\n- **Feature:** `update_slots.boot_choice` (`Sınırlı boot seçim kaydı`)\n- **Symbol:** `os_update_slots_boot_choice`\n- **Core Invariant:** `Seçim byteı tek başına güven kökü değildir` (A raw boot-choice byte alone is never a root of trust; selecting candidate slot B requires a verified manifest digest binding, a bounded trial counter `1 <= remaining_trials <= max_trials <= 3`, an intact `TurkOS/BOOT-CHOICE-RECORD/v1` record MAC, and an explicit fallback slot A).\n- **Positive Path:** `A fallback B candidate` — Active fallback slot A (`v1`) with verified candidate slot B (`v2`) and bounded trial budget (`3` trials) is validated and recovery writes the read-only boot decision and boundary digest (`Recovery RO karar ve sınırı yazar`).\n- **Counterexample:** `Seçim kaydı bozuk` — Corrupted magic, unverified choice byte (`verified_manifest_present == false` or mismatched candidate manifest digest), zero or excessive trial budget (`> MAX_TRIAL_BOOTS`), missing distinct fallback slot, version rollback, or corrupted record MAC are explicitly refused (`Error`), leaving `decision_sealed == false`, `selected_slot == A` (fallback), and `holds == 0`.\n- **Guest Acceptance:** `Recovery RO karar ve sınırı yazar` — Evaluated across all 18 product profiles (`direct` and `uefi`, `256/512/1024 MiB`, `1/2/4 vCPU`) with EL0 negative actor `k2175-tamperer` and EL0 positive actor `k2175-selector`.\n",
  "productAccepted": false,
  "tests": {
    "greenCount": 4,
    "positiveName": "os_update_slots_boot_choice_positive",
    "negativeName": "os_update_slots_boot_choice_negative",
    "mutationsRejected": 21
  },
  "caseCount": 0,
  "caseSerialsSelected": 0,
  "imageSha256": null,
  "files": [
    {
      "name": "Cargo.toml",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/source/os-update-slots/Cargo.toml",
      "originalSha256": "c3e5406bc0121d9f488812c52871060741153cd14f7b32cf54074f351a234e15",
      "href": "/os-evidence/c3e5406bc0121d9f488812c52871060741153cd14f7b32cf54074f351a234e15.txt",
      "sha256": "c3e5406bc0121d9f488812c52871060741153cd14f7b32cf54074f351a234e15",
      "bytes": 104,
      "redacted": false
    },
    {
      "name": "UPDATE_SLOTS_BOOT_CHOICE_CONTRACT.md",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/source/kernel/UPDATE_SLOTS_BOOT_CHOICE_CONTRACT.md",
      "originalSha256": "0c53bfb221d1e0c0c0c640f17b3bb4cdedb0c7dcc6d267d6f6b7ce5f5eab04ef",
      "href": "/os-evidence/0c53bfb221d1e0c0c0c640f17b3bb4cdedb0c7dcc6d267d6f6b7ce5f5eab04ef.txt",
      "sha256": "0c53bfb221d1e0c0c0c640f17b3bb4cdedb0c7dcc6d267d6f6b7ce5f5eab04ef",
      "bytes": 1642,
      "redacted": false
    },
    {
      "name": "boot_choice.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/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/K2175-update-slots-boot-choice-staging-local-F7lgg5/source/os-update-slots/src/lib.rs",
      "originalSha256": "6cb3b53af50cf0331e43b698e36b22f6d6bb63b3c3cdf51fff8882835c69863c",
      "href": "/os-evidence/6cb3b53af50cf0331e43b698e36b22f6d6bb63b3c3cdf51fff8882835c69863c.txt",
      "sha256": "6cb3b53af50cf0331e43b698e36b22f6d6bb63b3c3cdf51fff8882835c69863c",
      "bytes": 88,
      "redacted": false
    },
    {
      "name": "slots.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/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/K2175-update-slots-boot-choice-staging-local-F7lgg5/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/K2175-update-slots-boot-choice-staging-local-F7lgg5/source/os-update-slots/tests/boot_choice.rs",
      "originalSha256": "4f510fd96d6a5d4cf8d7025d8b1e658fb343976e7ebbedd9d7e206f56872bbc2",
      "href": "/os-evidence/4f510fd96d6a5d4cf8d7025d8b1e658fb343976e7ebbedd9d7e206f56872bbc2.txt",
      "sha256": "4f510fd96d6a5d4cf8d7025d8b1e658fb343976e7ebbedd9d7e206f56872bbc2",
      "bytes": 9664,
      "redacted": false
    },
    {
      "name": "slots.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/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/K2175-update-slots-boot-choice-staging-local-F7lgg5/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/K2175-update-slots-boot-choice-staging-local-F7lgg5/host-tests.log",
      "originalSha256": "fb8ef235b3cc0ff8c8ed3b323015f6a684bb1f305bb4f7460fb1f2048cc31007",
      "href": "/os-evidence/7e3a31bb2039bd1832ae989936938181e49b723b08c04e050917f7508c2aa474.txt",
      "sha256": "7e3a31bb2039bd1832ae989936938181e49b723b08c04e050917f7508c2aa474",
      "bytes": 781,
      "redacted": true
    },
    {
      "name": "positive.log",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/positive.log",
      "originalSha256": "c938736da2e49b04d43ab8f15ec96a30ee83a73ee7bb89d42cffb450d2cdcc26",
      "href": "/os-evidence/c938736da2e49b04d43ab8f15ec96a30ee83a73ee7bb89d42cffb450d2cdcc26.txt",
      "sha256": "c938736da2e49b04d43ab8f15ec96a30ee83a73ee7bb89d42cffb450d2cdcc26",
      "bytes": 440,
      "redacted": false
    },
    {
      "name": "negative.log",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/negative.log",
      "originalSha256": "3c8c554acd11bcc1d8f541bb3669519d1e0420f085bf9c9f0101e94d8768179f",
      "href": "/os-evidence/3c8c554acd11bcc1d8f541bb3669519d1e0420f085bf9c9f0101e94d8768179f.txt",
      "sha256": "3c8c554acd11bcc1d8f541bb3669519d1e0420f085bf9c9f0101e94d8768179f",
      "bytes": 440,
      "redacted": false
    },
    {
      "name": "target.log",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-staging-local-F7lgg5/target.log",
      "originalSha256": "936d566fa759dc56aee204effcb80c74bcb50b6a6e19bc359f00749a3947a723",
      "href": "/os-evidence/f9472c5e551fa8b4145445d057a2f48dbfc4e505cdc79a311f8b098dd217c847.txt",
      "sha256": "f9472c5e551fa8b4145445d057a2f48dbfc4e505cdc79a311f8b098dd217c847",
      "bytes": 228,
      "redacted": true
    },
    {
      "name": "harness.mjs.txt",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-local-J3nZcO/harness.mjs.txt",
      "originalSha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "href": "/os-evidence/afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284.txt",
      "sha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "bytes": 4604,
      "redacted": false
    },
    {
      "name": "k2175-update-slots-boot-choice.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-candidate-ppXUYo/sources/kernel/src/k2175-update-slots-boot-choice.rs",
      "originalSha256": "e9602dc70fb3a7c48268927f4e621c70e2570671a97bef7b21821917f1647ce0",
      "href": "/os-evidence/e9602dc70fb3a7c48268927f4e621c70e2570671a97bef7b21821917f1647ce0.txt",
      "sha256": "e9602dc70fb3a7c48268927f4e621c70e2570671a97bef7b21821917f1647ce0",
      "bytes": 12650,
      "redacted": false
    },
    {
      "name": "update_slots_boot_choice.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-candidate-ppXUYo/sources/kernel/src/runtime/update_slots_boot_choice.rs",
      "originalSha256": "3531b13ea7dc85db9c824d7420ca70298f3c49615d5d715e902bc2cd7c204d91",
      "href": "/os-evidence/3531b13ea7dc85db9c824d7420ca70298f3c49615d5d715e902bc2cd7c204d91.txt",
      "sha256": "3531b13ea7dc85db9c824d7420ca70298f3c49615d5d715e902bc2cd7c204d91",
      "bytes": 15909,
      "redacted": false
    },
    {
      "name": "main.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-candidate-ppXUYo/sources/kernel/src/main.rs",
      "originalSha256": "ee38affb614d0fe9f88a2d9f334dbfa591c85a05595f10990d544ded94e10dc0",
      "href": "/os-evidence/c5d95a8ade2d4f36a3602aa1006652f57819ff12a502df221b4efdf6ea7aa8c2.txt",
      "sha256": "c5d95a8ade2d4f36a3602aa1006652f57819ff12a502df221b4efdf6ea7aa8c2",
      "bytes": 2308307,
      "redacted": true
    },
    {
      "name": "mod.rs",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-candidate-ppXUYo/sources/kernel/src/runtime/mod.rs",
      "originalSha256": "3a4ea16a8e55e321c2889d090572967996eb8bbea1f7bd03c93ff7f450466e93",
      "href": "/os-evidence/3a4ea16a8e55e321c2889d090572967996eb8bbea1f7bd03c93ff7f450466e93.txt",
      "sha256": "3a4ea16a8e55e321c2889d090572967996eb8bbea1f7bd03c93ff7f450466e93",
      "bytes": 4391,
      "redacted": false
    },
    {
      "name": "kernel-product.log",
      "source": "reports/os-implementation/K2175-update-slots-boot-choice-candidate-ppXUYo/kernel-product.log",
      "originalSha256": "55f0088226764db4c5b8b47a6172af281e4f29a16bdf612109cff54d6b54bf59",
      "href": "/os-evidence/877082590b0916a94b5d3576645d2a7a7d594d8b7659d9dc27f8d4982274f9b8.txt",
      "sha256": "877082590b0916a94b5d3576645d2a7a7d594d8b7659d9dc27f8d4982274f9b8",
      "bytes": 2367,
      "redacted": true
    }
  ],
  "moves": [
    "K2171",
    "K2172",
    "K2173",
    "K2174"
  ]
}
