codex-workflow-v2 2.0.0-beta.11 → 2.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +5 -5
  2. package/dist/src/alpha6/remediation.d.ts +1 -1
  3. package/dist/src/alpha6/remediation.js +5 -57
  4. package/dist/src/alpha6/remediation.js.map +1 -1
  5. package/dist/src/alpha6/review.d.ts +5 -0
  6. package/dist/src/alpha6/review.js +110 -2
  7. package/dist/src/alpha6/review.js.map +1 -1
  8. package/dist/src/cli.js +1 -1
  9. package/dist/src/cli.js.map +1 -1
  10. package/dist/src/contracts.d.ts +13 -0
  11. package/dist/src/reviewer.d.ts +26 -0
  12. package/dist/src/reviewer.js +54 -1
  13. package/dist/src/reviewer.js.map +1 -1
  14. package/dist/src/version.d.ts +1 -1
  15. package/dist/src/version.js +1 -1
  16. package/dist/src/workflow.js +50 -58
  17. package/dist/src/workflow.js.map +1 -1
  18. package/docs/autonomy-guardrails.md +22 -34
  19. package/docs/decisions.md +5 -4
  20. package/docs/delegated-approval.md +5 -4
  21. package/docs/development-flow.md +7 -6
  22. package/docs/lifecycle/state-machine-stabilization.md +1 -1
  23. package/docs/pdf/codex-workflow-v2-architecture-ru.pdf +0 -0
  24. package/docs/pdf/codex-workflow-v2-chat-only-guide-ru.pdf +0 -0
  25. package/docs/pdf/codex-workflow-v2-technical-reference-ru.pdf +0 -0
  26. package/docs/pdf/sources/codex-workflow-v2-architecture-ru.md +10 -9
  27. package/docs/pdf/sources/codex-workflow-v2-chat-only-guide-ru.md +13 -13
  28. package/docs/pdf/sources/codex-workflow-v2-technical-reference-ru.md +22 -21
  29. package/docs/release.md +3 -1
  30. package/docs/validation-report.md +88 -114
  31. package/package.json +1 -1
  32. package/plugins/codex-workflow-gateway/.codex-plugin/plugin.json +1 -1
  33. package/plugins/codex-workflow-gateway/references/protocol.md +13 -8
  34. package/plugins/codex-workflow-gateway/skills/codex-workflow-gateway/SKILL.md +6 -3
  35. package/references/state-machine.md +9 -8
  36. package/references/validation-and-review.md +11 -4
  37. package/schemas/review-result.schema.json +17 -1
  38. package/schemas/step-review-event.schema.json +15 -0
  39. package/scripts/generate-pdf-docs.py +2 -1
@@ -55,39 +55,26 @@ into the mutation actor slot.
55
55
  Invalid or stale review sidecars fail closed. The workflow blocks downstream acceptance and
56
56
  normal continuation when review evidence is malformed, unverified, or commit-mismatched.
57
57
 
