Agents had to chain boot, Metro, rebuild and whoami themselves, and after
one step failed they kept reporting the phone app as unbuildable. The new
command picks a device without disturbing other tasks (several candidates
make it ask instead of guessing), boots it, reuses or starts this
worktree's Metro (on a free port when 8081 belongs to another task),
installs the matching native app, launches it, waits for the bundle,
brings it back to the foreground when the system pushed it behind after
boot, and checks identity. It reads the Metro log sim-start records and
keeps its own output in the system temp directory, never in the worktree.
It can be rerun after the device idles off, and always ends with one JSON
line giving a code and the next step.
The root AGENTS.md module table now routes "seeing changes on the phone"
to the Mobile docs; the command and the rule that only a fresh run's code
counts as evidence live in docs/dev-rules/mobile-development.md.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
sim:start now writes Metro output to apps/mobile/logs/metro-<port>.log, and
mobile:sim:logcheck reports what happened after the latest entry bundle: ERROR
and failed bundles fail, unlisted warnings must be reported, and an unknown
state is not a pass. Add the check to the simulator verification rules.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): block shared primary dev migrations
Signed-off-by: david <david@xd.com>
* fix(desktop): close shared dev migration gaps
Signed-off-by: david <david@xd.com>
* fix(desktop): clarify shared dev startup guidance
Signed-off-by: david <david@xd.com>
* fix(desktop): reject release userData aliases
Signed-off-by: david <david@xd.com>
* fix(desktop): harden shared dev data isolation
Signed-off-by: david <david@xd.com>
* test(desktop): stabilize user data policy paths
Signed-off-by: david <david@xd.com>
---------
Signed-off-by: david <david@xd.com>