{"component":"regtest-reproduction","baseCommit":"65995c0a126daa60e498acca1ff0e408bf842048","changedPaths":["artifacts/goal/batches/e4-evidence-tools/items/regtest-reproduction/result.json"],"sourceChangedPaths":[],"checks":[{"name":"isolated Core acceptance","command":"mkdir -p test/scratch && export TMPDIR=\"$PWD/test/scratch\" && time python3 -I -B regtest-payment/check_claim.py","exitCode":0,"result":{"backend":"Bitcoin Core 28.1 regtest","component":"receipt-integration","depth":2,"elapsed_seconds":23.542,"fee_sats":2164,"gate":"PASS","gates":[{"exitCode":0,"name":"runtime-hashes","tail":"{\n  \"runtime_hashes\": \"PASS\",\n  \"installed_bytes\": 19008016,\n  \"compressed_bytes\": 6791540,\n  \"signature\": \"not requested (use --signature)\"\n}\n"},{"exitCode":0,"name":"receipt-check-suite","tail":"wn_answer) ... ok\ntest_witness_parent_hash (test_audit.ReceiptTests.test_witness_parent_hash) ... ok\n\n----------------------------------------------------------------------\nRan 17 tests in 0.401s\n\nOK\n"},{"exitCode":0,"name":"regtest-payment-suite","tail":"t_sigterm_and_sigint_cleanup (test_regtest_payment.RealCore.test_sigterm_and_sigint_cleanup) ... ok\n\n----------------------------------------------------------------------\nRan 10 tests in 12.084s\n\nOK\n"},{"exitCode":0,"name":"private-claim-suite","tail":"tSats\": 149999306, \"feeSats\": 694, \"elapsed_seconds\": 3.0, \"max_rss_kb\": 83904}\n.....................\n----------------------------------------------------------------------\nRan 21 tests in 0.022s\n\nOK\n"}],"input_sats":350000000,"mock":false,"mutations_rejected":9,"objectiveStatus":"INCOMPLETE","paid_sats":349997836,"production":"NOT RUN","real_backend_synthetic":true,"receipt_sha256":"7b1580efd82a5b80af28f30f16e860b94bb5c00c8e0e20df143059031c9b9694","regtest":true,"signals_cleaned":[15,2]},"children":[{"exitCode":0,"name":"runtime-hashes","tail":"{\n  \"runtime_hashes\": \"PASS\",\n  \"installed_bytes\": 19008016,\n  \"compressed_bytes\": 6791540,\n  \"signature\": \"not requested (use --signature)\"\n}\n","command":"python3 -B regtest-payment/verify_runtime.py"},{"exitCode":0,"name":"receipt-check-suite","tail":"wn_answer) ... ok\ntest_witness_parent_hash (test_audit.ReceiptTests.test_witness_parent_hash) ... ok\n\n----------------------------------------------------------------------\nRan 17 tests in 0.401s\n\nOK\n","command":"python3 -I -B -m unittest discover -s receipt-check/tests -v"},{"exitCode":0,"name":"regtest-payment-suite","tail":"t_sigterm_and_sigint_cleanup (test_regtest_payment.RealCore.test_sigterm_and_sigint_cleanup) ... ok\n\n----------------------------------------------------------------------\nRan 10 tests in 12.084s\n\nOK\n","command":"python3 -I -B -m unittest discover -s regtest-payment/tests -v"},{"exitCode":0,"name":"private-claim-suite","tail":"tSats\": 149999306, \"feeSats\": 694, \"elapsed_seconds\": 3.0, \"max_rss_kb\": 83904}\n.....................\n----------------------------------------------------------------------\nRan 21 tests in 0.022s\n\nOK\n","command":"python3 -I -B private-claim/check_core.py"}]},{"name":"published explicit regtest audit","command":"time python3 -I -B receipt-check/audit.py --mode regtest regtest-payment/claim_receipt.json","exitCode":0,"result":{"mode":"regtest","unspent_status":"NOT ESTABLISHED","confirmation":"NOT ESTABLISHED","byte_integrity":"PASS","verdict":"PASS","errors":[],"txid":"2146972b61367c67fe7bc7a5638a1d86bb1b1e65ca38a867f219734fe321ad32","input_sum_sats":350000000,"paid_sats":349997836,"fee_sats":2164}},{"name":"published default mainnet audit","command":"time python3 -I -B receipt-check/audit.py regtest-payment/claim_receipt.json","exitCode":1,"result":{"mode":"mainnet","unspent_status":"NOT ESTABLISHED","confirmation":"NOT ESTABLISHED","byte_integrity":"FAIL","verdict":"FAIL","errors":["receipt network does not match audit mode"]},"expectedExitCode":1,"gate":"Receipt network must match audit mode","source":"receipt-check/audit.py:190"},{"name":"published fixture digest comparison","command":"python3 -I -B -c 'import hashlib,json,pathlib; p=pathlib.Path(\"regtest-payment\"); r=json.loads((p/\"integration-report.json\").read_bytes()); names=(\"claim_receipt.json\",\"claim_evidence.json\"); actual={n:hashlib.sha256((p/n).read_bytes()).hexdigest() for n in names}; evidence=json.loads((p/names[1]).read_bytes()); print(json.dumps({\"actual\":actual,\"reportFilePins\":{n:r[\"filesSha256\"][str(p/n)] for n in names},\"reportReceiptPin\":r[\"receipt\"][\"sha256\"],\"evidenceReceiptPin\":evidence[\"receipt_sha256\"]})); assert all(actual[n]==r[\"filesSha256\"][str(p/n)] for n in names) and actual[names[0]]==r[\"receipt\"][\"sha256\"]==evidence[\"receipt_sha256\"]'","exitCode":0,"result":{"actual":{"claim_receipt.json":"7b1580efd82a5b80af28f30f16e860b94bb5c00c8e0e20df143059031c9b9694","claim_evidence.json":"62ac64bc1fecd46fbdbfb9fc367c2ff0a73f1e18a77957e3b6b0566aa8b8a7a8"},"reportFilePins":{"claim_receipt.json":"7b1580efd82a5b80af28f30f16e860b94bb5c00c8e0e20df143059031c9b9694","claim_evidence.json":"62ac64bc1fecd46fbdbfb9fc367c2ff0a73f1e18a77957e3b6b0566aa8b8a7a8"},"reportReceiptPin":"7b1580efd82a5b80af28f30f16e860b94bb5c00c8e0e20df143059031c9b9694","evidenceReceiptPin":"7b1580efd82a5b80af28f30f16e860b94bb5c00c8e0e20df143059031c9b9694"}},{"name":"separate fresh seven-input generation","command":"export TMPDIR=\"$PWD/test/scratch\" && time python3 -I -B regtest-payment/claim_receipt.py --receipt test/scratch/reproduction-receipt.json --evidence test/scratch/reproduction-evidence.json","exitCode":0,"result":{"receiptSha256":"14535111dbaa6a28be390390e44ec4625bf9ceb7e92df269c2776cd31c53d401","txid":"f6c947d4e271103ac024463841be4c29e3a55d305ce73b0c63eb2fa5e1b7775b","inputSats":350000000,"paidSats":349997836,"feeSats":2164,"depth":2,"elapsedSeconds":2.848,"maxRssKb":82200}},{"name":"fresh explicit regtest audit","command":"python3 -I -B receipt-check/audit.py --mode regtest test/scratch/reproduction-receipt.json","exitCode":0,"result":{"mode":"regtest","unspent_status":"NOT ESTABLISHED","confirmation":"NOT ESTABLISHED","byte_integrity":"PASS","verdict":"PASS","errors":[],"txid":"f6c947d4e271103ac024463841be4c29e3a55d305ce73b0c63eb2fa5e1b7775b","input_sum_sats":350000000,"paid_sats":349997836,"fee_sats":2164}},{"name":"fresh digest and input count","command":"python3 -I -B -c 'import hashlib,json,pathlib; p=pathlib.Path(\"test/scratch\"); raw=(p/\"reproduction-receipt.json\").read_bytes(); proof=(p/\"reproduction-evidence.json\").read_bytes(); d=json.loads(raw); e=json.loads(proof); h=hashlib.sha256(raw).hexdigest(); assert h==e[\"receipt_sha256\"]; assert len(d[\"snapshot\"][\"outpoints\"])==len(d[\"prevouts\"])==e[\"claim_cli\"][\"inputs\"]==7; print(json.dumps({\"receiptSha256\":h,\"evidenceSha256\":hashlib.sha256(proof).hexdigest(),\"inputs\":e[\"claim_cli\"][\"inputs\"],\"fundingRawTransactions\":len(d[\"prevouts\"]),\"vbytes\":e[\"mempool_admission\"][\"vsize\"],\"depth\":e[\"depth\"],\"disposableSecretsRemoved\":e[\"disposable_secrets_removed\"]}))'","exitCode":0,"result":{"receiptSha256":"14535111dbaa6a28be390390e44ec4625bf9ceb7e92df269c2776cd31c53d401","evidenceSha256":"b157041edae8d96f4bb711a9d39a7fba0a935a2f33824376c4b1a6ea032e397a","inputs":7,"fundingRawTransactions":7,"vbytes":1082,"depth":2,"disposableSecretsRemoved":true}},{"name":"deliverable format and checkout scope","command":"python3 -I -B -c 'import json,pathlib,subprocess; p=pathlib.Path(\"artifacts/goal/batches/e4-evidence-tools/items/regtest-reproduction/result.json\"); b=p.read_bytes(); d=json.loads(b); assert len(b)<=16000 and d[\"changedPaths\"]==[str(p)] and d[\"objectiveStatus\"]==\"INCOMPLETE\"; assert subprocess.check_output([\"git\",\"status\",\"--porcelain\",\"--untracked-files=all\"],text=True).splitlines()==[\"?? \"+str(p)]; print(\"Valid JSON, \"+str(len(b))+\" bytes, only the untracked result is present in git status\")'","exitCode":1,"result":"AssertionError at <string>:1. Ordinary status omits the ignored result."},{"name":"corrected deliverable format and checkout scope","command":"python3 -I -B -c 'import json,pathlib,subprocess; p=pathlib.Path(\"artifacts/goal/batches/e4-evidence-tools/items/regtest-reproduction/result.json\"); b=p.read_bytes(); d=json.loads(b); assert len(b)<=16000 and d[\"changedPaths\"]==[str(p)] and d[\"objectiveStatus\"]==\"INCOMPLETE\"; assert not subprocess.check_output([\"git\",\"status\",\"--porcelain\",\"--untracked-files=all\"]); assert subprocess.check_output([\"git\",\"status\",\"--porcelain\",\"--ignored=matching\",\"--\",str(p)],text=True).splitlines()==[\"!! \"+str(p)]; print(len(b))'","exitCode":1,"result":"AssertionError at <string>:1. The ignored-status pathspec did not list the result as an individually ignored file."},{"name":"final JSON and Git verification","command":"python3 -I -B -c 'import json,pathlib,subprocess; p=pathlib.Path(\"artifacts/goal/batches/e4-evidence-tools/items/regtest-reproduction/result.json\"); b=p.read_bytes(); d=json.loads(b); assert len(b)<=16000 and d[\"changedPaths\"]==[str(p)] and d[\"objectiveStatus\"]==\"INCOMPLETE\"; assert not subprocess.check_output([\"git\",\"status\",\"--porcelain\",\"--untracked-files=all\"]); assert not subprocess.check_output([\"git\",\"ls-files\",\"--\",str(p)]); assert subprocess.run([\"git\",\"check-ignore\",\"-q\",str(p)]).returncode==0; print(\"PASS\",len(b))'","exitCode":0,"result":"JSON parsed within the size cap, ordinary status clean, result absent from Git index and covered by the local ignore rule."}],"measurements":{"runtime":{"version":"28.1","platform":"Linux x86_64 GNU","sourceCommit":"32efe850438ef22e2de39e562af557872a402c31","upstreamArchiveSha256":"07f77afd326639145b9ba9562912b2ad2ccec47b8a305bd075b4f4cb127b7ed7","manifest":"regtest-payment/runtime/manifest.json","installedBytes":19008016,"compressedBytes":6791540},"publishedFixture":{"recordedAcceptanceElapsedSeconds":18.741,"generatorElapsedSeconds":2.806,"inputs":7,"fundingRawTransactions":7,"inputSats":350000000,"paidSats":349997836,"feeSats":2164,"vbytes":1082,"depth":2,"txid":"2146972b61367c67fe7bc7a5638a1d86bb1b1e65ca38a867f219734fe321ad32","receiptSha256":"7b1580efd82a5b80af28f30f16e860b94bb5c00c8e0e20df143059031c9b9694","evidenceSha256":"62ac64bc1fecd46fbdbfb9fc367c2ff0a73f1e18a77957e3b6b0566aa8b8a7a8"},"localAcceptance":{"elapsedSeconds":23.542,"shellElapsedSeconds":23.72,"receiptMetricsInStdout":"Published fixture","internalFreshReceipt":"Generated and verified in memory. Acceptance stdout does not expose its txid or digest."},"separateLocalGeneration":{"receiptSha256":"14535111dbaa6a28be390390e44ec4625bf9ceb7e92df269c2776cd31c53d401","txid":"f6c947d4e271103ac024463841be4c29e3a55d305ce73b0c63eb2fa5e1b7775b","inputSats":350000000,"paidSats":349997836,"feeSats":2164,"depth":2,"elapsedSeconds":2.848,"maxRssKb":82200,"evidenceSha256":"b157041edae8d96f4bb711a9d39a7fba0a935a2f33824376c4b1a6ea032e397a","inputs":7,"fundingRawTransactions":7,"vbytes":1082,"disposableSecretsRemoved":true,"shellElapsedSeconds":3.04},"publishedAuditElapsedSeconds":{"explicitRegtest":0.083,"defaultMainnet":0.086}},"evidence":{"firstUnexpectedFailingGate":null,"defaultAuditorRejectedRegtestReceipt":true,"publishedDigestsMatched":true,"scopeReview":"check_claim.py runs the vendored hash gate and three local suites, verifies a fresh and a published receipt, and exercises negative cases and signal cleanup. claim_receipt.py uses generated synthetic inputs and a disposable loopback-only Core node with peer networking disabled. audit.py parses local receipt bytes and defaults to mainnet. The fresh generator verified Core admission, active-chain depth, rollback and restoration before cleanup.","freshVsPublished":"The transaction IDs and receipt hashes differ. This run matched the published input count, amounts, signed vbytes and depth."},"limitations":["The byte auditor leaves confirmation and unspent status unestablished. Depth here is regtest evidence checked against disposable Core at generation and against the published proof during acceptance.","Skipped the optional offline OpenPGP signature check, runtime download and repack, and a separate explicit --mode mainnet invocation. The requested default mainnet CLI path was exercised.","Skipped challenge verification, mainnet UTXO inspection, key search, signing, broadcast and payment confirmation. This item is limited to offline regtest reproduction."],"replay":{"workingDirectory":"checkout root","commands":["mkdir -p test/scratch && export TMPDIR=\"$PWD/test/scratch\" && time python3 -I -B regtest-payment/check_claim.py","time python3 -I -B receipt-check/audit.py --mode regtest regtest-payment/claim_receipt.json","time python3 -I -B receipt-check/audit.py regtest-payment/claim_receipt.json","python3 -I -B -c 'import hashlib,json,pathlib; p=pathlib.Path(\"regtest-payment\"); r=json.loads((p/\"integration-report.json\").read_bytes()); names=(\"claim_receipt.json\",\"claim_evidence.json\"); actual={n:hashlib.sha256((p/n).read_bytes()).hexdigest() for n in names}; evidence=json.loads((p/names[1]).read_bytes()); print(json.dumps({\"actual\":actual,\"reportFilePins\":{n:r[\"filesSha256\"][str(p/n)] for n in names},\"reportReceiptPin\":r[\"receipt\"][\"sha256\"],\"evidenceReceiptPin\":evidence[\"receipt_sha256\"]})); assert all(actual[n]==r[\"filesSha256\"][str(p/n)] for n in names) and actual[names[0]]==r[\"receipt\"][\"sha256\"]==evidence[\"receipt_sha256\"]'","export TMPDIR=\"$PWD/test/scratch\" && time python3 -I -B regtest-payment/claim_receipt.py --receipt test/scratch/reproduction-receipt.json --evidence test/scratch/reproduction-evidence.json","python3 -I -B receipt-check/audit.py --mode regtest test/scratch/reproduction-receipt.json","python3 -I -B -c 'import hashlib,json,pathlib; p=pathlib.Path(\"test/scratch\"); raw=(p/\"reproduction-receipt.json\").read_bytes(); proof=(p/\"reproduction-evidence.json\").read_bytes(); d=json.loads(raw); e=json.loads(proof); h=hashlib.sha256(raw).hexdigest(); assert h==e[\"receipt_sha256\"]; assert len(d[\"snapshot\"][\"outpoints\"])==len(d[\"prevouts\"])==e[\"claim_cli\"][\"inputs\"]==7; print(json.dumps({\"receiptSha256\":h,\"evidenceSha256\":hashlib.sha256(proof).hexdigest(),\"inputs\":e[\"claim_cli\"][\"inputs\"],\"fundingRawTransactions\":len(d[\"prevouts\"]),\"vbytes\":e[\"mempool_admission\"][\"vsize\"],\"depth\":e[\"depth\"],\"disposableSecretsRemoved\":e[\"disposable_secrets_removed\"]}))'"],"expectedPublishedDefaultMainnetExitCode":1,"scratch":"Use test/scratch for temporary Core data and fresh evidence. The published fixtures remain in place."},"objectiveStatus":"INCOMPLETE"}