58
- ## Repeated failed review and remediation breaker
59
-
60
- The first failed independent review returns the Task to `needs_fix` and requires a changed or
61
- new remediation Step. After two distinct failed-review attempts, `next` returns
62
- `task plan-set with independent corrective audit`. Another Plan requires a JSON audit:
63
-
64
- ```json
65
- {
66
- "auditor": "corrective-auditor",
67
- "summary": "The corrective Step covers the latest findings without changing the Brief.",
68
- "decision": "continue-fix",
69
- "reviewedFindingIds": ["REV-001", "REV-002"]
70
- }
71
- ```
72
-
73
- Apply it with `task plan-set --corrective-audit-file <file>` only for the `continue-fix`
74
- path. The Auditor must differ from the failed-review author and cover every latest finding.
75
- `replan-required`, `split-required`, and `stop-escalate` are stop decisions: Core does not
76
- start another implementation loop.
77
-
78
- For guarded Steps, remediation attempts are also tracked in
79
- `remediation-events.jsonl`. Two ordinary remediation attempts are allowed. A third ordinary
80
- retry is blocked until `task corrective-decision` records a current corrective decision in
81
- `corrective-decisions.jsonl`. The corrective gate is derived from the guarded Step, current
82
- Plan Risk Audit, remediation history, and corrective-decision history, so it remains visible
83
- after content-only context refresh, Task Knowledge rebind, and reauthorization. `continue-fix`
84
- allows bounded continuation; `replan-required` requires an actual new Plan posture before
85
- execution; the other decisions stop or redirect ordinary execution. If that third, corrective
86
- remediation review also fails, Core enters a hard stop: `next` must report the stop without
87
- throwing, a fourth run and another `continue-fix`/`replan-required` decision are rejected,
88
- and only `split-required` or `stop-escalate` may be recorded. At the corrective boundary,
89
- `next` derives a distinct `agent:corrective-auditor:<task-id>` actor; selecting that actor is
90
- not a human approval, while auditor independence remains mandatory.
58
+ ## Repeated failed review and continuable remediation
59
+
60
+ A failed final Task review returns the same Task to `needs_fix` and requires a changed or new
61
+ remediation Step. The failed-review count is diagnostic evidence, not a lifecycle limit: another
62
+ Plan does not require a separate corrective Plan Auditor merely because two or more reviews failed.
63
+ Every replacement Plan must preserve the Task objective, requirements, and acceptance; changing
64
+ those commitments requires an explicit scope decision outside ordinary remediation.
65
+
66
+ For guarded Steps, every failed review is recorded in `remediation-events.jsonl`. Attempts one and
67
+ two retain mode `ordinary`; later attempts use mode `corrective`, but the mode does not impose a
68
+ maximum attempt ordinal. `next` continues to return `task run` for the same failed Step, and every
69
+ new completion still requires a fresh strict review bound to its exact commit. Therefore repeated
70
+ fixes cannot create an approval, while a fourth, tenth, or later reviewed attempt remains possible.
71
+
72
+ Each failed review finding may carry `route: fix` or `route: replan`. `fix` is the backward-compatible
73
+ default. `replan` is accepted only with `planConflict.planClause`, `whyFixCannotFit`, and
74
+ `minimalPlanChange`; Core retains that evidence in the hash-chained Step-review event and routes
75
+ the failed Step to `task plan-set`. Replan may change implementation Steps only. Explicit historical
76
+ `continue-fix`, `replan-required`, `split-required`, and `stop-escalate` decisions remain readable;
77
+ an explicit split or stop still outranks ordinary execution.
91
78
 
92
79
  ### First-failure Plan-integrity recovery
93
80
 
@@ -108,7 +95,8 @@ The recovery appends one hash-bound `replan-required` decision for attempt ordin
108
95
  the worktree and does not edit the Plan. A claimed C1 Task must present its current writer token and
109
96
  then follow `task corrective-yield`; the replacement Plan still requires the existing independent
110
97
  validation, Risk Audit, Human confirmation, journaled execution, readback, and renewed execution
111
- authorization. Other check failures retain the ordinary two-attempt breaker.
98
+ authorization. Other check failures use the normal continuable remediation route; they do not
99
+ receive the narrow Plan-integrity shortcut, but attempt count alone never stops them.
112
100
 
113
101
  ## Atomic context refresh
114
102
 
package/docs/decisions.md CHANGED
@@ -64,10 +64,11 @@ This document closes the requirement gaps identified during the V2 design review
64
64
  fails closed without changing persisted Task state. This changes navigation and
65
65
  diagnostics only; state schema 2 and protocol 1 remain unchanged.
66
66
  12. **Autonomous correction guardrail.** The initial Plan must make migration,
67
- concurrency, restart/replay, crash-window, and provider risks visible. After two failed
68
- independent reviews, another corrective Plan requires a distinct Auditor covering every
69
- latest finding. The audit is append-only artifact evidence; no Task state field or schema
70
- change is required.
67
+ concurrency, restart/replay, crash-window, and provider risks visible. Repeated failed reviews
68
+ do not impose an attempt-count stop: findings default to a same-Task fix and may request replan
69
+ only with exact Plan-conflict evidence. Attempts after the second are marked corrective for
70
+ diagnosis, remain executable, and require another strict review. Explicit split/stop decisions
71
+ remain append-only authority and are never inferred from the counter.
71
72
  13. **Content-only context refresh.** A delegate may compose reconcile, approval, knowledge
