# QVM ground-loss nested action and main re-probe ordering This batch completes bounded RE-529–531 / F-256–258 by evaluating54981(1) inside46527, then carrying its real effects through the remaining ground-loss decisions and main54981(0). It extends [ground loss](QVM_GROUND_CALLEES.md), [helper54981](QVM_ACTION_PROBE.md) and [combined main ground state](QVM_COMBINED_GROUND.md). Native responses and remaining main effects stay supplied or omitted. Reproduce with `python3 scripts/analyze_qvm_lost_action.py`; validate with `python3 scripts/test_qvm_lost_action.py`. The [machine report](qvm-lost-action.json) retains source identity,48 standalone nested-action probes and12 actual main chains with child/caller snapshots. No original executable, full QVM, native collision, physics or rendering executes. ## LOSTACTION-001 — Actual child before sentinel and flag rereads (RE-529) The standalone grid varies initial flags0/4/16/4096, old ground7/1023, three supplied action patterns and deep fraction0.5/1. Initial flags&12 still take46527's early ground/plane/walk reset and skip54981 entirely. Twelve fixtures take that early branch; their prepared child effects are not attached. Otherwise46527 sets32, requests54981(1), then reads actual updated state. The child can normalize/probe, rebase origin, recursively evaluate54981(0) and invoke landing/event writers as recovered earlier. The old-ground1023 check follows the action and precedes the flags&12 reread. Sentinel1023 clears the plane indicator and skips deep probing. With existing ground and newly produced flags12, the helper exits immediately without its later plane-clear store. Standalone plane1 can therefore survive that branch, while sentinel controls clear it. The optional reached-action callback is applied after the source CALL/POP boundary and before these rereads. Original no-callback reports remain byte-identical. Logging, native collision legality, callback side effects and unmodeled action semantics remain open. ## LOSTACTION-002 — Rebased deep geometry and animation priority (RE-530) A clear recursive action child can preserve its origin rebase while leaving flags12 clear. Ground loss then builds its64-unit deep query from that updated origin. Explicit fixtures trace from[101,202,304] to[101,202,240], rather than the pre-action origin. A flag-producing recursive child suppresses that deep query and its associated ground-loss animation. The action's own bit16 early exit can instead leave the original origin for a later deep query; the model checks actual reached branches rather than prepared pattern names. When deep probing is reached, supplied fraction1 retains the prior recovered4096/direction/animation/ground reset policy; fraction0.5 retains old ground/walk within the helper and clears plane. Actual animation/landing/queue effects from the nested action remain live. The outer46773 caller still clears plane/walk after returning from ground loss, so helper retention and actual caller output remain distinct. Roots, basis, native endpoints/fractions and finite state are supplied. Rebased endpoints demonstrate source arithmetic/control flow, not a collision-consistent geometry or real escape/contact domain. ## LOSTACTION-003 — Nested argument1 before main argument0 (RE-531) Twelve main chains combine entered/standing posture, no-hit/clear-recursive/flag-recursive nested patterns and no-hit/feet-hit main patterns. The first ground fraction1 path evaluates the nested54981(1) before main timer aging. Main then invokes a separate54981(0) at its actual post-timer boundary. Source request identity and shared state are checked independently for these two call sites. The main argument0 re-probe can clear the nested flags12 or set feet bit4 again. That changes whether query56639 is requested, while existing128 still selects41768 in all12 controls. Reached first-clear slide/wrapper/gravity state feeds the later combined ground/landing/touch children. Ground's later landing call can store movement timer250 after the earlier main aging; other paths finish with0. The nested landing call inside54981 does not itself receive the outer ground caller's250 store. Final contents preserves actual resource, animation, numeric event queue and extended ground state. Native content/stand/ground/deep/slide/down/overlap/root responses remain supplied. Query/alternative-mode/other suffix/native consumers, clock-to-main gap/full53418/scheduler and macOS/Linux Rust/Bevy/Solari gameplay remain open. ## Validation and next tasks Eight tests independently verify all48 nested/helper outcomes, sentinel-versus-new-flag priority and plane retention, rebased deep geometry, twelve skipped prepared actions, actual posture/ground/timer entry handoffs, distinct nested/main argument calls and query gating,12 reached slide/mode/post-ground states and conditional caller250 stores, final event/resource/animation persistence, source identity and supplied-effect limits. Reproducibility/full-suite/storage/link/whitespace results are recorded in the ledger. RE-528 remains open for broader query/mode/native/consumer/runtime scope; ground-loss54981 integration is covered by RE-529–531. RE-532 tracks actual56639/query and alternative55465/41848/other movement bodies, remaining event/PS216/suffix consumers, real basis/input/environment/native collision ABI/legal domains and complete main/scheduler/macOS/Linux Rust/Bevy/Solari gameplay. Other game/assets/rendering/protocol milestones remain open. Follow-up: [shared query and main acquisition event](QVM_MAIN_QUERY.md) evaluates the reached side-clearance child, transfers full query state into actual main and executes conditional event23. Earlier isolated fixture scope remains unchanged; combined environment/alternative modes/native/full runtime remain open.