Fix “composite node loops or stalls”
Stub
This How-to is a stub. JARVIS supports budgets and recovery artifacts, but durable scheduling and loop prevention are still evolving.
Goal
You will stop composite execution loops/stalls by tuning budgets, tightening recovery, and inspecting artifacts.
When to use this
- A run keeps creating more node runs without finishing.
- A composite node run never reaches a terminal state.
Prerequisites
- Budgets/constraints enabled
- Access to artifacts/events for the run
Steps
- Inspect decomposition output (subtasks) for runaway expansion.
- Inspect recovery actions for repeated retries/remaps.
- Tighten budgets:
- max depth,
- max subtasks,
- max decomposition rounds,
- max retries/remaps.
- Fail closed when budgets are exceeded.
Verify
- The run terminates deterministically (success or safe failure).
Troubleshooting
- Planner keeps expanding → enforce hard bounds after parsing.
- Binding keeps choosing failing nodes → add remap limits and better candidate filtering.
- Stalls after creating children → scheduling/dispatch issue → inspect coordinator dispatch configuration.
Cleanup / Rollback
- Reset budgets to defaults after fixing root cause.
Next steps
- How-to: Apply runtime budgets
- How-to: Implement recovery actions