{
  "schema": "turkos-public-development-evidence/v1",
  "originalReport": {
    "path": "reports/os-implementation/K2120-service-crash-loop-local-BwSWfB/report.json",
    "sha256": "ef6c5a61702345a2385bc97e64b5920d26eec4b4f4a202ab7bda909a3e0e5ece",
    "bytes": 19031
  },
  "status": "K2116_K2119_LOCAL_VALIDATED",
  "scope": "# K2116–K2120: a crash loop ends in visible quarantine, not endless restarts\n\nPID1 guards each supervised service with a validated policy: a crash `limit`\n(2..=8) inside a sliding `window` of counter ticks (window > 0). The guard is\nEmpty, Running (one live lease), Restarting (no lease, waiting for the next\ngeneration) or Quarantined (no lease).\n\nA crash report is accepted only from the trusted identity of the running\ngeneration. Crashes older than the window are forgotten first. A crash below\nthe limit asks for one restart (Restarting); the crash that reaches the limit\nquarantines the service instead, recording the quarantine time. A quarantined\nservice holds no lease, is never restarted automatically and refuses further\ncrash, health and start events until an explicit operator recovery. Recovery\nis accepted only from Quarantined; it clears the crash history, counts the\nrecovery and permits exactly one fresh start, which still requires a newer\ngeneration.\n\nA start binds a running generation only from Empty or Restarting and only with\na strictly newer generation of the same PID (or a different PID). Health\nreplies count only from the running generation. Reports from an older\ngeneration or another PID are refused as Stale and change nothing but the\nvisible stale-refusal count. Clock regression is refused without change.\n\nThe guest experiment (K2120) must run in the single product Image: three real\nEL0 service generations crash quickly and the third crash quarantines the\nservice with no lease and no fourth start; a health reply from an older\ngeneration is refused; an explicit recovery then permits one fresh healthy\ngeneration. Restart budgets for health checks (K2106–K2110), dependency stop\n(K2111–K2115) and product release are out of scope.\n",
  "productAccepted": false,
  "tests": {
    "greenCount": 11,
    "positiveName": "os_service_supervision_crash_loop_positive",
    "negativeName": "os_service_supervision_crash_loop_negative",
    "mutationsRejected": 25
  },
  "caseCount": 0,
  "caseSerialsSelected": 0,
  "imageSha256": null,
  "files": [
    {
      "name": "Cargo.toml",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/source/os-service-crashloop/Cargo.toml",
      "originalSha256": "ee5bb7b3fa80205d3f054cdeba29a297437fc856605388718db4a83898613438",
      "href": "/os-evidence/ee5bb7b3fa80205d3f054cdeba29a297437fc856605388718db4a83898613438.txt",
      "sha256": "ee5bb7b3fa80205d3f054cdeba29a297437fc856605388718db4a83898613438",
      "bytes": 139,
      "redacted": false
    },
    {
      "name": "SERVICE_CRASH_LOOP_CONTRACT.md",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/source/kernel/SERVICE_CRASH_LOOP_CONTRACT.md",
      "originalSha256": "e8fb52d6ed7ee369b3db0cbba0c4587ba7210bcbbbe7475d24c5427fd3c9d9f9",
      "href": "/os-evidence/e8fb52d6ed7ee369b3db0cbba0c4587ba7210bcbbbe7475d24c5427fd3c9d9f9.txt",
      "sha256": "e8fb52d6ed7ee369b3db0cbba0c4587ba7210bcbbbe7475d24c5427fd3c9d9f9",
      "bytes": 1776,
      "redacted": false
    },
    {
      "name": "crashloop.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/source/os-service-crashloop/src/crashloop.rs",
      "originalSha256": "d15be181c7ae8d10f86fa1e5bc2b0c9740507453de571418ee49eee00752dea8",
      "href": "/os-evidence/d15be181c7ae8d10f86fa1e5bc2b0c9740507453de571418ee49eee00752dea8.txt",
      "sha256": "d15be181c7ae8d10f86fa1e5bc2b0c9740507453de571418ee49eee00752dea8",
      "bytes": 4518,
      "redacted": false
    },
    {
      "name": "lib.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/source/os-service-crashloop/src/lib.rs",
      "originalSha256": "81cc40d0627d7645097bc50a99c9cf901d86f2c0accb99ad5ff48652c319ff32",
      "href": "/os-evidence/81cc40d0627d7645097bc50a99c9cf901d86f2c0accb99ad5ff48652c319ff32.txt",
      "sha256": "81cc40d0627d7645097bc50a99c9cf901d86f2c0accb99ad5ff48652c319ff32",
      "bytes": 30,
      "redacted": false
    },
    {
      "name": "crashloop.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/source/os-service-crashloop/tests/crashloop.rs",
      "originalSha256": "f4e4b3bbe38463e2ae677a6da003e78a80d8666dc168bcc850aa8de8f3598969",
      "href": "/os-evidence/f4e4b3bbe38463e2ae677a6da003e78a80d8666dc168bcc850aa8de8f3598969.txt",
      "sha256": "f4e4b3bbe38463e2ae677a6da003e78a80d8666dc168bcc850aa8de8f3598969",
      "bytes": 4817,
      "redacted": false
    },
    {
      "name": "host-tests.log",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/host-tests.log",
      "originalSha256": "ff00419f795bb03c4ed3d2cbbb18a9646a4e6c67a686504545936ad55154dd72",
      "href": "/os-evidence/0a15f18c087ac96d0a78362a36fdda81870d4ba2c760b05749375c401f94d069.txt",
      "sha256": "0a15f18c087ac96d0a78362a36fdda81870d4ba2c760b05749375c401f94d069",
      "bytes": 1300,
      "redacted": true
    },
    {
      "name": "positive.log",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/positive.log",
      "originalSha256": "bb1dd3062c9e353a3e3cdab8088fa2a4fc93e4c8dcbf60c33de314856823d76b",
      "href": "/os-evidence/bb1dd3062c9e353a3e3cdab8088fa2a4fc93e4c8dcbf60c33de314856823d76b.txt",
      "sha256": "bb1dd3062c9e353a3e3cdab8088fa2a4fc93e4c8dcbf60c33de314856823d76b",
      "bytes": 442,
      "redacted": false
    },
    {
      "name": "negative.log",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/negative.log",
      "originalSha256": "a4b992efd71d8eaffa2ccc01931603bc6d84fd0274c3e3eeaedea6195ff596db",
      "href": "/os-evidence/a4b992efd71d8eaffa2ccc01931603bc6d84fd0274c3e3eeaedea6195ff596db.txt",
      "sha256": "a4b992efd71d8eaffa2ccc01931603bc6d84fd0274c3e3eeaedea6195ff596db",
      "bytes": 442,
      "redacted": false
    },
    {
      "name": "target.log",
      "source": "reports/os-implementation/K2120-service-crash-loop-staging-local-7Y4ToI/target.log",
      "originalSha256": "667c604d9912fc2066a949d1074921d28d1f04c1c7eb5c1d96d087dcbcf5ee82",
      "href": "/os-evidence/dcc275aa3da042223907b681a96b7c7f7a8f2015e13040d45e6e526427c72dfc.txt",
      "sha256": "dcc275aa3da042223907b681a96b7c7f7a8f2015e13040d45e6e526427c72dfc",
      "bytes": 232,
      "redacted": true
    },
    {
      "name": "harness.mjs.txt",
      "source": "reports/os-implementation/K2120-service-crash-loop-local-BwSWfB/harness.mjs.txt",
      "originalSha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "href": "/os-evidence/afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284.txt",
      "sha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "bytes": 4604,
      "redacted": false
    },
    {
      "name": "k2120-service-crash-loop.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-candidate-5Y8EsM/sources/kernel/src/k2120-service-crash-loop.rs",
      "originalSha256": "a2a6a0a890b69996a7e04d3c068bd5f7b0edf1dca13e27edd0f22a456bed1ab3",
      "href": "/os-evidence/a2a6a0a890b69996a7e04d3c068bd5f7b0edf1dca13e27edd0f22a456bed1ab3.txt",
      "sha256": "a2a6a0a890b69996a7e04d3c068bd5f7b0edf1dca13e27edd0f22a456bed1ab3",
      "bytes": 6235,
      "redacted": false
    },
    {
      "name": "service_crashloop.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-candidate-5Y8EsM/sources/kernel/src/runtime/service_crashloop.rs",
      "originalSha256": "d15be181c7ae8d10f86fa1e5bc2b0c9740507453de571418ee49eee00752dea8",
      "href": "/os-evidence/d15be181c7ae8d10f86fa1e5bc2b0c9740507453de571418ee49eee00752dea8.txt",
      "sha256": "d15be181c7ae8d10f86fa1e5bc2b0c9740507453de571418ee49eee00752dea8",
      "bytes": 4518,
      "redacted": false
    },
    {
      "name": "main.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-candidate-5Y8EsM/sources/kernel/src/main.rs",
      "originalSha256": "d4ba4e5139757a8f946f3bfb74472e52ae092bf2123af094f0faa8160664ec62",
      "href": "/os-evidence/2a0e70a075a92a1d4621d3e0e47dbc1749649638b7e5c294b8f7b7716c150614.txt",
      "sha256": "2a0e70a075a92a1d4621d3e0e47dbc1749649638b7e5c294b8f7b7716c150614",
      "bytes": 2306473,
      "redacted": true
    },
    {
      "name": "mod.rs",
      "source": "reports/os-implementation/K2120-service-crash-loop-candidate-5Y8EsM/sources/kernel/src/runtime/mod.rs",
      "originalSha256": "980ffee5603e06bddc99cb56e4b1d17b629a1653d5ddc900c09a464a4b983bb5",
      "href": "/os-evidence/980ffee5603e06bddc99cb56e4b1d17b629a1653d5ddc900c09a464a4b983bb5.txt",
      "sha256": "980ffee5603e06bddc99cb56e4b1d17b629a1653d5ddc900c09a464a4b983bb5",
      "bytes": 4015,
      "redacted": false
    },
    {
      "name": "kernel-product.log",
      "source": "reports/os-implementation/K2120-service-crash-loop-candidate-5Y8EsM/kernel-product.log",
      "originalSha256": "bf5a6c404e08510fadf7ef3605b5688605cbb84c4b99a5e52fbe8926100190e2",
      "href": "/os-evidence/bf4cee31ceb1467608da6c26e6c5f9507c5637e9f054fe08e9ddca3942625385.txt",
      "sha256": "bf4cee31ceb1467608da6c26e6c5f9507c5637e9f054fe08e9ddca3942625385",
      "bytes": 2295,
      "redacted": true
    }
  ],
  "moves": [
    "K2116",
    "K2117",
    "K2118",
    "K2119"
  ]
}
