refactor: 案例项目目录规范化并同步 harness
将 apps/、docs/facts(+business/tech-topic)、.overnight-runner 收敛为统一布局,并刷新安装器默认值与 skill 占位符(DESIGNS_DIR→FACTS_DIR)。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -101,8 +101,6 @@ def _setup(
|
||||
"ui": {"refreshHz": 8, "logTail": 100},
|
||||
},
|
||||
}
|
||||
(root / "overnight-runner.yaml").write_text(yaml.dumps(cfg), encoding="utf-8")
|
||||
|
||||
pcfg = {
|
||||
"project": {"name": "proj", "agent": {"command": agent, "args": [], "env": {}}},
|
||||
"default": {"prompt": "{{DECISIONS}}\n{{PLAN}}", "onUnknownDecision": "跳过并记录"},
|
||||
@@ -117,6 +115,9 @@ def _setup(
|
||||
],
|
||||
}
|
||||
(root / ".overnight-runner").mkdir()
|
||||
(root / ".overnight-runner" / "overnight-runner.yaml").write_text(
|
||||
yaml.dumps(cfg), encoding="utf-8"
|
||||
)
|
||||
(root / ".overnight-runner" / "project.yaml").write_text(
|
||||
yaml.dumps(pcfg), encoding="utf-8"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user