{"captured_at":"2026-11-03T07:56:25.413068+00:00","version":"1.0.0","live_unpaid":{"request":{"method":"POST","url":"https://test.hpservices-tx.com/kerfledger/v1/plan","json":{"stock_mm":6000,"kerf_mm":3,"end_trim_mm":10,"pieces":[{"length_mm":2400,"quantity":3},{"length_mm":1500,"quantity":4},{"length_mm":900,"quantity":2}]}},"status":402,"headers":{"date":"Tue, 03 Nov 2026 07:56:20 GMT","content-type":"application/json","content-length":"435","connection":"keep-alive","cache-control":"no-store","payment-required":"eyJhY2NlcHRzIjpbeyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwiZXh0cmEiOnsibmFtZSI6IlVTRCBDb2luIiwidmVyc2lvbiI6IjIifSwibWF4VGltZW91dFNlY29uZHMiOjMwMCwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweGNjN2RmOGVjMjU4NWZiN2IyZmNlZTNmM2NiZGViYTFiYTAxODdhNmYiLCJzY2hlbWUiOiJleGFjdCJ9XSwiZXJyb3IiOiJQYXltZW50IHJlcXVpcmVkIiwicmVzb3VyY2UiOnsiZGVzY3JpcHRpb24iOiJLZXJmLWF3YXJlIHN0b2NrIGN1dHRpbmcgcGxhbiIsIm1pbWVUeXBlIjoiYXBwbGljYXRpb24vanNvbiIsInVybCI6Imh0dHBzOi8vdGVzdC5ocHNlcnZpY2VzLXR4LmNvbS9rZXJmbGVkZ2VyL3YxL3BsYW4ifSwieDQwMlZlcnNpb24iOjJ9","server":"cloudflare","x-content-type-options":"nosniff","x-kerfledger-version":"1.0.0","cf-cache-status":"DYNAMIC","nel":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}","report-to":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=ykp4OuR77E1IbB29xHTUCrL7%2FlS1ZHNzY2cpiiXzHjsEbeCPmF6lsKe2QzY%2B7w%2F%2FmYuO9XDoXToFKekVQJcMzmt7gFDtmnc%2F4krCb%2F%2FEDqFhlAQHNWLKj1lJnAq256dBLTmAbsUD6J4oiHyKbDMnM9D6NwbV\"}]}","cf-ray":"a549d2653b144d9c-FRA","alt-svc":"h3=\":443\"; ma=86400"},"body":{"x402Version":2,"error":"Payment required","resource":{"url":"https://test.hpservices-tx.com/kerfledger/v1/plan","description":"Kerf-aware stock cutting plan","mimeType":"application/json"},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xcc7df8ec2585fb7b2fcee3f3cbdeba1ba0187a6f","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}]}},"live_successful_fixed_example":{"url":"https://test.hpservices-tx.com/kerfledger/example","status":200,"body":{"kind":"free_fixed_worked_example_not_paid_evidence","input":{"stock_mm":6000,"kerf_mm":3,"end_trim_mm":10,"pieces":[{"length_mm":2400,"quantity":3},{"length_mm":1500,"quantity":4},{"length_mm":900,"quantity":2}]},"output":{"engine":"kerfledger-1.0.0","algorithm":"deterministic_best_fit_decreasing","optimality":"proven_bar_count_by_volume_bound","input_sha256":"31c4a03f45eb899852677a4e4f969452dc911f5280b66f1c1a031fb400fb6d8b","stock_mm":6000,"usable_per_bar_mm":5980,"kerf_per_piece_mm":3,"trim_per_end_mm":10,"bars_required":3,"volume_lower_bound_bars":3,"pieces_delivered":9,"finished_length_mm":15000,"saw_loss_mm":27,"total_end_trim_mm":60,"total_remainder_mm":2913,"stock_purchased_mm":18000,"bars":[{"bar":1,"cuts_mm":[2400,2400,900],"remaining_mm":271},{"bar":2,"cuts_mm":[2400,1500,1500],"remaining_mm":571},{"bar":3,"cuts_mm":[1500,1500,900],"remaining_mm":2071}],"balance_verified":true,"warning":"Planning aid, not machine instructions. Conservative one kerf per piece, including last piece. No angle cuts, material mixing, structural or safety certification."}},"paid":false},"live_unfunded_signature_test":{"url":"https://test.hpservices-tx.com/kerfledger/v1/plan","status":402,"body":{"x402Version":2,"error":"Facilitator rejected payment; nothing settled","resource":{"url":"https://test.hpservices-tx.com/kerfledger/v1/plan","description":"Kerf-aware stock cutting plan","mimeType":"application/json"},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xcc7df8ec2585fb7b2fcee3f3cbdeba1ba0187a6f","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}]},"settlement_attempted":false},"isolated_mock_paid_and_recovery":{"label":"SIMULATED PAYMENT ONLY: real HTTP app, engine, signatures and SQLite; injected mock facilitator and chain receipts. NOT a live paid delivery.","request":{"method":"POST","path":"/kerfledger/v1/plan","body":{"stock_mm":6000,"kerf_mm":3,"end_trim_mm":10,"pieces":[{"length_mm":2400,"quantity":3},{"length_mm":1500,"quantity":4},{"length_mm":900,"quantity":2}]},"header":"fresh ephemeral signed PAYMENT-SIGNATURE omitted; not a real payment"},"first_response":{"status":202,"headers":{"retry-after":"15","content-length":"175","content-type":"application/json","cache-control":"no-store","x-content-type-options":"nosniff","x-kerfledger-version":"1.0.0"},"body":{"status":"pending","instruction":"Retry identical input and original PAYMENT-SIGNATURE after Retry-After; do not create a new authorization. No automatic second settlement."}},"after_restart_response":{"status":200,"payment_response_decoded":{"confirmation":"SIMULATED_SAFE_RECEIPT","network":"eip155:8453","payer":"0xe190d8d1bE0cD752e6b4306D1C4640ed3f18C7AC","success":true,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"},"body":{"algorithm":"deterministic_best_fit_decreasing","balance_verified":true,"bars":[{"bar":1,"cuts_mm":[2400,2400,900],"remaining_mm":271},{"bar":2,"cuts_mm":[2400,1500,1500],"remaining_mm":571},{"bar":3,"cuts_mm":[1500,1500,900],"remaining_mm":2071}],"bars_required":3,"engine":"kerfledger-1.0.0","finished_length_mm":15000,"input_sha256":"31c4a03f45eb899852677a4e4f969452dc911f5280b66f1c1a031fb400fb6d8b","kerf_per_piece_mm":3,"optimality":"proven_bar_count_by_volume_bound","pieces_delivered":9,"saw_loss_mm":27,"stock_mm":6000,"stock_purchased_mm":18000,"total_end_trim_mm":60,"total_remainder_mm":2913,"trim_per_end_mm":10,"usable_per_bar_mm":5980,"volume_lower_bound_bars":3,"warning":"Planning aid, not machine instructions. Conservative one kerf per piece, including last piece. No angle cuts, material mixing, structural or safety certification."}},"replay_status":200,"identical_replayed_body":true,"mock_settle_invocations":1},"pytest":{"exit_code":0,"stdout":"..................                                                       [100%]\n=============================== warnings summary ===============================\n../opt/kerfledger/.venv/lib/python3.12/site-packages/fastapi/testclient.py:1\n  /opt/kerfledger/.venv/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.\n    from starlette.testclient import TestClient as TestClient  # noqa\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n18 passed, 1 warning in 2.47s\n","stderr":""},"facilitator_readonly_probe":{"probe":"read-only /verify; fresh unfunded ephemeral EOA; signature not retained","url":"https://facilitator.payai.network/verify","status":200,"response":"{\"isValid\":false,\"invalidReason\":\"invalid_exact_evm_insufficient_balance\",\"payer\":\"0x4F4FAd07752F74f2Bf8E7eD0F79651Fb57258a01\",\"invalidMessage\":\"The contract function \\\"transferWithAuthorization\\\" reverted with the following reason:\\nERC20: transfer amount exceeds balance\\n\\nContract Call:\\n  address:   0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\\n  function:  transferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s)\\n  args:                               (0x4F4FAd07752F74f2Bf8E7eD0F79651Fb57258a01, 0xCc7DF8EC2585fb7b2FCee3f3cBDEbA1ba0187A6F, 10000, 1793692268, 1793692518, 0xe5f42c07b82879f42536ed5a6002c06356d4a9db0b2cd9e7312dc9ca794e51ea, 27, 0x11f9d8757badedcd52499f37edb549717102d4f6e6d481f73ae22f592ef9197b, 0x5c5433f22c0fc5f488508201a42e6e0c4404ec37b316adf0c11581b0c1c0b223)\\n\\nDocs: [redacted-url]\\nDetails: execution reverted: ERC20: transfer amount exceeds balance\\nVersion: viem@2.55.11\"}","settle_called":false},"deployment":{"systemd":"MainPID=1853140\nNRestarts=0\nActiveState=active\nSubState=running\nUnitFileState=enabled\n","public_health":{"ok":true,"version":"1.0.0","network":"eip155:8453","price_usdc":"0.01","payment_mode":"live_facilitator","self_purchase_performed":false},"original_site_root_sha256_unchanged":"7558fe6552927aa211f33b4a45eba79656a93510b232841710b63d9aecc74bd5"},"source_sha256":{"engine.py":"c4df7c2ed7c6e8dcc72e94e701ad4bad61c37deeabb7a6c57870a4028d601608","server.py":"86b42c1693aa353ca78e0a49eafaa30a294aa5b124cd244fa1eacf2616dd933c","test_service.py":"c7beead3ba145a9949270c56d88b28f6300feb7c19f5eea2e26690ff53a29345","requirements.txt":"98071fc3a612041cd22f9de0bacbbe3744981629fedad64ee9dfd72d3bed735f","docs.html":"c4980c33cfd7093bc2bb1914db09ea14da54b2a7c1a48de82347e3b8227c1f53","terms.txt":"80257d49b878d16cfcc53a3a802cfae06b101a6414ced3b161ed3dde40fe369d","README.md":"61b7d5f5dab72dc206cc0aed943388acea7503b9475b65bc55b85b8cc8b598ce"},"spending":{"operator_private_key_loaded":false,"live_settlement_tested":false,"operator_usdc_spent":"0","onchain_transactions_initiated_by_tests":0,"organic_sales_claimed":0}}