Preserve live screens during same-stack Fabric moves and animate a disposable reveal cover instead of the retained message list. Add native replay fixtures, visibility diagnostics and a mounted regression for stale opacity writes.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
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>
Each Metro launch writes its log in a fresh mkdtemp directory recorded in the
port owner record, so logcheck only reads that launch's log and never a
predictable path. Short writes discard the log like failed ones. device-link
warnings are no longer known: relay errors can hide auth failures.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
The raw output may carry credentials and logcheck already rejects a stopped
Metro, so sim-start removes the log on child exit and on spawn errors.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Metro output can carry credentials, so the captured log now lives under the
system temp directory, one folder per worktree, instead of apps/mobile/logs.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
sim-start writes a launch id into the log header and the Metro owner record
(null when the log could not be created). logcheck reports unknown unless
they match, so an old log that could be neither replaced nor deleted cannot
pass.
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>
Hide React Native's fixed 'Open debugger to view warnings' banner, disable
Reanimated strict logging, and replace the deprecated getId screen prop.
Warnings still reach Metro and the debugger; error banners are unaffected.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(mobile): keep simulator tests on Cindy's simulator while it is available
An idle Cindy simulator made whoami and rebuild silently pick a system device,
so a task could run on the wrong backend without any signal. Stay on Cindy until
the plugin is unavailable or a --udid names another device, report the reason
and reusable devices, and flag the system simulator while Cindy's is available.
Stop reporting native-missing when no exact target was probed, and align the
test workflow: occupied Cindy devices are not a reason to fall back, parallel
devices stay in the selected backend, and handoffs name the backend and model.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(mobile): fail closed when Cindy's simulator cannot be listed
A failed device listing was read as an empty one: whoami reported cindy-idle,
while rebuild and open silently moved on to a system device. Keep the failure
and stop without choosing a backend unless an exact UDID may live elsewhere.
Treat the Cindy devices directory given as an absolute path as Cindy's
simulator so it gets the same notices as CINDY_MOBILE_SIMULATOR=cindy.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Address review feedback on #8261:
- plugin-security-and-authoring, browser-use: the "my browser" notes said
password, payment and one-time-code fields are readable and fillable, which
read as contradicting the input-handoff boundary. State that the extension
does not block by field type, but values the owner enters through ask_owner
still go only to the host and never into the model, and that task
permission tiers and automatic review do not replace that boundary.
- simulator-debugging: the side-by-side test build recipe omitted
CINDY_USE_LOCAL_REGION_CONFIG=1, without which app.config.js ignores the
temporary self-host-regions.json and silently keeps the built-in bundle ID.
Add the switch, say which variables only change the display name, require
checking the built bundle ID before install, and name the two entitlements
to remove.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Decisions and debugging knowledge that only lived in one person's agent
memory now live where every contributor and agent reads them:
- environment-setup: keep git auto-maintenance in the foreground for
multi-worktree partial clones (git 2.54 loses the maintenance lock)
- simulator-debugging: evidence-first physical-iPhone debugging and the
side-by-side test build parameters
- remote-desktop: zero frames from ScreenCaptureKit means check replayd
- model-catalog-maintenance: Cindy AI name suffixes, AI Gateway repos
- design-decision-log: extra model cost display (10-30), remote desktop
resolution tiers with effect words (10-06)
- core-product-principles: transient failures recover automatically,
background status hints stay light and never reflow lists
- engineering-conventions: name Chinese variants by script, not region
- REVIEW.md: do not demand mechanisms for rare benign edges
- configuration-and-overrides: four tiers for settings visibility
- protocol-compatibility: manual continuation of interrupted scheduled
runs; X delete keeps the mention requirement
- plugin-security-and-authoring: "my browser" capability parity, user
non-interference baseline, on-demand debugger permission, page badge
- new docs/dev-rules/browser-use.md: shared-layer optimizations, no
capability limits with risk handled by approval, external link handoff,
recipe catalog maintenance
- new docs/product-rules/mail-card.md: mail card editing, sending,
reading, read marks, avatars and Google contacts scope
- system-skills README: bundled Skills stay repo-agnostic; pr triggers
only on explicit PR intent
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
A test request now only authorizes restarting this task's own or an orphaned
8081 Metro; a live worktree's Metro defaults to the parallel-device path and
is taken over only when the user explicitly asks in the current task.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Move the generic rules that only lived in a personal simulator skill into
the simulator guide: what a test request authorizes and excludes, how the
target worktree and device are chosen, how to use Cindy's simulator plugin,
and what a delivery must report. Personal setup now keeps only private
preferences such as the usual device and simulator backend.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
The simulator guide claimed the iOS debug app only ever loads Metro on 8081,
so agents concluded two worktrees could not run on two simulators at once.
React Native first reads the per-device RCT_jsLocation default and only
falls back to 8081 when that Metro does not answer.
Document how the app picks Metro, the two silent fallbacks, the parallel
device recipe (rebuild --udid, start --port, point the device, verify with
whoami --udid --port and the build label, clean up), and what is still
unverified on Android. Align the dev rules and sim-start comments.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>