feat: add host commander skeleton

This commit is contained in:
Codex
2026-05-21 12:28:13 +00:00
parent 9f166d0580
commit 67f6d0e820
16 changed files with 1187 additions and 277 deletions
@@ -124,13 +124,13 @@ assertCondition(secretReasonResult.stdout.includes("<redacted>"), "redacted appr
const doc = readFileSync("docs/reference/host-codex-commander.md", "utf8");
for (const snippet of [
"不直接重启 Code Queue backend",
"不 cancel 或 interrupt 运行中的 Code Queue task",
"不读取、打印或持久化 token 明文",
"SSH/PTY/stdio",
"#20",
"#46",
"ClaudeQQ",
"本地 skeleton 阶段",
"/health",
"/api/commander/contract",
".state/commander/",
"trace summary dry-run",
"approval draft preview",
"sendImplemented=false",
]) {
assertCondition(doc.includes(snippet), `reference doc missing snippet: ${snippet}`);
}