test_payment_role_does_not_expand_default_free_wire_vocabulary (test_payment_adapter.PaymentAdapterTests.test_payment_role_does_not_expand_default_free_wire_vocabulary) ... ok
test_removed_delegation_and_revoked_key_fail_even_with_good_signature (test_payment_adapter.PaymentAdapterTests.test_removed_delegation_and_revoked_key_fail_even_with_good_signature) ... ok
test_signed_wrong_amount_or_check_is_not_authorized_settlement (test_payment_adapter.PaymentAdapterTests.test_signed_wrong_amount_or_check_is_not_authorized_settlement) ... ok
test_unavailable_unverified_or_wrong_exact_origin_documents_fail (test_payment_adapter.PaymentAdapterTests.test_unavailable_unverified_or_wrong_exact_origin_documents_fail) ... ok
test_valid_signature_current_authority_and_exact_settlement_commit_atomically (test_payment_adapter.PaymentAdapterTests.test_valid_signature_current_authority_and_exact_settlement_commit_atomically) ... ok
test_write_lock_wait_applies_access_expiry_before_confirmation (test_payment_adapter.PaymentAdapterTests.test_write_lock_wait_applies_access_expiry_before_confirmation) ... ok
test_write_lock_wait_rechecks_key_expiry_within_freshness_window (test_payment_adapter.PaymentAdapterTests.test_write_lock_wait_rechecks_key_expiry_within_freshness_window) ... ok
test_write_lock_wait_rechecks_stale_authority (test_payment_adapter.PaymentAdapterTests.test_write_lock_wait_rechecks_stale_authority) ... ok
test_wrong_signer_key_role_and_exact_bytes_fail_without_commit (test_payment_adapter.PaymentAdapterTests.test_wrong_signer_key_role_and_exact_bytes_fail_without_commit) ... ok
test_arbitrary_adapter_credentials_are_not_stored (test_payment_ledger.PaymentLedgerTests.test_arbitrary_adapter_credentials_are_not_stored) ... ok
test_concurrent_writers_commit_one_verification (test_payment_ledger.PaymentLedgerTests.test_concurrent_writers_commit_one_verification) ... ok
test_exact_retries_are_read_only (test_payment_ledger.PaymentLedgerTests.test_exact_retries_are_read_only) ... ok
test_failed_authentication_and_mismatched_response_leave_no_record (test_payment_ledger.PaymentLedgerTests.test_failed_authentication_and_mismatched_response_leave_no_record) ... ok
test_private_directory_and_no_symlink_file (test_payment_ledger.PaymentLedgerTests.test_private_directory_and_no_symlink_file) ... ok
test_process_exit_during_transaction_recovers_all_or_none (test_payment_ledger.PaymentLedgerTests.test_process_exit_during_transaction_recovers_all_or_none) ... ERROR
test_quote_cannot_move_agreements_or_change_bytes (test_payment_ledger.PaymentLedgerTests.test_quote_cannot_move_agreements_or_change_bytes) ... ok
test_read_applies_expiry_durably (test_payment_ledger.PaymentLedgerTests.test_read_applies_expiry_durably) ... ok
test_restart_retains_exact_documents_mandate_state_and_authority (test_payment_ledger.PaymentLedgerTests.test_restart_retains_exact_documents_mandate_state_and_authority) ... ok
test_reversal_and_conflicting_retry_survive_restart (test_payment_ledger.PaymentLedgerTests.test_reversal_and_conflicting_retry_survive_restart) ... ok
test_revocation_and_expiry_preserve_financial_fact (test_payment_ledger.PaymentLedgerTests.test_revocation_and_expiry_preserve_financial_fact) ... ok
test_rollback_after_write_before_commit (test_payment_ledger.PaymentLedgerTests.test_rollback_after_write_before_commit) ... ok
test_acceptance_is_not_mandate (test_payment_profile.PaymentProfileTests.test_acceptance_is_not_mandate) ... ok
test_amounts_reject_negative_float_exponent_bool_overflow (test_payment_profile.PaymentProfileTests.test_amounts_reject_negative_float_exponent_bool_overflow) ... ok
test_bounded_history_and_immutable_inputs (test_payment_profile.PaymentProfileTests.test_bounded_history_and_immutable_inputs) ... ok
test_confirmation_and_duplicate_no_charge_action (test_payment_profile.PaymentProfileTests.test_confirmation_and_duplicate_no_charge_action) ... ok
test_delayed_confirmation_requires_in_mandate_time (test_payment_profile.PaymentProfileTests.test_delayed_confirmation_requires_in_mandate_time) ... ok
test_denied_matching_context_and_wrong_authority (test_payment_profile.PaymentProfileTests.test_denied_matching_context_and_wrong_authority) ... ok
test_exact_free_bypass (test_payment_profile.PaymentProfileTests.test_exact_free_bypass) ... ok
test_expiry_and_revocation_preserve_financial_facts (test_payment_profile.PaymentProfileTests.test_expiry_and_revocation_preserve_financial_facts) ... ok
test_failed_then_confirmed_reference_fixed (test_payment_profile.PaymentProfileTests.test_failed_then_confirmed_reference_fixed) ... ok
test_machine_fixture_semantic_classification (test_payment_profile.PaymentProfileTests.test_machine_fixture_semantic_classification) ... ok
test_mandate_expiry_replacement_and_retry (test_payment_profile.PaymentProfileTests.test_mandate_expiry_replacement_and_retry) ... ok
test_quote_expiry_blocks_new_assent_not_settlement (test_payment_profile.PaymentProfileTests.test_quote_expiry_blocks_new_assent_not_settlement) ... ok
test_quote_immutable_and_unique_agreement (test_payment_profile.PaymentProfileTests.test_quote_immutable_and_unique_agreement) ... ok
test_resource_line_required_but_may_be_free (test_payment_profile.PaymentProfileTests.test_resource_line_required_but_may_be_free) ... ok
test_response_time_and_sequence (test_payment_profile.PaymentProfileTests.test_response_time_and_sequence) ... ok
test_response_transaction_mismatches (test_payment_profile.PaymentProfileTests.test_response_transaction_mismatches) ... ok
test_reversal_before_observed_confirmation (test_payment_profile.PaymentProfileTests.test_reversal_before_observed_confirmation) ... ok
test_reversal_terminal_old_retry_no_resurrection (test_payment_profile.PaymentProfileTests.test_reversal_terminal_old_retry_no_resurrection) ... ok
test_strict_wire (test_payment_profile.PaymentProfileTests.test_strict_wire) ... ok
test_sum_scale_currency_and_duplicate_items (test_payment_profile.PaymentProfileTests.test_sum_scale_currency_and_duplicate_items) ... ok
test_unknown_field_unsafe_endpoint_and_calendar (test_payment_profile.PaymentProfileTests.test_unknown_field_unsafe_endpoint_and_calendar) ... ok
test_unsolicited_and_conflicting_check (test_payment_profile.PaymentProfileTests.test_unsolicited_and_conflicting_check) ... ok
test_valid_quote_fee_and_sum (test_payment_profile.PaymentProfileTests.test_valid_quote_fee_and_sum) ... ok
test_wrong_payer_and_exact_mandate_bindings (test_payment_profile.PaymentProfileTests.test_wrong_payer_and_exact_mandate_bindings) ... ok

