forked from genewildish/Mainline
- Add can_hot_swap() function to Pipeline class - Add cleanup_stage() method to Pipeline class - Fix remove_stage() to rebuild execution order after removal - Extend ui_panel.execute_command() with docstrings for mutation commands - Update WebSocket handler to support pipeline mutation commands - Add _handle_pipeline_mutation() function for command routing - Add comprehensive integration tests in test_pipeline_mutation_commands.py - Update AGENTS.md with mutation API documentation Issue: #35 (Pipeline Mutation API) Acceptance criteria met: - ✅ can_hot_swap() checker for stage compatibility - ✅ cleanup_stage() cleans up specific stages - ✅ remove_stage_safe() rebuilds execution order (via remove_stage) - ✅ Unit tests for all operations - ✅ Integration with WebSocket commands - ✅ Documentation in AGENTS.md
33 KiB
33 KiB