← Назад к задаче

automatic-review-design-review-v4.md

FACTORY_OUTCOME: COMPLETED

Сводка для владельца

Итог: PASS — упрощение до логической изоляции соответствует принятому решению; регрессий ранее принятого дизайна не выявлено.
Проблемы: блокеров дизайна нет; реализация и её тесты ещё не подтверждены.
Решение: повторное согласование изоляции не требуется; OD-6 зафиксировать перед реализацией. Этот вердикт не разрешает деплой или перезапуск.

Independent targeted design review v4

Verdict: PASS (design only). Required design corrections: none.
Review date: 2026-11-28. Project: FACTORY-RUNTIME.

Basis and scope

Sources: original requirements, [D3](automatic-review-design-v3.md), [RV3: PASS](automatic-review-design-review-v3.md), [D4](automatic-review-design-v4.md). Compared D3/D4 with diff -u and checked retained sections with Python 3. D4 has 539 lines. The opening of ../doc.php contains PHP file-navigation/search code; it was inspected, not executed, and is not the requirements source.

The owner's instruction for this task explicitly supersedes physical reviewer isolation with logical isolation for the single-owner MVP and accepts the documented residual risks. D4 §0.1 records that decision. D3 P1–P7/G1–G6 and RV3's physical-isolation implementation gate are therefore not criteria for this verdict. C1 resource conflict controls remain applicable; they are separate from reviewer isolation.

This is a review of changed clauses and consequential regressions, not an implementation audit. Historical adapter/code claims in the designs were not independently reproduced. No production code, database, service, permissions or sandbox configuration was changed; no restart, model execution, network probe or runtime test suite was performed. Only this report was written. No external outreach or Coral/paused L-IT work occurred.

Changed clauses: evidence and verdict

CheckResultConcrete evidence in D4
Mandatory role injectionPASS§6.1 requires dispatcher-owned REVIEWER_ROLE_BLOCK_V1, non-overridable by task/project settings, injected for both adapters and every retry. Missing block refuses launch and stops; hash is recorded in execution metadata and verdict. R1–R8 prohibit repairs, persistent writes and mutation APIs; verdict is reply text published by dispatcher (§3.7). T-B4L-1/2 specify positive and missing-block checks.
Existing sandbox retainedPASS§6.2 preserves Codex --sandbox workspace-write … --add-dir WORKDIR and Claude --permission-mode acceptEdits; forbids permission-skip and danger-full-access. Optional R8 tool denial only restricts tools further. T-B4L-3 compares final arguments to the baseline with only that exception. No wrapper, proxy, new permissions or host isolation prerequisite remains.
Safe checks and scratchPASS§6.1 R3–R6 require copies/scratch or established non-mutating checks, read-only state access, and reporting checks that cannot safely run. No package installation or verdict-file writing by the reviewer. T-B4L-4 covers scratch behavior. These are procedural requirements, not claims that tools cannot violate them.
Integrity coveragePASS§6.3 brackets review with file fingerprints and directory-listing digests, declared DB/SERVICE fingerprints, reviewed-task/dependant control-plane rows, and selected persistent CLI files. Checked/unchecked resources and coverage are recorded in review_integrity_json. Before-snapshot failure prevents launch within technical budgets; incomplete after-check stops rather than accepting. Large-file sampling and cache exclusions are explicitly disclosed.
Mutation rejection and stopPASS§6.4 rejects the verdict before finding application on differences, self-report or observed forbidden actions; uses REVIEWER_MODIFIED_ARTIFACTS / REVIEWER_STATE_VIOLATION. No automatic retry/restore, revision consumption, dependency release or PASS; task becomes REVIEW. CAS/idempotency fences reject stale results. Owner resume requires a fresh baseline and renewed acceptance evidence; changed bytes invalidate old PASS. T-B4L-5…9 cover mutation and recovery cases.
Honest limitsPASS§6.5 explicitly disclaims a security boundary and lists untracked writes, write-and-restore, external/API effects, unchecked state, weak large-file coverage, prompt injection, shared credentials, concurrent writers and delayed detection. These are accepted residual risks, not grounds to reintroduce physical isolation. T-B4L-11 checks disclosure of detection limits.
Required documentationPASS§10 makes in-place runbook, context card, agent instructions, architecture/security, runtime, supervisor, capabilities and verification documentation mandatory at R4/R5. Requires risk disclosure, automatic role injection, unchanged sandbox, stop/resume semantics and no enforced-read-only/security claims. T-DOC-1 plus independent manual review is an implementation acceptance gate. Existing docs need not already be edited to pass this design review.
Practical minimal implementationPASS§§6, 9.1, 13 reuse the existing dispatcher, adapters, prompt builder and durable transition machinery. Added work is a fixed role block, dispatcher integrity records/checks, mutation stop handling and documentation/tests. No new service, wrapper, network helper, package or permission is required.

Regression checks against RV3

Programmatic section comparison found identical text in D3/D4 §§3.1–3.6, §§4.1–4.3, §§5.1–5.2, §7, §8 and §§9.2–9.3. Thus the frozen approval snapshot, acceptance predicate, transition precedence/fences, no-progress rules, bounded step budgets, owner controls, durable kill switch/downgrade protection, atomic capacity and scan-past-blocked selection remain intact (B1, B2, B5, B6, B7, B9, C3).

The changed §4.4 removes the physical replay-safety claim and requires a mutation stop instead of replay. §5.3 retains dedicated-resource-or-hold, conservative scopes, QUEUED+RUNNING admission and disjoint parallelism; its wording now limits the copy alternative to protection from host writers, without claiming protection from the reviewer. §9.1 replaces physical capability gates with role/integrity conformance; distinct reviewer, inheritance, future approvals only and nonblocking-stop prohibition remain. §§3.4/6.4 together preserve fresh verification and review evidence after changed bytes; a fresh baseline alone is not acceptance.

No changed clause authorizes bypassing failed verification, accepting a rejected review, automatically resuming a mutation stop, changing scope without renewed approval, or restoring a physical-isolation prerequisite. Earlier RV3 caveats remain applicable except its explicitly superseded physical-isolation gate.

Implementation handoff, not design blockers

The following are implementation details/tests under the existing design, not reasons to reject it or enlarge scope:

R1–R5 must demonstrate the specified negative/positive integrity cases, retained regression matrix, legacy parity and independent code/documentation acceptance. R6 retains real Codex/Claude E2E and separately authorized deployment timing. Historical 46/46 runtime and 123/123 executor results are not fresh validation of v4; rerun at R5. The 12 legacy DeepSeek expectations remain separate debt.

OD-6 records proposed coverage defaults and owner-only resume. Recording it before implementation is the existing R0 handoff, not missing input for this design verdict; accepted residual risks and the isolation choice are not reopened. No additional owner decision is needed to complete this review.

Материалы