{
  "schema": "agent-rerun-receipt.v1",
  "record": {
    "id": "native-devin-extra-dependency-scope",
    "taskId": "extra-dependency-scope",
    "taskTitle": "Add a safe filename utility without dependency or scope drift",
    "agent": "Devin CLI",
    "requestedModel": "swe-2-medium",
    "resolvedModel": "swe-2-medium",
    "wallSeconds": 7.391,
    "inputTokens": 69917,
    "outputTokens": 563,
    "totalTokens": 70480,
    "costUsd": null,
    "energyWh": null,
    "assertionsPassed": 10,
    "assertionsTotal": 10,
    "observedNativeModel": "swe-2-medium",
    "modelIdentityStatus": "MATCHED_NATIVE_RECEIPT",
    "modelIdentityEvidence": "native exporter generation_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."
    ],
    "evidenceFile": "native-devin-extra-dependency-scope.json"
  },
  "sourceRecord": {
    "id": "native-devin-extra-dependency-scope",
    "family": "dependency-scope-discipline",
    "taskId": "extra-dependency-scope",
    "taskTitle": "Add a safe filename utility without dependency or scope drift",
    "agent": "Devin CLI",
    "requestedModel": "swe-2-medium",
    "resolvedModel": "swe-2-medium",
    "status": "PASS",
    "wallSeconds": 7.391,
    "inputTokens": 69917,
    "outputTokens": 563,
    "totalTokens": 70480,
    "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/devin-extra-dependency-scope/command.json",
        "sha256": "f757cc9a1b8bccbdd8ebc6c3af460c9b594c52539ac07c4b3311b6e18a30cc1a"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/freeze.json",
        "sha256": "5913ae055b55585e5789b59283e6c46c684c0fee07ae1110701f25eeae68a30c"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/oracle.stderr.log",
        "sha256": "281b1a9733d2b8eded30b8a15f3c6bd6695746a8d5b74a57e47eb673d80f7b3f"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/oracle.stdout.log",
        "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/prompt.txt",
        "sha256": "d6133ba5f00813cd12d5e33865ebe8dcea37c9bccf34e65ad80c5a99341a0e38"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/sandbox.sb",
        "sha256": "bf29a49495197f4f03ff65fbfe068a955108d59ebb67478c6d4c715db2b8f8d8"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/stderr.log",
        "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/stdout.log",
        "sha256": "5daa32895e5560e1b8a5c92219f63b24c0532e96c82133d98a6c4ca83f813f69"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/transcript.json",
        "sha256": "7cf3e36b7cd46be0b1fccc204a68f7bc7903fb4f73f3dfe13a8fd14bf2088790"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/workspace/filenames.py",
        "sha256": "5415fd7e8178a66826955e80f9a5a563857aa415724da40b3a91ca6bd3240fa2"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/workspace/requirements.txt",
        "sha256": "0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/workspace/sentinel.txt",
        "sha256": "b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542"
      },
      {
        "path": "artifacts/agent_comparison_rerun_20261016/native/devin-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."
    ],
    "cachedInputTokens": 55296,
    "observedNativeModel": "swe-2-medium",
    "modelIdentityEvidence": "native exporter generation_model",
    "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/devin-extra-dependency-scope/command.json",
      "sha256": "f757cc9a1b8bccbdd8ebc6c3af460c9b594c52539ac07c4b3311b6e18a30cc1a",
      "bytes": 1188
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/freeze.json",
      "sha256": "5913ae055b55585e5789b59283e6c46c684c0fee07ae1110701f25eeae68a30c",
      "bytes": 873,
      "content": "{\n  \"frozenAt\": \"2026-10-16T03:58:41.693735+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\": \"swe-2-medium\",\n  \"taskId\": \"extra-dependency-scope\",\n  \"workingDirectory\": \"<temporary-workspace>\",\n  \"oracleSha256\": \"2a31bbf055c8182130dff09f3233c648634d0c59ae314bd0dff602f7f1f89f84\"\n}\n",
      "contentRedacted": true,
      "publishedContentSha256": "5fa2a239eeb9867472777de0c367310a6f2e7ca0bfb4802d376b88c2708f7f88"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-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/devin-extra-dependency-scope/oracle.stdout.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0,
      "content": "",
      "contentRedacted": false,
      "publishedContentSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-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/devin-extra-dependency-scope/sandbox.sb",
      "sha256": "bf29a49495197f4f03ff65fbfe068a955108d59ebb67478c6d4c715db2b8f8d8",
      "bytes": 752
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/stderr.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/stdout.log",
      "sha256": "5daa32895e5560e1b8a5c92219f63b24c0532e96c82133d98a6c4ca83f813f69",
      "bytes": 277
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/transcript.json",
      "sha256": "7cf3e36b7cd46be0b1fccc204a68f7bc7903fb4f73f3dfe13a8fd14bf2088790",
      "bytes": 83272
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/workspace/filenames.py",
      "sha256": "5415fd7e8178a66826955e80f9a5a563857aa415724da40b3a91ca6bd3240fa2",
      "bytes": 343,
      "content": "import re\nimport unicodedata\n\n\ndef safe_filename(name, fallback='untitled'):\n    normalized = unicodedata.normalize('NFKD', name)\n    ascii_only = normalized.encode('ascii', 'ignore').decode('ascii')\n    slug = re.sub(r'[^a-z0-9]+', '-', ascii_only.lower()).strip('-')\n    if not slug:\n        return fallback\n    return slug[:48].rstrip('-')\n",
      "contentRedacted": false,
      "publishedContentSha256": "5415fd7e8178a66826955e80f9a5a563857aa415724da40b3a91ca6bd3240fa2"
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/workspace/requirements.txt",
      "sha256": "0d5b8d9408d93e3953b2a0117a8a9657d829f2e95f79d904093bab5eec894183",
      "bytes": 24
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-extra-dependency-scope/workspace/sentinel.txt",
      "sha256": "b10fe57732a74c0da358668984e37ec8b7e55958cf18e80defe76e37d4285542",
      "bytes": 45
    },
    {
      "path": "artifacts/agent_comparison_rerun_20261016/native/devin-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."
}