72
73
  rebind, and execution reauthorization only when the approved source classification is
73
74
  identical and only content hashes changed. Core validates both delegated transitions
@@ -191,10 +191,11 @@ Plan-declared supporting additions допустимы только когда и
191
191
  изменении source set, category/authority, gaps или conflicts используй обычный видимый процесс.
192
192
 
193
193
  После submit запусти отдельный Independent Reviewer; Reviewer не использует
194
- grant и не исправляет код. После второго failed review не запускай очередной
195
- патч: получи отдельный corrective Plan audit, охватывающий все последние findings,
196
- и передай его через `--corrective-audit-file`. Продолжай только при
197
- `decision=continue-fix`; остальные решения верни пользователю/координатору.
194
+ grant и не исправляет код. Failed review возвращает ту же Task в remediation: добавь или измени
195
+ remediation Step и снова проведи review. Количество failed reviews не требует отдельного
196
+ corrective Plan audit. Для каждого finding Reviewer использует `route=fix` по умолчанию;
197
+ `route=replan` допустим только с точным Plan clause, доказательством невозможности обычного fix и
198
+ минимальным изменением Plan. Objective, requirements и acceptance через remediation не меняются.
198
199
  Final acceptance делай
199
200
  только при exact task.final_accept option для DGR-ID, затем штатный merge.
200
201
  Если option отсутствует, grant истёк, scope не совпал или требуется смысловое
@@ -83,12 +83,13 @@ to be repeated before merge.
83
83
  The Technical Planner performs a risk review before authorization. Migration work includes a
84
84
  populated forward-upgrade check; concurrent state includes deterministic races; restart,
85
85
  replay, and crash claims include restart/crash-window evidence; provider work includes
86
- failure injection and hidden-default verification. After two failed independent reviews,
87
- another Plan requires a distinct corrective Auditor and `--corrective-audit-file`. Only a
88
- `continue-fix` audit may continue; replan, split, and stop decisions return to coordination.
89
- For guarded remediation, a third ordinary retry is blocked until a current
90
- `task corrective-decision` exists for the same Step and Plan binding. If that corrective
91
- attempt fails review, the third failure is a hard stop and no fourth run is permitted.
86
+ failure injection and hidden-default verification. Repeated failed reviews remain on the same
87
+ Task. They require a new remediation Step for final Task review, or another implementation and
88
+ fresh strict review for a failed guarded Step; they do not require a separate corrective Auditor
89
+ based only on attempt count. Guarded attempts above two are recorded as `corrective` and remain
90
+ executable. A reviewer routes to `replan` only with an exact Plan obstruction and minimal Plan
91
+ change; ordinary findings default to `fix`. Remediation cannot change the Task objective,
92
+ requirements, or acceptance.
92
93
 
93
94
  One bounded exception avoids a deliberately repeated failure for an older authorization without
94
95
  P01-A evidence or a contradiction that becomes observable only after execution starts. If the first guarded check failure
@@ -266,7 +266,7 @@ The explorer must be exhaustive over semantic classes, bounded over cardinality,
266
266
  | Actor | human, valid delegate, claimant, other |
267
267
  | Lease | none, valid-owned, valid-other, stale |
268
268
  | Attempts | 0, 1, 2, 3+ |
269
- | Corrective posture | none, decision-needed, continue-fix, replan, split, stop, hard-stop, recovery-needed |
269
+ | Corrective posture | none, automatic-continue, explicit continue-fix, replan, split, stop, recovery-needed |
270
270
  | Knowledge binding | active, stale, awaiting approval, conflicting |
271
271
  | Git | clean-bound, clean-diverged, dirty, malformed |
272
272
  | Authorization | absent, current, stale, superseded |
@@ -1,10 +1,10 @@
1
1
  ---
