Problem
I need a reliable way to remotely recover clisbot when it stops being operational.
The current failure mode is not just that an agent session is busy. Sometimes clisbot can become unusable from the remote operator's point of view because of issues such as:
- a stuck or stale tmux runner session
- stale runtime/session state that prevents new work from being admitted
- a runner that appears active even though it is no longer making progress
- Telegram still being the only available remote surface, but clisbot no longer responding normally
- any other runtime state where clisbot effectively cannot accept or process new commands
In those situations, the operator needs a way to actually restart or recover clisbot remotely, not just send another normal agent prompt.
Requested capability
Please provide a first-class remote recovery mechanism for clisbot.
The goal is: when clisbot is stuck, unhealthy, or no longer responding correctly, an authorized operator should still have a supported way to trigger a real recovery flow that can bring clisbot back to a working state.
This recovery flow should be able to handle problems like stuck tmux sessions, stale session state, broken runner state, or other conditions that prevent clisbot from receiving or processing normal commands.
Expected behavior
A good solution would:
- Be designed specifically for remote recovery, not ordinary chat handling.
- Work even when the normal agent/runner path is stuck.
- Be protected by the existing owner/admin permission model or a stricter recovery permission.
- Perform the necessary restart/recovery steps to make clisbot usable again.
- Return a compact result summary when possible.
- Avoid unsafe broad process killing unless explicitly designed and documented.
Why this matters
clisbot is useful precisely because it allows remote operation through chat surfaces. When clisbot itself becomes stuck, the operator may not have immediate access to the machine. A reliable remote recovery path is therefore an important operational feature, not just a convenience command.
The key requirement is not a specific command syntax. The key requirement is a supported way to recover clisbot remotely when it is stuck badly enough that normal interaction no longer works.
Problem
I need a reliable way to remotely recover clisbot when it stops being operational.
The current failure mode is not just that an agent session is busy. Sometimes clisbot can become unusable from the remote operator's point of view because of issues such as:
In those situations, the operator needs a way to actually restart or recover clisbot remotely, not just send another normal agent prompt.
Requested capability
Please provide a first-class remote recovery mechanism for clisbot.
The goal is: when clisbot is stuck, unhealthy, or no longer responding correctly, an authorized operator should still have a supported way to trigger a real recovery flow that can bring clisbot back to a working state.
This recovery flow should be able to handle problems like stuck tmux sessions, stale session state, broken runner state, or other conditions that prevent clisbot from receiving or processing normal commands.
Expected behavior
A good solution would:
Why this matters
clisbot is useful precisely because it allows remote operation through chat surfaces. When clisbot itself becomes stuck, the operator may not have immediate access to the machine. A reliable remote recovery path is therefore an important operational feature, not just a convenience command.
The key requirement is not a specific command syntax. The key requirement is a supported way to recover clisbot remotely when it is stuck badly enough that normal interaction no longer works.