Enforce button-first ordering for Telegram decision closures

This commit is contained in:
Eve
2026-04-22 12:13:35 +08:00
parent 26948948b2
commit a85403aa77
4 changed files with 20 additions and 7 deletions

View File

@@ -46,9 +46,10 @@ Do not treat non-chat work as ordinary reply flow.
### Reply Closure Rule
On Telegram, if the final actionable part of your reply needs the human to decide, confirm, approve, stop, continue, rerun, or choose a next step:
- do **not** end with plain text only
- do **not** say buttons will be used unless you are actually sending them
- either send real inline buttons or execute the most reasonable next step directly
- do **not** let plain text go out first
- do **not** say buttons will be used unless you are actually sending them first
- prefer sending real inline buttons with the `message` tool and then return `NO_REPLY`
- otherwise execute the most reasonable next step directly
If you fail this, call it a workflow violation and correct it immediately.