matrx-graph 0.2.366__tar.gz → 0.2.367__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (652) hide show
  1. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/PKG-INFO +3 -3
  2. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/postgres.py +112 -42
  3. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/protocol.py +6 -0
  4. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/value_store.py +64 -53
  5. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/values.py +15 -0
  6. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/FEATURE.md +15 -7
  7. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/node_data_slot_store.py +44 -7
  8. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/run_store.py +45 -9
  9. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/FEATURE.md +27 -4
  10. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/once_step.py +54 -21
  11. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/scheduler.py +115 -51
  12. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/failure.py +15 -1
  13. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/in_organization.py +30 -5
  14. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/__init__.py +4 -1
  15. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/_sandbox.py +33 -2
  16. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/FEATURE.md +4 -1
  17. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/plan/step.py +12 -0
  18. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/subgraph/call.py +2 -2
  19. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/FEATURE.md +4 -0
  20. matrx_graph-0.2.367/matrx_graph/nodes/text/key_phrases.py +244 -0
  21. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/once.py +42 -10
  22. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/pyproject.toml +3 -3
  23. matrx_graph-0.2.367/tests/test_a_called_workflows_answer_is_owned_by_the_caller.py +213 -0
  24. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_large_step_result_reaches_only_when_whole.py +53 -1
  25. matrx_graph-0.2.367/tests/test_a_lock_timeout_says_the_database_was_busy.py +45 -0
  26. matrx_graph-0.2.367/tests/test_a_relayed_timer_park_schedules_no_wake_of_its_own.py +57 -0
  27. matrx_graph-0.2.367/tests/test_a_result_saved_in_another_organization_is_kept.py +149 -0
  28. matrx_graph-0.2.367/tests/test_a_reused_output_resolves_past_the_read_cap.py +52 -0
  29. matrx_graph-0.2.367/tests/test_a_save_never_hands_on_an_earlier_saves_status.py +62 -0
  30. matrx_graph-0.2.367/tests/test_a_step_costs_ten_database_round_trips.py +231 -0
  31. matrx_graph-0.2.367/tests/test_an_optional_step_is_waited_for.py +178 -0
  32. matrx_graph-0.2.367/tests/test_an_outcome_value_is_remembered_only_once_committed.py +147 -0
  33. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_rules.py +1 -1
  34. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_in_organization.py +87 -1
  35. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_large_input_values_stay_off_the_run_row.py +57 -0
  36. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_once_per_key.py +46 -4
  37. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_outcome_inputs_by_reference.py +9 -0
  38. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_outcome_outputs_by_reference.py +4 -0
  39. matrx_graph-0.2.367/tests/test_sandbox_coalesce_default.py +48 -0
  40. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_text_helpers.py +29 -0
  41. matrx_graph-0.2.367/tests/test_text_key_phrases.py +82 -0
  42. matrx_graph-0.2.366/tests/test_a_called_workflows_answer_is_not_copied.py +0 -135
  43. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/.gitignore +0 -0
  44. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/AGENTS.md +0 -0
  45. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/CHANGELOG.md +0 -0
  46. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/CLAUDE.md +0 -0
  47. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/README.md +0 -0
  48. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/ENGINE_SPEC.md +0 -0
  49. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/GAPS_AND_ROADMAP.md +0 -0
  50. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/OPERATING_PRIORITIES.md +0 -0
  51. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/README.md +0 -0
  52. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/RUN_LIFECYCLE.md +0 -0
  53. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/WORKFLOW_ARCHITECTURE.md +0 -0
  54. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/action-authoring.md +0 -0
  55. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/architecture.md +0 -0
  56. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/node-authoring.md +0 -0
  57. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/testing.md +0 -0
  58. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/__init__.py +0 -0
  59. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/ACTION_STANDARDS.md +0 -0
  60. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/__init__.py +0 -0
  61. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/decorator.py +0 -0
  62. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/registry.py +0 -0
  63. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/spec.py +0 -0
  64. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/candidate.py +0 -0
  65. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/__init__.py +0 -0
  66. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/memory.py +0 -0
  67. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checks.py +0 -0
  68. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/compile.py +0 -0
  69. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/composition.py +0 -0
  70. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/FEATURE.md +0 -0
  71. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/__init__.py +0 -0
  72. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/accessor.py +0 -0
  73. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/audit.py +0 -0
  74. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/authoring_gate.py +0 -0
  75. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/availability.py +0 -0
  76. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/converters.py +0 -0
  77. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/directives.py +0 -0
  78. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/edge_routing.py +0 -0
  79. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/envelope.py +0 -0
  80. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/fingerprint.py +0 -0
  81. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/graph_adapter.py +0 -0
  82. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/markers.py +0 -0
  83. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/model.py +0 -0
  84. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/occurrences.py +0 -0
  85. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/partial.py +0 -0
  86. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/pg_emitter.py +0 -0
  87. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/runtime_view.py +0 -0
  88. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/sample.py +0 -0
  89. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/sdk.py +0 -0
  90. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/subscriptions.py +0 -0
  91. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/translate.py +0 -0
  92. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/triggers.py +0 -0
  93. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/well_known.py +0 -0
  94. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/wrappers.py +0 -0
  95. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/contract_kinds.py +0 -0
  96. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/contracts/__init__.py +0 -0
  97. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/contracts/audit.py +0 -0
  98. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/__init__.py +0 -0
  99. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/_registry.py +0 -0
  100. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/db_requirements.py +0 -0
  101. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/definition_store.py +0 -0
  102. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/event_store.py +0 -0
  103. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0020_wf_run_announce.sql +0 -0
  104. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0021_join_semantics.sql +0 -0
  105. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0022_node_data_slot.sql +0 -0
  106. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0023_fanout_identity.sql +0 -0
  107. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0024_definition_variables.sql +0 -0
  108. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0100_baseline_post_reorg.sql +0 -0
  109. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0101_run_request_attribution.sql +0 -0
  110. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0102_visibility_and_kind_verdicts.sql +0 -0
  111. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0103_work_item.sql +0 -0
  112. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0104_soft_delete_columns.sql +0 -0
  113. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0105_plan.sql +0 -0
  114. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0106_definition_visibility_internal_default.sql +0 -0
  115. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0107_plan_anchor_integrity.sql +0 -0
  116. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0108_plan_persistence_invariants.sql +0 -0
  117. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0109_node_data_slot_created_by.sql +0 -0
  118. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0110_run_log.sql +0 -0
  119. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0111_awaiting_input_status.sql +0 -0
  120. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0111_event_triggers.sql +0 -0
  121. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0112_definition_io_kind_declaration.sql +0 -0
  122. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0113_definition_published_to_web_and_shown_to.sql +0 -0
  123. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0114_definition_workflow_type.sql +0 -0
  124. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0115_checkpoint_value.sql +0 -0
  125. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0116_standalone_checkpoint_organization_and_values.sql +0 -0
  126. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0117_review_flags.sql +0 -0
  127. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0118_event_trigger_hops_and_any_org.sql +0 -0
  128. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0119_step_result.sql +0 -0
  129. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0120_step_result_soft_delete.sql +0 -0
  130. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0121_review_issue_per_org.sql +0 -0
  131. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/README.md +0 -0
  132. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0001_wf_initial.sql +0 -0
  133. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0002_wf_queue.sql +0 -0
  134. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0003_wf_node_events.sql +0 -0
  135. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0004_wf_trigger.sql +0 -0
  136. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0005_wf_rls.sql +0 -0
  137. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0006_wf_run_cancelling.sql +0 -0
  138. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0007_wf_run_paused_and_errored.sql +0 -0
  139. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0008_wf_node_outcome_source.sql +0 -0
  140. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0009_wf_run_recovery_limit.sql +0 -0
  141. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0010_wf_idempotency.sql +0 -0
  142. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0011_wf_definition_concurrency_limit.sql +0 -0
  143. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0012_wf_trigger_fire.sql +0 -0
  144. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0013_wf_recovery_audit.sql +0 -0
  145. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0014_wf_node_events_notify.sql +0 -0
  146. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0016_wf_template.sql +0 -0
  147. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0017_wf_hardening.sql +0 -0
  148. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0018_wf_node_events_seq.sql +0 -0
  149. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0019_wf_node_events_drop_check.sql +0 -0
  150. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/README.md +0 -0
  151. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/pool.py +0 -0
  152. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/standalone.py +0 -0
  153. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/store_change.py +0 -0
  154. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/trigger_event_store.py +0 -0
  155. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/trigger_proof.py +0 -0
  156. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/trigger_store.py +0 -0
  157. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/wf_manager.py +0 -0
  158. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/decision_spec.py +0 -0
  159. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/decisions.py +0 -0
  160. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/deprecated_steps.json +0 -0
  161. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/deprecations.py +0 -0
  162. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/diagnostics/__init__.py +0 -0
  163. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/diagnostics/compile_validation.py +0 -0
  164. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/dry_run.py +0 -0
  165. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/emptiness.py +0 -0
  166. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/errors.py +0 -0
  167. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/examples/__init__.py +0 -0
  168. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/examples/self_validating_news.py +0 -0
  169. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/__init__.py +0 -0
  170. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/_retry.py +0 -0
  171. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/answered_park.py +0 -0
  172. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/channels.py +0 -0
  173. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/client_payload.py +0 -0
  174. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/execution.py +0 -0
  175. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/introspect.py +0 -0
  176. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/json_dump.py +0 -0
  177. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/one_at_a_time_step.py +0 -0
  178. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/primitives.py +0 -0
  179. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/registry.py +0 -0
  180. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/resume_chain.py +0 -0
  181. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/resume_preflight.py +0 -0
  182. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/review_flags.py +0 -0
  183. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/run_stop.py +0 -0
  184. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/schema_validation.py +0 -0
  185. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/extract.py +0 -0
  186. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/fold.py +0 -0
  187. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/input_bindings.py +0 -0
  188. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/kind_control_keys.py +0 -0
  189. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/kind_fields.py +0 -0
  190. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/kinds.py +0 -0
  191. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/knobs.py +0 -0
  192. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/llm_json.py +0 -0
  193. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/mapping_sources.py +0 -0
  194. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/_template.py +0 -0
  195. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/content_ir/__init__.py +0 -0
  196. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/content_ir/validate.py +0 -0
  197. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/FEATURE.md +0 -0
  198. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/__init__.py +0 -0
  199. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/branch.py +0 -0
  200. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/gather.py +0 -0
  201. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/human_input.py +0 -0
  202. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/loop.py +0 -0
  203. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/map.py +0 -0
  204. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/send.py +0 -0
  205. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/work_queue.py +0 -0
  206. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/work_seed.py +0 -0
  207. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/crypto/__init__.py +0 -0
  208. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/crypto/ops.py +0 -0
  209. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/__init__.py +0 -0
  210. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/apportion.py +0 -0
  211. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/assert_.py +0 -0
  212. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/check_items.py +0 -0
  213. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/choose.py +0 -0
  214. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/collections.py +0 -0
  215. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/criteria_gate.py +0 -0
  216. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/data_table.py +0 -0
  217. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/filter.py +0 -0
  218. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/flatten.py +0 -0
  219. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/group.py +0 -0
  220. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/join.py +0 -0
  221. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/json_io.py +0 -0
  222. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/map_template.py +0 -0
  223. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/merge.py +0 -0
  224. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/pick_omit.py +0 -0
  225. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/read_record.py +0 -0
  226. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/rules.py +0 -0
  227. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/shuffle.py +0 -0
  228. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/spread_rank.py +0 -0
  229. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/tabular.py +0 -0
  230. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/transform.py +0 -0
  231. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/datetime_/__init__.py +0 -0
  232. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/datetime_/ops.py +0 -0
  233. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/FEATURE.md +0 -0
  234. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/__init__.py +0 -0
  235. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/noop.py +0 -0
  236. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/sleep.py +0 -0
  237. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/throttle.py +0 -0
  238. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/FEATURE.md +0 -0
  239. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/__init__.py +0 -0
  240. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/_shared.py +0 -0
  241. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/custom_api.py +0 -0
  242. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/get.py +0 -0
  243. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/graphql.py +0 -0
  244. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/post.py +0 -0
  245. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/io/__init__.py +0 -0
  246. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/io/user_input.py +0 -0
  247. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/log/FEATURE.md +0 -0
  248. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/log/__init__.py +0 -0
  249. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/log/record.py +0 -0
  250. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/math_/__init__.py +0 -0
  251. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/math_/evaluate.py +0 -0
  252. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/output/FEATURE.md +0 -0
  253. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/output/__init__.py +0 -0
  254. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/output/to_frontend.py +0 -0
  255. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/FEATURE.md +0 -0
  256. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/__init__.py +0 -0
  257. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/contract.py +0 -0
  258. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/step.py +0 -0
  259. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/plan/__init__.py +0 -0
  260. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/settings/__init__.py +0 -0
  261. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/settings/read.py +0 -0
  262. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/speech/FEATURE.md +0 -0
  263. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/speech/__init__.py +0 -0
  264. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/speech/budget.py +0 -0
  265. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/subgraph/FEATURE.md +0 -0
  266. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/subgraph/__init__.py +0 -0
  267. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/__init__.py +0 -0
  268. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/case.py +0 -0
  269. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/custom_extract.py +0 -0
  270. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/json_path.py +0 -0
  271. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/manipulate.py +0 -0
  272. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/regex.py +0 -0
  273. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/render_list.py +0 -0
  274. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/repeated_lines.py +0 -0
  275. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/sections.py +0 -0
  276. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/similarity.py +0 -0
  277. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/term_scan.py +0 -0
  278. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/tool/__init__.py +0 -0
  279. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/tool/call.py +0 -0
  280. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/observability/__init__.py +0 -0
  281. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/one_at_a_time.py +0 -0
  282. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/overview.py +0 -0
  283. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/patch.py +0 -0
  284. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/paths.py +0 -0
  285. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/placement.py +0 -0
  286. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/py.typed +0 -0
  287. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/records.py +0 -0
  288. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/references.py +0 -0
  289. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/run_log.py +0 -0
  290. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/safe_regex.py +0 -0
  291. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/seats.py +0 -0
  292. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/secrets.py +0 -0
  293. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/settings.py +0 -0
  294. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/shape_probe.py +0 -0
  295. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/speech_pace.py +0 -0
  296. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/spend_gate.py +0 -0
  297. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/step_settings.py +0 -0
  298. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/system_values.py +0 -0
  299. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/table_kind_mapping.json +0 -0
  300. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/table_kinds.py +0 -0
  301. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/text_match.py +0 -0
  302. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/__init__.py +0 -0
  303. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/canonical_payloads.py +0 -0
  304. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/channel.py +0 -0
  305. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/compiled.py +0 -0
  306. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/context.py +0 -0
  307. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/definition.py +0 -0
  308. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/deliverables.py +0 -0
  309. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/events.py +0 -0
  310. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/handle.py +0 -0
  311. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/identity_inputs.py +0 -0
  312. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/input_surface.py +0 -0
  313. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/node_spec.py +0 -0
  314. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/primitives.py +0 -0
  315. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/result.py +0 -0
  316. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/review.py +0 -0
  317. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/run.py +0 -0
  318. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/send.py +0 -0
  319. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/usl.py +0 -0
  320. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/value_objects.py +0 -0
  321. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/variables.py +0 -0
  322. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/validation.py +0 -0
  323. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/FEATURE.md +0 -0
  324. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/__init__.py +0 -0
  325. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/capability.py +0 -0
  326. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/cron_watcher.py +0 -0
  327. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/event_watcher.py +0 -0
  328. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/job_lease.py +0 -0
  329. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/queue.py +0 -0
  330. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/runner.py +0 -0
  331. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/sleep_wake.py +0 -0
  332. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workset.py +0 -0
  333. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/__init__.py +0 -0
  334. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/_db_guard.py +0 -0
  335. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/_fixtures.py +0 -0
  336. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/ci/00_supabase_shim.sql +0 -0
  337. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/ci/10_canonical_reorg_shim.sql +0 -0
  338. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/ci/bootstrap_test_db.sh +0 -0
  339. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/conftest.py +0 -0
  340. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/kind_control_keys_golden.json +0 -0
  341. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/kind_registry_variants.json +0 -0
  342. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/live_saved_regex_patterns.json +0 -0
  343. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/table_kind_golden.json +0 -0
  344. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/w59_empty_prescriber_output.json +0 -0
  345. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/watson_rulebook_ids.json +0 -0
  346. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/judge/__init__.py +0 -0
  347. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/judge/test_self_validating_news_e2e.py +0 -0
  348. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/level2/__init__.py +0 -0
  349. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/level2/test_anthropic_provider.py +0 -0
  350. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_bound_graph_hash_moves_with_content_only.py +0 -0
  351. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_caller_sets_how_many_run_at_once.py +0 -0
  352. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_claim_into_running_is_a_liveness_signal.py +0 -0
  353. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_condition_stop_is_said_at_run_level.py +0 -0
  354. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_conditional_and_plain_inbound_step_waits_for_both.py +0 -0
  355. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_failed_check_stops_what_depends_on_it.py +0 -0
  356. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_failed_final_write_ends_the_run_failed.py +0 -0
  357. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_fan_out_is_never_a_workflows_result.py +0 -0
  358. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_fan_out_whose_every_item_failed_fails_loudly.py +0 -0
  359. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_large_run_result_is_kept_by_reference.py +0 -0
  360. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_large_step_output_stays_out_of_the_run_row.py +0 -0
  361. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_left_out_that_is_off_validates_against_its_kind.py +0 -0
  362. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_leg_knows_whether_it_ran_fresh.py +0 -0
  363. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_lost_lease_never_strands_or_lingers.py +0 -0
  364. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_mapping_off_a_declared_kind_is_checked_against_it.py +0 -0
  365. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_mapping_that_reads_nothing_raises_a_review_flag.py +0 -0
  366. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_missing_mapping_path_arrives_absent.py +0 -0
  367. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_node_fires_when_its_facts_are_confirmed.py +0 -0
  368. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_paid_fan_out_is_bounded_and_stops_at_its_limit.py +0 -0
  369. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_refusal_says_its_sentence_with_values.py +0 -0
  370. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_refused_item_is_a_hole_that_names_its_approval.py +0 -0
  371. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_refused_value_is_named_not_no_ai_assigned.py +0 -0
  372. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_restart_resume_names_its_reason_and_keeps_the_dead_attempts_cost.py +0 -0
  373. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_result_step_runs_and_a_missing_result_is_never_completed.py +0 -0
  374. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_resumed_run_hands_back_its_whole_result.py +0 -0
  375. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_rules_table_can_come_from_a_run_input.py +0 -0
  376. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_run_log_write_that_fails_is_captured.py +0 -0
  377. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_run_row_update_never_returns_the_whole_row.py +0 -0
  378. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_run_stopped_at_a_failed_check_says_so.py +0 -0
  379. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_setting_can_come_from_a_run_input.py +0 -0
  380. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_started_leg_keeps_the_queues_guarantees.py +0 -0
  381. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_step_keeps_what_it_got_back.py +0 -0
  382. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_step_that_was_answered_is_not_called_skipped.py +0 -0
  383. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_step_time_limit_follows_the_failure_path.py +0 -0
  384. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_sub_workflow_is_called_by_name_and_answers_one_result.py +0 -0
  385. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_terminal_run_keeps_settled_job_markers.py +0 -0
  386. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_action_output_handles.py +0 -0
  387. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_actions.py +0 -0
  388. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_added_steps_never_land_on_another.py +0 -0
  389. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_engine_core.py +0 -0
  390. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_kind_routing.py +0 -0
  391. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_partial_wire.py +0 -0
  392. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_registry.py +0 -0
  393. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_answered_question_is_never_asked_again.py +0 -0
  394. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_archived_saved_result_is_never_reused.py +0 -0
  395. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_error_connection_into_a_join_never_drops_the_step.py +0 -0
  396. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_input_default_can_come_from_system_context.py +0 -0
  397. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_omitted_argument_takes_its_declared_default.py +0 -0
  398. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_optional_step_failure_completes_the_run.py +0 -0
  399. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_authoring_gate.py +0 -0
  400. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_back_edges.py +0 -0
  401. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_barrier_removed.py +0 -0
  402. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_batched_list_result_left_out_matches_live.py +0 -0
  403. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_branch_emits_only_the_keys_it_received.py +0 -0
  404. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_branch_passthrough_keeps_its_own_kind.py +0 -0
  405. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_candidate_node_gate.py +0 -0
  406. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_capability_aware_claim.py +0 -0
  407. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_channel.py +0 -0
  408. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_channels_reducers.py +0 -0
  409. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_check_items_takes_an_empty_list.py +0 -0
  410. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_postgres_org_write.py +0 -0
  411. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_rows_stay_small.py +0 -0
  412. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_summaries.py +0 -0
  413. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_write_budget.py +0 -0
  414. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_choose_fold.py +0 -0
  415. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_choose_items.py +0 -0
  416. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_client_bound_error_redaction.py +0 -0
  417. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_config_output_handles_normalized.py +0 -0
  418. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_connections_reach_items.py +0 -0
  419. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_audit.py +0 -0
  420. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_converters.py +0 -0
  421. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_envelope.py +0 -0
  422. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_markers.py +0 -0
  423. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_model.py +0 -0
  424. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_partial.py +0 -0
  425. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_pg_emitter.py +0 -0
  426. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_runtime_view.py +0 -0
  427. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_sample.py +0 -0
  428. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_stamped_marker_equality.py +0 -0
  429. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_translate.py +0 -0
  430. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_context_propagation.py +0 -0
  431. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_contract_artifact_eviction.py +0 -0
  432. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_contract_audit.py +0 -0
  433. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_contract_kinds.py +0 -0
  434. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_criteria_bundle_is_a_kind.py +0 -0
  435. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_criteria_gate.py +0 -0
  436. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_criteria_gate_fails_closed_on_unsafe_lanes.py +0 -0
  437. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_apportion.py +0 -0
  438. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_batch_first_fit.py +0 -0
  439. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_batch_split.py +0 -0
  440. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_check_items.py +0 -0
  441. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_check_items_pattern.py +0 -0
  442. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_collections.py +0 -0
  443. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_group.py +0 -0
  444. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_join.py +0 -0
  445. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_nodes.py +0 -0
  446. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_rules_sum_scores.py +0 -0
  447. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_shuffle.py +0 -0
  448. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_spread_rank.py +0 -0
  449. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_db_guard.py +0 -0
  450. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_decision_attribution.py +0 -0
  451. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_decision_default_and_edge_key_guards.py +0 -0
  452. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dedupe_matches_and_against.py +0 -0
  453. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dedupe_merges_duplicates.py +0 -0
  454. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dedupe_similar_and_limit_round_robin.py +0 -0
  455. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition.py +0 -0
  456. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_archive_filter.py +0 -0
  457. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_list_skip.py +0 -0
  458. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_publish_is_a_change.py +0 -0
  459. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_save_draft_author.py +0 -0
  460. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_set_tags.py +0 -0
  461. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_version_load.py +0 -0
  462. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_deliverables_rule.py +0 -0
  463. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_deprecated_steps_scream.py +0 -0
  464. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dry_run.py +0 -0
  465. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dry_run_source_input.py +0 -0
  466. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dynamic_topology_guards.py +0 -0
  467. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_edge_field_selection.py +0 -0
  468. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_empty_deliverable_is_named.py +0 -0
  469. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_empty_fanout.py +0 -0
  470. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_end_to_end.py +0 -0
  471. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_event_payloads_stay_small.py +0 -0
  472. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_event_store_error_redaction.py +0 -0
  473. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_event_triggers.py +0 -0
  474. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_dispatcher_is_seen_by_lineage.py +0 -0
  475. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_items_input_kind_takes_items.py +0 -0
  476. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_pure_builtin_declares_where_its_values_come_from.py +0 -0
  477. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_terminal_status_stamps_completed_at.py +0 -0
  478. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_extract.py +0 -0
  479. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_extras_read_is_one_rule.py +0 -0
  480. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_failure.py +0 -0
  481. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_failure_is_not_the_users_words.py +0 -0
  482. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_filter_keeps_children_of_dropped_parents.py +0 -0
  483. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_filter_other_inputs_pass_the_kind_gate.py +0 -0
  484. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_filter_reads_other_inputs.py +0 -0
  485. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_flatten_carry.py +0 -0
  486. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_flatten_value_as_expands_a_search_per_engine.py +0 -0
  487. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_flow_nodes.py +0 -0
  488. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_fold_reshape_steps.py +0 -0
  489. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gate_default_and_wait_from_input.py +0 -0
  490. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gather_ai_projection.py +0 -0
  491. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gather_channel_item_indexes.py +0 -0
  492. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gather_reports_reused_items.py +0 -0
  493. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_http_nodes.py +0 -0
  494. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_http_nodes_refuse_internal_addresses.py +0 -0
  495. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_http_secrets.py +0 -0
  496. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_answer_kind_declaration.py +0 -0
  497. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_gate_decision.py +0 -0
  498. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_gate_seat.py +0 -0
  499. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_input_bare_context.py +0 -0
  500. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_input_pause_round_trip.py +0 -0
  501. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_input_presentation.py +0 -0
  502. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_identity_input_broadcast.py +0 -0
  503. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_inert_predicate_guard.py +0 -0
  504. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_ingestion_gate.py +0 -0
  505. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_input_gate_failure_is_routable.py +0 -0
  506. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_input_surface.py +0 -0
  507. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_input_surface_variant_registry.py +0 -0
  508. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_invocation_budget.py +0 -0
  509. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_io_nodes.py +0 -0
  510. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_json_dump.py +0 -0
  511. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_accessor.py +0 -0
  512. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_availability.py +0 -0
  513. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_control_keys.py +0 -0
  514. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_enforcement.py +0 -0
  515. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_fields.py +0 -0
  516. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_native_node_library.py +0 -0
  517. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_routing.py +0 -0
  518. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_sdk.py +0 -0
  519. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kinds.py +0 -0
  520. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_knobs.py +0 -0
  521. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_left_out_sort_keys_and_page_helpers.py +0 -0
  522. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_length_units_line_breaks.py +0 -0
  523. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_list_include_ids.py +0 -0
  524. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_list_shaping_nodes.py +0 -0
  525. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_live_injection.py +0 -0
  526. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_log_record_node.py +0 -0
  527. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_loop_scale.py +0 -0
  528. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_map_payload_template.py +0 -0
  529. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_mapping_source_sigils.py +0 -0
  530. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_multi_dispatch_fanin.py +0 -0
  531. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_no_connection_into_a_for_each_step.py +0 -0
  532. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_no_kind_marker.py +0 -0
  533. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_cost_event.py +0 -0
  534. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_data_slot_store.py +0 -0
  535. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_data_slot_stores_json_not_a_string.py +0 -0
  536. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_data_slot_validation.py +0 -0
  537. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_emitter_settle.py +0 -0
  538. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_error_kind.py +0 -0
  539. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_input_capture.py +0 -0
  540. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_result_envelope.py +0 -0
  541. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_spec.py +0 -0
  542. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_nonidentity_kind_marker.py +0 -0
  543. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_one_at_a_time.py +0 -0
  544. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_only_when_sees_the_steps_run_inputs.py +0 -0
  545. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_outage_path_is_not_an_agent_choice.py +0 -0
  546. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_output_channel_binding.py +0 -0
  547. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_output_kind_stamping.py +0 -0
  548. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_overview_collapse.py +0 -0
  549. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_parse_json_lenient.py +0 -0
  550. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_patch.py +0 -0
  551. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_patch_presentation_ops.py +0 -0
  552. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_patch_set_entry_nodes.py +0 -0
  553. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_pause_cancel_and_recovery.py +0 -0
  554. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_pipe_step.py +0 -0
  555. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_plan_identity_consistency.py +0 -0
  556. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_plan_step.py +0 -0
  557. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_postgres_checkpointer.py +0 -0
  558. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_postgres_workset_store.py +0 -0
  559. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_predicate_preview_per_item.py +0 -0
  560. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_primitives.py +0 -0
  561. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_pruned_map_prunes_its_target.py +0 -0
  562. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_public_media_scope.py +0 -0
  563. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_raised_error_details_reach_outcome.py +0 -0
  564. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_read_record_node.py +0 -0
  565. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_references.py +0 -0
  566. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_regex_extract_reads_a_list.py +0 -0
  567. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_registry.py +0 -0
  568. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_required_inputs_gate.py +0 -0
  569. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_reshape_steps_are_not_needed.py +0 -0
  570. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_response_checks.py +0 -0
  571. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_resume_payload_folding.py +0 -0
  572. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_resume_preflight_soundness.py +0 -0
  573. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_review_flags_raised_by_the_engine.py +0 -0
  574. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_conversation_identity.py +0 -0
  575. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_inputs_reach_a_strict_entry_step_only_by_name.py +0 -0
  576. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_organization_is_read_once.py +0 -0
  577. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_ref_names_the_run.py +0 -0
  578. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_store_control.py +0 -0
  579. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_variables.py +0 -0
  580. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_waiting_hook.py +0 -0
  581. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sampled_steps.py +0 -0
  582. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_comprehensions.py +0 -0
  583. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_date_helpers.py +0 -0
  584. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_get_helper.py +0 -0
  585. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_conditional_edge.py +0 -0
  586. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_config_override.py +0 -0
  587. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_events.py +0 -0
  588. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_failsoft.py +0 -0
  589. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_failure_cost_settlement.py +0 -0
  590. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_fanout_identity.py +0 -0
  591. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_fork_to_new_run.py +0 -0
  592. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_interrupt_siblings.py +0 -0
  593. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_join_hardening.py +0 -0
  594. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_joins.py +0 -0
  595. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_loop_contract.py +0 -0
  596. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_mock_response.py +0 -0
  597. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_node_retry_override.py +0 -0
  598. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_node_timeout.py +0 -0
  599. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_ready_nodes_do_not_wait.py +0 -0
  600. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_retry_policy.py +0 -0
  601. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_skip_edge_ids.py +0 -0
  602. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_step_mode.py +0 -0
  603. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_step_wall_clock.py +0 -0
  604. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_screen_value.py +0 -0
  605. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_self_validating_news.py +0 -0
  606. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_send_unwired_items_is_loud.py +0 -0
  607. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_settings_read_step.py +0 -0
  608. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_site_blocked_is_not_not_authorized.py +0 -0
  609. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sleep_re_execute_on_wake.py +0 -0
  610. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sleep_wake_targets_the_newest_park.py +0 -0
  611. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_speech_budget.py +0 -0
  612. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_standalone_db_models.py +0 -0
  613. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_step_settings.py +0 -0
  614. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_store_event_source.py +0 -0
  615. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_subgraph_call.py +0 -0
  616. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_table_kind_round_trip.py +0 -0
  617. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_format_text.py +0 -0
  618. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_optional_ref.py +0 -0
  619. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_path_shape_gate.py +0 -0
  620. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_run_ref.py +0 -0
  621. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_run_ref_review_fixes.py +0 -0
  622. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_selector_segment.py +0 -0
  623. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_uuid5_stable_id.py +0 -0
  624. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_case.py +0 -0
  625. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_match_one_word_split_in_two.py +0 -0
  626. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_match_review_fixes.py +0 -0
  627. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_nodes.py +0 -0
  628. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_remove_repeated_lines.py +0 -0
  629. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_sections_patch.py +0 -0
  630. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_similarity.py +0 -0
  631. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_term_scan.py +0 -0
  632. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_term_scan_proper_names.py +0 -0
  633. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_tool_loop_stall_is_a_cause.py +0 -0
  634. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_transform_output_shape.py +0 -0
  635. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_transform_parts_run_in_the_order_they_read.py +0 -0
  636. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_triggers_and_observability.py +0 -0
  637. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_unreadable_paths_are_refused_at_validation.py +0 -0
  638. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_user_input_filled_from_data.py +0 -0
  639. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_utility_nodes.py +0 -0
  640. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_expression_sandbox.py +0 -0
  641. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_fanned_edge_needs_items.py +0 -0
  642. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_hints.py +0 -0
  643. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_s4.py +0 -0
  644. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_value_store_keeps_strings_strings.py +0 -0
  645. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_values_held_on_server.py +0 -0
  646. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_variables_carry_their_type.py +0 -0
  647. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_w0_agent_build_engine_proofs.py +0 -0
  648. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_workers.py +0 -0
  649. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_workset.py +0 -0
  650. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_workset_chaos.py +0 -0
  651. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_wrapped_db_timeout_is_persistence.py +0 -0
  652. {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_zip_by_position.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: matrx-graph
3
- Version: 0.2.366
3
+ Version: 0.2.367
4
4
  Summary: Channel-based, super-step workflow orchestration engine for the Matrx ecosystem
5
5
  Project-URL: Homepage, https://github.com/AI-Matrix-Engine/aidream-current
6
6
  Project-URL: Repository, https://github.com/AI-Matrix-Engine/aidream-current
@@ -20,13 +20,13 @@ Requires-Dist: croniter>=2.0
20
20
  Requires-Dist: httpx>=0.27
21
21
  Requires-Dist: jsonschema>=4.20
22
22
  Requires-Dist: matrx-connect>=0.1.256
23
- Requires-Dist: matrx-utils>=2.0.98
23
+ Requires-Dist: matrx-utils>=2.0.100
24
24
  Requires-Dist: pydantic>=2.12
25
25
  Requires-Dist: pyyaml>=6.0
26
26
  Provides-Extra: otel
27
27
  Requires-Dist: opentelemetry-api>=1.25; extra == 'otel'
28
28
  Provides-Extra: postgres
29
- Requires-Dist: matrx-orm>=3.1.267; extra == 'postgres'
29
+ Requires-Dist: matrx-orm>=3.1.272; extra == 'postgres'
30
30
  Description-Content-Type: text/markdown
31
31
 
32
32
  # matrx-graph
@@ -85,6 +85,24 @@ async def _organization_for_run(run_id: str) -> str:
85
85
  # run_id -> organization_id (immutable per run); insertion-ordered, oldest evicted first.
86
86
  _RUN_ORGANIZATION: dict[str, str] = {}
87
87
 
88
+ # run_id -> the run's status read by its latest checkpoint save, taken once by the
89
+ # scheduler's next boundary poll (PostgresCheckpointer.pop_run_status). Bounded:
90
+ # a run that ends without polling again leaves one entry, evicted oldest first.
91
+ _RUN_STATUS_AT_SAVE: dict[str, str] = {}
92
+ _RUN_STATUS_AT_SAVE_MAX = 1024
93
+
94
+
95
+ def _remember_run_status(run_id: str, result: Any) -> None:
96
+ rows = getattr(result, "updated_rows", None) or []
97
+ status = rows[0].get("status") if rows and isinstance(rows[0], dict) else None
98
+ key = str(run_id)
99
+ _RUN_STATUS_AT_SAVE.pop(key, None)
100
+ if status is None:
101
+ return
102
+ while len(_RUN_STATUS_AT_SAVE) >= _RUN_STATUS_AT_SAVE_MAX:
103
+ _RUN_STATUS_AT_SAVE.pop(next(iter(_RUN_STATUS_AT_SAVE)))
104
+ _RUN_STATUS_AT_SAVE[key] = str(status)
105
+
88
106
 
89
107
  def _is_retryable_write_failure(exc: BaseException) -> bool:
90
108
  """Whether re-issuing the keyed INSERT is worth an attempt.
@@ -236,6 +254,10 @@ class PostgresCheckpointer:
236
254
  """
237
255
 
238
256
  async def save_checkpoint(self, checkpoint: Checkpoint) -> None:
257
+ # The status an EARLIER save read is stale from here on: only a write that lands in
258
+ # THIS save may hand the next boundary a status. A save that ends without one (a
259
+ # timed-out attempt that had committed, a failure) leaves none, so the boundary reads.
260
+ _RUN_STATUS_AT_SAVE.pop(str(checkpoint.run_id), None)
239
261
  # Serialization guard (audit P2-2): channel_values are JSON-coerced
240
262
  # at write time by the channel layer, but interrupt_payload and
241
263
  # pending_bindings' payload fragments arrive raw from node code — a
@@ -408,17 +430,28 @@ class PostgresCheckpointer:
408
430
  returning=["id"],
409
431
  statement_timeout=policy.statement_timeout_seconds,
410
432
  )