2
- title: Codex Workflow V2: архитектура beta.11
2
+ title: Codex Workflow V2: архитектура beta.12
3
3
  subtitle: Источники истины, lifecycle, роли, delegation, зависимости Tasks и границы доверия
4
4
  part: Часть 1 из 3 | Архитектура
5
5
  document_version: 2.0
6
- date: 24 августа 2026
7
- subject: Архитектура и границы Codex Workflow V2 beta.11
6
+ date: 27 августа 2026
7
+ subject: Архитектура и границы Codex Workflow V2 beta.12
8
8
  ---
9
9
 
10
10
  # 1. Назначение и граница системы
@@ -18,7 +18,7 @@ Codex Workflow V2 - локальный state machine поверх Codex App, Git
18
18
  Система рассчитана на одного пользователя и одну машину. Она не предоставляет distributed locking,
19
19
  криптографическую идентификацию actor string или безопасную синхронизацию state между компьютерами.
20
20
 
21
- ## 1.1. Что beta.11 гарантирует
21
+ ## 1.1. Что beta.12 гарантирует
22
22
 
23
23
  - exact project-local npm package и совместимый handshake до lifecycle действий;
24
24
  - Discovery до materialization Task или Milestone;
@@ -30,7 +30,7 @@ Codex Workflow V2 - локальный state machine поверх Codex App, Git
30
30
  - state-bound human gates либо ранее выданные bounded delegation contracts;
31
31
  - journaled recovery для составных переходов и fail-closed поведение при drift/corruption.
32
32
 
33
- ## 1.2. Что beta.11 не гарантирует
33
+ ## 1.2. Что beta.12 не гарантирует
34
34
 
35
35
  - правильность продуктовой идеи или автоматически выбранного provider Task;
36
36
  - semantic sufficiency Plan, если точные факты нельзя доказать поддерживаемым analyzer;
@@ -213,9 +213,10 @@ execution-authorized Plan и покрытое тем же Milestone Autonomy Con
213
213
  3. Reviewer возвращает закрытый schema-valid result без mutations.
214
214
  4. Core записывает его только если packet и seals не изменились.
215
215
 
216
- После двух failed review отдельный Corrective Auditor выбирает `continue-fix`, `replan-required`,
217
- `split-required` или `stop-escalate`. Continue разрешает один bounded corrective attempt; последующий
218
- failure создаёт hard stop.
216
+ Failed review не ограничивает число попыток. Попытки 1-2 имеют mode `ordinary`, последующие —
217
+ `corrective`; все исполнимы и требуют нового strict review. `route=fix` продолжает Task, а
218
+ `route=replan` допустим только с точным Plan conflict и меняет лишь implementation Steps, не objective,
219
+ requirements или acceptance. Explicit `split-required` и `stop-escalate` остаются stop/redirect decisions.
219
220
 
220
221
  beta.11 `task plan-integrity-recover` существует для одного первого checks-failed legacy/late case:
221
222
  отсутствует exact root npm script и текущий Step не может изменить package.json. Recovery не меняет
@@ -226,7 +227,7 @@ worktree или Plan и не создаёт synthetic second failure; он за
226
227
  # 10. Operational checklist
227
228
 
228
229
  - exact package version установлен, bundled gateway соответствует release и переустановлен;
229
- - handshake подтверждает protocol 2, state schema 2 и beta.11 capabilities;
230
+ - handshake подтверждает protocol 2, state schema 2 и beta.12 capabilities;
230
231
  - каждый mutation следует свежему `status -> next` и exact option contract;
231
232
  - semantic unknowns и human gates не маскируются delegation;
232
233
  - Task chats создаёт coordinator, credentials остаются только в памяти;
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  title: Codex Workflow V2: delegated chat-only guide
3
- subtitle: Актуальный beta.11 путь от нового Discovery до принятого Milestone без ручного CLI
3
+ subtitle: Актуальный beta.12 путь от нового Discovery до принятого Milestone без ручного CLI
4
4
  part: Часть 2 из 3 | Практика
5
5
  document_version: 2.0
