matrx-graph 0.2.347__tar.gz → 0.2.349__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 (491) hide show
  1. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/.gitignore +3 -0
  2. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/PKG-INFO +3 -3
  3. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/scheduler.py +11 -2
  4. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/flow/sleep.py +20 -0
  5. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/FEATURE.md +2 -0
  6. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/pyproject.toml +3 -3
  7. matrx_graph-0.2.349/tests/test_sleep_re_execute_on_wake.py +179 -0
  8. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/AGENTS.md +0 -0
  9. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/CHANGELOG.md +0 -0
  10. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/CLAUDE.md +0 -0
  11. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/README.md +0 -0
  12. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/ENGINE_SPEC.md +0 -0
  13. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/GAPS_AND_ROADMAP.md +0 -0
  14. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/OPERATING_PRIORITIES.md +0 -0
  15. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/README.md +0 -0
  16. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/RUN_LIFECYCLE.md +0 -0
  17. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/WORKFLOW_ARCHITECTURE.md +0 -0
  18. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/action-authoring.md +0 -0
  19. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/architecture.md +0 -0
  20. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/node-authoring.md +0 -0
  21. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/docs/testing.md +0 -0
  22. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/__init__.py +0 -0
  23. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/actions/ACTION_STANDARDS.md +0 -0
  24. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/actions/__init__.py +0 -0
  25. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/actions/decorator.py +0 -0
  26. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/actions/registry.py +0 -0
  27. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/actions/spec.py +0 -0
  28. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/candidate.py +0 -0
  29. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checkpoint/__init__.py +0 -0
  30. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checkpoint/memory.py +0 -0
  31. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checkpoint/postgres.py +0 -0
  32. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checkpoint/protocol.py +0 -0
  33. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checkpoint/value_store.py +0 -0
  34. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checkpoint/values.py +0 -0
  35. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/checks.py +0 -0
  36. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/compile.py +0 -0
  37. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/composition.py +0 -0
  38. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/FEATURE.md +0 -0
  39. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/__init__.py +0 -0
  40. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/accessor.py +0 -0
  41. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/audit.py +0 -0
  42. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/authoring_gate.py +0 -0
  43. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/availability.py +0 -0
  44. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/converters.py +0 -0
  45. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/directives.py +0 -0
  46. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/edge_routing.py +0 -0
  47. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/envelope.py +0 -0
  48. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/fingerprint.py +0 -0
  49. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/graph_adapter.py +0 -0
  50. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/markers.py +0 -0
  51. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/model.py +0 -0
  52. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/occurrences.py +0 -0
  53. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/partial.py +0 -0
  54. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/pg_emitter.py +0 -0
  55. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/runtime_view.py +0 -0
  56. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/sample.py +0 -0
  57. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/sdk.py +0 -0
  58. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/subscriptions.py +0 -0
  59. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/translate.py +0 -0
  60. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/triggers.py +0 -0
  61. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/well_known.py +0 -0
  62. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/content_ir/wrappers.py +0 -0
  63. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/contract_kinds.py +0 -0
  64. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/contracts/__init__.py +0 -0
  65. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/contracts/audit.py +0 -0
  66. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/FEATURE.md +0 -0
  67. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/__init__.py +0 -0
  68. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/_registry.py +0 -0
  69. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/db_requirements.py +0 -0
  70. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/definition_store.py +0 -0
  71. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/event_store.py +0 -0
  72. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0020_wf_run_announce.sql +0 -0
  73. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0021_join_semantics.sql +0 -0
  74. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0022_node_data_slot.sql +0 -0
  75. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0023_fanout_identity.sql +0 -0
  76. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0024_definition_variables.sql +0 -0
  77. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0100_baseline_post_reorg.sql +0 -0
  78. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0101_run_request_attribution.sql +0 -0
  79. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0102_visibility_and_kind_verdicts.sql +0 -0
  80. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0103_work_item.sql +0 -0
  81. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0104_soft_delete_columns.sql +0 -0
  82. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0105_plan.sql +0 -0
  83. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0106_definition_visibility_internal_default.sql +0 -0
  84. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0107_plan_anchor_integrity.sql +0 -0
  85. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0108_plan_persistence_invariants.sql +0 -0
  86. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0109_node_data_slot_created_by.sql +0 -0
  87. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0110_run_log.sql +0 -0
  88. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0111_awaiting_input_status.sql +0 -0
  89. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0111_event_triggers.sql +0 -0
  90. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0112_definition_io_kind_declaration.sql +0 -0
  91. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0113_definition_published_to_web_and_shown_to.sql +0 -0
  92. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0114_definition_workflow_type.sql +0 -0
  93. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0115_checkpoint_value.sql +0 -0
  94. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0116_standalone_checkpoint_organization_and_values.sql +0 -0
  95. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0117_review_flags.sql +0 -0
  96. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/0118_event_trigger_hops_and_any_org.sql +0 -0
  97. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/README.md +0 -0
  98. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0001_wf_initial.sql +0 -0
  99. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0002_wf_queue.sql +0 -0
  100. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0003_wf_node_events.sql +0 -0
  101. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0004_wf_trigger.sql +0 -0
  102. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0005_wf_rls.sql +0 -0
  103. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0006_wf_run_cancelling.sql +0 -0
  104. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0007_wf_run_paused_and_errored.sql +0 -0
  105. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0008_wf_node_outcome_source.sql +0 -0
  106. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0009_wf_run_recovery_limit.sql +0 -0
  107. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0010_wf_idempotency.sql +0 -0
  108. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0011_wf_definition_concurrency_limit.sql +0 -0
  109. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0012_wf_trigger_fire.sql +0 -0
  110. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0013_wf_recovery_audit.sql +0 -0
  111. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0014_wf_node_events_notify.sql +0 -0
  112. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0016_wf_template.sql +0 -0
  113. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0017_wf_hardening.sql +0 -0
  114. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0018_wf_node_events_seq.sql +0 -0
  115. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/0019_wf_node_events_drop_check.sql +0 -0
  116. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/migrations/legacy_pre_reorg/README.md +0 -0
  117. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/node_data_slot_store.py +0 -0
  118. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/pool.py +0 -0
  119. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/run_store.py +0 -0
  120. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/standalone.py +0 -0
  121. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/store_change.py +0 -0
  122. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/trigger_event_store.py +0 -0
  123. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/trigger_proof.py +0 -0
  124. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/trigger_store.py +0 -0
  125. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/db/wf_manager.py +0 -0
  126. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/decision_spec.py +0 -0
  127. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/decisions.py +0 -0
  128. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/diagnostics/__init__.py +0 -0
  129. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/diagnostics/compile_validation.py +0 -0
  130. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/dry_run.py +0 -0
  131. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/emptiness.py +0 -0
  132. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/errors.py +0 -0
  133. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/examples/__init__.py +0 -0
  134. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/examples/self_validating_news.py +0 -0
  135. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/FEATURE.md +0 -0
  136. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/__init__.py +0 -0
  137. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/_retry.py +0 -0
  138. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/channels.py +0 -0
  139. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/client_payload.py +0 -0
  140. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/execution.py +0 -0
  141. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/introspect.py +0 -0
  142. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/json_dump.py +0 -0
  143. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/primitives.py +0 -0
  144. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/registry.py +0 -0
  145. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/resume_chain.py +0 -0
  146. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/resume_preflight.py +0 -0
  147. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/review_flags.py +0 -0
  148. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/run_stop.py +0 -0
  149. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/executor/schema_validation.py +0 -0
  150. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/extract.py +0 -0
  151. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/failure.py +0 -0
  152. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/input_bindings.py +0 -0
  153. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/kind_control_keys.py +0 -0
  154. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/kind_fields.py +0 -0
  155. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/kinds.py +0 -0
  156. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/knobs.py +0 -0
  157. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/mapping_sources.py +0 -0
  158. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/__init__.py +0 -0
  159. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/_sandbox.py +0 -0
  160. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/_template.py +0 -0
  161. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/content_ir/__init__.py +0 -0
  162. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/content_ir/validate.py +0 -0
  163. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/FEATURE.md +0 -0
  164. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/__init__.py +0 -0
  165. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/branch.py +0 -0
  166. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/gather.py +0 -0
  167. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/human_input.py +0 -0
  168. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/loop.py +0 -0
  169. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/map.py +0 -0
  170. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/send.py +0 -0
  171. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/work_queue.py +0 -0
  172. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/control/work_seed.py +0 -0
  173. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/crypto/__init__.py +0 -0
  174. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/crypto/ops.py +0 -0
  175. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/FEATURE.md +0 -0
  176. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/__init__.py +0 -0
  177. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/assert_.py +0 -0
  178. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/collections.py +0 -0
  179. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/criteria_gate.py +0 -0
  180. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/data_table.py +0 -0
  181. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/filter.py +0 -0
  182. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/flatten.py +0 -0
  183. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/json_io.py +0 -0
  184. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/map_template.py +0 -0
  185. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/merge.py +0 -0
  186. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/pick_omit.py +0 -0
  187. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/read_record.py +0 -0
  188. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/tabular.py +0 -0
  189. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/data/transform.py +0 -0
  190. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/datetime_/__init__.py +0 -0
  191. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/datetime_/ops.py +0 -0
  192. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/flow/FEATURE.md +0 -0
  193. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/flow/__init__.py +0 -0
  194. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/flow/noop.py +0 -0
  195. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/flow/throttle.py +0 -0
  196. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/http/__init__.py +0 -0
  197. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/http/_shared.py +0 -0
  198. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/http/custom_api.py +0 -0
  199. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/http/get.py +0 -0
  200. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/http/graphql.py +0 -0
  201. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/http/post.py +0 -0
  202. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/io/__init__.py +0 -0
  203. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/io/user_input.py +0 -0
  204. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/log/FEATURE.md +0 -0
  205. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/log/__init__.py +0 -0
  206. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/log/record.py +0 -0
  207. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/math_/__init__.py +0 -0
  208. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/math_/evaluate.py +0 -0
  209. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/output/FEATURE.md +0 -0
  210. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/output/__init__.py +0 -0
  211. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/output/to_frontend.py +0 -0
  212. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/pipe/FEATURE.md +0 -0
  213. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/pipe/__init__.py +0 -0
  214. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/pipe/contract.py +0 -0
  215. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/pipe/step.py +0 -0
  216. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/plan/__init__.py +0 -0
  217. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/plan/step.py +0 -0
  218. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/settings/__init__.py +0 -0
  219. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/settings/read.py +0 -0
  220. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/speech/FEATURE.md +0 -0
  221. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/speech/__init__.py +0 -0
  222. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/speech/budget.py +0 -0
  223. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/subgraph/__init__.py +0 -0
  224. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/subgraph/call.py +0 -0
  225. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/text/__init__.py +0 -0
  226. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/text/custom_extract.py +0 -0
  227. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/text/json_path.py +0 -0
  228. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/text/manipulate.py +0 -0
  229. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/text/regex.py +0 -0
  230. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/text/render_list.py +0 -0
  231. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/tool/__init__.py +0 -0
  232. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/nodes/tool/call.py +0 -0
  233. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/observability/__init__.py +0 -0
  234. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/overview.py +0 -0
  235. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/patch.py +0 -0
  236. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/paths.py +0 -0
  237. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/py.typed +0 -0
  238. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/records.py +0 -0
  239. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/references.py +0 -0
  240. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/run_log.py +0 -0
  241. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/seats.py +0 -0
  242. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/settings.py +0 -0
  243. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/shape_probe.py +0 -0
  244. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/speech_pace.py +0 -0
  245. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/table_kind_mapping.json +0 -0
  246. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/table_kinds.py +0 -0
  247. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/__init__.py +0 -0
  248. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/canonical_payloads.py +0 -0
  249. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/channel.py +0 -0
  250. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/compiled.py +0 -0
  251. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/context.py +0 -0
  252. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/definition.py +0 -0
  253. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/deliverables.py +0 -0
  254. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/events.py +0 -0
  255. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/handle.py +0 -0
  256. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/identity_inputs.py +0 -0
  257. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/input_surface.py +0 -0
  258. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/node_spec.py +0 -0
  259. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/primitives.py +0 -0
  260. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/result.py +0 -0
  261. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/review.py +0 -0
  262. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/run.py +0 -0
  263. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/send.py +0 -0
  264. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/usl.py +0 -0
  265. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/value_objects.py +0 -0
  266. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/types/variables.py +0 -0
  267. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/validation.py +0 -0
  268. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/__init__.py +0 -0
  269. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/capability.py +0 -0
  270. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/cron_watcher.py +0 -0
  271. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/event_watcher.py +0 -0
  272. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/job_lease.py +0 -0
  273. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/queue.py +0 -0
  274. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/runner.py +0 -0
  275. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workers/sleep_wake.py +0 -0
  276. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/matrx_graph/workset.py +0 -0
  277. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/__init__.py +0 -0
  278. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/_db_guard.py +0 -0
  279. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/_fixtures.py +0 -0
  280. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/ci/00_supabase_shim.sql +0 -0
  281. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/ci/10_canonical_reorg_shim.sql +0 -0
  282. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/ci/bootstrap_test_db.sh +0 -0
  283. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/conftest.py +0 -0
  284. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/fixtures/kind_control_keys_golden.json +0 -0
  285. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/fixtures/kind_registry_variants.json +0 -0
  286. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/fixtures/table_kind_golden.json +0 -0
  287. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/fixtures/w59_empty_prescriber_output.json +0 -0
  288. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/fixtures/watson_rulebook_ids.json +0 -0
  289. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/judge/__init__.py +0 -0
  290. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/judge/test_self_validating_news_e2e.py +0 -0
  291. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/level2/__init__.py +0 -0
  292. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/level2/test_anthropic_provider.py +0 -0
  293. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_bound_graph_hash_moves_with_content_only.py +0 -0
  294. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_condition_stop_is_said_at_run_level.py +0 -0
  295. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_failed_final_write_ends_the_run_failed.py +0 -0
  296. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_fan_out_whose_every_item_failed_fails_loudly.py +0 -0
  297. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_large_step_output_stays_out_of_the_run_row.py +0 -0
  298. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_leg_knows_whether_it_ran_fresh.py +0 -0
  299. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_lost_lease_never_strands_or_lingers.py +0 -0
  300. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_node_fires_when_its_facts_are_confirmed.py +0 -0
  301. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_started_leg_keeps_the_queues_guarantees.py +0 -0
  302. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_step_keeps_what_it_got_back.py +0 -0
  303. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_step_that_was_answered_is_not_called_skipped.py +0 -0
  304. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_a_terminal_run_keeps_settled_job_markers.py +0 -0
  305. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_action_output_handles.py +0 -0
  306. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_actions.py +0 -0
  307. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_adversarial_engine_core.py +0 -0
  308. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_adversarial_kind_routing.py +0 -0
  309. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_adversarial_partial_wire.py +0 -0
  310. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_adversarial_registry.py +0 -0
  311. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_an_optional_step_failure_completes_the_run.py +0 -0
  312. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_authoring_gate.py +0 -0
  313. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_back_edges.py +0 -0
  314. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_barrier_removed.py +0 -0
  315. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_branch_emits_only_the_keys_it_received.py +0 -0
  316. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_branch_passthrough_keeps_its_own_kind.py +0 -0
  317. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_candidate_node_gate.py +0 -0
  318. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_capability_aware_claim.py +0 -0
  319. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_channel.py +0 -0
  320. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_channels_reducers.py +0 -0
  321. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_checkpoint_postgres_org_write.py +0 -0
  322. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_checkpoint_rows_stay_small.py +0 -0
  323. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_checkpoint_summaries.py +0 -0
  324. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_checkpoint_write_budget.py +0 -0
  325. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_client_bound_error_redaction.py +0 -0
  326. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_config_output_handles_normalized.py +0 -0
  327. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_audit.py +0 -0
  328. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_converters.py +0 -0
  329. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_envelope.py +0 -0
  330. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_markers.py +0 -0
  331. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_model.py +0 -0
  332. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_partial.py +0 -0
  333. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_pg_emitter.py +0 -0
  334. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_runtime_view.py +0 -0
  335. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_sample.py +0 -0
  336. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_stamped_marker_equality.py +0 -0
  337. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_content_ir_translate.py +0 -0
  338. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_context_propagation.py +0 -0
  339. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_contract_artifact_eviction.py +0 -0
  340. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_contract_audit.py +0 -0
  341. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_contract_kinds.py +0 -0
  342. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_criteria_gate.py +0 -0
  343. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_data_collections.py +0 -0
  344. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_data_nodes.py +0 -0
  345. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_db_guard.py +0 -0
  346. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_decision_attribution.py +0 -0
  347. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_decision_default_and_edge_key_guards.py +0 -0
  348. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_definition.py +0 -0
  349. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_definition_store_archive_filter.py +0 -0
  350. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_definition_store_list_skip.py +0 -0
  351. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_definition_store_publish_is_a_change.py +0 -0
  352. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_definition_store_save_draft_author.py +0 -0
  353. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_definition_store_version_load.py +0 -0
  354. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_deliverables_rule.py +0 -0
  355. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_dry_run.py +0 -0
  356. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_dry_run_source_input.py +0 -0
  357. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_dynamic_topology_guards.py +0 -0
  358. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_edge_field_selection.py +0 -0
  359. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_empty_deliverable_is_named.py +0 -0
  360. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_empty_fanout.py +0 -0
  361. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_end_to_end.py +0 -0
  362. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_event_payloads_stay_small.py +0 -0
  363. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_event_store_error_redaction.py +0 -0
  364. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_event_triggers.py +0 -0
  365. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_every_dispatcher_is_seen_by_lineage.py +0 -0
  366. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_every_terminal_status_stamps_completed_at.py +0 -0
  367. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_extract.py +0 -0
  368. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_failure.py +0 -0
  369. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_failure_is_not_the_users_words.py +0 -0
  370. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_flow_nodes.py +0 -0
  371. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_gather_ai_projection.py +0 -0
  372. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_gather_channel_item_indexes.py +0 -0
  373. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_http_nodes.py +0 -0
  374. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_http_nodes_refuse_internal_addresses.py +0 -0
  375. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_human_answer_kind_declaration.py +0 -0
  376. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_human_gate_decision.py +0 -0
  377. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_human_gate_seat.py +0 -0
  378. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_human_input_bare_context.py +0 -0
  379. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_human_input_pause_round_trip.py +0 -0
  380. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_human_input_presentation.py +0 -0
  381. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_identity_input_broadcast.py +0 -0
  382. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_inert_predicate_guard.py +0 -0
  383. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_ingestion_gate.py +0 -0
  384. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_input_gate_failure_is_routable.py +0 -0
  385. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_input_surface.py +0 -0
  386. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_input_surface_variant_registry.py +0 -0
  387. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_invocation_budget.py +0 -0
  388. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_io_nodes.py +0 -0
  389. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_json_dump.py +0 -0
  390. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_accessor.py +0 -0
  391. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_availability.py +0 -0
  392. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_control_keys.py +0 -0
  393. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_enforcement.py +0 -0
  394. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_fields.py +0 -0
  395. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_native_node_library.py +0 -0
  396. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_routing.py +0 -0
  397. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kind_sdk.py +0 -0
  398. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_kinds.py +0 -0
  399. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_knobs.py +0 -0
  400. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_list_include_ids.py +0 -0
  401. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_list_shaping_nodes.py +0 -0
  402. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_live_injection.py +0 -0
  403. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_log_record_node.py +0 -0
  404. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_loop_scale.py +0 -0
  405. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_map_payload_template.py +0 -0
  406. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_mapping_source_sigils.py +0 -0
  407. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_multi_dispatch_fanin.py +0 -0
  408. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_cost_event.py +0 -0
  409. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_data_slot_store.py +0 -0
  410. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_data_slot_validation.py +0 -0
  411. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_emitter_settle.py +0 -0
  412. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_error_kind.py +0 -0
  413. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_input_capture.py +0 -0
  414. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_result_envelope.py +0 -0
  415. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_node_spec.py +0 -0
  416. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_nonidentity_kind_marker.py +0 -0
  417. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_outage_path_is_not_an_agent_choice.py +0 -0
  418. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_outcome_inputs_by_reference.py +0 -0
  419. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_outcome_outputs_by_reference.py +0 -0
  420. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_output_channel_binding.py +0 -0
  421. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_output_kind_stamping.py +0 -0
  422. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_overview_collapse.py +0 -0
  423. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_patch.py +0 -0
  424. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_pause_cancel_and_recovery.py +0 -0
  425. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_pipe_step.py +0 -0
  426. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_plan_identity_consistency.py +0 -0
  427. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_plan_step.py +0 -0
  428. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_postgres_checkpointer.py +0 -0
  429. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_postgres_workset_store.py +0 -0
  430. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_predicate_preview_per_item.py +0 -0
  431. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_primitives.py +0 -0
  432. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_pruned_map_prunes_its_target.py +0 -0
  433. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_public_media_scope.py +0 -0
  434. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_raised_error_details_reach_outcome.py +0 -0
  435. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_read_record_node.py +0 -0
  436. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_references.py +0 -0
  437. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_registry.py +0 -0
  438. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_required_inputs_gate.py +0 -0
  439. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_response_checks.py +0 -0
  440. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_resume_payload_folding.py +0 -0
  441. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_resume_preflight_soundness.py +0 -0
  442. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_review_flags_raised_by_the_engine.py +0 -0
  443. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_run_conversation_identity.py +0 -0
  444. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_run_store_control.py +0 -0
  445. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_run_variables.py +0 -0
  446. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_conditional_edge.py +0 -0
  447. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_config_override.py +0 -0
  448. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_events.py +0 -0
  449. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_failsoft.py +0 -0
  450. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_failure_cost_settlement.py +0 -0
  451. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_fanout_identity.py +0 -0
  452. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_fork_to_new_run.py +0 -0
  453. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_interrupt_siblings.py +0 -0
  454. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_join_hardening.py +0 -0
  455. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_joins.py +0 -0
  456. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_loop_contract.py +0 -0
  457. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_mock_response.py +0 -0
  458. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_node_retry_override.py +0 -0
  459. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_node_timeout.py +0 -0
  460. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_ready_nodes_do_not_wait.py +0 -0
  461. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_retry_policy.py +0 -0
  462. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_skip_edge_ids.py +0 -0
  463. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_step_mode.py +0 -0
  464. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_scheduler_step_wall_clock.py +0 -0
  465. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_screen_value.py +0 -0
  466. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_self_validating_news.py +0 -0
  467. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_send_unwired_items_is_loud.py +0 -0
  468. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_settings_read_step.py +0 -0
  469. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_site_blocked_is_not_not_authorized.py +0 -0
  470. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_speech_budget.py +0 -0
  471. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_standalone_db_models.py +0 -0
  472. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_store_event_source.py +0 -0
  473. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_subgraph_call.py +0 -0
  474. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_table_kind_round_trip.py +0 -0
  475. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_template_path_shape_gate.py +0 -0
  476. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_text_nodes.py +0 -0
  477. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_tool_loop_stall_is_a_cause.py +0 -0
  478. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_transform_output_shape.py +0 -0
  479. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_triggers_and_observability.py +0 -0
  480. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_user_input_filled_from_data.py +0 -0
  481. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_utility_nodes.py +0 -0
  482. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_validation_expression_sandbox.py +0 -0
  483. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_validation_fanned_edge_needs_items.py +0 -0
  484. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_validation_hints.py +0 -0
  485. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_validation_s4.py +0 -0
  486. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_values_held_on_server.py +0 -0
  487. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_w0_agent_build_engine_proofs.py +0 -0
  488. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_workers.py +0 -0
  489. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_workset.py +0 -0
  490. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_workset_chaos.py +0 -0
  491. {matrx_graph-0.2.347 → matrx_graph-0.2.349}/tests/test_zip_by_position.py +0 -0
