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](../automatic-review-requirements.md), [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 | Check | Result | Concrete evidence in D4 | |---|---|---| | Mandatory role injection | PASS | §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 retained | PASS | §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 scratch | PASS | §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 coverage | PASS | §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 stop | PASS | §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 limits | PASS | §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 documentation | PASS | §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 implementation | PASS | §§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: - Persist the pre-review integrity record before launch; apply post-run checks before outcome publication, including interrupted-review recovery. Prove that mutation/unknown integrity cannot fall through to technical replay or PASS. §6.3–6.4 and T-B4L-9 define the required behavior; this review does not claim it is implemented. - Implement the R1 `review_integrity_json` addition and mutation transitions specified by §§6/13, although the retained §3.1 illustrative schema and §3.2 table do not enumerate those additions. Parse self-report as rejection metadata before applying findings; “discarded unread” means no finding application, not an inability to inspect the self-report field. - T-B4L-8 uses “allowlist” ambiguously for checked files versus ignored cache files. Follow §6.3 item 4: protected config changes stop; explicitly excluded session/cache changes do not. Keep that distinction in implementation fixtures and the R5-reviewed exclusions. - §6.6 includes a real E2E check while its heading says offline and §13 schedules full E2E at R6. Use a controlled test harness for pre-enable adapter conformance and retain R6's full real-cycle gate. Do not infer production restart authorization from R2 or this PASS. These are scheduling/wording details, not a missing physical capability gate. 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.