6
- date: 24 августа 2026
7
- subject: Практическое руководство по delegated Discovery и Milestone в Workflow V2 beta.11
6
+ date: 27 августа 2026
7
+ subject: Практическое руководство по delegated Discovery и Milestone в Workflow V2 beta.12
8
8
  ---
9
9
 
10
- # 1. Рабочая модель beta.11
10
+ # 1. Рабочая модель beta.12
11
11
 
12
12
  Пользователь работает в одном Codex Project и формулирует продуктовый outcome. Coordinator выполняет
13
13
  CLI, создаёт отдельные Task/Reviewer chats и ведёт supervision loop. Workflow Core остаётся authority
@@ -40,7 +40,7 @@ Blocking unknown, scope change, grant issuance или unrecoverable integrity co
40
40
  # 2. Подготовка проекта перед новым Discovery
41
41
 
42
42
  1. Убедитесь, что checkout чистый и выбран правильный repository root.
43
- 2. Установите beta.11 как точную devDependency после публикации release.
43
+ 2. Установите beta.12 как точную devDependency после публикации release.
44
44
  3. Обновите и переустановите bundled `codex-workflow-gateway` этого release.
45
45
  4. Проверьте, что declared и installed package versions равны.
46
46
  5. Запустите новый Coordinator chat, не fork старого Milestone conversation.
@@ -56,7 +56,7 @@ AGENTS.md
56
56
  -> doctor только как дополнительная диагностика
57
57
  ```
58
58
 
59
- Handshake beta.11 должен сообщать `packageVersion=2.0.0-beta.11`, `protocolVersion=2`,
59
+ Handshake beta.12 должен сообщать `packageVersion=2.0.0-beta.12`, `protocolVersion=2`,
60
60
  `stateSchemaVersion=2`, dependency DAG, initial Plan transaction, mechanical feasibility,
61
61
  Milestone autonomy и structural replacement disabled capabilities.
62
62
 
@@ -116,7 +116,7 @@ delegate, scope, transitions и expiry. DGR передаётся только е
116
116
  ```text
117
117
  НОВЫЙ COORDINATOR CHAT
118
118
 
119
- Проведи новый Milestone через Codex Workflow V2 beta.11 в delegated режиме.
119
+ Проведи новый Milestone через Codex Workflow V2 beta.12 в delegated режиме.
120
120
  Repository: <ABSOLUTE-REPOSITORY-ROOT>.
121
121
  Milestone ID: AUTO.
122
122
  Delegate actor: agent:milestone-coordinator.
@@ -282,7 +282,7 @@ Knowledge Map approval path. Milestone grant не разрешает standalone
282
282
  |---|---|
283
283
  | Guarded Step review | `step-review-packet` -> новый Reviewer chat -> `step-review-record` |
284
284
  | Submitted Task review | `review-packet` -> новый Final Reviewer chat -> `review-sealed-record` |
285
- | Corrective audit | Отдельный read-only Corrective/Plan Audit chat |
285
+ | Explicit corrective disposition (если выбран) | Отдельный read-only Corrective/Plan Auditor chat; не attempt-count gate |
286
286
 
287
287
  Reviewer получает неизменённый packet, проверяет exact commit/diff/evidence и возвращает closed JSON.
288
288
  Task chat записывает его только при совпадении packet и repository seal hashes. Reviewer не исправляет код,
@@ -293,11 +293,11 @@ Task chat записывает его только при совпадении p
293
293
  | Состояние | Действие |
294
294
  |---|---|
295
295
  | First proven impossible npm check после legacy/late authorization | Только рекламируемый `task plan-integrity-recover` |
296
- | Два failed guarded reviews | Separate Corrective Auditor и exact decision route |
297
- | `continue-fix` | Один bounded corrective attempt |
298
- | `replan-required` | Corrective yield, human-confirmed journaled replan |
296
+ | Failed guarded review | Та же Task: исправление и новый strict review без attempt hard stop |
297
+ | Finding `route=fix` | Продолжить тот же Step; count остаётся диагностикой |
298
+ | Finding `route=replan` с exact Plan conflict | `task plan-set`, меняются только implementation Steps |
299
299
  | `split-required` | Stop: `STRUCTURAL_REPLACEMENT_REQUIRED`, никаких replacement writes |
