S00-012: Record blocked task and remediation handoff
Changes: Preserve incomplete work and blocker metadata for S00-012. This checkpoint does not mark implementation accepted. Validation: Session ended with status blocked. Blocker: Required automation suite fails in existing all-prompts budget test: S21-006 exceeds even a diagnostic 90000-character prompt limit. This blocks verification of the stdin remediation; production limit remains 80000. Task: S00-012 Agent: manual-ci-cd-stdin-20261015b Role: ci-cd Action: escalate Status: blocked Task title: Fix runner prompt delivery after partial stdin timeout
This commit is contained in:
1 parent
59b9ff62fe
commit
c28412ae8f
20 files changed
+491
-25
No files matched your search
+1
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
Зафиксировать Web scope, browser targets и проверенные кандидаты, не устанавливая непроверенный framework по догадке.
|
||||
|
||||
Задач: 11; entry: нет; exit: S00-010.
|
||||
Задач: 13; entry: нет; exit: S00-010.
|
||||
|
||||
## [S01: Предметные контракты](stages/S01.md)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# Матрица задач
|
||||
|
||||
Generated; state revision **11**. Canonical status: state/tasks.json.
|
||||
Generated; state revision **14**. Canonical status: state/tasks.json.
|
||||
|
||||
| ID | Этап | Оператор | Reviewer | Статус | Owner | Зависимости | Задача |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| [S00-001](tasks/S00-001.md) | S00 | orchestrator | security | done | auto-orchestrator-48aab142ecde | | Утвердить Web-профиль |
|
||||
| [S00-002](tasks/S00-002.md) | S00 | orchestrator | security | review | auto-orchestrator-68a05c587e33 | S00-001, S00-011 | Выбрать framework и build runtime |
|
||||
| [S00-002](tasks/S00-002.md) | S00 | orchestrator | security | blocked | auto-orchestrator-68a05c587e33 | S00-001, S00-011, S00-012 | Выбрать framework и build runtime |
|
||||
| [S00-003](tasks/S00-003.md) | S00 | protocol | qa | todo | | S00-001, S00-002 | Проверить XMPP WSS/auth библиотеку |
|
||||
| [S00-004](tasks/S00-004.md) | S00 | crypto | security | todo | | S00-001, S00-002 | Проверить browser OMEMO backend |
|
||||
| [S00-005](tasks/S00-005.md) | S00 | storage | qa | todo | | S00-002 | Выбрать IndexedDB wrapper и migration policy |
|
||||
@@ -14,6 +14,8 @@ Generated; state revision **11**. Canonical status: state/tasks.json.
|
||||
| [S00-008](tasks/S00-008.md) | S00 | ci-cd | qa | todo | | S00-003, S00-004 | Описать WSS/upload/TURN/push topology |
|
||||
| [S00-009](tasks/S00-009.md) | S00 | orchestrator | security | todo | | S00-003, S00-004, S00-005, S00-006, S00-007, S00-008 | Согласовать результаты spikes |
|
||||
| [S00-011](tasks/S00-011.md) | S00 | ci-cd | security | done | auto-ci-cd-d105e8027730 | S00-001 | Restore verified npm registry access for the stack spike |
|
||||
| [S00-012](tasks/S00-012.md) | S00 | ci-cd | qa | blocked | manual-ci-cd-stdin-20261015b | S00-001, S00-011, S00-013 | Fix runner prompt delivery after partial stdin timeout |
|
||||
| [S00-013](tasks/S00-013.md) | S00 | ci-cd | qa | todo | | S00-001, S00-011 | Bound oversized S21-006 runner context without truncating requirements |
|
||||
| [S00-010](tasks/S00-010.md) | S00 | qa | orchestrator | todo | | S00-001, S00-002, S00-003, S00-004, S00-005, S00-006, S00-007, S00-008, S00-009 | Gate: Профиль и проверка стека |
|
||||
| [S01-001](tasks/S01-001.md) | S01 | orchestrator | security | todo | | S00-010 | Описать identity/model contracts |
|
||||
| [S01-002](tasks/S01-002.md) | S01 | orchestrator | security | todo | | S00-010, S01-001 | Описать async account context |
|
||||
|
||||
@@ -204,7 +204,7 @@ Allocated означает наличие плана/приёмки, а не р
|
||||
| NFR-004 | web | Web requirement; cross-platform clauses apply only in Web context. | S02-012, S09-012, S21-007 |
|
||||
| NFR-005 | web | Web requirement; cross-platform clauses apply only in Web context. | S00-006, S02-012, S09-012, S20-006, S21-011 |
|
||||
| NFR-006 | web | Web requirement; cross-platform clauses apply only in Web context. | S02-012, S09-012 |
|
||||
| NFR-007 | web | Web requirement; cross-platform clauses apply only in Web context. | S00-002, S00-011, S02-001, S02-002, S09-012, S21-008, S21-009 |
|
||||
| NFR-007 | web | Web requirement; cross-platform clauses apply only in Web context. | S00-002, S00-011, S00-012, S00-013, S02-001, S02-002, S09-012, S21-008, S21-009 |
|
||||
| NFR-008 | web | Web requirement; cross-platform clauses apply only in Web context. | S02-004, S02-005, S02-006, S09-012, S21-009 |
|
||||
| NFR-009 | web | Web requirement; cross-platform clauses apply only in Web context. | S02-012, S09-012, S19-006, S20-003, S21-010 |
|
||||
| UI-001 | web | Web requirement; cross-platform clauses apply only in Web context. | S03-002, S20-001, S21-006 |
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
## Задачи
|
||||
|
||||
- [S00-001](../tasks/S00-001.md): Утвердить Web-профиль — orchestrator; done.
|
||||
- [S00-002](../tasks/S00-002.md): Выбрать framework и build runtime — orchestrator; review.
|
||||
- [S00-002](../tasks/S00-002.md): Выбрать framework и build runtime — orchestrator; blocked.
|
||||
- [S00-003](../tasks/S00-003.md): Проверить XMPP WSS/auth библиотеку — protocol; todo.
|
||||
- [S00-004](../tasks/S00-004.md): Проверить browser OMEMO backend — crypto; todo.
|
||||
- [S00-005](../tasks/S00-005.md): Выбрать IndexedDB wrapper и migration policy — storage; todo.
|
||||
@@ -16,6 +16,8 @@
|
||||
- [S00-008](../tasks/S00-008.md): Описать WSS/upload/TURN/push topology — ci-cd; todo.
|
||||
- [S00-009](../tasks/S00-009.md): Согласовать результаты spikes — orchestrator; todo.
|
||||
- [S00-011](../tasks/S00-011.md): Restore verified npm registry access for the stack spike — ci-cd; done.
|
||||
- [S00-012](../tasks/S00-012.md): Fix runner prompt delivery after partial stdin timeout — ci-cd; blocked.
|
||||
- [S00-013](../tasks/S00-013.md): Bound oversized S21-006 runner context without truncating requirements — ci-cd; todo.
|
||||
- [S00-010](../tasks/S00-010.md): Gate: Профиль и проверка стека — qa; todo.
|
||||
|
||||
## Граница этапа
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
id,stage,operator,reviewer,status,owner,depends_on,title
|
||||
S00-001,S00,orchestrator,security,done,auto-orchestrator-48aab142ecde,,Утвердить Web-профиль
|
||||
S00-002,S00,orchestrator,security,review,auto-orchestrator-68a05c587e33,"S00-001, S00-011",Выбрать framework и build runtime
|
||||
S00-002,S00,orchestrator,security,blocked,auto-orchestrator-68a05c587e33,"S00-001, S00-011, S00-012",Выбрать framework и build runtime
|
||||
S00-003,S00,protocol,qa,todo,,"S00-001, S00-002",Проверить XMPP WSS/auth библиотеку
|
||||
S00-004,S00,crypto,security,todo,,"S00-001, S00-002",Проверить browser OMEMO backend
|
||||
S00-005,S00,storage,qa,todo,,S00-002,Выбрать IndexedDB wrapper и migration policy
|
||||
@@ -9,6 +9,8 @@ S00-007,S00,security,orchestrator,todo,,"S00-004, S00-005",Утвердить pa
|
||||
S00-008,S00,ci-cd,qa,todo,,"S00-003, S00-004",Описать WSS/upload/TURN/push topology
|
||||
S00-009,S00,orchestrator,security,todo,,"S00-003, S00-004, S00-005, S00-006, S00-007, S00-008",Согласовать результаты spikes
|
||||
S00-011,S00,ci-cd,security,done,auto-ci-cd-d105e8027730,S00-001,Restore verified npm registry access for the stack spike
|
||||
S00-012,S00,ci-cd,qa,blocked,manual-ci-cd-stdin-20261015b,"S00-001, S00-011, S00-013",Fix runner prompt delivery after partial stdin timeout
|
||||
S00-013,S00,ci-cd,qa,todo,,"S00-001, S00-011",Bound oversized S21-006 runner context without truncating requirements
|
||||
S00-010,S00,qa,orchestrator,todo,,"S00-001, S00-002, S00-003, S00-004, S00-005, S00-006, S00-007, S00-008, S00-009",Gate: Профиль и проверка стека
|
||||
S01-001,S01,orchestrator,security,todo,,S00-010,Описать identity/model contracts
|
||||
S01-002,S01,orchestrator,security,todo,,"S00-010, S01-001",Описать async account context
|
||||
|
||||
|
+110
-1
@@ -216,7 +216,8 @@
|
||||
"outcome": "ADR сравнивает два допустимых стека, фиксирует конкретные проверенные versions, lockfile и один минимальный rendering spike.",
|
||||
"depends_on": [
|
||||
"S00-001",
|
||||
"S00-011"
|
||||
"S00-011",
|
||||
"S00-012"
|
||||
],
|
||||
"requirements": [
|
||||
"NFR-007"
|
||||
@@ -668,6 +669,114 @@
|
||||
],
|
||||
"context_budget_chars": 48000
|
||||
},
|
||||
{
|
||||
"id": "S00-012",
|
||||
"stage": "S00",
|
||||
"kind": "blocker",
|
||||
"root_task": "S00-002",
|
||||
"blocker_depth": 1,
|
||||
"unblocks": [
|
||||
"S00-002"
|
||||
],
|
||||
"role": "ci-cd",
|
||||
"reviewer_role": "qa",
|
||||
"title": "Fix runner prompt delivery after partial stdin timeout",
|
||||
"outcome": "Reliable complete prompt delivery under startup delay and pipe backpressure, preserving runner lifecycle guarantees.",
|
||||
"depends_on": [
|
||||
"S00-001",
|
||||
"S00-011",
|
||||
"S00-013"
|
||||
],
|
||||
"requirements": [
|
||||
"NFR-007"
|
||||
],
|
||||
"scope": [
|
||||
"scripts/runner.py",
|
||||
"tests/tooling/test_automation.py"
|
||||
],
|
||||
"inputs": [
|
||||
"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"
|
||||
],
|
||||
"spec_sections": [],
|
||||
"ui_sections": [],
|
||||
"steps": [
|
||||
"Read diagnostic evidence and reproduce delayed-reader partial-write timeout without launching a model.",
|
||||
"Fix only runner stdin delivery; retain fresh sessions, prompt budget, terminal-transition monitoring, timeout and process-tree cleanup.",
|
||||
"Add a deterministic delayed-reader large-prompt regression check and run focused runner tests plus make check.",
|
||||
"Record evidence/handoff/commit message and submit for independent review."
|
||||
],
|
||||
"acceptance": [
|
||||
"A delayed stdin reader receives the complete large UTF-8 prompt and EOF without hanging.",
|
||||
"Timeout and terminal-transition process cleanup still work; no background source-writing descendants remain.",
|
||||
"Existing runner/tooling checks pass; no task scope, spec snapshots or product implementation is changed."
|
||||
],
|
||||
"checks": [
|
||||
"Delayed-reader large UTF-8 prompt regression.",
|
||||
"Existing runner timeout, transition, scope and fresh-session tests.",
|
||||
"make check"
|
||||
],
|
||||
"context_budget_chars": 48000
|
||||
},
|
||||
{
|
||||
"id": "S00-013",
|
||||
"stage": "S00",
|
||||
"kind": "blocker",
|
||||
"root_task": "S00-002",
|
||||
"blocker_depth": 2,
|
||||
"unblocks": [
|
||||
"S00-012"
|
||||
],
|
||||
"role": "ci-cd",
|
||||
"reviewer_role": "qa",
|
||||
"title": "Bound oversized S21-006 runner context without truncating requirements",
|
||||
"outcome": "All task prompts fit the existing configured budget with exact relevant requirements retained and no silent truncation.",
|
||||
"depends_on": [
|
||||
"S00-001",
|
||||
"S00-011"
|
||||
],
|
||||
"requirements": [
|
||||
"NFR-007"
|
||||
],
|
||||
"scope": [
|
||||
"scripts/runner.py",
|
||||
"tests/tooling/test_automation.py"
|
||||
],
|
||||
"inputs": [
|
||||
"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"
|
||||
],
|
||||
"spec_sections": [],
|
||||
"ui_sections": [],
|
||||
"steps": [
|
||||
"Inspect S21-006 prompt inputs and identify unnecessary duplication or overly broad context loading.",
|
||||
"Implement one bounded context-preparation correction while preserving assignment instructions and exact relevant requirements; retain stdin transport changes.",
|
||||
"Add focused regression for the real oversized context and run existing prompt-budget checks and make check.",
|
||||
"Record evidence/handoff/message and submit for independent review."
|
||||
],
|
||||
"acceptance": [
|
||||
"S21-006 and all current task prompts fit the existing 80000-character limit.",
|
||||
"Exact required context is retained; no spec snapshot edits, silent truncation or validation suppression.",
|
||||
"stdin delivery, timeout and terminal-transition regression checks remain passing; make check passes."
|
||||
],
|
||||
"checks": [
|
||||
"Existing FoundationRunnerTests all-current-prompts budget check.",
|
||||
"Delayed UTF-8 stdin delivery and runner lifecycle tests.",
|
||||
"make check"
|
||||
],
|
||||
"context_budget_chars": 48000
|
||||
},
|
||||
{
|
||||
"id": "S00-010",
|
||||
"stage": "S00",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
- Этап: S00
|
||||
- Оператор: orchestrator
|
||||
- Reviewer: security
|
||||
- Зависимости: S00-001, S00-011
|
||||
- Зависимости: S00-001, S00-011, S00-012
|
||||
- Требования: NFR-007
|
||||
|
||||
## Один результат
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
# S00-012: Fix runner prompt delivery after partial stdin timeout
|
||||
|
||||
- Remediation для: S00-002; root: S00-002; depth: 1
|
||||
|
||||
> Generated from planning/tasks.json; status is in state/tasks.json.
|
||||
|
||||
- Этап: S00
|
||||
- Оператор: ci-cd
|
||||
- Reviewer: qa
|
||||
- Зависимости: S00-001, S00-011, S00-013
|
||||
- Требования: NFR-007
|
||||
|
||||
## Один результат
|
||||
|
||||
Reliable complete prompt delivery under startup delay and pipe backpressure, preserving runner lifecycle guarantees.
|
||||
|
||||
## Разрешённые пути
|
||||
|
||||
- `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
|
||||
|
||||
## Шаги
|
||||
|
||||
1. Read diagnostic evidence and reproduce delayed-reader partial-write timeout without launching a model.
|
||||
2. Fix only runner stdin delivery; retain fresh sessions, prompt budget, terminal-transition monitoring, timeout and process-tree cleanup.
|
||||
3. Add a deterministic delayed-reader large-prompt regression check and run focused runner tests plus make check.
|
||||
4. Record evidence/handoff/commit message and submit for independent review.
|
||||
|
||||
## Приёмка
|
||||
|
||||
1. A delayed stdin reader receives the complete large UTF-8 prompt and EOF without hanging.
|
||||
2. Timeout and terminal-transition process cleanup still work; no background source-writing descendants remain.
|
||||
3. Existing runner/tooling checks pass; no task scope, spec snapshots or product implementation is changed.
|
||||
|
||||
## Focused checks
|
||||
|
||||
1. Delayed-reader large UTF-8 prompt regression.
|
||||
2. Existing runner timeout, transition, scope and fresh-session 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 при блокере.
|
||||
@@ -0,0 +1,60 @@
|
||||
# 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 при блокере.
|
||||
Reference in new issue
Block a user