You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The slots for Preparation Agent, Loop Agents, and Finalization Agent should accept not only individual agents from agents/, but also workflows from the workflows/ directory. This allows workflows to be nested and reused as building blocks.
Example: Instead of just entering "amala" in the loop slot, you could enter "workflow:test_generation" – the sub-workflow is then executed recursively at that position.
Sub-Issues (ToDo)
Configuration System (core/config.py) #1 WorkflowLoader – New class core/workflow_loader.py analogous to AgentLoader: scans *.json in workflows/, loads and parses workflow definitions.
Description
The slots for Preparation Agent, Loop Agents, and Finalization Agent should accept not only individual agents from
agents/, but also workflows from theworkflows/directory. This allows workflows to be nested and reused as building blocks.Example: Instead of just entering
"amala"in the loop slot, you could enter"workflow:test_generation"– the sub-workflow is then executed recursively at that position.Sub-Issues (ToDo)
core/workflow_loader.pyanalogous toAgentLoader: scans *.json inworkflows/, loads and parses workflow definitions._resolve_slot_entry()and_execute_sub_workflow()incore/engine.py, recursion guard (max 3 levels), shared state, error handling.ui/app.py, workflow preview,_refresh_workflow_list()."workflow:name"), correct serialization in_get_workflow_data().tests/integration.py, recursion tests, edge cases.Design Decisions (Proposals)
WorkflowStateagent_error:like agent failures"workflow:name"as prefix (explicit, no guessing)Prerequisites