{
  "schema": "nodus.public-retry-effect-receipt-provenance.v1",
  "item_id": "d23a",
  "title": "A retry can repeat an update that already survived",
  "authorship": "Nodus authored the fixture, three policy implementations, cut points, literal expectations, experiment and presentation. Technical principle credited below.",
  "original_execution": {
    "schema": "nodus.public-original-execution.v1",
    "started_at_UTC": "2026-11-30T00:42:58.597112+00:00",
    "completed_at_UTC": "2026-11-30T00:42:58.831935+00:00",
    "exit_code": 0,
    "original_invocations": 1,
    "reruns": 0,
    "command": [
      "python3",
      "-I",
      "-B",
      "retry_commit_demo.py",
      "--fixture",
      "fixture.json"
    ],
    "runtime": {
      "python": "3.9.6",
      "implementation": "CPython",
      "sqlite_library": "3.51.0",
      "sqlite_module": "2.6.0",
      "system": "Darwin"
    },
    "source_sha256": "9402335f1dfbf4c1003723a2dca95fbc1ab3ca52610b639f7bb1ad35672ebeb9",
    "fixture_sha256": "4de47082f317a04ad839503dd6a2facee88f4a5739a3c7c01fa7f07c2ad66e91",
    "result_sha256": "9f5deb20d644d9bb361d7da964c8d3ce63db2659f7a2f320ed482ff0a62361b2",
    "stderr_bytes": 0,
    "scope": "One original local SQLite proof. Explicit control-flow stops and rollback/clean reopen only; no provider or measured performance."
  },
  "observed_scope": {
    "main_cases": 15,
    "controls": 13,
    "main_attempts": 30,
    "control_attempts": 22,
    "contract_passes_by_policy": {
      "effect_first": 4,
      "receipt_first": 4,
      "transaction_pair": 5
    },
    "all_expected_outcomes_matched": true
  },
  "technical_sources": [
    {
      "label": "Malcolm Featonby, Amazon Builders’ Library: Making retries safe with idempotent APIs",
      "url": "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
    },
    {
      "label": "SQLite contributors: Transaction",
      "url": "https://www.sqlite.org/lang_transaction.html"
    },
    {
      "label": "Python Software Foundation: sqlite3 controlling transactions (Python 3.9)",
      "url": "https://docs.python.org/3.9/library/sqlite3.html#controlling-transactions"
    }
  ],
  "limits": [
    "Fifteen authored main cases and thirteen selected controls are finite examples, not sampled failure frequencies, prevalence estimates or exhaustive verification.",
    "Stops are Python control-flow exceptions with explicit rollback and clean connection close/reopen. No process kill, OS crash, power loss, fsync audit, storage fault or hardware durability test.",
    "Only one local SQLite database and sequential trusted requests are modeled. No concurrent-client race, distributed transaction, remote side effect, isolation qualification or production retry guarantee.",
    "Task IDs are trusted fixture identities; same-ID/different-increment refusal is this contract. Expiry, retention, identity collisions, authentication and arbitrary payload equivalence are out of scope.",
    "The counter and receipt are the complete toy state. A real training, grading or accounting workflow can require additional state and separate external commitments.",
    "Recorded uncommitted snapshots differ from retained clean-reopen state. SQLite journal settings are recorded context, not evidence that broader durability properties were tested.",
    "No SQLite/Python/AWS defect, GPU/model execution, latency, throughput, economics, reward improvement, training uplift or universal exactly-once claim."
  ],
  "package_members": [
    {
      "name": "retry_commit_demo.py",
      "sha256": "9402335f1dfbf4c1003723a2dca95fbc1ab3ca52610b639f7bb1ad35672ebeb9",
      "bytes": 9727
    },
    {
      "name": "fixture.json",
      "sha256": "4de47082f317a04ad839503dd6a2facee88f4a5739a3c7c01fa7f07c2ad66e91",
      "bytes": 13783
    },
    {
      "name": "PROTOCOL.md",
      "sha256": "2249a6ab98c4449392a40808234787e3e85b2119aa5a9b04b0677cca404643fe",
      "bytes": 3681
    },
    {
      "name": "SOURCES.md",
      "sha256": "c5d3b7c59c93adabad53f26916f22b0368f84c1cfab870e8ece16081130d7b0e",
      "bytes": 1299
    },
    {
      "name": "LICENSE",
      "sha256": "f78241edc9ee31b62054c4c8b40bbb80233b75f99c8769d76188bceb7eaa043e",
      "bytes": 1070
    },
    {
      "name": "README.md",
      "sha256": "809be9b0fc8762987580d908164ec0e2f08b40a1c8e7089c0433329dde7f9832",
      "bytes": 2024
    },
    {
      "name": "RESULT.json",
      "sha256": "9f5deb20d644d9bb361d7da964c8d3ce63db2659f7a2f320ed482ff0a62361b2",
      "bytes": 160590
    },
    {
      "name": "EXECUTION.json",
      "sha256": "01b8f6d90740ecce93dd66ec6a95fae72d0e6ccb4611ee15d2b306d82b90dd62",
      "bytes": 936
    },
    {
      "name": "ARTICLE.json",
      "sha256": "f1aa33ee08ad992e3f705e350008713b257a93581f7c42e3eedba2dc24613e8d",
      "bytes": 10009
    }
  ],
  "proof_reruns_for_packaging": 0,
  "public_source_is_exact_executed_bytes": true
}
