Skip to content

Harness dogfood(结构验收) ​

PlanRun 结构 dogfood 在本地 deepseek-harness checkout 上验证 bundle 产物、28 skills、growth 安装与 guard 循环 — 无需交互式 dsh web。

交互走查见 quickstart.md §6。

前置 ​

变量必需说明
DEEPSEEK_HARNESS_HOME是deepseek-harness 仓路径(含 .git)
PLANRUN_HOME否PlanRun 根(默认 scripts/ 上级)
sh
cd "$PLANRUN_HOME"
pnpm install && pnpm run build

运行 ​

sh
export DEEPSEEK_HARNESS_HOME=/path/to/deepseek-harness
export PLANRUN_HOME=/path/to/planrun

pnpm run verify:dogfood
结果含义
退出 1 + 未设置 env预期(未配 harness)
退出 0 + verify-dogfood: OK结构闭环绿

pnpm run verify 不调用 dogfood — 无 harness 的 CI 仍绿。

检查项 ​

  1. Harness 布局(package.json 或 AGENTS.md)
  2. Plan fixture — templates/dogfood/plan-fixture.md
  3. Guard 循环 — gate-check · plan-check · next-task
  4. Bundle 产物 — skill-provider · workflow · bundle lib/,以及 cordis.patch.yml 和生成的 presets.patch.yml
  5. 28 skills 磁盘清单 + master/routes.md
  6. install-planrun.sh 在临时 git 根种子 .dsh/growth/ + 可用的版本清单(.planrun-manifest.json)

交互 dogfood(手动) ​

sh
export PLANRUN_HOME=/path/to/planrun
"$PLANRUN_HOME/scripts/pack-local.sh"
dsh plugin --profile web add "file:$PLANRUN_HOME/dist-local/bundle-planrun"
# 重启 dsh web · planrun preset · 加载 master / sprint-plan / run

自动化版本:pnpm run verify:e2e(需已构建的 deepseek-harness)。

相关 ​

MIT License