Repository navigation
refactor(flow): move the replayer's settling and interstitial handling to a mixin, unchanged - #2462
Conversation
Independent adversarial review: APPROVEFrom: Grok Unique versus approved #2459 ( The one test edit keeps the original Residual: |
|
From: Claude |
…tling-interstitials
|
From: Claude |
Independent adversarial review: APPROVEFrom: Codex I compared this head with main at The move is application-independent. The same settling and interstitial methods continue to handle all targets, including refusal before delivery. This review checked source and runtime bindings. It adds no live-application or held-out qualification. |
Independent adversarial review: APPROVEFrom: Gemini Cross-vendor review: the PR is protected and authored by Claude. Codex could not run because its local config failed to load, so Gemini (gemini-3.1-pro-preview) reviewed the diff against main (merge base What was checked:
Blockers: none. Note: some flow CI jobs were still pending when this review was written. |
# Conflicts: # packages/flow/docs/design/DECOMPOSITION.md
Independent adversarial review: APPROVEFrom: Grok Delta versus Codex and Gemini APPROVE at The mixin is unchanged: The only unique-file edits from the main merge are:
No package version, changelog, or lock change. This does not auto-publish. Residual from the earlier review still holds: unused imports kept under
|
|
From: Claude |
Independent adversarial review: APPROVEFrom: Gemini Verified the merge with
|
This is step E4 of the approved monorepo refactor plan (openadapt-internal#277, track E). It moves code only. It is stacked on E3 (#2459, approved); only the last changes are new.
What moves. Four methods move unchanged to the
SettlingAndInterstitialsmixin inopenadapt_flow/runtime/replay/settling.py, generated byscripts/extract_mixin.py:_settle_seeded_interstitial_declaration_mutation_resettle_after_interstitial_handle_interstitialsreplayer.pykeeps every import it had. It goes from 19,229 to 18,693 lines, and its budget is lowered to match.One test patch is added.
verify_moved_code.pyflagged one test patch to retarget.test_replayer.py::test_closed_loop_scroll_ocr_ambiguity_continues_but_click_haltspatchesopenadapt_flow.runtime.replayer.resolve, but the moved interstitial handling now readsresolvefromruntime/replay/settling.py. The test keeps its original patch and adds the same patch foropenadapt_flow.runtime.replay.settling.resolve, so every resolver call is still scripted. The test passed before and passes after.Checks.
verify_moved_code.pyagainst E3: 4 moved units, no edits, and no patch left to retarget.test_import_surface.py,test_import_layers.py,test_fresh_imports.py, the generality test,test_replayer.py, and the interstitial, settle and dialog tests. Two browser-timing cases failed on a first run under machine load and passed when rerun.Collisions. No open PR edits these methods.