======================================================================
ERROR: test_process_exit_during_transaction_recovers_all_or_none (test_payment_ledger.PaymentLedgerTests.test_process_exit_during_transaction_recovers_all_or_none)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/LOCAL_HOME/Documents/Codex/2026-09-16/l/work/odexa-next/tests/test_payment_ledger.py", line 122, in test_process_exit_during_transaction_recovers_all_or_none
    result = subprocess.run([sys.executable, '-c', script, str(self.directory)],
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/LOCAL_HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/lib/python3.12/subprocess.py", line 550, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/LOCAL_HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/lib/python3.12/subprocess.py", line 1209, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/LOCAL_HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/lib/python3.12/subprocess.py", line 2116, in _communicate
    self._check_timeout(endtime, orig_timeout, stdout, stderr)
  File "/LOCAL_HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/lib/python3.12/subprocess.py", line 1253, in _check_timeout
    raise TimeoutExpired(
subprocess.TimeoutExpired: Command '['python3', '-c', "\nimport json, os, sys\nfrom profiles.payment_ledger import PaymentLedger\ndata=json.load(sys.stdin)\nledger=PaymentLedger(sys.argv[1])\nwrite=ledger._write\ndef crash(*args, **kwargs):\n    write(*args, **kwargs)\n    os._exit(73)\nledger._write=crash\nledger.apply(data['agreement'],data['response'].encode(),expected_check_id=data['check_id'],authority=data['authority'],now=data['now'])\n", '/BUILD_TMP/tmp124uih1u/ledger']' timed out after 15 seconds

----------------------------------------------------------------------
Ran 45 tests in 159.252s

FAILED (errors=1)