411
- # Only the id comes back — never the whole run row (run_store.RUN_UPDATE_RETURNS).
412
- await (
433
+ # Only the id and the status come back — never the whole run row
434
+ # (run_store.RUN_UPDATE_RETURNS). The status is read by this same
435
+ # statement, under its row lock, so the scheduler's pause/cancel poll at
436
+ # the boundary that follows needs no read of its own (pop_run_status).
437
+ pointed = await (
413
438
  get_model("WfRun")
414
439
  .filter(id=checkpoint.run_id)
415
- .returning("id")
440
+ .returning("id", "status")
416
441
  .update(last_checkpoint_id=checkpoint.checkpoint_id)
417
442
  )
443
+ _remember_run_status(checkpoint.run_id, pointed)
418
444
  stored.update(fresh)
419
445
  if len(_stored_value_hashes) > _STORED_HASH_RUNS:
420
446
  _stored_value_hashes.pop(next(iter(_stored_value_hashes)))
421
447
 
448
+ def pop_run_status(self, run_id: str) -> str | None:
449
+ """The run's status as the last checkpoint save of ``run_id`` read it — once.
450
+
451
+ ``None`` when no save in this process read it (or it was already taken); the
452
+ caller then reads the status itself."""
453
+ return _RUN_STATUS_AT_SAVE.pop(str(run_id), None)
454
+
422
455
  async def _checkpoint_landed(self, checkpoint: Checkpoint) -> bool:
423
456
  """Whether the row is already there — the idempotency proof for a retry.
424
457
 
@@ -541,10 +574,16 @@ class PostgresCheckpointer:
541
574
  # NodeOutcome field is `inputs` (plural — it is a mapping of arguments);
542
575
  # the column is `input` (singular — it is one envelope). Mapped here,
543
576
  # once, rather than renaming either side to match the other.
577
+ # The large input/output values and the outcome row land in ONE transaction
578
+ # (one BEGIN, one COMMIT) instead of a transaction per value batch plus one
579
+ # for the row: the values are split off here and written beside the upsert.
580
+ fresh: dict[str, Any] = {}
581
+ inline_payload: dict[str, Any] = {}
544
582
  for col in _available_input_envelope_columns():
545
583
  value = outcome.inputs if col == "input" else outcome.input_kind
546
584
  if col == "input":
547
- value = await _intern_outcome_value(outcome.run_id, value, "input")
585
+ inline_payload[col] = value
586
+ value = await _split_outcome_value(outcome.run_id, value, "input", fresh)
548
587
  extra_payload[col] = value
549
588
  extra_update.append(col)
550
589
  if outcome.metadata:
@@ -552,8 +591,9 @@ class PostgresCheckpointer:
552
591
  # clobber metadata another writer put on the row.
553
592
  extra_payload["metadata"] = outcome.metadata
554
593
  extra_update.append("metadata")
555
- await get_model("WfNodeOutcome").upsert(
556
- {
594
+ inline_payload["output"] = outcome.output
595
+ output_value = await _split_outcome_value(outcome.run_id, outcome.output, "output", fresh)
596
+ row = {
557
597
  **extra_payload,
558
598
  "run_id": outcome.run_id,
559
599
  "organization_id": organization_id,
@@ -562,7 +602,7 @@ class PostgresCheckpointer:
562
602
  "attempt": outcome.attempt,
563
603
  "dispatch_id": outcome.dispatch_id,
564
604
  "item_index": outcome.item_index,
565
- "output": await _intern_outcome_value(outcome.run_id, outcome.output, "output"),
605
+ "output": output_value,
566
606
  "channel_writes": outcome.channel_writes,
567
607
  "sends": [s.model_dump(mode="json") for s in outcome.sends],
568
608
  "emissions": outcome.emissions,
@@ -575,34 +615,56 @@ class PostgresCheckpointer:
575
615
  "output_kind": outcome.output_kind,
576
616
  "output_kind_ok": outcome.output_kind_ok,
577
617
  "output_kind_errors": outcome.output_kind_errors,
578
- },
579
- on_conflict=[
580
- "run_id",
581
- "step",
582
- "node_id",
583
- "dispatch_id",
584
- "item_index",
585
- "attempt",
586
- ],
587
- # Only the id comes back (MKT-111): an outcome carries the step's
588
- # whole output and input, and RETURNING * read them back over the
589
- # wire, decoded them, and cached the row in the ORM.
590
- returning=["id"],
591
- update_fields=[
592
- "output",
593
- "channel_writes",
594
- "sends",
595
- "emissions",
596
- "duration_ms",
597
- "error",
598
- "source",
599
- "completed_at",
600
- "output_kind",
601
- "output_kind_ok",
602
- "output_kind_errors",
603
- *extra_update,
604
- ],
605
- )
618
+ }
619
+ update_fields = [
620
+ "output",
621
+ "channel_writes",
622
+ "sends",
623
+ "emissions",
624
+ "duration_ms",
625
+ "error",
626
+ "source",
627
+ "completed_at",
628
+ "output_kind",
629
+ "output_kind_ok",
630
+ "output_kind_errors",
631
+ *extra_update,
632
+ ]
633
+
634
+ async def _upsert(values: dict[str, Any]) -> None:
635
+ await get_model("WfNodeOutcome").upsert(
636
+ values,
637
+ on_conflict=["run_id", "step", "node_id", "dispatch_id", "item_index", "attempt"],
638
+ # Only the id comes back (MKT-111): an outcome carries the step's
639
+ # whole output and input, and RETURNING * read them back over the
640
+ # wire, decoded them, and cached the row in the ORM.
641
+ returning=["id"],
642
+ update_fields=update_fields,
643
+ )
644
+
645
+ if not fresh:
646
+ await _upsert(row)
647
+ return
648
+ from matrx_graph.checkpoint import value_store
649
+
650
+ try:
651
+ async with _outcome_transaction():
652
+ written = await value_store.store_run_values(
653
+ outcome.run_id, fresh, organization_id=organization_id, remember=False
654
+ )
655
+ await _upsert(row)
656
+ # Remembered only now, COMMITTED: a concurrent sibling (fan-out) with the same value
657
+ # must write it itself until then, never a reference to an uncommitted value.
658
+ value_store.remember_stored_values(outcome.run_id, written)
659
+ return
660
+ except Exception: # noqa: BLE001 — the outcome must still land
661
+ # The transaction rolled back: nothing was remembered, so write the row whole.
662
+ logger.exception(
663
+ "[wf:%s] outcome value store write FAILED (node=%s) — outcome stored INLINE",
664
+ outcome.run_id[:8],
665
+ outcome.node_id,
666
+ )
667
+ await _upsert({**row, **{k: v for k, v in inline_payload.items() if k in row}})
606
668
 
607
669
  async def step_history(self, run_id: str) -> tuple[set[str], dict[str, dict[str, str]]]:
608
670
  """Succeeded and failed steps of ``run_id`` across every leg, from ``workflow.node_outcome``
@@ -691,25 +753,33 @@ class PostgresCheckpointer:
691
753
  return outcome
692
754
 
693
755
 
694
- async def _intern_outcome_value(run_id: str, value: Any, column: str) -> Any:
695
- """The outcome's ``input`` or ``output`` with large values in the run's value store (MKT-170/171).
756
+ async def _split_outcome_value(run_id: str, value: Any, column: str, fresh: dict[str, Any]) -> Any:
757
+ """The outcome's ``input`` or ``output`` with large values by reference (MKT-170/171).
696
758
 
697
- Never raises: if the store is absent or the write fails the value is stored whole (loud)."""
759
+ The values this run has not stored yet are added to ``fresh``; ``record_outcome``
760
+ writes them in the same transaction as the row. Never raises: if splitting fails
761
+ the value is stored whole (loud)."""
698
762
  if value is None or not _value_store_available():
699
763
  return value
700
764
  try:
701
- from matrx_graph.checkpoint.value_store import store_run_values
702
765
  from matrx_graph.knobs import event_inline_value_max_bytes
703
766
 
704
767
  out, values = outcome_input_row(value, await event_inline_value_max_bytes())
705
- if values:
706
- await store_run_values(run_id, values)
768
+ stored = _stored_value_hashes.get(run_id, set())
769
+ fresh.update({h: v for h, v in values.items() if h not in stored})
707
770
  return out
708
771
  except Exception: # noqa: BLE001 — the outcome must still land
709
- logger.exception("[wf:%s] outcome %s value store write FAILED — stored INLINE", run_id[:8], column)
772
+ logger.exception("[wf:%s] outcome %s value split FAILED — stored INLINE", run_id[:8], column)
710
773
  return value
711
774
 
712
775
 
776
+ def _outcome_transaction() -> Any:
777
+ """The transaction an outcome row and its new values share (a seam for tests)."""
778
+ from matrx_orm import transaction
779
+
780
+ return transaction()
781
+
782
+
713
783
  def _coerce_json(value: Any) -> Any:
714
784
  if value is None:
715
785
  return None
@@ -52,6 +52,12 @@ class PendingEdgeBinding(BaseModel):
52
52
  # other inputs (a check stops what depends on it), and the mark travels
53
53
  # through every step it prunes (2026-10-27).
54
54
  failed_upstream: str = ""
55
+ # This prune came from an OPTIONAL step that failed (``data.optional``, not a fanned
56
+ # item), directly or through the steps it pruned — the id of that step. A join that
57
+ # fires on its other inputs still receives every field this connection maps, as
58
+ # ``None`` (the step is absent), so a consumer can test ``inputs['x'] is None``
59
+ # instead of raising ``KeyError`` (2026-10-28, Smart Add Identify parent).
60
+ absent_from: str = ""
55
61
 
56
62
 
57
63
  class PendingBinding(BaseModel):
@@ -32,21 +32,32 @@ logger = logging.getLogger(__name__)
32
32
  MAX_HASHES_PER_READ = 200
33
33
 
34
34
 
35
- async def store_run_values(run_id: str, values: dict[str, Any], *, organization_id: str | None = None) -> None:
36
- """Persist ``values`` (hash → value) for ``run_id``; already-stored hashes are skipped."""
35
+ async def store_run_values(
36
+ run_id: str,
37
+ values: dict[str, Any],
38
+ *,
39
+ organization_id: str | None = None,
40
+ remember: bool = True,
41
+ ) -> set[str]:
42
+ """Persist ``values`` (hash → value) for ``run_id``; already-stored hashes are skipped.
43
+
44
+ Returns the hashes this call wrote. ``remember=False`` is for a caller writing INSIDE a
45
+ transaction: a hash is remembered as stored only once it is COMMITTED, so the caller
46
+ calls :func:`remember_stored_values` after its commit. Remembered before the commit, a
47
+ concurrent sibling with the same value writes only a reference — to a value that a
48
+ rollback never stores (and its row becomes visible before the value does)."""
37
49
  if not values:
38
- return
50
+ return set()
39
51
  from matrx_graph.checkpoint.postgres import (
40
- _STORED_HASH_RUNS,
41
52
  _organization_for_run,
42
53
  _payload_bytes,
43
54
  _stored_value_hashes,
44
55
  )
45
56
 
46
- stored = _stored_value_hashes.setdefault(run_id, set())
57
+ stored = _stored_value_hashes.get(run_id, set())
47
58
  fresh = {h: v for h, v in values.items() if h not in stored}
48
59
  if not fresh:
49
- return
60
+ return set()
50
61
  org = organization_id or await _organization_for_run(run_id)
51
62
  await get_model("WfCheckpointValue").bulk_insert_ignore(
52
63
  [
@@ -62,7 +73,16 @@ async def store_run_values(run_id: str, values: dict[str, Any], *, organization_
62
73
  ],
63
74
  on_conflict=["run_id", "value_hash"],
64
75
  )
65
- stored.update(fresh)
76
+ if remember:
77
+ remember_stored_values(run_id, fresh)
78
+ return set(fresh)
79
+
80
+
81
+ def remember_stored_values(run_id: str, hashes: Any) -> None:
82
+ """Remember ``hashes`` as COMMITTED to ``run_id``'s store (later writes skip them)."""
83
+ from matrx_graph.checkpoint.postgres import _STORED_HASH_RUNS, _stored_value_hashes
84
+
85
+ _stored_value_hashes.setdefault(run_id, set()).update(hashes)
66
86
  if len(_stored_value_hashes) > _STORED_HASH_RUNS:
67
87
  _stored_value_hashes.pop(next(iter(_stored_value_hashes)))
68
88
 
@@ -94,46 +114,25 @@ async def intern_event_payload(run_id: str, payload: dict[str, Any]) -> dict[str
94
114
  return payload
95
115
 
96
116
 
97
- #: How many generations of called workflows a run's value read looks through (a child of a child of …).
98
- CALLED_RUN_DEPTH = 6
99
-
100
-
101
117
  async def fetch_stored_values(run_id: str, hashes: set[str] | list[str]) -> dict[str, Any]:
102
- """hash → stored value (NOT following nested references) for ``run_id``.
118
+ """hash → stored value (NOT following nested references) from ``run_id``'s OWN store.
103
119
 
104
- A hash this run does not hold is looked up in the runs it CALLED (``parent_run_id`` = this run, and
105
- theirs, :data:`CALLED_RUN_DEPTH` deep): a called workflow's answer is handed over by reference
106
- (:func:`carry_run_values`), so its large values stay in the child's store, written once, and every
107
- reader of the caller (a checkpoint load, an event's value, the run's result) resolves them there."""
120
+ A run reads only its own store — never a run it called (a called workflow's answer is COPIED into the
121
+ caller's store at the hand-off, :func:`carry_run_values`), so deleting a child run never takes a value
122
+ its caller still references."""
108
123
  wanted = set(hashes)
109
124
  if not wanted:
110
125
  return {}
111
- value_model = get_model("WfCheckpointValue")
112
126
  out: dict[str, Any] = {}
113
-
114
- def take(found: list[Any]) -> None:
127
+ ordered = sorted(wanted)
128
+ for i in range(0, len(ordered), MAX_HASHES_PER_READ):
129
+ found = await get_model("WfCheckpointValue").filter(
130
+ run_id=run_id, value_hash__in=ordered[i : i + MAX_HASHES_PER_READ]
131
+ ).values("value_hash", "value")
115
132
  for item in found:
116
133
  # The jsonb codec already decoded it: a stored long STRING comes back as a str and
117
134
  # must never be json.loads-ed (it is the value, not its JSON text).
118
- out.setdefault(str(item["value_hash"]), item["value"])
119
-
120
- take(await value_model.filter(run_id=run_id, value_hash__in=sorted(wanted)).values("value_hash", "value"))
121
- runs = [run_id]
122
- seen = {run_id}
123
- for _depth in range(CALLED_RUN_DEPTH):
124
- if wanted <= set(out):
125
- break
126
- children = await get_model("WfRun").filter(parent_run_id__in=runs).values("id")
127
- runs = [str(r["id"]) for r in children if str(r["id"]) not in seen]
128
- if not runs:
129
- break
130
- seen.update(runs)
131
- for i in range(0, len(runs), MAX_HASHES_PER_READ):
132
- take(
133
- await value_model.filter(
134
- run_id__in=runs[i : i + MAX_HASHES_PER_READ], value_hash__in=sorted(wanted - set(out))
135
- ).values("value_hash", "value")
136
- )
135
+ out[str(item["value_hash"])] = item["value"]
137
136
  return out
138
137
 
139
138
 
@@ -513,7 +512,7 @@ async def carry_run_values(
513
512
  refs = referenced_hashes(value)
514
513
  if refs:
515
514
  value = resolve_values(value, await _load_all(from_run_id, refs))
516
- await _known_through_child(from_run_id, to_run_id)
515
+ await _copy_child_values(from_run_id, to_run_id, organization_id=organization_id)
517
516
  held = _held_hashes(value)
518
517
  if not held:
519
518
  return value
@@ -536,29 +535,41 @@ async def carry_run_values(
536
535
  return await carry(value)
537
536
 
538
537
 
539
- async def _known_through_child(child_run_id: str, caller_run_id: str) -> None:
540
- """Tell the caller's value writes that every value the CHILD stored is already readable from it.
538
+ async def _copy_child_values(child_run_id: str, caller_run_id: str, *, organization_id: str | None = None) -> None:
539
+ """Copy every value the CHILD stored into the CALLER's store — one INSERT … SELECT inside the database.
541
540
 
542
541
  The answer a called workflow hands back is whole in memory (callers read ``last_outputs.<step>``), and
543
542
  the caller's events, outcome and checkpoints intern it with the same rule the child already applied —
544
- the same sha256 for the same subtree. Without this the caller re-wrote every one into its own store
545
- (2026-10-28, Smart Add offerings: ~15.7 MB / ~500 values per hand-off, ~28 s). Reads find them in the
546
- child (:func:`fetch_stored_values`), so the caller writes only its small references. Best-effort: a
547
- failure here only costs the duplicate write it would have saved."""
548
- from matrx_graph.checkpoint.postgres import _STORED_HASH_RUNS, _stored_value_hashes
543
+ the same sha256 for the same subtree. Re-writing them from Python cost ~28 s per hand-off (2026-10-28,
544
+ Smart Add offerings: ~15.7 MB / ~500 values); the copy moves no value through Python, and the copied
545
+ hashes are marked stored for the caller so its writes skip them. The caller then OWNS its values: a child
546
+ run (or its definition) deleted later never takes one with it, and every read stays in one run's store.
547
+ A failure here only costs the speed-up: nothing is marked, so the caller's own writes store every value."""
548
+ from matrx_graph.checkpoint.postgres import _STORED_HASH_RUNS, _organization_for_run, _stored_value_hashes
549
549
 
550
550
  try:
551
- rows = await get_model("WfCheckpointValue").filter(run_id=child_run_id).values("value_hash")
552
- except Exception: # noqa: BLE001 — only the de-duplication is lost
553
- logger.warning("[wf:%s] child value hashes unreadable — the caller stores its own copies",
554
- caller_run_id[:8], exc_info=True)
551
+ org = organization_id or await _organization_for_run(caller_run_id)
552
+ landed = await get_model("WfCheckpointValue").copy_rows_ignore(
553
+ where={"run_id": child_run_id},
554
+ overrides={"run_id": caller_run_id, "organization_id": org},
555
+ columns=["value_hash", "value", "size_bytes"],
556
+ casts={"run_id": "uuid", "organization_id": "uuid"},
557
+ on_conflict=["run_id", "value_hash"],
558
+ returning="value_hash",
559
+ )
560
+ except Exception: # noqa: BLE001 — the caller's own writes store every value instead (slower, never lost)
561
+ logger.warning(
562
+ "[wf:%s] copying the called run's values FAILED — the caller stores its own copies",
563
+ caller_run_id[:8],
564
+ exc_info=True,
565
+ )
555
566
  return
556
- known = {str(r["value_hash"]) for r in rows} | _stored_value_hashes.get(child_run_id, set())
557
- if not known:
567
+ if not landed:
558
568
  return
559
- _stored_value_hashes.setdefault(caller_run_id, set()).update(known)
569
+ _stored_value_hashes.setdefault(caller_run_id, set()).update(str(h) for h in landed)
560
570
  if len(_stored_value_hashes) > _STORED_HASH_RUNS:
561
571
  _stored_value_hashes.pop(next(iter(_stored_value_hashes)))
572
+ logger.info("[wf:%s] %d value(s) copied from called run %s", caller_run_id[:8], len(landed), child_run_id[:8])
562
573
 
563
574
 
564
575
  async def _load_all(run_id: str, hashes: set[str]) -> dict[str, Any]:
@@ -128,6 +128,20 @@ class RunOutputValueMissingError(LookupError):
128
128
  )
129
129
 
130
130
 
131
+ class RunInputValueMissingError(LookupError):
132
+ """A run's stored input values (``metadata._settings.input_values``) reference a value that is gone.
133
+
134
+ Raised by ``run_store.execution_input_values`` on a leg about to EXECUTE the run, so it fails naming the
135
+ missing value — never starts with a reference marker where its input should be. ``RunStore.load`` never
136
+ raises it: an owner check, cancel or delete of the run keeps working."""
137
+
138
+ def __init__(self, run_id: str, detail: str) -> None:
139
+ self.run_id = run_id
140
+ super().__init__(
141
+ f"run {run_id}'s stored input values are missing (cause run_input_value_missing; {detail})"
142
+ )
143
+
144
+
131
145
  def resolve_values(value: Any, store: dict[str, Any]) -> Any:
132
146
  """``value`` with every reference replaced by its stored value (recursively)."""
133
147
  if isinstance(value, dict):
@@ -366,6 +380,7 @@ def row_bytes(columns: dict[str, Any]) -> int:
366
380
 
367
381
 
368
382
  __all__ = [
383
+ "RunInputValueMissingError",
369
384
  "RunOutputValueMissingError",
370
385
  "EVENT_VALUE_FIELDS",
371
386
  "REF_KEY",
@@ -60,10 +60,15 @@ rule as a `node_started` event's `inputs`) and keep a reference; `RunStore.load`
60
60
  `resolve_output`) resolves them (`run_store.resolve_input_values`). Why: every heartbeat / claim / status merge
61
61
  rewrites the whole `metadata` jsonb — ~200 ms per write with a 6 MB `evidence` input vs ~1 ms small (Smart Add
62
62
  offerings child 319da0a6). Read a run's settings only through `load`, never a raw row (hindsight replay does).
63
- A called workflow's answer is handed to its caller whole in memory, but `carry_run_values` tells the caller's
64
- writes every hash the child stored (`_known_through_child`), so the caller writes only references; every value
65
- read (`value_store.fetch_stored_values`: checkpoint loads, `load_run_values`, run output) looks in the run's own
66
- store, then in the runs it called (`parent_run_id`, `CALLED_RUN_DEPTH` deep).
63
+ A stored input value that is gone never fails a `load` (owner checks, view, cancel, delete, sweeps keep working
64
+ on any status); `load` keeps the reference and logs. Only a leg about to EXECUTE the run reads its inputs through
65
+ `run_store.execution_input_values`, which raises `RunInputValueMissingError` (cause `run_input_value_missing`) —
66
+ never a run started with a reference marker as its input. A called workflow's answer is handed to its caller whole in
67
+ memory, and `carry_run_values` COPIES every value the child stored into the caller's store inside the database
68
+ (`_copy_child_values` → `Model.copy_rows_ignore`, one `INSERT … SELECT … ON CONFLICT DO NOTHING`) and marks those
69
+ hashes stored, so the caller's writes send only references (the ~28 s / 15.7 MB Smart Add hand-off). Every run
70
+ reads ONLY its own store (`value_store.fetch_stored_values`): deleting a child run or its definition never takes a
71
+ value its caller references. A failed copy only costs speed — the caller's own writes then store every value.
67
72
 
68
73
  ## A large step result lives in the value store, not the run row (2026-10-27)
69
74
 
@@ -101,9 +106,12 @@ writers (`mark_*`, `transition`) return the row, and the large input itself stil
101
106
 
102
107
  `NodeDataSlotStore.adopt_live_outputs` copies each step's latest clean executor outcome into the
103
108
  definition's `last_live_output` slot. `node_outcome.output` keeps a large value by reference (MKT-171) and
104
- that hash means something only inside its run, so adoption resolves every reference through
105
- `value_store.resolve_run_values` and upserts the WHOLE value; a result over the 256 KB slot cap once whole,
106
- or whose stored value is gone, is not adopted. `get_slots` never offers a slot still holding a marker
109
+ that hash means something only inside its run, so adoption resolves every reference through the run's
110
+ value store and upserts the WHOLE value; a result over the 256 KB slot cap once whole, or whose stored value
111
+ is gone, is not adopted. The stored `size_bytes` decide first (one query): a result whose referenced values
112
+ alone exceed the cap is left out UNREAD, and the rest resolve in ONE read for the run — reading each step's
113
+ MB-sized list back only to refuse it held run 322b35c1's completion open (2026-10-28). The host runs
114
+ adoption beside the run's completion, never inside the settling event's wait (aidream `workflow_events`). `get_slots` never offers a slot still holding a marker
107
115
  (written before the fix; no run id to resolve it). Why: the design-time check, inspector, mapping pickers
108
116
  and node agent read these slots, so "Only when `len(inputs['pages']) > 24`" saw a one-key dict and the
109
117
  step looked dead (1,567 live slots across 247 workflows). Proof:
@@ -220,9 +220,19 @@ class NodeDataSlotStore:
220
220
  is gone, is left out (the slot keeps what it had; the full payload
221
221
  stays in the run).
222
222
 
223
+ Cost (2026-10-28, run 322b35c1): every referenced value used to be read back whole, one step at a
224
+ time, only for the slot cap to refuse most of them (a 600-item list is 0.4-2 MB; the cap is 256 KB).
225
+ So the stored sizes are read first in ONE query, a step whose referenced values alone already exceed
226
+ the cap is left out without reading them, and the rest resolve in ONE read for the whole run.
227
+
223
228
  Returns the number of node slots written."""
224
- from matrx_graph.checkpoint.value_store import resolve_run_values
225
- from matrx_graph.checkpoint.values import MissingCheckpointValueError, referenced_hashes
229
+ from matrx_graph.checkpoint.value_store import MAX_HASHES_PER_READ, load_run_values
230
+ from matrx_graph.checkpoint.values import (
231
+ _REF_BYTES,
232
+ MissingCheckpointValueError,
233
+ referenced_hashes,
234
+ resolve_values,
235
+ )
226
236
  from matrx_graph.db._registry import get_model
227
237
 
228
238
  rows = await (
@@ -235,14 +245,41 @@ class NodeDataSlotStore:
235
245
  for row in rows:
236
246
  latest.setdefault(str(row["node_id"]), row)
237
247
 
248
+ decoded = {
249
+ node_id: (_coerce_json(row["output"]), _coerce_json(row["emissions"]) or {})
250
+ for node_id, row in latest.items()
251
+ }
252
+ refs = {node_id: referenced_hashes(v) | referenced_hashes(e) for node_id, (v, e) in decoded.items()}
253
+ wanted = set().union(*refs.values()) if refs else set()
254
+ sizes: dict[str, int] = {}
255
+ if wanted:
256
+ ordered = sorted(wanted)
257
+ for i in range(0, len(ordered), MAX_HASHES_PER_READ):
258
+ for found in await get_model("WfCheckpointValue").filter(
259
+ run_id=str(UUID(run_id)), value_hash__in=ordered[i : i + MAX_HASHES_PER_READ]
260
+ ).values("value_hash", "size_bytes"):
261
+ sizes[str(found["value_hash"])] = int(found["size_bytes"] or 0)
262
+ # A stored value's size counts each nested reference as its marker, so the whole result is at least
263
+ # the referenced values' sizes less their markers: over the cap by that alone = over the cap whole.
264
+ too_large = {
265
+ node_id
266
+ for node_id, hashes in refs.items()
267
+ if sum(sizes.get(h, 0) - _REF_BYTES for h in hashes) > MAX_SLOT_VALUE_BYTES
268
+ }
269
+ store: dict[str, Any] = {}
270
+ readable = sorted(set().union(*(refs[n] for n in refs if n not in too_large))) if refs else []
271
+ for i in range(0, len(readable), MAX_HASHES_PER_READ):
272
+ store.update(await load_run_values(run_id, readable[i : i + MAX_HASHES_PER_READ]))
273
+
238
274
  written = 0
239
275
  for node_id, row in latest.items():
240
- value, emissions = _coerce_json(row["output"]), _coerce_json(row["emissions"]) or {}
276
+ if node_id in too_large:
277
+ continue
278
+ value, emissions = decoded[node_id]
241
279
  try:
242
- if referenced_hashes(value):
243
- value = await resolve_run_values(run_id, value)
244
- if referenced_hashes(emissions):
245
- emissions = await resolve_run_values(run_id, emissions)
280
+ if refs[node_id]:
281
+ value = resolve_values(value, store)
282
+ emissions = resolve_values(emissions, store)
246
283
  await self.upsert_slot(
247
284
  definition_id=definition_id,
248
285
  node_id=node_id,