@@ -347,6 +347,9 @@ apps/shared/.kit-*-witness.*/
347
347
  # Release streak ledger (scripts/release_repeats.py): per-machine state, never committed
348
348
  .matrx/release-repeats.json
349
349
  .matrx/release-repeats.json.tmp
350
+ # Database-growth ledger (scripts/check_db_catalog_growth.py): per-machine state, never committed
351
+ .matrx/db-growth-ledger.json
352
+ .matrx/db-growth-ledger.json.tmp
350
353
  .matrx/fixer-ledger.json
351
354
  /.config-manifest.json
352
355
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: matrx-graph
3
- Version: 0.2.347
3
+ Version: 0.2.349
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
@@ -19,8 +19,8 @@ Requires-Python: >=3.13
19
19
  Requires-Dist: croniter>=2.0
20
20
  Requires-Dist: httpx>=0.27
21
21
  Requires-Dist: jsonschema>=4.20
22
- Requires-Dist: matrx-connect>=0.1.248
23
- Requires-Dist: matrx-utils>=2.0.88
22
+ Requires-Dist: matrx-connect>=0.1.249
23
+ Requires-Dist: matrx-utils>=2.0.89
24
24
  Requires-Dist: pydantic>=2.12
25
25
  Requires-Dist: pyyaml>=6.0