300
- | `stop-escalate` или third corrective failure | Terminal hard stop и user attention |
300
+ | Explicit `stop-escalate` | Terminal user attention |
301
301
  | Stale dependency binding | Новый handoff/claim только по fresh `next` |
302
302
  | Review seal drift | Discard review и создать fresh packet |
303
303
 
@@ -321,7 +321,7 @@ Task/project DGR. `dependencyBinding` для standalone handoff равен null.
321
321
 
322
322
  # 14. Итоговый checklist пользователя
323
323
 
324
- - beta.11 exact package и новый bundled gateway установлены;
324
+ - beta.12 exact package и новый bundled gateway установлены;
325
325
  - новый Coordinator chat не является fork старого Milestone;
326
326
  - bootstrap DGR, если нужен, выдан отдельным exact human confirmation;
327
327
  - Discovery не materialized при blocking unknowns;
@@ -1,10 +1,10 @@
1
1
  ---
2
- title: Codex Workflow V2: технический справочник beta.11
2
+ title: Codex Workflow V2: технический справочник beta.12
3
3
  subtitle: Protocol 2, state schema 2, transactions, credentials, dependency authority, review и recovery
4
4
  part: Часть 3 из 3 | Technical reference
5
5
  document_version: 2.0
6
- date: 24 августа 2026
7
- subject: Технический контракт Codex Workflow V2 beta.11
6
+ date: 27 августа 2026
7
+ subject: Технический контракт Codex Workflow V2 beta.12
8
8
  ---
9
9
 
10
10
  # 1. Runtime contract
@@ -13,9 +13,9 @@ Workflow V2 предоставляет локальные revisioned transitions
13
13
  и `value` либо структурированную ошибку с `code`, `message` и `details`. Chat, PDF и gateway не создают
14
14
  authority сами: mutating permission определяется runtime state и свежим `next`.
15
15
 
16
- | Параметр beta.11 | Значение |
16
+ | Параметр beta.12 | Значение |
17
17
  |---|---|
18
- | npm package | `codex-workflow-v2@2.0.0-beta.11` |
18
+ | npm package | `codex-workflow-v2@2.0.0-beta.12` |
19
19
  | protocolVersion | 2 |
20
20
  | stateSchemaVersion | 2 |
21
21
  | lifecycle epoch | 2 |
@@ -37,7 +37,7 @@ Gateway выполняет:
37
37
  5. вызов только package-local `dist/src/cli.js --repo <root>`;
38
38
  6. `gateway handshake` до lifecycle действий.
39
39
 
40
- Ключевые beta.11 capabilities:
40
+ Ключевые beta.12 capabilities:
41
41
 
42
42
  | Группа | Capabilities |
43
43
  |---|---|
@@ -45,7 +45,7 @@ Gateway выполняет:
45
45
  | Milestone | lifecycle, initial assembly navigation, autonomy, progress, dependency DAG, initial Plan transaction |
46
46
  | Task planning | Plan Risk Audit, proof obligations, mechanical feasibility |
47
47
  | C1 | handoff sidecar, handoff bundle, derived Worker actor, credential replacement |
48
- | Reviews | strict reviewer, Step strict review, corrective audit and hard stop |
48
+ | Reviews | strict reviewer, Step strict review, continuable remediation, evidence-bound fix/replan routing |
49
49
  | Recovery | dependency provenance, plan integrity, remediation mode, corrective yield/replan journals |
50
50
  | Replacement | `structural-task-replacement-disabled-v1` |
51
51
 
@@ -281,21 +281,22 @@ local reviewer внутри Codex App sandbox.
281
281
 
282
282
  # 12. Remediation и corrective decisions
283
283
 
284
- Guarded Step имеет bounded remediation circuit:
284
+ Guarded Step имеет проверяемый, но не ограниченный счётчиком remediation circuit:
285
285
 
286
286
  | Boundary | Разрешение |
287
287
  |---|---|
