{
  "schema": "turkos-public-development-evidence/v1",
  "originalReport": {
    "path": "reports/os-implementation/K2140-guest-power-fallback-local-5AIZQd/report.json",
    "sha256": "ea869f9424aaa20196bf29aaaba6fe8001fcc36aa780a55ae96281ef21da385c",
    "bytes": 20651
  },
  "status": "K2136_K2139_LOCAL_VALIDATED",
  "scope": "# K2136–K2140: Unsupported power path enters bounded degraded park without false success\n\nWhen a guest power operation (`Off` or `Reset`) is requested on a profile where\nPSCI is absent, disabled, or reports the operation as unsupported (`< 0`), or\nwhen a firmware call unexpectedly returns an error code (`< 0`), the kernel must\nnever report a successful shutdown/reboot and must never enter an unbounded\nretry loop.\n\nThe fallback policy configures a bounded `max_attempts` (`1..=4`). Each failed\nattempt records the firmware status code and increments `attempts`. Once\n`attempts` reaches `max_attempts` (or immediately when the platform probe is\nunsupported), the fallback controller transitions to `Phase::DegradedParked`,\nrecords the explicit degraded reason (`UnsupportedProfile` or\n`FirmwareRejected`), and refuses any further retry with `Error::RetryLimit` so\nan infinite retry loop is impossible.\n\nThe degraded park diagnosis (`guest_parked = true`, `claimed_success = false`,\n`host_timeout = false`) is kept strictly separate from a host-side runner\ntimeout (`host_timeout = true`) and from a false success claim\n(`claimed_success = true`), which are rejected with `Error::HostTimeoutConfused`\nand `Error::FalseSuccessClaim`.\n\nIn the K2140 guest experiment on the single product Image, the kernel queries\nreal QEMU PSCI `PSCI_FEATURES` with an unsupported function ID (`-1`) alongside\nthe bounded retry controller, verifies that an EL0 shell tool is denied, and\nverifies that EL0 PID1's power request on an unsupported/failing profile\nexhausts the bounded retry budget, refuses an extra retry (`RetryLimit`), enters\n`DegradedParked` without claiming success, and separates the guest's degraded\npark diagnosis from a host timeout.\n",
  "productAccepted": false,
  "tests": {
    "greenCount": 5,
    "positiveName": "os_guest_power_fallback_positive",
    "negativeName": "os_guest_power_fallback_negative",
    "mutationsRejected": 26
  },
  "caseCount": 0,
  "caseSerialsSelected": 0,
  "imageSha256": null,
  "files": [
    {
      "name": "Cargo.toml",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/Cargo.toml",
      "originalSha256": "2d7e8604a7eb1465f862f5c775d1bc64c772cf093d4d0a83ea4686704c274a6d",
      "href": "/os-evidence/2d7e8604a7eb1465f862f5c775d1bc64c772cf093d4d0a83ea4686704c274a6d.txt",
      "sha256": "2d7e8604a7eb1465f862f5c775d1bc64c772cf093d4d0a83ea4686704c274a6d",
      "bytes": 135,
      "redacted": false
    },
    {
      "name": "GUEST_POWER_FALLBACK_CONTRACT.md",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/kernel/GUEST_POWER_FALLBACK_CONTRACT.md",
      "originalSha256": "568964b5f4a302eaed608ac23e552162294c395c3724586ec26e95744069eff3",
      "href": "/os-evidence/568964b5f4a302eaed608ac23e552162294c395c3724586ec26e95744069eff3.txt",
      "sha256": "568964b5f4a302eaed608ac23e552162294c395c3724586ec26e95744069eff3",
      "bytes": 1740,
      "redacted": false
    },
    {
      "name": "capability.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/src/capability.rs",
      "originalSha256": "dff50d7e42b9d4298117dd566a9d43488d04fdb77466fce4eadf2fa50fc0e2f9",
      "href": "/os-evidence/dff50d7e42b9d4298117dd566a9d43488d04fdb77466fce4eadf2fa50fc0e2f9.txt",
      "sha256": "dff50d7e42b9d4298117dd566a9d43488d04fdb77466fce4eadf2fa50fc0e2f9",
      "bytes": 3684,
      "redacted": false
    },
    {
      "name": "fallback.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/src/fallback.rs",
      "originalSha256": "464334688410a1f900444f6d9c7e3b017d9cc04a96c1b9496f76ccdb3a5fbdc2",
      "href": "/os-evidence/464334688410a1f900444f6d9c7e3b017d9cc04a96c1b9496f76ccdb3a5fbdc2.txt",
      "sha256": "464334688410a1f900444f6d9c7e3b017d9cc04a96c1b9496f76ccdb3a5fbdc2",
      "bytes": 3782,
      "redacted": false
    },
    {
      "name": "lib.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/src/lib.rs",
      "originalSha256": "22cbeaabf6a01ecede189a1841f1b80d54d1ca7a0d74e700cdb0b31615605229",
      "href": "/os-evidence/22cbeaabf6a01ecede189a1841f1b80d54d1ca7a0d74e700cdb0b31615605229.txt",
      "sha256": "22cbeaabf6a01ecede189a1841f1b80d54d1ca7a0d74e700cdb0b31615605229",
      "bytes": 87,
      "redacted": false
    },
    {
      "name": "psci_off.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/src/psci_off.rs",
      "originalSha256": "df39a6a015a3e2fd0c6890189f1c0d9165194ec6a9b414f2ffe877c84e6d3c67",
      "href": "/os-evidence/df39a6a015a3e2fd0c6890189f1c0d9165194ec6a9b414f2ffe877c84e6d3c67.txt",
      "sha256": "df39a6a015a3e2fd0c6890189f1c0d9165194ec6a9b414f2ffe877c84e6d3c67",
      "bytes": 4062,
      "redacted": false
    },
    {
      "name": "psci_reset.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/src/psci_reset.rs",
      "originalSha256": "0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d",
      "href": "/os-evidence/0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d.txt",
      "sha256": "0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d",
      "bytes": 4559,
      "redacted": false
    },
    {
      "name": "capability.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/tests/capability.rs",
      "originalSha256": "ca522b1cbe90a0ef08067d53e530a4d44eddcd147d5bb7481bd35d5cdab38208",
      "href": "/os-evidence/ca522b1cbe90a0ef08067d53e530a4d44eddcd147d5bb7481bd35d5cdab38208.txt",
      "sha256": "ca522b1cbe90a0ef08067d53e530a4d44eddcd147d5bb7481bd35d5cdab38208",
      "bytes": 4513,
      "redacted": false
    },
    {
      "name": "fallback.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/tests/fallback.rs",
      "originalSha256": "eb35e28a3ae94cda507bd4f1cdb54b07b3e99aeac4d9d9902170c9222d076620",
      "href": "/os-evidence/eb35e28a3ae94cda507bd4f1cdb54b07b3e99aeac4d9d9902170c9222d076620.txt",
      "sha256": "eb35e28a3ae94cda507bd4f1cdb54b07b3e99aeac4d9d9902170c9222d076620",
      "bytes": 3522,
      "redacted": false
    },
    {
      "name": "psci_off.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/tests/psci_off.rs",
      "originalSha256": "79f91ea69fe97152ea929ef243f777e4994a2b086dcd110409de01310b80ae56",
      "href": "/os-evidence/79f91ea69fe97152ea929ef243f777e4994a2b086dcd110409de01310b80ae56.txt",
      "sha256": "79f91ea69fe97152ea929ef243f777e4994a2b086dcd110409de01310b80ae56",
      "bytes": 4388,
      "redacted": false
    },
    {
      "name": "psci_reset.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/source/os-guest-power/tests/psci_reset.rs",
      "originalSha256": "1c667a2dfe54d61bad7a498a70ecf79fa93b8583eb5bbeacd14eb59e1c87a49c",
      "href": "/os-evidence/1c667a2dfe54d61bad7a498a70ecf79fa93b8583eb5bbeacd14eb59e1c87a49c.txt",
      "sha256": "1c667a2dfe54d61bad7a498a70ecf79fa93b8583eb5bbeacd14eb59e1c87a49c",
      "bytes": 4202,
      "redacted": false
    },
    {
      "name": "host-tests.log",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/host-tests.log",
      "originalSha256": "c846901f04028a15a69c9821fd2e7579e34d20feb1dba052d5ee6e449ada9c69",
      "href": "/os-evidence/86fe52e233b84765e7783f9c599c2832c12847ed0105299500f2feb004fd78e5.txt",
      "sha256": "86fe52e233b84765e7783f9c599c2832c12847ed0105299500f2feb004fd78e5",
      "bytes": 809,
      "redacted": true
    },
    {
      "name": "positive.log",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/positive.log",
      "originalSha256": "092a53b3f4c3c5eb7710a0b7bbf8b5148f934439323cee726c05ecaa35276001",
      "href": "/os-evidence/092a53b3f4c3c5eb7710a0b7bbf8b5148f934439323cee726c05ecaa35276001.txt",
      "sha256": "092a53b3f4c3c5eb7710a0b7bbf8b5148f934439323cee726c05ecaa35276001",
      "bytes": 425,
      "redacted": false
    },
    {
      "name": "negative.log",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/negative.log",
      "originalSha256": "cc0221e33b2c2d2572ee2268293c48d73ac90d7bae308c2f90df2ef230638e2a",
      "href": "/os-evidence/cc0221e33b2c2d2572ee2268293c48d73ac90d7bae308c2f90df2ef230638e2a.txt",
      "sha256": "cc0221e33b2c2d2572ee2268293c48d73ac90d7bae308c2f90df2ef230638e2a",
      "bytes": 425,
      "redacted": false
    },
    {
      "name": "target.log",
      "source": "reports/os-implementation/K2140-guest-power-fallback-staging-local-fZvpDF/target.log",
      "originalSha256": "6ec0cfd6c87649cbf3b20d84bc6afa3cca3bbf687fb6dc13cdd0b5cd05a33ddb",
      "href": "/os-evidence/8b86d5dee90c2acdda452562333620af93cfcf5c14671cc9b3f1e52b11c178b7.txt",
      "sha256": "8b86d5dee90c2acdda452562333620af93cfcf5c14671cc9b3f1e52b11c178b7",
      "bytes": 222,
      "redacted": true
    },
    {
      "name": "harness.mjs.txt",
      "source": "reports/os-implementation/K2140-guest-power-fallback-local-5AIZQd/harness.mjs.txt",
      "originalSha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "href": "/os-evidence/afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284.txt",
      "sha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "bytes": 4604,
      "redacted": false
    },
    {
      "name": "k2140-guest-power-fallback.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-candidate-Du2ayN/sources/kernel/src/k2140-guest-power-fallback.rs",
      "originalSha256": "bbd24906ee4ad3aff00d0a2c5c44cc83ff9963a0f8e839917b1561f6ba93db2c",
      "href": "/os-evidence/bbd24906ee4ad3aff00d0a2c5c44cc83ff9963a0f8e839917b1561f6ba93db2c.txt",
      "sha256": "bbd24906ee4ad3aff00d0a2c5c44cc83ff9963a0f8e839917b1561f6ba93db2c",
      "bytes": 10412,
      "redacted": false
    },
    {
      "name": "guest_power_fallback.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-candidate-Du2ayN/sources/kernel/src/runtime/guest_power_fallback.rs",
      "originalSha256": "464334688410a1f900444f6d9c7e3b017d9cc04a96c1b9496f76ccdb3a5fbdc2",
      "href": "/os-evidence/464334688410a1f900444f6d9c7e3b017d9cc04a96c1b9496f76ccdb3a5fbdc2.txt",
      "sha256": "464334688410a1f900444f6d9c7e3b017d9cc04a96c1b9496f76ccdb3a5fbdc2",
      "bytes": 3782,
      "redacted": false
    },
    {
      "name": "main.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-candidate-Du2ayN/sources/kernel/src/main.rs",
      "originalSha256": "7b84731ece7d9b3fd0e77abe8277cd3a6da790506ccdcf99db7fe9dadac08894",
      "href": "/os-evidence/e492b560f342f67bc57bf8ebeda0c2f9a7107f648eb8b74eee10a6a8ea9f34f0.txt",
      "sha256": "e492b560f342f67bc57bf8ebeda0c2f9a7107f648eb8b74eee10a6a8ea9f34f0",
      "bytes": 2307225,
      "redacted": true
    },
    {
      "name": "mod.rs",
      "source": "reports/os-implementation/K2140-guest-power-fallback-candidate-Du2ayN/sources/kernel/src/runtime/mod.rs",
      "originalSha256": "e6edc303576b563ac41965a2bdad437a3f6739053737f494b1e77623c36fbe0e",
      "href": "/os-evidence/e6edc303576b563ac41965a2bdad437a3f6739053737f494b1e77623c36fbe0e.txt",
      "sha256": "e6edc303576b563ac41965a2bdad437a3f6739053737f494b1e77623c36fbe0e",
      "bytes": 4143,
      "redacted": false
    },
    {
      "name": "kernel-product.log",
      "source": "reports/os-implementation/K2140-guest-power-fallback-candidate-Du2ayN/kernel-product.log",
      "originalSha256": "912827189f77c25f6257306e58a36a3fe5087f97987678f8d22e592384c2ce4c",
      "href": "/os-evidence/e1c168432dbc3c510c3e778501512af90f0fe7465044bf98a898d4df79b8fc7d.txt",
      "sha256": "e1c168432dbc3c510c3e778501512af90f0fe7465044bf98a898d4df79b8fc7d",
      "bytes": 2319,
      "redacted": true
    }
  ],
  "moves": [
    "K2136",
    "K2137",
    "K2138",
    "K2139"
  ]
}
