Harden long-task governor Telegram interaction guard
This commit is contained in:
@@ -47,3 +47,5 @@
|
||||
- `_meta.json`
|
||||
- skill 目標:把 `general_chat vs long_task` 判準、狀態機、checkpoint 規格、no-fake-progress、stop-clock gate 收斂到外掛式 workflow layer。
|
||||
- 已同步更新 `WORKFLOW.md`,要求:只要不是 ordinary single-turn general chat,就必須套用 `long-task-governor`。
|
||||
- live test 期間實際抓到一個缺口:在 Telegram 上做 long-task checkpoint / next-step 收尾時,我仍可能退回純文字 `1 / 2 / 3` 選單。
|
||||
- 因此已再補一條 skill 規則:`Telegram interaction guard`,禁止 governed long-task flow 在 Telegram 上用純文字選單收尾;若需要選擇,必須改用 inline buttons,否則直接執行最合理下一步。
|
||||
|
||||
@@ -190,6 +190,16 @@ This skill should be paired with:
|
||||
|
||||
But this skill itself is the governance layer and should remain independently maintainable.
|
||||
|
||||
### Telegram interaction guard
|
||||
|
||||
When operating under long-task governance on Telegram:
|
||||
- do not end checkpoints, test progress, or next-step decisions with plain-text menus like `1 / 2 / 3` or `A / B / C`
|
||||
- if a choice is genuinely required, use Telegram inline buttons
|
||||
- if no real choice is needed, execute the most reasonable next step directly
|
||||
- if the assistant accidentally emits a plain-text choice menu, treat that as a workflow violation and convert the lesson into a permanent rule
|
||||
|
||||
This prevents governed long-task flows from degrading back into ambiguous text-only decision gates.
|
||||
|
||||
---
|
||||
|
||||
## 9. Success criteria
|
||||
|
||||
Reference in New Issue
Block a user