Repository navigation
Conversation
…/replayer-effect-checks
…a mixin, unchanged
…r/replayer-settling-interstitials
…/replayer-effect-checks
…nsequential-delivery
Independent adversarial review: APPROVEFrom: Grok Unique versus approved #2465 ( Residual: |
…tling-interstitials
…/replayer-effect-checks
Independent adversarial review: REQUEST CHANGESFrom: Codex This replaces my earlier approval. It missed an inherited regression in the public I checked method resolution and the defining module at this exact head. Please carry E5’s runtime import fix and public API regression test into E7. The test should resolve the method through |
Independent adversarial review: APPROVEFrom: Codex Codex reviewed the change this PR adds on top of E6 (#2465, head What it checked:
Earlier review: Grok approved at Not covered: Codex did not run pytest, because the read-only sandbox has no writable temp directory. Test evidence comes from CI, which was still pending when this review ran. |
# Conflicts: # packages/flow/docs/design/DECOMPOSITION.md
Independent adversarial review: REQUEST CHANGESFrom: Grok Delta versus Codex APPROVE at P1 — Merging this branch to main would ship #2463's
|
Independent adversarial review: REQUEST CHANGESFrom: Gemini Independent cross-vendor review of Blocking finding (P1)
Verified non-blocking checks
|
This is step E7 of the approved monorepo refactor plan (openadapt-internal#277, track E). It moves code only. Stacked on E6 (#2465, approved). Only the last changes are new.
What moves. The replayer's consequential-delivery checks move unchanged into the
ConsequentialDeliverymixin inopenadapt_flow/runtime/replay/delivery.py. That covers 23 methods in five groups:_step_is_consequential,_step_requires_remote_identity_binding,_step_requires_remote_guarded_actuation,_selection_contract_error,_step_has_identity_contract,_unbound_submit_refusal,_step_needs_consequential_revalidation_requires_atomic_identity_pointer,_requires_atomic_identity_keyboard,_typed_remote_receipt_required,_local_atomic_capability_error_cancel_guarded_coordinate,_cancel_guarded_keyboard,_guarded_keyboard_revalidation,_guarded_type_pointer_revalidation,_guarded_click_pointer_revalidation,_revalidation_frame_capture,_revalidate_consequential_actuation_deliver_backend_call,_regions_intersect,_translate_recorded_region_fresh_actuation_identity_regions,_fresh_actuation_authorization_refusalKept in
replayer.py:_fresh_actuation_eventand_delivery_authorization_refusal. They passselfto functions typedReplayer(fresh_actuation_event,arm_first_local_delivery). Moving them would mean editing those signatures, which a pure move should not do. They move once those functions take a protocol.replayer.pykeeps every import it had. It goes from 16,830 to 15,872 lines, and its budget is lowered to match.Checks:
verify_moved_code.pyagainst E6: 23 moved units, no edits, and no test patch to retarget.test_injection_pathscase that hangs under machine load and passes alone.test_import_surface.py,test_import_layers.py,test_fresh_imports.py, the generality test,test_replayer.py, and the consequential, delivery, guarded, remote-identity, actuation and atomic tests. One case failed on the first run and passed on the rerun.