288
- | Первый failed review/check cycle | Ordinary scoped retry |
289
- | Два failed review cycles | Independent Corrective Auditor |
290
- | `continue-fix` | Один corrective attempt |
291
- | Corrective attempt failed | Hard stop, fourth run запрещён |
292
- | `replan-required` | Corrective yield и Human-confirmed journaled replan |
293
- | `split-required` | Structural replacement stop |
294
- | `stop-escalate` | Terminal user attention |
295
-
296
- Corrective replan разделён на prepare, Human confirmation, execute и recover. Candidate/receipt связывают
297
- Task revision, Plan/Brief/evidence, corrective decision, writer posture и repository state. Execution
298
- transaction supersedes old authority и публикует replacement Plan атомарно.
288
+ | Failed cycles 1-2 | `ordinary`; та же Task и новый strict review |
289
+ | Failed cycles 3+ | `corrective`; остаются исполнимыми и требуют нового strict review |
290
+ | Finding `route=fix` или route отсутствует | Продолжить ту же Task/Step |
291
+ | Finding `route=replan` с exact Plan conflict | `task plan-set`; меняются только implementation Steps |
292
+ | `route=replan` без exact conflict | Невалидный review result, state не меняется |
293
+ | Explicit `split-required` | Structural replacement stop |
294
+ | Explicit `stop-escalate` | Terminal user attention |
295
+
296
+ Attempt count является диагностикой, а не lifecycle authority. Explicit corrective-decision journal
297
+ сохраняется для намеренного stop/split и совместимого historical recovery, но не требуется после второй
298
+ ошибки. Replan из review обязан назвать `planClause`, `whyFixCannotFit` и `minimalPlanChange`; objective,
299
+ requirements и acceptance Task при remediation неизменяемы. Новый Plan проходит обычные audit и authorization.
299
300
 
300
301
  # 13. beta.11 Plan-integrity recovery
301
302
 
@@ -371,7 +372,7 @@ Graph является навигационным индексом, не Project
371
372
  После каждой successful mutation обязателен sequential `status`, затем fresh `next`. Failed status/next
372
373
  не разрешает direct mutation. Syntax help read-only и не заменяет navigation authority.
373
374
 
374
- # 18. Public command surface beta.11
375
+ # 18. Public command surface beta.12
375
376
 
376
377
  | Область | Actions |
377
378
  |---|---|
@@ -398,7 +399,7 @@ Exact options берутся из fresh `next`; command help используе
398
399
  running Step и active/stale writer lease. External runner допустим только в документированной rescue
399
400
  compatibility форме.
400
401
 
401
- Перед beta.11 tag release repository выполняет:
402
+ Перед beta.12 tag release repository выполняет:
402
403
 
403
404
  1. `npm ci`;
404
405
  2. `npm run validate`;
package/docs/release.md CHANGED
@@ -27,7 +27,7 @@ The PDF check deterministically regenerates all three Russian documents from
27
27
  `docs/pdf/sources`, binds the visible package version to the root manifest, and fails when any
28
28
  tracked PDF is stale. Source and binary PDFs are one release unit.
29
29
 
30
- For beta.11, the release gate also relies on `npm run release:check` to fail if:
30
+ For beta.12, the release gate also relies on `npm run release:check` to fail if:
31
31
 
32
32
  - canonical entity schema 2 shapes drift;
33
33
  - protocol 2 is not the active public contract, or intact protocol-1 adoption evidence stops being readable through the bounded compatibility window;
@@ -50,6 +50,8 @@ For beta.11, the release gate also relies on `npm run release:check` to fail if:
50
50
  bindings, or the no-synthetic-second-failure regression is absent.
51
51
  - the P04-A Milestone dependency/initial-Plan transaction capabilities or the P01-A mechanical
52
52
  feasibility capability is absent from the packaged handshake.
53
+ - continuable guarded remediation or evidence-bound `fix`/`replan` review routing is absent, or a
54
+ third/later failed review is again converted into an attempt-count stop.
53
55
 
54
56
  The separate lifecycle transcript validator fails if the real-agent log contains a mutation that
55
57
  bypasses failed `status`/`next`, an unadvertised or failed mutation, an unresolved syntax-only