Files
ai4se-harness-suite/example-project/.overnight-runner/overnight-runner.yaml
ning-inspire 2fb2fc3361 refactor: 案例项目目录规范化并同步 harness
将 apps/、docs/facts(+business/tech-topic)、.overnight-runner 收敛为统一布局,并刷新安装器默认值与 skill 占位符(DESIGNS_DIR→FACTS_DIR)。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 10:34:28 +08:00

39 lines
1.2 KiB
YAML
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.
# overnight-runner 运行配置(.overnight-runner/,全队列共享)
#
# 这里回答的是"这个项目怎么跑":agent 是谁 / 看门狗多严 / 决策怎么处理。
#
# "跑哪些任务"不在这里 —— 队列定义在
# .overnight-runner/queue/<队列名>/queue.yaml
# 用 `overnight-runner --queue <名字> add docs/plans/xxx.md` 追加。
runner:
agent:
command: opencode
args:
- run
- "--dangerously-skip-permissions"
env: {}
watchdog:
maxRetries: 2
backoffSec: 60
idleTimeoutSec: 1800
totalTimeoutSec: 7200
killGraceSec: 15
# 决策策略:agent 抛 "QUESTION: <问题>" 时怎么办
decision:
# attended —— 有人值守(白天):打断 agent,TUI 弹决策窗口问你;
# timeoutSec 内没回答就按默认决策规则自动决策
# unattended —— 无人值守(夜里):不打断 agent,直接按默认决策规则决策
# 临时切换:overnight-runner run --mode unattended
mode: attended
timeoutSec: 600
resume: session
outputFormat: json
sessionArgs: ["--session", "{session}"]
state:
dir: .overnight-runner
workdir: .
ui:
refreshHz: 8
logTail: 400