peppa/openspec/changes/archive/2026-11-17-pep-188-codex-launch/design.md

5 lines
569 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Решения
- Разбор в `codexModeArgs` (providers.ts): кавычки по краям слов снимаются, пустое и не-флаги Claude → умолчание.
- Доверие — через `-c projects."<cwd>".trust_level="trusted"` (cwd — как его видит агент, в контейнере и worktree свой).
- Вачдог: код 2 + «unexpected argument»/«Usage: codex» у Codex → `onRunnerCrash(..., noRestart)` — сразу `sessionDelay` суперадмину, без плана перезапуска.