{
  "schema": "turkos-public-development-evidence/v1",
  "originalReport": {
    "path": "reports/os-implementation/K2380-network-tools-diagnostic-local-qEMaSf/report.json",
    "sha256": "de70f59b36366fd7b232b29f16eccab4595aa2c289fb3e535bd6106286c0d94c",
    "bytes": 20582
  },
  "status": "K2376_K2379_LOCAL_VALIDATED",
  "scope": "# NETWORK TOOLS DIAGNOSTIC CONTRACT (K2376–K2380)\n\n- **Move Range:** `K2376–K2380`\n- **Phase:** `Phase 18 — Daily Use Applications`\n- **Module:** `network_tools.diagnostic`\n- **Title:** `Route ARP socket görünümü`\n- **Invariant:** `Yetkisiz session ayrıntısı açıklanmaz`\n- **Positive Case:** `Kendi socket ve route listesi` (`k2380-ownroutesock`)\n- **Counterexample:** `Başka principal sessionı` (`k2380-foreignsession`)\n- **Acceptance Criterion:** `Yalnız izinli metadata gösterilir`\n- **Crate:** `os-network-tools` (`src/diagnostic.rs`)\n- **Inspection Symbol:** `os_network_tools_diagnostic`\n\n## 1. Scope and Invariants\n\n1. **No Unauthorized Session Disclosure (`K2376–K2377`):**\n   - The network diagnostic tool (`route`, `arp`, `socket` view) must never disclose unauthorized session details (`unauthorized_session_detail_disclosed == false`, `unauthorized_session_disclosures == 0`) and must display only permitted metadata (`only_permitted_metadata_shown == true`).\n   - Any attempt to disclose unauthorized session details or expose unpermitted metadata is deterministically refused (`NetworkToolsDiagnosticError::UnauthorizedSessionDetailDisclosed`, `NetworkToolsDiagnosticError::UnpermittedMetadataExposed`).\n\n2. **Refusal of Foreign Principal Session Queries (`K2378`):**\n   - Queries targeting another principal's network session (`foreign_principal_session_requested == true`, `k2380-foreignsession`) are refused before any diagnostic view is committed (`NetworkToolsDiagnosticError::ForeignPrincipalSessionRequested`), leaving `committed_receipt()` as `None`.\n\n3. **Own Socket and Route List with Permitted Metadata (`K2379–K2380`):**\n   - The positive path (`k2380-ownroutesock`) commits 4 own socket and route entries (`own_sockets_and_routes == 4`) with 2 authorized ARP entries (`authorized_arp_entries == 2`), 4 permitted metadata fields (`permitted_metadata_fields == 4`), and 0 unauthorized session disclosures (`unauthorized_session_disclosures == 0`), bound by a monotonic `diagnostic_epoch` and FNV-1a digest (`compute_network_tools_diagnostic_binding_digest`).\n",
  "productAccepted": false,
  "tests": {
    "greenCount": 4,
    "positiveName": "os_network_tools_diagnostic_positive",
    "negativeName": "os_network_tools_diagnostic_negative",
    "mutationsRejected": 21
  },
  "caseCount": 0,
  "caseSerialsSelected": 0,
  "imageSha256": null,
  "files": [
    {
      "name": "Cargo.toml",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/Cargo.toml",
      "originalSha256": "6b6da9b2172f24c98ca7e878a4c86dcf30bbe31d553a22a24b15165c13d175af",
      "href": "/os-evidence/6b6da9b2172f24c98ca7e878a4c86dcf30bbe31d553a22a24b15165c13d175af.txt",
      "sha256": "6b6da9b2172f24c98ca7e878a4c86dcf30bbe31d553a22a24b15165c13d175af",
      "bytes": 154,
      "redacted": false
    },
    {
      "name": "NETWORK_TOOLS_DIAGNOSTIC_CONTRACT.md",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/kernel/NETWORK_TOOLS_DIAGNOSTIC_CONTRACT.md",
      "originalSha256": "8fffb17fb4e6b1cfb73faef33108304f36cb208de9861aedd646cf5a2f0fddf8",
      "href": "/os-evidence/8fffb17fb4e6b1cfb73faef33108304f36cb208de9861aedd646cf5a2f0fddf8.txt",
      "sha256": "8fffb17fb4e6b1cfb73faef33108304f36cb208de9861aedd646cf5a2f0fddf8",
      "bytes": 2108,
      "redacted": false
    },
    {
      "name": "diagnostic.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/src/diagnostic.rs",
      "originalSha256": "49596d81fa8e99fcd4e69ae0f60eb8b7796391ee492ac5bb939b03cd7d86d996",
      "href": "/os-evidence/49596d81fa8e99fcd4e69ae0f60eb8b7796391ee492ac5bb939b03cd7d86d996.txt",
      "sha256": "49596d81fa8e99fcd4e69ae0f60eb8b7796391ee492ac5bb939b03cd7d86d996",
      "bytes": 8100,
      "redacted": false
    },
    {
      "name": "lib.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/src/lib.rs",
      "originalSha256": "acb2c4a8cba7d2189df83fb5c55c273a49f2450a8f42d0ee89e68038f7fae105",
      "href": "/os-evidence/acb2c4a8cba7d2189df83fb5c55c273a49f2450a8f42d0ee89e68038f7fae105.txt",
      "sha256": "acb2c4a8cba7d2189df83fb5c55c273a49f2450a8f42d0ee89e68038f7fae105",
      "bytes": 82,
      "redacted": false
    },
    {
      "name": "ping.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/src/ping.rs",
      "originalSha256": "75c68f2499f52f472f830bf88ecce1842e18406eda12c2c7795f08b6d7e283a1",
      "href": "/os-evidence/75c68f2499f52f472f830bf88ecce1842e18406eda12c2c7795f08b6d7e283a1.txt",
      "sha256": "75c68f2499f52f472f830bf88ecce1842e18406eda12c2c7795f08b6d7e283a1",
      "bytes": 7271,
      "redacted": false
    },
    {
      "name": "tcp_tool.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/src/tcp_tool.rs",
      "originalSha256": "0c5033688eaf0990dc995883e69fd7068423c78fb1bfd03e2fa2722ea3030e98",
      "href": "/os-evidence/0c5033688eaf0990dc995883e69fd7068423c78fb1bfd03e2fa2722ea3030e98.txt",
      "sha256": "0c5033688eaf0990dc995883e69fd7068423c78fb1bfd03e2fa2722ea3030e98",
      "bytes": 7674,
      "redacted": false
    },
    {
      "name": "udp_tool.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/src/udp_tool.rs",
      "originalSha256": "80ca8195f486fe66242d6eee68cbbfe7e46d1bac8299fae716365f5a836b1d65",
      "href": "/os-evidence/80ca8195f486fe66242d6eee68cbbfe7e46d1bac8299fae716365f5a836b1d65.txt",
      "sha256": "80ca8195f486fe66242d6eee68cbbfe7e46d1bac8299fae716365f5a836b1d65",
      "bytes": 7773,
      "redacted": false
    },
    {
      "name": "diagnostic.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/tests/diagnostic.rs",
      "originalSha256": "f649731f0eb128fb56d819894a20b443d7b726bd3add95398375eaf47a679eaa",
      "href": "/os-evidence/f649731f0eb128fb56d819894a20b443d7b726bd3add95398375eaf47a679eaa.txt",
      "sha256": "f649731f0eb128fb56d819894a20b443d7b726bd3add95398375eaf47a679eaa",
      "bytes": 6731,
      "redacted": false
    },
    {
      "name": "ping.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/tests/ping.rs",
      "originalSha256": "c7f6fd9d896566a33b57eab59e7d29b63001e769020fdf6206f06c8ffd033391",
      "href": "/os-evidence/c7f6fd9d896566a33b57eab59e7d29b63001e769020fdf6206f06c8ffd033391.txt",
      "sha256": "c7f6fd9d896566a33b57eab59e7d29b63001e769020fdf6206f06c8ffd033391",
      "bytes": 5855,
      "redacted": false
    },
    {
      "name": "tcp_tool.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/tests/tcp_tool.rs",
      "originalSha256": "fd2dd97f494f4549195d9cece1f8a9aba6990a1dbfbb2c6f5602182367917c91",
      "href": "/os-evidence/fd2dd97f494f4549195d9cece1f8a9aba6990a1dbfbb2c6f5602182367917c91.txt",
      "sha256": "fd2dd97f494f4549195d9cece1f8a9aba6990a1dbfbb2c6f5602182367917c91",
      "bytes": 6290,
      "redacted": false
    },
    {
      "name": "udp_tool.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/source/os-network-tools/tests/udp_tool.rs",
      "originalSha256": "05b5877b60ab4f0b543d8bff23bb136945b112803a14cf83855d05444b5cde00",
      "href": "/os-evidence/05b5877b60ab4f0b543d8bff23bb136945b112803a14cf83855d05444b5cde00.txt",
      "sha256": "05b5877b60ab4f0b543d8bff23bb136945b112803a14cf83855d05444b5cde00",
      "bytes": 6307,
      "redacted": false
    },
    {
      "name": "host-tests.log",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/host-tests.log",
      "originalSha256": "e1dfe7746e6272db8619292417a356445df6f7636ada07bf5b2692bf820bc0cf",
      "href": "/os-evidence/56b04fed14ffc41c23dbd54b7687806f6c4b6c24d5d357ccd3dba8e968932781.txt",
      "sha256": "56b04fed14ffc41c23dbd54b7687806f6c4b6c24d5d357ccd3dba8e968932781",
      "bytes": 768,
      "redacted": true
    },
    {
      "name": "positive.log",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/positive.log",
      "originalSha256": "5ad9f3fb199028b168979e7f79649e1b6a3d0dd45d93bc6511cdb7555141abd9",
      "href": "/os-evidence/5ad9f3fb199028b168979e7f79649e1b6a3d0dd45d93bc6511cdb7555141abd9.txt",
      "sha256": "5ad9f3fb199028b168979e7f79649e1b6a3d0dd45d93bc6511cdb7555141abd9",
      "bytes": 439,
      "redacted": false
    },
    {
      "name": "negative.log",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/negative.log",
      "originalSha256": "6c2003e2e6b1c4d619735945e29ccd39644fde80b3ae114187a13be2622014ed",
      "href": "/os-evidence/6c2003e2e6b1c4d619735945e29ccd39644fde80b3ae114187a13be2622014ed.txt",
      "sha256": "6c2003e2e6b1c4d619735945e29ccd39644fde80b3ae114187a13be2622014ed",
      "bytes": 439,
      "redacted": false
    },
    {
      "name": "target.log",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-staging-local-y0tV4I/target.log",
      "originalSha256": "5441341a4f2499e79eeb5b821fa09712f8a1d4bfc48c5ffa1708d20fb32d50f0",
      "href": "/os-evidence/de2dfe723b114dffc999930d8591a5615211a5c5e231110464d17e49fdbb6f52.txt",
      "sha256": "de2dfe723b114dffc999930d8591a5615211a5c5e231110464d17e49fdbb6f52",
      "bytes": 230,
      "redacted": true
    },
    {
      "name": "harness.mjs.txt",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-local-qEMaSf/harness.mjs.txt",
      "originalSha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "href": "/os-evidence/afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284.txt",
      "sha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "bytes": 4604,
      "redacted": false
    },
    {
      "name": "k2380-network-tools-diagnostic.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-candidate-oQQnRY/sources/kernel/src/k2380-network-tools-diagnostic.rs",
      "originalSha256": "2d74c247b1c2afdf4e4b7d840e8c958090e8743b2fceca88ded7313310eecc14",
      "href": "/os-evidence/2d74c247b1c2afdf4e4b7d840e8c958090e8743b2fceca88ded7313310eecc14.txt",
      "sha256": "2d74c247b1c2afdf4e4b7d840e8c958090e8743b2fceca88ded7313310eecc14",
      "bytes": 13580,
      "redacted": false
    },
    {
      "name": "network_tools_diagnostic.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-candidate-oQQnRY/sources/kernel/src/runtime/network_tools_diagnostic.rs",
      "originalSha256": "49596d81fa8e99fcd4e69ae0f60eb8b7796391ee492ac5bb939b03cd7d86d996",
      "href": "/os-evidence/49596d81fa8e99fcd4e69ae0f60eb8b7796391ee492ac5bb939b03cd7d86d996.txt",
      "sha256": "49596d81fa8e99fcd4e69ae0f60eb8b7796391ee492ac5bb939b03cd7d86d996",
      "bytes": 8100,
      "redacted": false
    },
    {
      "name": "main.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-candidate-oQQnRY/sources/kernel/src/main.rs",
      "originalSha256": "014b88f8b2fb53ed333c281f50e6e7008c3a9c2177318984eb284c22869a535e",
      "href": "/os-evidence/52985e44e268738c30f66a4898ba0f3b00c9399ba34ae23675ccd3c0af17dddb.txt",
      "sha256": "52985e44e268738c30f66a4898ba0f3b00c9399ba34ae23675ccd3c0af17dddb",
      "bytes": 2315742,
      "redacted": true
    },
    {
      "name": "mod.rs",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-candidate-oQQnRY/sources/kernel/src/runtime/mod.rs",
      "originalSha256": "65811d07fe2cfc6e34adea3e5a5d85aceaa5988b2f46e199cf8c28393e694f46",
      "href": "/os-evidence/65811d07fe2cfc6e34adea3e5a5d85aceaa5988b2f46e199cf8c28393e694f46.txt",
      "sha256": "65811d07fe2cfc6e34adea3e5a5d85aceaa5988b2f46e199cf8c28393e694f46",
      "bytes": 5612,
      "redacted": false
    },
    {
      "name": "kernel-product.log",
      "source": "reports/os-implementation/K2380-network-tools-diagnostic-candidate-oQQnRY/kernel-product.log",
      "originalSha256": "66f1204ee48d26051f55cb87687682e4fdbbe09e987286a1ee832427425e548d",
      "href": "/os-evidence/0b73df4a181fb61516cc6347dc885c97c086c1617bb36332a8564c27e3e8d2f8.txt",
      "sha256": "0b73df4a181fb61516cc6347dc885c97c086c1617bb36332a8564c27e3e8d2f8",
      "bytes": 2367,
      "redacted": true
    }
  ],
  "moves": [
    "K2376",
    "K2377",
    "K2378",
    "K2379"
  ]
}
