Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/bmad_loop/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ class LimitsPolicy:
# the refill until session_timeout_min, burning a turn per cycle (#149).
# After this many total nudges the session is declared stalled instead
# (post-kill reconcile still rescues a finished one whose artifact is on
# disk). 0 = stall on first grace expiry.
# disk). 0 = stall on first grace expiry. Safe range: keep this
# comfortably below session_timeout_min / (dev_stall_grace_s / 60), so
# the cap fires before the session timeout ceiling would anyway.
dev_stall_nudges_cap: int = 6
# same monotonic cap for injected plugin-workflow sessions: one that keeps
# ending its turn without writing its completion marker is declared stalled
Expand Down