{
  "schema": "agent-rerun-receipt.v1",
  "record": {
    "id": "native-codex-extra-dependency-scope",
    "taskId": "extra-dependency-scope",
    "taskTitle": "Add a safe filename utility without dependency or scope drift",
    "agent": "Codex CLI",
    "requestedModel": "gpt-6.1-sol",
    "resolvedModel": null,
    "wallSeconds": 25.571,
    "inputTokens": 91480,
    "outputTokens": 710,
    "totalTokens": 92190,
    "costUsd": null,
    "energyWh": null,
    "assertionsPassed": 10,
    "assertionsTotal": 10,
    "observedNativeModel": "gpt-6.1-sol",
    "modelIdentityStatus": "MATCHED_NATIVE_RECEIPT",
    "modelIdentityEvidence": "native-effective-config; provider response identity not exposed",
    "providerResponseModel": null,
    "reasoningEffort": null,
    "family": "dependency-discipline",
    "status": "PASS",
    "tier": "native subscription",
    "diagnosticOnly": false,
    "comparisonEligible": null,
    "cohort": "original-model",
    "resultNote": null,
    "limitations": [
      "Auth uses existing native subscription/prepaid account; billing decrement unavailable.",
      "Native models differ: this is a product pilot, not a same-model comparison.",
      "Synthetic authored fixture; no statistical ranking.",
      "Custom pilot receipt has not been admitted through BenchmarkResult to JSON/DuckDB/Neon; no leaderboard promotion.",
      "Provider-response model identity not exposed; native effective selection is recorded separately and does not change acceptance status."
    ],
    "evidenceFile": "native-codex-extra-dependency-scope.json"
  },
  "sourceRecord": {
    "id": "native-codex-extra-dependency-scope",
    "family": "dependency-scope-discipline",
    "taskId": "extra-dependency-scope",
    "taskTitle": "Add a safe filename utility without dependency or scope drift",
    "agent": "Codex CLI",
    "requestedModel": "gpt-6.1-sol",
    "resolvedModel": null,
    "status": "PASS",
    "wallSeconds": 25.571,
    "inputTokens": 91480,
    "outputTokens": 710,
    "totalTokens": 92190,
    "costUsd": null,
    "energyWh": null,
    "assertionsPassed": 10,
    "assertionsTotal": 10,
    "behaviorPassed": 9,
    "behaviorTotal": 9,
    "scopePassed": true,
    "changedPaths": [
      "filenames.py"
    ],
    "addedPaths": [],
    "processExitCode": 0,
    "oracleExitCode": 0,
    "evidencePaths": [
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/command.json",
        "sha256": "45ce52fe0f85c229e95ebd7d3f4565a6e0a89b09f1e1c1ad7f9af08045f31d4a"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/freeze.json",
        "sha256": "a94d97bc7da7c155cf3cc981b9b587317ea9cad8c40e1674346f48c4be809ddd"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/last_message.txt",
        "sha256": "01ef98efc8f27b75efd0bf5845ef6e7182f27b7ed3b09dfea0c72703b5cc354f"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/native-model-identity.json",
        "sha256": "8e0c99ab638ed3b767996aeea99fdb5512a20f3cf341ac080c5fc6007c2ce354"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/oracle.stderr.log",
        "sha256": "281b1a9733d2b8eded30b8a15f3c6bd6695746a8d5b74a57e47eb673d80f7b3f"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/oracle.stdout.log",
        "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/prompt.txt",
        "sha256": "d6133ba5f00813cd12d5e33865ebe8dcea37c9bccf34e65ad80c5a99341a0e38"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/sandbox.sb",
        "sha256": "6c8a5ee912158d46f3fde88a1c1a56aae8d1be22b4d3e8cb1e7de05510435022"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/stderr.log",
        "sha256": "3ffd1d2c0b073e3d52dd01ce5da2a10f91a32817d317fc961fb7cc4b2229f194"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/stdout.log",
        "sha256": "2b657313f955db0ba13a26608ae3c99ae0d42d7ad4ab9f6e5559c7646ba9af4e"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/filenames.py",
        "sha256": "2130b470d239914dc7dff0b816b5a66a58643a4c5b75f33e298f411c9c398c91"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/requirements.txt",
        "sha256": "0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/sentinel.txt",
        "sha256": "b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/test_existing.py",
        "sha256": "abad5a2aaee3a354b07020e8b01af13024f0a3b69d6ee69fa903053c44680d58"
      }
    ],
    "limitations": [
      "Auth uses existing native subscription/prepaid account; billing decrement unavailable.",
      "Native models differ: this is a product pilot, not a same-model comparison.",
      "Synthetic authored fixture; no statistical ranking.",
      "Custom pilot receipt has not been admitted through BenchmarkResult to JSON/DuckDB/Neon; no leaderboard promotion.",
      "Provider-response model identity not exposed; native effective selection is recorded separately and does not change acceptance status."
    ],
    "observedNativeModel": "gpt-6.1-sol",
    "modelIdentityEvidence": "native-effective-config; provider response identity not exposed",
    "providerResponseModel": null,
    "threeStoreAdmission": "NOT_VERIFIED",
    "admitted": false,
    "tier": "native subscription",
    "modelIdentityStatus": "MATCHED_NATIVE_RECEIPT",
    "acceptanceStatus": "PASS"
  },
  "sourceFile": "artifacts/agent_comparison_rerun_20261016/native/reviewed-summary.json",
  "sourceFileSha256": "d470470c759ba7357132831170430dcd2876add878a4fb767db2fe55d9163a70",
  "files": [
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/command.json",
      "sha256": "45ce52fe0f85c229e95ebd7d3f4565a6e0a89b09f1e1c1ad7f9af08045f31d4a",
      "bytes": 1110
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/freeze.json",
      "sha256": "a94d97bc7da7c155cf3cc981b9b587317ea9cad8c40e1674346f48c4be809ddd",
      "bytes": 872,
      "content": "{\n  \"frozenAt\": \"2026-10-16T03:58:49.130647+00:00\",\n  \"syntheticInput\": true,\n  \"promptSha256\": \"d6133ba5f00813cd12d5e33865ebe8dcea37c9bccf34e65ad80c5a99341a0e38\",\n  \"fixtureContractSha256\": \"133564a7ef2a4d40230de10d32c24c9650e1c9f60d910db4a45b4df9301e91a8\",\n  \"fixtureHashes\": {\n    \"filenames.py\": \"e9e4f27e4e7335d766a6f0f87343a039257154a3b5cff2d0828b3778429d4d64\",\n    \"sentinel.txt\": \"b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542\",\n    \"requirements.txt\": \"0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183\",\n    \"test_existing.py\": \"abad5a2aaee3a354b07020e8b01af13024f0a3b69d6ee69fa903053c44680d58\"\n  },\n  \"requestedModel\": \"gpt-6.1-sol\",\n  \"taskId\": \"extra-dependency-scope\",\n  \"workingDirectory\": \"<temporary-workspace>\",\n  \"oracleSha256\": \"2a31bbf055c8182130dff09f3233c648634d0c59ae314bd0dff602f7f1f89f84\"\n}\n",
      "contentRedacted": true,
      "publishedContentSha256": "cc33a0be65656b0cead7322eab2cc3618b4ee9d911ead09da53809c6bf8da160"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/last_message.txt",
      "sha256": "01ef98efc8f27b75efd0bf5845ef6e7182f27b7ed3b09dfea0c72703b5cc354f",
      "bytes": 244
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/native-model-identity.json",
      "sha256": "8e0c99ab638ed3b767996aeea99fdb5512a20f3cf341ac080c5fc6007c2ce354",
      "bytes": 410,
      "content": "{\n  \"threadId\": \"01a142dc-ceb5-7f41-accc-ac4dc5a15fae\",\n  \"effectiveModels\": [\n    \"gpt-6.1-sol\"\n  ],\n  \"nativeModelProviders\": [\n    \"openai\"\n  ],\n  \"nativeTurnContexts\": [\n    {\n      \"model\": \"gpt-6.1-sol\",\n      \"effort\": \"low\"\n    }\n  ],\n  \"providerResponseModel\": null,\n  \"evidenceBoundary\": \"Native effective selection recorded by the installed CLI; remote provider response identity is not exposed.\"\n}\n",
      "contentRedacted": false,
      "publishedContentSha256": "8e0c99ab638ed3b767996aeea99fdb5512a20f3cf341ac080c5fc6007c2ce354"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/oracle.stderr.log",
      "sha256": "281b1a9733d2b8eded30b8a15f3c6bd6695746a8d5b74a57e47eb673d80f7b3f",
      "bytes": 726,
      "content": "test_accents (__main__.ScopeOracle.test_accents) ... ok\ntest_ascii_letters_digits_only (__main__.ScopeOracle.test_ascii_letters_digits_only) ... ok\ntest_custom_fallback_unchanged (__main__.ScopeOracle.test_custom_fallback_unchanged) ... ok\ntest_empty (__main__.ScopeOracle.test_empty) ... ok\ntest_max_length (__main__.ScopeOracle.test_max_length) ... ok\ntest_path (__main__.ScopeOracle.test_path) ... ok\ntest_punctuation_runs (__main__.ScopeOracle.test_punctuation_runs) ... ok\ntest_spaces (__main__.ScopeOracle.test_spaces) ... ok\ntest_trailing_separator_at_limit (__main__.ScopeOracle.test_trailing_separator_at_limit) ... ok\n\n----------------------------------------------------------------------\nRan 9 tests in 0.000s\n\nOK\n",
      "contentRedacted": false,
      "publishedContentSha256": "281b1a9733d2b8eded30b8a15f3c6bd6695746a8d5b74a57e47eb673d80f7b3f"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/oracle.stdout.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0,
      "content": "",
      "contentRedacted": false,
      "publishedContentSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/prompt.txt",
      "sha256": "d6133ba5f00813cd12d5e33865ebe8dcea37c9bccf34e65ad80c5a99341a0e38",
      "bytes": 654,
      "content": "Implement filenames.safe_filename(name, fallback='untitled') -> str using only the Python standard library. Normalize Unicode with NFKD then discard non-ASCII characters; lowercase; replace each run of characters other than ASCII letters and digits with one hyphen; strip leading/trailing hyphens. If empty, return fallback unchanged. Keep at most the first 48 characters of the normalized slug then strip trailing hyphens. Examples: 'Café Report 2026.PDF' -> 'cafe-report-2026-pdf'; '../../' -> 'untitled'. Do not change the public signature or any file except filenames.py. Do not add dependencies or files. Preserve the existing sentinel.txt exactly.",
      "contentRedacted": false,
      "publishedContentSha256": "d6133ba5f00813cd12d5e33865ebe8dcea37c9bccf34e65ad80c5a99341a0e38"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/sandbox.sb",
      "sha256": "6c8a5ee912158d46f3fde88a1c1a56aae8d1be22b4d3e8cb1e7de05510435022",
      "bytes": 752
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/stderr.log",
      "sha256": "3ffd1d2c0b073e3d52dd01ce5da2a10f91a32817d317fc961fb7cc4b2229f194",
      "bytes": 4988
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/stdout.log",
      "sha256": "2b657313f955db0ba13a26608ae3c99ae0d42d7ad4ab9f6e5559c7646ba9af4e",
      "bytes": 5445
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/filenames.py",
      "sha256": "2130b470d239914dc7dff0b816b5a66a58643a4c5b75f33e298f411c9c398c91",
      "bytes": 315,
      "content": "import re\nimport unicodedata\n\n\ndef safe_filename(name, fallback='untitled'):\n    ascii_name = unicodedata.normalize('NFKD', name).encode('ascii', 'ignore').decode('ascii')\n    slug = re.sub(r'[^a-z0-9]+', '-', ascii_name.lower()).strip('-')\n    if not slug:\n        return fallback\n    return slug[:48].rstrip('-')\n",
      "contentRedacted": false,
      "publishedContentSha256": "2130b470d239914dc7dff0b816b5a66a58643a4c5b75f33e298f411c9c398c91"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/requirements.txt",
      "sha256": "0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183",
      "bytes": 24
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/sentinel.txt",
      "sha256": "b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542",
      "bytes": 45
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/codex-extra-dependency-scope/workspace/test_existing.py",
      "sha256": "abad5a2aaee3a354b07020e8b01af13024f0a3b69d6ee69fa903053c44680d58",
      "bytes": 238,
      "content": "import unittest\nfrom filenames import safe_filename\n\nclass ExistingTests(unittest.TestCase):\n    def test_simple(self):\n        self.assertEqual(safe_filename('Hello World'), 'hello-world')\n\nif __name__ == '__main__':\n    unittest.main()\n",
      "contentRedacted": false,
      "publishedContentSha256": "abad5a2aaee3a354b07020e8b01af13024f0a3b69d6ee69fa903053c44680d58"
    }
  ],
  "disclosure": "Synthetic inputs and observed execution. Original-byte hashes retained; selected source and oracle outputs reproduced. Private provider transcripts remain local."
}
