test_changed_payload_under_same_event_id_is_rejected (test_state_replay.ReplayTests.test_changed_payload_under_same_event_id_is_rejected) ... FAIL test_gap_is_not_silently_skipped (test_state_replay.ReplayTests.test_gap_is_not_silently_skipped) ... FAIL test_new_event_cannot_move_running_back_to_ready (test_state_replay.ReplayTests.test_new_event_cannot_move_running_back_to_ready) ... FAIL test_old_ready_replay_after_reopen_preserves_running (test_state_replay.ReplayTests.test_old_ready_replay_after_reopen_preserves_running) ... FAIL test_receipt_failure_rolls_back_state_cursor_event_and_effect (test_state_replay.ReplayTests.test_receipt_failure_rolls_back_state_cursor_event_and_effect) ... FAIL test_same_sequence_with_another_event_id_is_a_conflict (test_state_replay.ReplayTests.test_same_sequence_with_another_event_id_is_a_conflict) ... FAIL test_two_connections_different_intents_cannot_share_sequence (test_state_replay.ReplayTests.test_two_connections_different_intents_cannot_share_sequence) ... FAIL test_two_connections_same_event_commit_one_local_effect (test_state_replay.ReplayTests.test_two_connections_same_event_commit_one_local_effect) ... FAIL test_unauthorized_tenant_cannot_replay_receipt (test_state_replay.ReplayTests.test_unauthorized_tenant_cannot_replay_receipt) ... FAIL test_untrusted_source_and_boolean_sequence_are_rejected (test_state_replay.ReplayTests.test_untrusted_source_and_boolean_sequence_are_rejected) ... test_untrusted_source_and_boolean_sequence_are_rejected (test_state_replay.ReplayTests.test_untrusted_source_and_boolean_sequence_are_rejected) (reason='source') ... FAIL test_untrusted_source_and_boolean_sequence_are_rejected (test_state_replay.ReplayTests.test_untrusted_source_and_boolean_sequence_are_rejected) (reason='input_shape') ... FAIL ====================================================================== FAIL: test_changed_payload_under_same_event_id_is_rejected (test_state_replay.ReplayTests.test_changed_payload_under_same_event_id_is_rejected) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 40, in test_changed_payload_under_same_event_id_is_rejected with self.assertRaisesRegex(ValueError, '^event_conflict$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ====================================================================== FAIL: test_gap_is_not_silently_skipped (test_state_replay.ReplayTests.test_gap_is_not_silently_skipped) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 49, in test_gap_is_not_silently_skipped with self.assertRaisesRegex(ValueError, '^sequence_gap$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ====================================================================== FAIL: test_new_event_cannot_move_running_back_to_ready (test_state_replay.ReplayTests.test_new_event_cannot_move_running_back_to_ready) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 56, in test_new_event_cannot_move_running_back_to_ready with self.assertRaisesRegex(ValueError, '^status_transition$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ====================================================================== FAIL: test_old_ready_replay_after_reopen_preserves_running (test_state_replay.ReplayTests.test_old_ready_replay_after_reopen_preserves_running) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 34, in test_old_ready_replay_after_reopen_preserves_running self.assertEqual(replay, {'status': 'replayed', 'receipt': first['receipt']}) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: {'status': 'committed', 'receipt': {'receipt_id': 'ti[54 chars]dy'}} != {'status': 'replayed', 'receipt': {'receipt_id': 'tic[53 chars]dy'}} {'receipt': {'event_id': 'e1', 'receipt_id': 'ticket-1:e1', 'seq': 1, 'status': 'ready'}, - 'status': 'committed'} + 'status': 'replayed'} ====================================================================== FAIL: test_receipt_failure_rolls_back_state_cursor_event_and_effect (test_state_replay.ReplayTests.test_receipt_failure_rolls_back_state_cursor_event_and_effect) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 64, in test_receipt_failure_rolls_back_state_cursor_event_and_effect self.assertEqual(self.ledger.snapshot('ticket-1'), ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ {'status': 'waiting', 'cursor': 0, 'events': 0, 'effects': 0, 'receipts': 0}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: {'status': 'ready', 'cursor': 1, 'events': 1, 'effects': 1, 'receipts': 0} != {'status': 'waiting', 'cursor': 0, 'events': 0, 'effects': 0, 'receipts': 0} - {'cursor': 1, 'effects': 1, 'events': 1, 'receipts': 0, 'status': 'ready'} ? ^ ^ ^ ^^ ^^ + {'cursor': 0, 'effects': 0, 'events': 0, 'receipts': 0, 'status': 'waiting'} ? ^ ^ ^ ^ ^^^^^ ====================================================================== FAIL: test_same_sequence_with_another_event_id_is_a_conflict (test_state_replay.ReplayTests.test_same_sequence_with_another_event_id_is_a_conflict) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 45, in test_same_sequence_with_another_event_id_is_a_conflict with self.assertRaisesRegex(ValueError, '^sequence_conflict$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ====================================================================== FAIL: test_two_connections_different_intents_cannot_share_sequence (test_state_replay.ReplayTests.test_two_connections_different_intents_cannot_share_sequence) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 98, in test_two_connections_different_intents_cannot_share_sequence self.assertEqual(self.compete([event(), event(event_id='other')]), ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ['committed', 'sequence_conflict']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['committed', 'committed'] != ['committed', 'sequence_conflict'] First differing element 1: 'committed' 'sequence_conflict' - ['committed', 'committed'] + ['committed', 'sequence_conflict'] ====================================================================== FAIL: test_two_connections_same_event_commit_one_local_effect (test_state_replay.ReplayTests.test_two_connections_same_event_commit_one_local_effect) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 94, in test_two_connections_same_event_commit_one_local_effect self.assertEqual(self.compete([event(), event()]), ['committed', 'replayed']) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['committed', 'committed'] != ['committed', 'replayed'] First differing element 1: 'committed' 'replayed' - ['committed', 'committed'] + ['committed', 'replayed'] ====================================================================== FAIL: test_unauthorized_tenant_cannot_replay_receipt (test_state_replay.ReplayTests.test_unauthorized_tenant_cannot_replay_receipt) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 104, in test_unauthorized_tenant_cannot_replay_receipt with self.assertRaisesRegex(ValueError, '^authorization$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ====================================================================== FAIL: test_untrusted_source_and_boolean_sequence_are_rejected (test_state_replay.ReplayTests.test_untrusted_source_and_boolean_sequence_are_rejected) (reason='source') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 110, in test_untrusted_source_and_boolean_sequence_are_rejected with self.subTest(reason=reason), self.assertRaisesRegex(ValueError, '^' + reason + '$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ====================================================================== FAIL: test_untrusted_source_and_boolean_sequence_are_rejected (test_state_replay.ReplayTests.test_untrusted_source_and_boolean_sequence_are_rejected) (reason='input_shape') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/ghz/workspace/mstapp/agent-field-notes/public/research-evidence/harness-depth-20261030/state/state-replay/test_state_replay.py", line 110, in test_untrusted_source_and_boolean_sequence_are_rejected with self.subTest(reason=reason), self.assertRaisesRegex(ValueError, '^' + reason + '$'): ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ValueError not raised ---------------------------------------------------------------------- Ran 10 tests in 0.043s FAILED (failures=11)