Repository navigation
Docs: safe install command, no session links, recovery verified - #16
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ll -r flutter_tools' installApp always uninstalls the existing app before installing, in every build mode, and flutter run falls back to uninstall + reinstall when adb install -r fails. Either can wipe the user's data again. The guardrail added in #14 wrongly said --debug made flutter install safe. adb install -r only ever replaces the app and keeps its data; on failure it leaves the installed app alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SusieeTheLinuxUser
marked this pull request as ready for review
September 24, 2026 20:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three doc updates.
1. The install instructions from #14 were wrong, and following them would wipe the app again.
flutter installalways uninstalls the existing app before installing, in every build mode.--debugdoesn't change that.flutter runisn't safe either, because it silently falls back to uninstall + reinstall whenever itsadb install -rfails. I checked both in the flutter_tools 3.47.4 source:installAppincommands/install.dartand inandroid/android_device.dart.The only install that can't wipe data is:
If it can't replace the app (for example, a signature mismatch), it fails and leaves the installed app alone. This PR updates the "Never uninstall" guardrail, the Environment section and the README to say so.
2. The user's rule, added to
AGENTS.md→ Conventions: noClaude-Session:trailer and noclaude.ai/code/session_…URL in commit messages, PR descriptions or comments. A single "Generated with Claude Code" line in a PR is fine.3. What was checked on the phone on 2026-09-24, recorded in
AGENTS.md→ Current state:adb install -r, and its data was kept.dumpsys alarmshowed exactly the 6 expected alarms: 07:00 and 21:30 for the next 3 days.Docs only.
🤖 Generated with Claude Code