# S00-013: Bound oversized S21-006 runner context without truncating requirements - Remediation для: S00-012; root: S00-002; depth: 2 > Generated from planning/tasks.json; status is in state/tasks.json. - Этап: S00 - Оператор: ci-cd - Reviewer: qa - Зависимости: S00-001, S00-011 - Требования: NFR-007 ## Один результат All task prompts fit the existing configured budget with exact relevant requirements retained and no silent truncation. ## Разрешённые пути - `scripts/runner.py` - `tests/tooling/test_automation.py` Не изменять другие modules, shared contracts или spec snapshots без изменения плана. Stem без расширения разрешает принятые stack-specific extensions и focused test рядом. ## Прочитать - docs/WEB_PROFILE.md - docs/ARCHITECTURE.md - docs/CONTRACTS.md - docs/TESTING.md - roles/orchestrator.md - docs/decisions/README.md - state/blockers/S00-012.md - state/blockers/S00-013.md ## Шаги 1. Inspect S21-006 prompt inputs and identify unnecessary duplication or overly broad context loading. 2. Implement one bounded context-preparation correction while preserving assignment instructions and exact relevant requirements; retain stdin transport changes. 3. Add focused regression for the real oversized context and run existing prompt-budget checks and make check. 4. Record evidence/handoff/message and submit for independent review. ## Приёмка 1. S21-006 and all current task prompts fit the existing 80000-character limit. 2. Exact required context is retained; no spec snapshot edits, silent truncation or validation suppression. 3. stdin delivery, timeout and terminal-transition regression checks remain passing; make check passes. ## Focused checks 1. Existing FoundationRunnerTests all-current-prompts budget check. 2. Delayed UTF-8 stdin delivery and runner lifecycle tests. 3. make check ## Блокер и завершение запуска Для всех ролей scope — только эта задача. При блокере создать issue JSON по state/ISSUE_TEMPLATE.json, вызвать escalate с текущим ID/role/agent, проверить status=blocked и resolution_task, затем немедленно завершить запуск. Не решать blocker и не выбирать следующую задачу самому. Новый агент назначается runner. Правки metadata через CLI — единственное исключение scope. ## Передача Сохранить evidence/handoff; submit → review и завершить запуск. Reviewer также выполняет только эту задачу, включая обязательное escalate при блокере.