5 Commits

Author SHA1 Message Date
laansdole
9031b4d9ee fix: loop timer demo 2026-02-08 11:46:03 +07:00
laansdole
b56e89313e fix: Correct loop structure in demo_loop_timer.yaml
Key fixes:
- Add proper trigger edges: Critic -> Timer Gate with trigger=true
- Add feedback loop: Timer Gate -> Writer with trigger=true
- Remove incorrect Writer -> Critic -> Timer Gate -> Writer pattern
- Follow ChatDev_v1 loop pattern: input -> gate (trigger) -> gate -> output (trigger)
- Start both branches simultaneously in start nodes

This ensures the timer gates are properly triggered and loops execute correctly.
2026-02-07 13:11:52 +07:00
laansdole
f7ece916ce fix: Correct YAML format in demo_loop_timer.yaml
- Remove invalid 'version' field
- Restructure to match DevAll YAML schema (graph at top level)
- Move start/end nodes to end of graph block
- Validation now passes: 'Workflow OK. Design is valid.'
2026-02-07 13:08:43 +07:00
laansdole
1abf173a14 refactor: Merge loop_timer demos and extend duration
- Merge demo_loop_timer.yaml and demo_loop_timer_passthrough.yaml into single comprehensive demo
- Create dual-branch workflow demonstrating both standard and passthrough modes side-by-side
- Increase duration from 5 seconds to 2 minutes for better demonstration
- Update YAML_FORMAT_QUICK_GUIDE.md with detailed mode explanations and demo reference
- Update tasks.md in add-loop-timer proposal to reflect demo improvements
- Remove duplicate demo_loop_timer_passthrough.yaml file
2026-02-07 12:55:52 +07:00
laansdole
42cd389d59 feat: Add loop_timer node for time-based loop control
- Add LoopTimerConfig with duration units support (seconds/minutes/hours)
- Implement LoopTimerNodeExecutor with standard and passthrough modes
- Register loop_timer node type in builtin_nodes.py
- Update documentation (execution_logic.md, YAML_FORMAT_QUICK_GUIDE.md)
- Add demo workflows for both modes

Closes: add-loop-timer change proposal
2026-02-07 12:27:29 +07:00