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.
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/PKG-INFO +3 -3
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/postgres.py +112 -42
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/protocol.py +6 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/value_store.py +64 -53
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/values.py +15 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/FEATURE.md +15 -7
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/node_data_slot_store.py +44 -7
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/run_store.py +45 -9
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/FEATURE.md +27 -4
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/once_step.py +54 -21
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/scheduler.py +115 -51
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/failure.py +15 -1
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/in_organization.py +30 -5
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/__init__.py +4 -1
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/_sandbox.py +33 -2
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/FEATURE.md +4 -1
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/plan/step.py +12 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/subgraph/call.py +2 -2
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/FEATURE.md +4 -0
- matrx_graph-0.2.367/matrx_graph/nodes/text/key_phrases.py +244 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/once.py +42 -10
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/pyproject.toml +3 -3
- matrx_graph-0.2.367/tests/test_a_called_workflows_answer_is_owned_by_the_caller.py +213 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_large_step_result_reaches_only_when_whole.py +53 -1
- matrx_graph-0.2.367/tests/test_a_lock_timeout_says_the_database_was_busy.py +45 -0
- matrx_graph-0.2.367/tests/test_a_relayed_timer_park_schedules_no_wake_of_its_own.py +57 -0
- matrx_graph-0.2.367/tests/test_a_result_saved_in_another_organization_is_kept.py +149 -0
- matrx_graph-0.2.367/tests/test_a_reused_output_resolves_past_the_read_cap.py +52 -0
- matrx_graph-0.2.367/tests/test_a_save_never_hands_on_an_earlier_saves_status.py +62 -0
- matrx_graph-0.2.367/tests/test_a_step_costs_ten_database_round_trips.py +231 -0
- matrx_graph-0.2.367/tests/test_an_optional_step_is_waited_for.py +178 -0
- matrx_graph-0.2.367/tests/test_an_outcome_value_is_remembered_only_once_committed.py +147 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_rules.py +1 -1
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_in_organization.py +87 -1
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_large_input_values_stay_off_the_run_row.py +57 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_once_per_key.py +46 -4
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_outcome_inputs_by_reference.py +9 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_outcome_outputs_by_reference.py +4 -0
- matrx_graph-0.2.367/tests/test_sandbox_coalesce_default.py +48 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_text_helpers.py +29 -0
- matrx_graph-0.2.367/tests/test_text_key_phrases.py +82 -0
- matrx_graph-0.2.366/tests/test_a_called_workflows_answer_is_not_copied.py +0 -135
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/.gitignore +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/AGENTS.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/CHANGELOG.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/CLAUDE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/README.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/ENGINE_SPEC.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/GAPS_AND_ROADMAP.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/OPERATING_PRIORITIES.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/README.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/RUN_LIFECYCLE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/WORKFLOW_ARCHITECTURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/action-authoring.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/architecture.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/node-authoring.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/docs/testing.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/ACTION_STANDARDS.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/decorator.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/registry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/actions/spec.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/candidate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checkpoint/memory.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/checks.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/compile.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/composition.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/accessor.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/audit.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/authoring_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/availability.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/converters.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/directives.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/edge_routing.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/envelope.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/fingerprint.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/graph_adapter.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/markers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/model.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/occurrences.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/partial.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/pg_emitter.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/runtime_view.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/sample.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/sdk.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/subscriptions.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/translate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/triggers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/well_known.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/content_ir/wrappers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/contract_kinds.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/contracts/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/contracts/audit.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/_registry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/db_requirements.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/definition_store.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/event_store.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0020_wf_run_announce.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0021_join_semantics.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0022_node_data_slot.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0023_fanout_identity.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0024_definition_variables.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0100_baseline_post_reorg.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0101_run_request_attribution.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0102_visibility_and_kind_verdicts.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0103_work_item.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0104_soft_delete_columns.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0105_plan.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0106_definition_visibility_internal_default.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0107_plan_anchor_integrity.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0108_plan_persistence_invariants.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0109_node_data_slot_created_by.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0110_run_log.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0111_awaiting_input_status.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0111_event_triggers.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0112_definition_io_kind_declaration.sql +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0114_definition_workflow_type.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0115_checkpoint_value.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0116_standalone_checkpoint_organization_and_values.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0117_review_flags.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0118_event_trigger_hops_and_any_org.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0119_step_result.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0120_step_result_soft_delete.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/0121_review_issue_per_org.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/README.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0001_wf_initial.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0002_wf_queue.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0003_wf_node_events.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0004_wf_trigger.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0005_wf_rls.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0006_wf_run_cancelling.sql +0 -0
- {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
- {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
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0010_wf_idempotency.sql +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0012_wf_trigger_fire.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0013_wf_recovery_audit.sql +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0016_wf_template.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/0017_wf_hardening.sql +0 -0
- {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
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/migrations/legacy_pre_reorg/README.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/pool.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/standalone.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/store_change.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/trigger_event_store.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/trigger_proof.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/trigger_store.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/db/wf_manager.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/decision_spec.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/decisions.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/deprecated_steps.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/deprecations.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/diagnostics/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/diagnostics/compile_validation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/dry_run.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/emptiness.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/errors.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/examples/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/examples/self_validating_news.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/_retry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/answered_park.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/channels.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/client_payload.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/execution.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/introspect.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/json_dump.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/one_at_a_time_step.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/primitives.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/registry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/resume_chain.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/resume_preflight.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/review_flags.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/run_stop.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/executor/schema_validation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/extract.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/fold.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/input_bindings.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/kind_control_keys.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/kind_fields.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/kinds.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/knobs.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/llm_json.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/mapping_sources.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/_template.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/content_ir/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/content_ir/validate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/branch.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/gather.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/human_input.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/loop.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/map.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/send.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/work_queue.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/control/work_seed.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/crypto/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/crypto/ops.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/apportion.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/assert_.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/check_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/choose.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/collections.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/criteria_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/data_table.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/filter.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/flatten.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/group.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/join.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/json_io.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/map_template.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/merge.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/pick_omit.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/read_record.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/rules.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/shuffle.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/spread_rank.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/tabular.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/data/transform.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/datetime_/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/datetime_/ops.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/noop.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/sleep.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/flow/throttle.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/_shared.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/custom_api.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/get.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/graphql.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/http/post.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/io/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/io/user_input.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/log/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/log/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/log/record.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/math_/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/math_/evaluate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/output/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/output/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/output/to_frontend.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/contract.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/pipe/step.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/plan/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/settings/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/settings/read.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/speech/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/speech/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/speech/budget.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/subgraph/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/subgraph/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/case.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/custom_extract.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/json_path.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/manipulate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/regex.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/render_list.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/repeated_lines.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/sections.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/similarity.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/text/term_scan.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/tool/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/nodes/tool/call.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/observability/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/one_at_a_time.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/overview.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/patch.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/paths.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/placement.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/py.typed +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/records.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/references.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/run_log.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/safe_regex.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/seats.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/secrets.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/settings.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/shape_probe.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/speech_pace.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/spend_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/step_settings.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/system_values.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/table_kind_mapping.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/table_kinds.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/text_match.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/canonical_payloads.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/channel.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/compiled.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/context.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/definition.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/deliverables.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/events.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/handle.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/identity_inputs.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/input_surface.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/node_spec.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/primitives.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/result.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/review.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/run.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/send.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/usl.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/value_objects.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/types/variables.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/validation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/FEATURE.md +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/capability.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/cron_watcher.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/event_watcher.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/job_lease.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/queue.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/runner.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workers/sleep_wake.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/matrx_graph/workset.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/_db_guard.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/_fixtures.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/ci/00_supabase_shim.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/ci/10_canonical_reorg_shim.sql +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/ci/bootstrap_test_db.sh +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/conftest.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/kind_control_keys_golden.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/kind_registry_variants.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/live_saved_regex_patterns.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/table_kind_golden.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/w59_empty_prescriber_output.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/fixtures/watson_rulebook_ids.json +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/judge/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/judge/test_self_validating_news_e2e.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/level2/__init__.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/level2/test_anthropic_provider.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_bound_graph_hash_moves_with_content_only.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_caller_sets_how_many_run_at_once.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_claim_into_running_is_a_liveness_signal.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_condition_stop_is_said_at_run_level.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_conditional_and_plain_inbound_step_waits_for_both.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_failed_check_stops_what_depends_on_it.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_failed_final_write_ends_the_run_failed.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_fan_out_is_never_a_workflows_result.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_fan_out_whose_every_item_failed_fails_loudly.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_large_run_result_is_kept_by_reference.py +0 -0
- {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
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_leg_knows_whether_it_ran_fresh.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_lost_lease_never_strands_or_lingers.py +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_mapping_that_reads_nothing_raises_a_review_flag.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_missing_mapping_path_arrives_absent.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_node_fires_when_its_facts_are_confirmed.py +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_refusal_says_its_sentence_with_values.py +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_refused_value_is_named_not_no_ai_assigned.py +0 -0
- {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
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_resumed_run_hands_back_its_whole_result.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_rules_table_can_come_from_a_run_input.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_run_log_write_that_fails_is_captured.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_run_row_update_never_returns_the_whole_row.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_run_stopped_at_a_failed_check_says_so.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_setting_can_come_from_a_run_input.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_started_leg_keeps_the_queues_guarantees.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_step_keeps_what_it_got_back.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_step_that_was_answered_is_not_called_skipped.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_step_time_limit_follows_the_failure_path.py +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_a_terminal_run_keeps_settled_job_markers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_action_output_handles.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_actions.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_added_steps_never_land_on_another.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_engine_core.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_kind_routing.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_partial_wire.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_adversarial_registry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_answered_question_is_never_asked_again.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_archived_saved_result_is_never_reused.py +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_input_default_can_come_from_system_context.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_omitted_argument_takes_its_declared_default.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_an_optional_step_failure_completes_the_run.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_authoring_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_back_edges.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_barrier_removed.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_batched_list_result_left_out_matches_live.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_branch_emits_only_the_keys_it_received.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_branch_passthrough_keeps_its_own_kind.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_candidate_node_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_capability_aware_claim.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_channel.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_channels_reducers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_check_items_takes_an_empty_list.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_postgres_org_write.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_rows_stay_small.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_summaries.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_checkpoint_write_budget.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_choose_fold.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_choose_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_client_bound_error_redaction.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_config_output_handles_normalized.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_connections_reach_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_audit.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_converters.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_envelope.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_markers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_model.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_partial.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_pg_emitter.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_runtime_view.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_sample.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_stamped_marker_equality.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_content_ir_translate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_context_propagation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_contract_artifact_eviction.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_contract_audit.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_contract_kinds.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_criteria_bundle_is_a_kind.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_criteria_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_criteria_gate_fails_closed_on_unsafe_lanes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_apportion.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_batch_first_fit.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_batch_split.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_check_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_check_items_pattern.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_collections.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_group.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_join.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_rules_sum_scores.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_shuffle.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_data_spread_rank.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_db_guard.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_decision_attribution.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_decision_default_and_edge_key_guards.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dedupe_matches_and_against.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dedupe_merges_duplicates.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dedupe_similar_and_limit_round_robin.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_archive_filter.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_list_skip.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_publish_is_a_change.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_save_draft_author.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_set_tags.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_definition_store_version_load.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_deliverables_rule.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_deprecated_steps_scream.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dry_run.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dry_run_source_input.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_dynamic_topology_guards.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_edge_field_selection.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_empty_deliverable_is_named.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_empty_fanout.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_end_to_end.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_event_payloads_stay_small.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_event_store_error_redaction.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_event_triggers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_dispatcher_is_seen_by_lineage.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_items_input_kind_takes_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_pure_builtin_declares_where_its_values_come_from.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_every_terminal_status_stamps_completed_at.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_extract.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_extras_read_is_one_rule.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_failure.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_failure_is_not_the_users_words.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_filter_keeps_children_of_dropped_parents.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_filter_other_inputs_pass_the_kind_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_filter_reads_other_inputs.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_flatten_carry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_flatten_value_as_expands_a_search_per_engine.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_flow_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_fold_reshape_steps.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gate_default_and_wait_from_input.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gather_ai_projection.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gather_channel_item_indexes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_gather_reports_reused_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_http_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_http_nodes_refuse_internal_addresses.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_http_secrets.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_answer_kind_declaration.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_gate_decision.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_gate_seat.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_input_bare_context.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_input_pause_round_trip.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_human_input_presentation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_identity_input_broadcast.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_inert_predicate_guard.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_ingestion_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_input_gate_failure_is_routable.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_input_surface.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_input_surface_variant_registry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_invocation_budget.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_io_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_json_dump.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_accessor.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_availability.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_control_keys.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_enforcement.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_fields.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_native_node_library.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_routing.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kind_sdk.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_kinds.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_knobs.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_left_out_sort_keys_and_page_helpers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_length_units_line_breaks.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_list_include_ids.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_list_shaping_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_live_injection.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_log_record_node.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_loop_scale.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_map_payload_template.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_mapping_source_sigils.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_multi_dispatch_fanin.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_no_connection_into_a_for_each_step.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_no_kind_marker.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_cost_event.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_data_slot_store.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_data_slot_stores_json_not_a_string.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_data_slot_validation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_emitter_settle.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_error_kind.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_input_capture.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_result_envelope.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_node_spec.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_nonidentity_kind_marker.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_one_at_a_time.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_only_when_sees_the_steps_run_inputs.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_outage_path_is_not_an_agent_choice.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_output_channel_binding.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_output_kind_stamping.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_overview_collapse.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_parse_json_lenient.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_patch.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_patch_presentation_ops.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_patch_set_entry_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_pause_cancel_and_recovery.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_pipe_step.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_plan_identity_consistency.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_plan_step.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_postgres_checkpointer.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_postgres_workset_store.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_predicate_preview_per_item.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_primitives.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_pruned_map_prunes_its_target.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_public_media_scope.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_raised_error_details_reach_outcome.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_read_record_node.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_references.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_regex_extract_reads_a_list.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_registry.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_required_inputs_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_reshape_steps_are_not_needed.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_response_checks.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_resume_payload_folding.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_resume_preflight_soundness.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_review_flags_raised_by_the_engine.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_conversation_identity.py +0 -0
- {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
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_organization_is_read_once.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_ref_names_the_run.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_store_control.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_variables.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_run_waiting_hook.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sampled_steps.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_comprehensions.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_date_helpers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sandbox_get_helper.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_conditional_edge.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_config_override.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_events.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_failsoft.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_failure_cost_settlement.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_fanout_identity.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_fork_to_new_run.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_interrupt_siblings.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_join_hardening.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_joins.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_loop_contract.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_mock_response.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_node_retry_override.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_node_timeout.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_ready_nodes_do_not_wait.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_retry_policy.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_skip_edge_ids.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_step_mode.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_scheduler_step_wall_clock.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_screen_value.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_self_validating_news.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_send_unwired_items_is_loud.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_settings_read_step.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_site_blocked_is_not_not_authorized.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sleep_re_execute_on_wake.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_sleep_wake_targets_the_newest_park.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_speech_budget.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_standalone_db_models.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_step_settings.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_store_event_source.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_subgraph_call.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_table_kind_round_trip.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_format_text.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_optional_ref.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_path_shape_gate.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_run_ref.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_run_ref_review_fixes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_selector_segment.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_template_uuid5_stable_id.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_case.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_match_one_word_split_in_two.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_match_review_fixes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_remove_repeated_lines.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_sections_patch.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_similarity.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_term_scan.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_text_term_scan_proper_names.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_tool_loop_stall_is_a_cause.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_transform_output_shape.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_transform_parts_run_in_the_order_they_read.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_triggers_and_observability.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_unreadable_paths_are_refused_at_validation.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_user_input_filled_from_data.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_utility_nodes.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_expression_sandbox.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_fanned_edge_needs_items.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_hints.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_validation_s4.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_value_store_keeps_strings_strings.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_values_held_on_server.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_variables_carry_their_type.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_w0_agent_build_engine_proofs.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_workers.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_workset.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_workset_chaos.py +0 -0
- {matrx_graph-0.2.366 → matrx_graph-0.2.367}/tests/test_wrapped_db_timeout_is_persistence.py +0 -0
- {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.
|
|
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.
|
|
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.
|
|
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
|
|
412
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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":
|
|
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
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
"
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
"
|
|
602
|
-
|
|
603
|
-
|
|
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
|
|
695
|
-
"""The outcome's ``input`` or ``output`` with large values
|
|
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
|
-
|
|
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
|
-
|
|
706
|
-
|
|
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
|
|
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(
|
|
36
|
-
|
|
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.
|
|
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
|
-
|
|
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)
|
|
118
|
+
"""hash → stored value (NOT following nested references) from ``run_id``'s OWN store.
|
|
103
119
|
|
|
104
|
-
A
|
|
105
|
-
|
|
106
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
540
|
-
"""
|
|
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.
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
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
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
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
|
-
|
|
557
|
-
if not known:
|
|
567
|
+
if not landed:
|
|
558
568
|
return
|
|
559
|
-
_stored_value_hashes.setdefault(caller_run_id, set()).update(
|
|
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
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
|
|
106
|
-
|
|
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
|
|
225
|
-
from matrx_graph.checkpoint.values import
|
|
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
|
-
|
|
276
|
+
if node_id in too_large:
|
|
277
|
+
continue
|
|
278
|
+
value, emissions = decoded[node_id]
|
|
241
279
|
try:
|
|
242
|
-
if
|
|
243
|
-
value =
|
|
244
|
-
|
|
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,
|