feat(pipeline): add direct CLI mode with validation framework #29

Closed
opened 2026-03-18 17:05:41 +00:00 by david · 0 comments
Owner

Summary

Add ability to construct and run pipelines directly from command-line flags without using presets, plus a validation framework to ensure minimum viable pipeline configuration.

Features

  • run_pipeline_mode_direct() function in engine/app.py
  • CLI flags: --pipeline-source, --pipeline-effects, --pipeline-camera, --pipeline-display, --pipeline-ui, --pipeline-border
  • engine/pipeline/validation.py with validate_pipeline_config() function
  • MVP validation: auto-injects sensible defaults for missing/invalid configuration
  • Supports --allow-unsafe flag to bypass validation warnings

Why

Provides more flexible pipeline construction for testing and custom use cases without needing to define presets. Validation ensures pipelines are functional even with partial configuration.

Files Changed

  • engine/app.py (+~750 lines)
  • engine/pipeline/validation.py (new, 219 lines)

Status

Implementation complete, ready for testing.

  • Part of pipeline architecture modernization (#2)
  • Enables dynamic pipeline configuration for UI panel preset switching
## Summary Add ability to construct and run pipelines directly from command-line flags without using presets, plus a validation framework to ensure minimum viable pipeline configuration. ## Features - `run_pipeline_mode_direct()` function in `engine/app.py` - CLI flags: `--pipeline-source`, `--pipeline-effects`, `--pipeline-camera`, `--pipeline-display`, `--pipeline-ui`, `--pipeline-border` - `engine/pipeline/validation.py` with `validate_pipeline_config()` function - MVP validation: auto-injects sensible defaults for missing/invalid configuration - Supports `--allow-unsafe` flag to bypass validation warnings ## Why Provides more flexible pipeline construction for testing and custom use cases without needing to define presets. Validation ensures pipelines are functional even with partial configuration. ## Files Changed - `engine/app.py` (+~750 lines) - `engine/pipeline/validation.py` (new, 219 lines) ## Status Implementation complete, ready for testing. ## Related - Part of pipeline architecture modernization (#2) - Enables dynamic pipeline configuration for UI panel preset switching
david closed this issue 2026-03-18 22:03:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: klubhaus/sideline#29