2bd0f1c59e
agent/kanban_stop.py::kanban_stop_nudge_enabled tested only HERMES_KANBAN_TASK, which in-process delegate_task children (and cron runs fired inside a worker) inherit from the worker's process environment. Those executions own no board task and have the kanban toolset withheld, so the turn-end nudge ordered them to call a tool they cannot reach — burning attempts, and in production driving children to complete the parent's card through the CLI. Gate on agent/delegation_context.py::is_dispatcher_owned_worker_context, the predicate every other HERMES_KANBAN_* identity gate already uses. The real worker and the HERMES_KANBAN_STOP_NUDGE opt-out are unchanged. Salvaged from PR #84656 by @jerryhjones (re-applied onto the current facade shape); the same gate was first proposed in PR #80023 by @webdevfrancisco using the narrower delegated-child predicate. Co-authored-by: webdevfrancisco <franciscombautista2015@gmail.com>
3 lines
35 B
Plaintext
3 lines
35 B
Plaintext
webdevfrancisco
|
|
# PR #80023 credit
|