Connect wrapper MVP outputs to governor docs

This commit is contained in:
Eve
2026-04-22 20:37:18 +08:00
parent 5708fdf057
commit 64672fc8c5
2 changed files with 33 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ Must explicitly say what the assistant will report if the task is not done yet.
### `externalized_trigger`
Examples:
- cron reminder in 20 minutes
- cron reminder
- forced checkpoint scheduled externally
- non-silent mode (if no external trigger can safely be bound, the task should not actually launch as silent)
@@ -50,6 +50,18 @@ Examples:
- Telegram button-path
- direct conclusion if no owner decision needed
## Wrapper mapping
If using `scripts/long_task_governor_wrapper.mjs`, map wrapper output into this template like this:
- `classification = long_task` → task should use this launch template
- `silentCandidate = true` → fill `why_silent`, `first_forced_checkpoint_trigger`, `externalized_trigger`
- `taskRecord.current_step``current_step`
- `taskRecord.next_step``next_step`
- `taskRecord.status``current_status`
- `silentLaunchOk = false` → do **not** launch in silent mode; fall back to immediate follow-up or `blocked`
- `handoff.mode = button_path``final_handoff_path` should be Telegram button-path
## Telegram-safe example
- **task_name**: Research OpenClawGovernor concepts