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:
ning-inspire
2026-11-17 10:34:28 +08:00
parent 26975e5c3a
commit 2fb2fc3361
215 changed files with 740 additions and 426 deletions

View File

@@ -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"
)