Codex Starter Kit v0.1.1
Codex Starter Kit v0.1.1
RU
Этот релиз переводит starter kit ближе к handoff-режиму работы Codex: меньше лишних вопросов, понятнее intake, безопаснее автоматизация и лучше маршрутизация обычных пользовательских сообщений.
Главное
- Полностью переработан
agents_orchestratorпод Codex handoff: intake scoring, task ledger, inline-first workflow, поиск shared root causes, review/verification loop и subagents только при явном разрешении. - Добавлен
UserPromptSubmithookhandoff-intake-classifier.pyдля классификации пользовательских сообщений: question-only, analysis, planning, implementation, continue и execute-approved-plan. - Intake classifier теперь включается только при наличии private-файла
~/.codex/private/handoff-classifier.env; без него hook молча no-op и не влияет на Codex. - Добавлен optional LLM fallback через private env (
OPENAI_API_KEY,HANDOFF_CLASSIFIER_MODEL,HANDOFF_CLASSIFIER_LLM) с fail-open поведением, таймаутом и без записи секретов в repo. PostToolUsehook теперь подсказывает self-review послеgit diffи verification-команд, чтобы Codex сверял изменения с task ledger и явно называл непроверенные риски.templates/AGENTS.mdусилен handoff intake scoring и task-ledger правилами.- Глобальные hooks и AGENTS.md синхронизированы с новой handoff-моделью.
- Добавлен
ru-textskill и переносимый cross-link изcopywriter; созданcopywriteragent. - README EN/RU обновлены под новые hooks, prompt classification, ru-text/copywriter и handoff workflow.
Безопасность
- Prompt classifier не активируется без пользовательского private-файла.
- Private env не входит в repo и не должен попадать в git.
- Dangerous shell guard продолжает блокировать destructive flows:
git reset --hard,git clean, force push,npm audit fix, destructive Docker/systemd/database operations и mutating HTTP requests.
Проверка
python3 scripts/validate-pack.pyпрошёл.- Smoke tests classifier hook: no-op без private-файла, deterministic mode, LLM fallback через private env.
- Установленный
~/.codex/hooks.jsonпроверен на наличиеUserPromptSubmit,PermissionRequest,PreToolUse,PostToolUse.
EN
This release moves the starter kit closer to a handoff-style Codex workflow: fewer routine prompts, clearer intake, safer automation, and better routing for normal conversational user messages.
Highlights
- Reworked
agents_orchestratorfor Codex handoff: intake scoring, task ledger, inline-first workflow, shared-root-cause discovery, review/verification loop, and subagents only when explicitly authorized. - Added the
UserPromptSubmithookhandoff-intake-classifier.pyfor classifying user prompts into question-only, analysis, planning, implementation, continue, and execute-approved-plan modes. - The intake classifier now runs only when the private file
~/.codex/private/handoff-classifier.envexists; without it, the hook is a silent no-op and does not affect Codex. - Added optional LLM fallback through private env (
OPENAI_API_KEY,HANDOFF_CLASSIFIER_MODEL,HANDOFF_CLASSIFIER_LLM) with fail-open behavior, timeout handling, and no secrets committed to the repo. PostToolUsenow nudges self-review aftergit diffand verification commands so Codex maps changes back to the task ledger and reports unverified risk.- Strengthened
templates/AGENTS.mdwith handoff intake scoring and task-ledger rules. - Synced global hooks and AGENTS.md with the new handoff model.
- Added the
ru-textskill, portable cross-linking fromcopywriter, and a dedicatedcopywriteragent. - Updated README EN/RU for the new hooks, prompt classification, ru-text/copywriter, and handoff workflow.
Safety
- Prompt classification is disabled unless the user creates the private config file.
- The private env file is not part of the repo and must not be committed.
- The dangerous shell guard still blocks destructive flows such as
git reset --hard,git clean, force pushes,npm audit fix, destructive Docker/systemd/database operations, and mutating HTTP requests.
Verification
python3 scripts/validate-pack.pypassed.- Classifier hook smoke-tested: no-op without private file, deterministic mode, and LLM fallback through private env.
- Installed
~/.codex/hooks.jsonchecked forUserPromptSubmit,PermissionRequest,PreToolUse, andPostToolUse.