OpenMontage/tests/contracts
Alastair Beal 85cf047c93 comfyui: route custom workflows through image/video selectors
The selector path previously hid the custom-workflow feature: video_selector
filtered tools on per-operation readiness (bundled WAN models) and both
selectors only chose ToolStatus.AVAILABLE providers, so comfyui_image/
comfyui_video — DEGRADED when bundled model metadata is missing — were
dropped even when the ComfyUI server was up and the caller supplied a full
workflow_json/workflow_path plus output_node.

- Add a custom-workflow readiness path to both selectors: when a custom
  workflow is supplied, eligibility is based on server availability (status
  != UNAVAILABLE) for any provider advertising supports.custom_workflow,
  not on bundled-model readiness. A custom workflow also restricts routing
  to custom-workflow-capable providers, since the graph JSON is ComfyUI
  specific.
- Expose workflow_json, workflow_path, output_node, workflow_name,
  workflow_model, and workflow_model_stack in both selector schemas so
  agents can discover the feature without bypassing the selectors.
- image_selector only forwards the workflow inputs to providers that
  declare them.
- Add contract tests for the new eligibility path and schema exposure.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 22:38:18 +01:00
..
__init__.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
test_character_animation_pipeline.py feat(character-animation): add local rigged character pipeline 2026-04-28 08:11:02 -07:00
test_comfyui_tools.py comfyui: route custom workflows through image/video selectors 2026-06-29 22:38:18 +01:00
test_phase0_contracts.py hyperframes: add HTML/CSS/GSAP as a parallel composition runtime 2026-04-18 18:37:00 -07:00
test_phase1_contracts.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
test_phase1_golden.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
test_phase2_comparison.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
test_phase2_contracts.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
test_phase3_contracts.py ci: add GitHub Actions validation pipeline 2026-06-25 13:19:12 -07:00
test_runtime_presentation_contract.py hyperframes: add HTML/CSS/GSAP as a parallel composition runtime 2026-04-18 18:37:00 -07:00