Parent
#47
What to build
实现 scripts/lint-autopilot.ts,通过 LLM 检测两份 autopilot prompt 产物之间的漂移:
- 读取
packages/opencode/commands/autopilot.md 和 packages/codex/skills/autopilot/SKILL.md - 构造 prompt 发给 LLM,要求对比 shared 逻辑的一致性
- LLM 输出结构化 JSON drift report:
[{
"section": "Phase 1: Dispatch Loop - Retry count",
"opencode_behavior": "max 3 rounds...",
"codex_behavior": "max 3 rounds...",
"drift_severity": "none|minor|major|critical",
"recommendation": "..."
}]- 汇总输出到 stdout
Acceptance criteria
Blocked by
Parent
#47
What to build
实现
scripts/lint-autopilot.ts,通过 LLM 检测两份 autopilot prompt 产物之间的漂移:packages/opencode/commands/autopilot.md和packages/codex/skills/autopilot/SKILL.md[{ "section": "Phase 1: Dispatch Loop - Retry count", "opencode_behavior": "max 3 rounds...", "codex_behavior": "max 3 rounds...", "drift_severity": "none|minor|major|critical", "recommendation": "..." }]Acceptance criteria
bun run lint:autopilot运行 lintBlocked by