THE ROOT CAUSE OF LYING TESTS:
81 E2E tests existed but ZERO tested the full plugin chain (execute_all)
against non-Instagram environments. Each plugin was tested in isolation,
but the integration between perception (SAE) and action (obstacle_guard)
was a complete blind spot.
NEW TESTS:
- test_chain_terminates_on_permission_dialog: Proves the full plugin chain
terminates at obstacle_guard when a system permission dialog is detected.
No downstream interaction plugins (resonance, like, follow) may fire.
- test_chain_terminates_on_foreign_app: Same for Chrome/browser takeover.
- test_chain_passes_through_on_normal_instagram: Sanity check that the
chain runs normally on valid Instagram feeds.
These tests would have caught the 23:01 stuck-loop bug BEFORE it shipped.