26
26
  Provides-Extra: otel
@@ -1111,11 +1111,20 @@ class Scheduler:
1111
1111
  # The reserved provenance key is ENGINE state, never part of the
1112
1112
  # author's answer schema — a schema with additionalProperties:false
1113
1113
  # would otherwise reject every stamped resume.
1114
+ # A polling park (``re_execute`` in its sleep marker, nodes/flow/sleep.py)
1115
+ # is never answered by a value: every wake — timed, "resume now", the
1116
+ # recovery sweep — RE-RUNS the parked step, which asks the world again
1117
+ # and either returns or parks anew. No outcome is recorded for it here,
1118
+ # so its invocation (already on the frontier, at this step) executes
1119
+ # fresh instead of replaying a value from park time.
1120
+ from matrx_graph.nodes.flow.sleep import re_executes_on_wake
1121
+
1122
+ re_execute = re_executes_on_wake(checkpoint.interrupt_payload)
1114
1123
  resume_value = _settle_default_on_decision_gate(
1115
1124
  checkpoint.interrupt_payload, resume_value, decision
1116
1125
  )
1117
1126
  validation_target = {k: v for k, v in (resume_value or {}).items() if k != DECISION_KEY}
1118
- resume_errors = resume_value_validation_errors(
1127
+ resume_errors = [] if re_execute else resume_value_validation_errors(
1119
1128
  checkpoint.interrupt_payload,
1120
1129
  validation_target,
1121
1130
  )
@@ -1193,7 +1202,7 @@ class Scheduler:
1193
1202
  for key, count in frontier_counts.items():
1194
1203
  self._dispatch_expected.setdefault(key, count)
1195
1204
 
1196
- if checkpoint.interrupt_payload:
1205
+ if checkpoint.interrupt_payload and not re_execute:
1197
1206
  # WHO decided is recorded in the same row as WHAT was decided —
1198
1207
  # provenance that cannot drift from its answer.
1199
1208
  recorded_value = (
@@ -45,6 +45,26 @@ from matrx_graph.types.result import NodeResult, failure, success
45
45
  #: Read by ``matrx_graph.workers.sleep_wake.schedule_sleep_wake``.
46
46
  SLEEP_MARKER = "matrx_sleep"
47
47
 
48
+ #: In the sleep marker: ``True`` means a wake RE-RUNS the parked step instead of
49
+ #: recording ``resume_output`` as its output. A polling node (re-count, re-check)
50
+ #: parks with it so EVERY way the park ends — the timed wake, "resume now", the
51
+ #: recovery sweep's resume of an orphaned leg — asks the world again; a stale
52
+ #: value from park time is never taken as the answer. The node then either
53
+ #: returns (the run moves on) or parks again with a fresh marker and wake.
54
+ RE_EXECUTE_ON_WAKE = "re_execute"
55
+
56
+
57
+ def re_executes_on_wake(interrupt_payload: object) -> bool:
58
+ """True when a park asked to be re-run on wake (either interrupt shape:
59
+ the run-row ``{"node_id", "payload"}`` envelope or the bare node payload)."""
60
+ if not isinstance(interrupt_payload, dict):
61
+ return False
62
+ inner = interrupt_payload.get("payload")
63
+ payload = inner if isinstance(inner, dict) else interrupt_payload
64
+ marker = payload.get(SLEEP_MARKER)
65
+ return isinstance(marker, dict) and marker.get(RE_EXECUTE_ON_WAKE) is True
66
+
67
+
48
68
  #: At or below this many seconds the node waits inline instead of parking —
49
69
  #: a checkpoint + queue round-trip (~1s worker poll) is worse than just
50
70
  #: waiting. Crash-safe either way (step replay re-waits).
@@ -18,6 +18,7 @@ and `workflow.job`'s post-reorg baseline schema on 2026-08-09.
18
18
  - **Stopping is a bounded drain.** `stop()` takes no new claims; `run_forever()` then waits out the jobs already running for `stop_grace_seconds` (aidream passes its share of THE DEPLOY WINDOW) and cancels whatever is left. A canceled job fails retryable and its run resumes from its last checkpoint — the same outcome a serial worker's single job always had when the container was replaced.
19
19
  - **A worker only claims what it can run (2026-10-12, `capability.py`).** Every server — deployed fleet and developer laptops — shares one database, so a job may belong to a graph whose node types this build has not shipped (live: a local build's `brand.setup.land_logo` run was resumed by production and errored "Unknown node type"). `enqueue()` / `enqueue_claimed()` stamp `workflow.job.metadata.required_node_types` (canonical spellings, removed types excluded) from the run's stored definition; `claim_one(capabilities=...)` adds `COALESCE(j.metadata->'required_node_types','[]') <@ caps` (`matrx_orm.JsonbContainedBy`), so an unstamped legacy job stays claimable by anyone. `WorkerRunner` and `run_single_job` pass `worker_capabilities()` (the default registry) on every claim. Belt two: a host job runner that finds a gap at run time raises `JobNeedsCapability`; the runner calls `defer_for_capability()` (un-claim, attempt refunded, requirement stamped, immediately visible) — never `fail()`, never `complete()`, never a run-status write. The run says what it waits for in `workflow.run.metadata._awaiting_capability` (`missing`, `message`, `since`, `checked_at`, `checked_by`) plus one `workflow.run_log` line (`run_awaiting_capability`); every incapable worker refreshes it via `stamp_runs_awaiting_capability()` and `checked_at` is a lifecycle-watchdog liveness signal, so a waiting run is not force-failed as stranded while a fleet is watching it. The first capable worker clears the marker. Proof: `tests/test_capability_aware_claim.py` (incl. the predicate evaluated in live Postgres; fails against the pre-change queue/runner).
20
20
  - **A copy that loses its lease stops itself (lane K1, 2026-10-21).** A renewal that answers "not ours" (reaped — including a FALSE "dead" after a database outage longer than the lease, live job c1d89868 — or settled elsewhere) marks the copy's `job_lease.JobLease` lost and cancels its task; the host skips its terminal write (the copy that holds the job owns the run); many-item work calls `job_lease.check()` before each item (it also reads the job row, at most every tenth of a renewal beat). The reaper does not try to tell an outage from a death: a false "dead" is harmless by construction. Proof: aidream `aidream/services/tests/test_a_reaped_run_never_waits_on_itself.py`. **Lane K1b:** whoever notices the loss first (the renewal or the work's own `check`) cancels the copy's owner task, and run-ahead re-raises a member that ended cancelled on a lost lease (it used to swallow it and route on). A job the reaper only DEAD-LETTERED (a false "dead" on its last attempt) is taken back by the live copy (`queue.take_back_false_dead_letter`, compare-and-set) and finished — stopping would strand the run, since nothing claims a dead-lettered job; a requeued or re-claimed job still stops the old copy. A renewal landing after `complete()` is not a loss (`JobLease.settling`). Each copy's `JobLease.generation` (the job's attempt) fences what it holds (import slots). A platform-wide outage longer than the lease plus grace cancels EVERY in-flight job at once and they all restart from their checkpoints together: the same spend per job as before, but as one burst. Proof: `tests/test_a_lost_lease_never_strands_or_lingers.py`.
21
+ - **A polling park is re-run on every wake (2026-10-25).** A sleep park whose marker carries `re_execute: true` (`nodes/flow/sleep.py` `RE_EXECUTE_ON_WAKE`, read by `re_executes_on_wake`) is never answered by a value: `Scheduler.resume` records no outcome for it, so the parked invocation (already on the frontier at its step) runs fresh — the timed wake, "resume now" and any recovery resume all ask the world again, and the node returns or parks anew (new checkpoint, new wake job). Without the flag a sleep's `resume_output` is its output, unchanged. First user: aidream `batch.wait_for_units`. Proof: `tests/test_sleep_re_execute_on_wake.py` (red with the branch removed).
21
22
  - **Recovery starts before work.** `WorkerRunner.run_forever()` calls `reap_expired_leases()` before its first claim. The host's recurring reaper remains a backstop.
22
23
  - **A transient claim outage never kills the worker.** A database timeout or
23
24
  connection failure while claiming `workflow.job` is captured durably and
@@ -103,6 +104,7 @@ request-management substrate and migrate `workflow.job` toward it.
103
104
 
104
105
  ## Change log
105
106
 
107
+ - 2026-10-25 — `re_execute` sleep marker: a polling park re-runs its step on every wake instead of taking the resume value (`Scheduler.resume`, `nodes/flow/sleep.py`).
106
108
  - 2026-10-23 (adversarial review of the identity / hops / any-org lanes) — (1) A table source
107
109
  is created ONLY on a watched table: the create route refuses an unwatched one by name with
108
110
  the remedy (`workflow.watch_table`), and `/workflow/platform-tables` marks each table
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "matrx-graph"
7
- version = "0.2.347"
7
+ version = "0.2.349"
8
8
  description = "Channel-based, super-step workflow orchestration engine for the Matrx ecosystem"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -33,10 +33,10 @@ classifiers = [
33
33
  requires-python = ">=3.13"
34
34
  dependencies = [
35
35
  "pydantic>=2.12",
36
- "matrx-connect>=0.1.248",
36
+ "matrx-connect>=0.1.249",
37
37
  # workers/queue.py imports compute_backoff_ms and validation.py imports
38
38
  # format_options/suggestion_line; all were first exported by 1.1.0.
39
- "matrx-utils>=2.0.88",
39
+ "matrx-utils>=2.0.89",
40
40
  # Cron expression parsing for wf_trigger (Phase 5b)
41
41
  "croniter>=2.0",
42
42
  # Async HTTP client for the http.* node pack
@@ -0,0 +1,179 @@
1
+ """A polling park (``re_execute`` in the sleep marker) is RE-RUN on every wake, never answered by a value.
2
+
3
+ The node under test asks a mutable world "are we done?" and parks with ``re_execute`` while not.
4
+ Each resume — whatever value it carries, from the same or a FRESH scheduler (the crash / recovery
5
+ leg) — must execute the node again; the downstream step runs exactly once, after the world is done.
6
+
7
+ Red without the scheduler's ``re_executes_on_wake`` branch: the first resume records the resume
8
+ value as the poller's output, the poller never re-runs, and the run completes with the stale value.
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ from datetime import UTC, datetime, timedelta
14
+ from typing import Any, ClassVar
15
+
16
+ from matrx_graph import (
17
+ Definition,
18
+ MemoryCheckpointer,
19
+ NodeRegistry,
20
+ RunStatus,
21
+ Scheduler,
22
+ compile_graph,
23
+ register_builtin_nodes,
24
+ )
25
+ from matrx_graph.nodes.flow.sleep import RE_EXECUTE_ON_WAKE, SLEEP_MARKER, re_executes_on_wake
26
+ from matrx_graph.types.context import NodeExecutionContext
27
+ from matrx_graph.types.handle import HandleDirection, HandleSpec
28
+ from matrx_graph.types.node_spec import NodeSpec
29
+ from matrx_graph.types.primitives import ActionTier, NodeCategory
30
+ from matrx_graph.types.result import NodeResult, success
31
+ from pydantic import BaseModel, ConfigDict
32
+
33
+ from tests._fixtures import FakeEmitter, make_app_context
34
+
35
+
36
+ class _In(BaseModel):
37
+ model_config = ConfigDict(extra="allow")
38
+
39
+
40
+ class _Out(BaseModel):
41
+ model_config = ConfigDict(extra="forbid")
42
+
43
+ done: int = 0
44
+ polls: int = 0
45
+
46
+
47
+ class _Cfg(BaseModel):
48
+ model_config = ConfigDict(extra="forbid")
49
+
50
+
51
+ class _Poller:
52
+ spec: ClassVar[NodeSpec] = NodeSpec(
53
+ type="test.poller",
54
+ category=NodeCategory.CONTROL,
55
+ display_name="Poller",
56
+ description="Parks until the world says done.",
57
+ input_schema=_In,
58
+ output_schema=_Out,
59
+ config_schema=_Cfg,
60
+ handles=(
61
+ HandleSpec(id="in", direction=HandleDirection.INPUT, required=False),
62
+ HandleSpec(id="out", direction=HandleDirection.OUTPUT),
63
+ ),
64
+ determinism=ActionTier.NON_DETERMINISTIC,
65
+ can_interrupt=True,
66
+ )
67
+
68
+ def __init__(self, world: dict[str, Any], re_execute: bool = True) -> None:
69
+ self.world = world
70
+ self.polls = 0
71
+ self.re_execute = re_execute
72
+
73
+ async def execute(self, ctx: NodeExecutionContext, inputs: _In, _c: _Cfg) -> NodeResult[_Out]:
74
+ self.polls += 1
75
+ if self.world["done"]:
76
+ return success(_Out(done=self.world["done"], polls=self.polls))
77
+ wake = datetime.now(UTC) + timedelta(hours=1)
78
+ marker: dict[str, Any] = {"wake_at": wake.isoformat(), "duration_seconds": 3600.0, "node_id": ctx.node_id}
79
+ if self.re_execute:
80
+ marker[RE_EXECUTE_ON_WAKE] = True
81
+ ctx.interrupt({"prompt": "waiting", SLEEP_MARKER: marker, "resume_output": {"stale": True}})
82
+ raise AssertionError("unreachable")
83
+
84
+
85
+ class _Sink:
86
+ spec: ClassVar[NodeSpec] = NodeSpec(
87
+ type="test.after_poll",
88
+ category=NodeCategory.DATA,
89
+ display_name="After",
90
+ description="Records what it got.",
91
+ input_schema=_In,
92
+ output_schema=_Out,
93
+ config_schema=_Cfg,
94
+ handles=(
95
+ HandleSpec(id="in", direction=HandleDirection.INPUT),
96
+ HandleSpec(id="out", direction=HandleDirection.OUTPUT),
97
+ ),
98
+ determinism=ActionTier.PURE,
99
+ )
100
+
101
+ def __init__(self) -> None:
102
+ self.calls: list[dict[str, Any]] = []
103
+
104
+ async def execute(self, ctx: NodeExecutionContext, inputs: _In, _c: _Cfg) -> NodeResult[_Out]:
105
+ self.calls.append(inputs.model_dump())
106
+ return success(_Out(done=int(inputs.model_dump().get("done") or 0)))
107
+
108
+
109
+ def _graph(poller: _Poller) -> tuple[Any, NodeRegistry, _Sink]:
110
+ reg = NodeRegistry()
111
+ register_builtin_nodes(reg)
112
+ sink = _Sink()
113
+ reg.register(poller)
114
+ reg.register(sink)
115
+ definition = Definition.model_validate({
116
+ "nodes": [
117
+ {"id": "poll", "type": "test.poller", "position": {"x": 0, "y": 0}, "data": {}},
118
+ {"id": "after", "type": "test.after_poll", "position": {"x": 200, "y": 0}, "data": {}},
119
+ ],
120
+ "edges": [{"id": "e1", "source": "poll", "target": "after"}],
121
+ })
122
+ return compile_graph(definition, registry=reg), reg, sink
123
+
124
+
125
+ def _scheduler(graph: Any, cp: MemoryCheckpointer, reg: NodeRegistry) -> Scheduler:
126
+ return Scheduler(graph, cp, make_app_context(FakeEmitter()), registry=reg)
127
+
128
+
129
+ async def test_every_wake_re_runs_the_poll_and_the_run_moves_on_once() -> None:
130
+ world = {"done": 0}
131
+ poller = _Poller(world)
132
+ graph, reg, sink = _graph(poller)
133
+ cp = MemoryCheckpointer()
134
+
135
+ first = await _scheduler(graph, cp, reg).run(run_id="poll-1")
136
+ assert first.status is RunStatus.INTERRUPTED and poller.polls == 1
137
+ park1 = await cp.latest_checkpoint("poll-1")
138
+ assert park1 is not None and re_executes_on_wake(park1.interrupt_payload)
139
+
140
+ # Wake 1 (a value is passed and must be IGNORED): still not done → parks again on a NEW checkpoint.
141
+ again = await _scheduler(graph, cp, reg).resume(run_id="poll-1", checkpoint_id=park1.checkpoint_id,
142
+ resume_value={"stale": True})
143
+ assert again.status is RunStatus.INTERRUPTED, again.status
144
+ assert poller.polls == 2 and sink.calls == []
145
+ park2 = await cp.latest_checkpoint("poll-1")
146
+ assert park2 is not None and park2.checkpoint_id != park1.checkpoint_id
147
+
148
+ # The world finishes; a FRESH scheduler (the restarted worker) resumes with an empty value.
149
+ world["done"] = 7
150
+ final = await _scheduler(graph, cp, reg).resume(run_id="poll-1", checkpoint_id=park2.checkpoint_id,
151
+ resume_value={})
152
+ assert final.status is RunStatus.COMPLETED, final.status
153
+ assert poller.polls == 3
154
+ assert len(sink.calls) == 1 and sink.calls[0].get("done") == 7, sink.calls
155
+ assert final.last_outputs["poll"]["done"] == 7
156
+
157
+
158
+ async def test_a_plain_sleep_park_still_takes_its_resume_value() -> None:
159
+ """Without the flag nothing changes: the resume value IS the parked step's output."""
160
+ world = {"done": 0}
161
+ poller = _Poller(world, re_execute=False)
162
+ graph, reg, sink = _graph(poller)
163
+ cp = MemoryCheckpointer()
164
+ await _scheduler(graph, cp, reg).run(run_id="poll-2")
165
+ park = await cp.latest_checkpoint("poll-2")
166
+ assert park is not None and not re_executes_on_wake(park.interrupt_payload)
167
+ final = await _scheduler(graph, cp, reg).resume(run_id="poll-2", checkpoint_id=park.checkpoint_id,
168
+ resume_value={"done": 3})
169
+ assert final.status is RunStatus.COMPLETED
170
+ assert poller.polls == 1 and sink.calls and sink.calls[0].get("done") == 3
171
+
172
+
173
+ def test_the_flag_is_read_from_either_interrupt_shape() -> None:
174
+ payload = {SLEEP_MARKER: {"wake_at": "x", RE_EXECUTE_ON_WAKE: True}}
175
+ assert re_executes_on_wake(payload)
176
+ assert re_executes_on_wake({"node_id": "n", "payload": payload})
177
+ assert not re_executes_on_wake({SLEEP_MARKER: {"wake_at": "x"}})
178
+ assert not re_executes_on_wake({SLEEP_MARKER: {RE_EXECUTE_ON_WAKE: "yes"}})
179
+ assert not re_executes_on_wake(None)
File without changes
File without changes
File without changes