{
  "schema": "agent-rerun-receipt.v1",
  "record": {
    "id": "native-claude-extra-dependency-scope",
    "taskId": "extra-dependency-scope",
    "taskTitle": "Add a safe filename utility without dependency or scope drift",
    "agent": "Claude Code",
    "requestedModel": "claude-sonnet-5-5",
    "resolvedModel": "claude-sonnet-5-5",
    "wallSeconds": 16.218,
    "inputTokens": 85576,
    "outputTokens": 908,
    "totalTokens": 86484,
    "costUsd": null,
    "energyWh": null,
    "assertionsPassed": 10,
    "assertionsTotal": 10,
    "observedNativeModel": "claude-sonnet-5-5",
    "modelIdentityStatus": "MATCHED_NATIVE_RECEIPT",
    "modelIdentityEvidence": "native exporter modelUsage canonical model",
    "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.",
      "Original raw receipt retained FAIL9/10 because pytest runtime cache was counted as authored code. Independent replay corrected this oracle inconsistency: same candidate9/9 behavior plus source scope passes. No new inference or response replacement."
    ],
    "evidenceFile": "native-claude-extra-dependency-scope.json"
  },
  "sourceRecord": {
    "id": "native-claude-extra-dependency-scope",
    "family": "dependency-scope-discipline",
    "taskId": "extra-dependency-scope",
    "taskTitle": "Add a safe filename utility without dependency or scope drift",
    "agent": "Claude Code",
    "requestedModel": "claude-sonnet-5-5",
    "resolvedModel": "claude-sonnet-5-5",
    "status": "PASS",
    "wallSeconds": 16.218,
    "inputTokens": 85576,
    "outputTokens": 908,
    "totalTokens": 86484,
    "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/claude-extra-dependency-scope/command.json",
        "sha256": "dd1538c68cdaf39cb761e47fa9eed3ac91e790c10d1e39a779c20e00be2327e4"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/freeze.json",
        "sha256": "3ad7be3a4db25c6ba9a5c05d116a786d05f53103cea590befd1cc402a21a0b88"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/oracle.stderr.log",
        "sha256": "281b1a9733d2b8eded30b8a15f3c6bd6695746a8d5b74a57e47eb673d80f7b3f"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/oracle.stdout.log",
        "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/prompt.txt",
        "sha256": "d6133ba5f00813cd12d5e33865ebe8dcea37c9bccf34e65ad80c5a99341a0e38"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/sandbox.sb",
        "sha256": "674f4061e7850a2be9fe9f0dd19f7fbc8325b179fdde55b588469eefb12f9bee"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/stderr.log",
        "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/stdout.log",
        "sha256": "2bd8150e57d83da647abd7ca820709825a044fab335801459fbbf4b590a5c683"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/.gitignore",
        "sha256": "3ed731b65d06150c138e2dadb0be0697550888a6b47eb8c45ecc9adba8b8e9bd"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/CACHEDIR.TAG",
        "sha256": "37dc88ef9a0abeddbe81053a6dd8fdfb13afb613045ea1eb4a5c815a74a3bde4"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/README.md",
        "sha256": "73fd6fccdd802c419a6b2d983d6c3173b7da97558ac4b589edec2dfe443db9ad"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/v/cache/nodeids",
        "sha256": "5ea555956c76288500a8e0008890aab650cd5931510803a0a8738562d50571c7"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/filenames.py",
        "sha256": "242f04b2d4fac95e0d432d0fd85b8427cce3ea4c180b75ef91379fd5e6d86a21"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/requirements.txt",
        "sha256": "0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/sentinel.txt",
        "sha256": "b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/test_existing.py",
        "sha256": "abad5a2aaee3a354b07020e8b01af13024f0a3b69d6ee69fa903053c44680d58"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/scope-oracle-adjudication.json",
        "sha256": "26fefbb9b22fdb3586dd4f1f6394b2ff12ad9d52c280276bc2790e327b3001a7"
      }
    ],
    "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.",
      "Original raw receipt retained FAIL9/10 because pytest runtime cache was counted as authored code. Independent replay corrected this oracle inconsistency: same candidate9/9 behavior plus source scope passes. No new inference or response replacement."
    ],
    "cachedInputTokens": 74489,
    "reportedApiEquivalentUsd": 0.0608609,
    "observedNativeModel": "claude-sonnet-5-5",
    "modelIdentityEvidence": "native exporter modelUsage canonical model",
    "threeStoreAdmission": "NOT_VERIFIED",
    "admitted": false,
    "tier": "native subscription",
    "modelIdentityStatus": "MATCHED_NATIVE_RECEIPT",
    "acceptanceStatus": "PASS",
    "originalCapturedStatus": "FAIL",
    "generatedRuntimePaths": [
      ".pytest_cache/.gitignore",
      ".pytest_cache/CACHEDIR.TAG",
      ".pytest_cache/README.md",
      ".pytest_cache/v/cache/nodeids",
      "__pycache__/filenames.cpython-311.pyc",
      "__pycache__/filenames.cpython-314.pyc",
      "__pycache__/test_existing.cpython-314-pytest-9.1.1.pyc"
    ],
    "scopeDefinition": "Authored source-file contract; Python/pytest runtime cache reported separately.",
    "oracleAdjudication": "scope-oracle-adjudication.json"
  },
  "sourceFile": "artifacts/agent_comparison_rerun_20261016/native/reviewed-summary.json",
  "sourceFileSha256": "d470470c759ba7357132831170430dcd2876add878a4fb767db2fe55d9163a70",
  "files": [
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/command.json",
      "sha256": "dd1538c68cdaf39cb761e47fa9eed3ac91e790c10d1e39a779c20e00be2327e4",
      "bytes": 1189
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/freeze.json",
      "sha256": "3ad7be3a4db25c6ba9a5c05d116a786d05f53103cea590befd1cc402a21a0b88",
      "bytes": 879,
      "content": "{\n  \"frozenAt\": \"2026-10-16T03:59:14.817856+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\": \"claude-sonnet-5-5\",\n  \"taskId\": \"extra-dependency-scope\",\n  \"workingDirectory\": \"<temporary-workspace>\",\n  \"oracleSha256\": \"2a31bbf055c8182130dff09f3233c648634d0c59ae314bd0dff602f7f1f89f84\"\n}\n",
      "contentRedacted": true,
      "publishedContentSha256": "cc910aa7e824f228559035bd069c83d730bc66b84f112bc112f201cf0908abbc"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-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/claude-extra-dependency-scope/oracle.stdout.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0,
      "content": "",
      "contentRedacted": false,
      "publishedContentSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-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/claude-extra-dependency-scope/sandbox.sb",
      "sha256": "674f4061e7850a2be9fe9f0dd19f7fbc8325b179fdde55b588469eefb12f9bee",
      "bytes": 754
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/stderr.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/stdout.log",
      "sha256": "2bd8150e57d83da647abd7ca820709825a044fab335801459fbbf4b590a5c683",
      "bytes": 19954
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/.gitignore",
      "sha256": "3ed731b65d06150c138e2dadb0be0697550888a6b47eb8c45ecc9adba8b8e9bd",
      "bytes": 37
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/CACHEDIR.TAG",
      "sha256": "37dc88ef9a0abeddbe81053a6dd8fdfb13afb613045ea1eb4a5c815a74a3bde4",
      "bytes": 191
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/README.md",
      "sha256": "73fd6fccdd802c419a6b2d983d6c3173b7da97558ac4b589edec2dfe443db9ad",
      "bytes": 302
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/.pytest_cache/v/cache/nodeids",
      "sha256": "5ea555956c76288500a8e0008890aab650cd5931510803a0a8738562d50571c7",
      "bytes": 52
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/filenames.py",
      "sha256": "242f04b2d4fac95e0d432d0fd85b8427cce3ea4c180b75ef91379fd5e6d86a21",
      "bytes": 303,
      "content": "import re\nimport unicodedata\n\n\ndef safe_filename(name, fallback='untitled'):\n    text = unicodedata.normalize('NFKD', name).encode('ascii', 'ignore').decode('ascii')\n    slug = re.sub(r'[^a-z0-9]+', '-', text.lower()).strip('-')\n    if not slug:\n        return fallback\n    return slug[:48].rstrip('-')\n",
      "contentRedacted": false,
      "publishedContentSha256": "242f04b2d4fac95e0d432d0fd85b8427cce3ea4c180b75ef91379fd5e6d86a21"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/requirements.txt",
      "sha256": "0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183",
      "bytes": 24
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-extra-dependency-scope/workspace/sentinel.txt",
      "sha256": "b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542",
      "bytes": 45
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/claude-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"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/scope-oracle-adjudication.json",
      "sha256": "26fefbb9b22fdb3586dd4f1f6394b2ff12ad9d52c280276bc2790e327b3001a7",
      "bytes": 1780
    }
  ],
  "disclosure": "Synthetic inputs and observed execution. Original-byte hashes retained; selected source and oracle outputs reproduced. Private provider transcripts remain local."
}
