LazyBoy2/docs/SCENARIO-TEMPLATE.md

38 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Scenario template複製此檔開新情境
> 填完後放到 `docs/scenarios/examples/<slug>.md`,並從 `prompts/templates/` 產出 phase-a/b。
## 後設資料
- **Slug**: `{{SLUG}}`
- **標題**: `{{TITLE}}`
- **SOURCE_PORTAL**: `{{SOURCE_PORTAL}}`
- **TARGET_CHANNEL**: `{{TARGET_CHANNEL}}`
- **GOAL**: `{{GOAL}}`
- **CONSTRAINTS**: `{{CONSTRAINTS}}`
- **LANGUAGE**: `{{LANGUAGE}}`(預設:繁體中文)
## 成功標準(過/不過)
- 過:…
- 不過:未確認發佈、多餘人工、空轉無 blocked 說明
## 允許的人工觸點
1. 來源登入 `browser_handoff`
2. 目標登入 `browser_handoff`
3. 最終 `request_user_confirm`(或聊天明確核准同一草稿)
## Phase A / B
`docs/scenarios/README.md`。本情境 Phase A prompt`prompts/examples/{{SLUG}}-phase-a.txt`Phase B`…-phase-b.txt`。
## 執行
```bash
export GROKBOY_API_KEY=
export GROKBOY_BROWSER_HEADED=1
cargo run -p grokboy -- agent
# 貼上 phase-a → 審稿 → 貼 phase-b 或口頭核准
```