Skip to content

docs: adaptive layout recipes for the device pass #356

Open

Description

@ElbertePlinio

Part of #350.

Problem

The device_pass prompt runs one journey on one device state. Real users also use large fonts, dark mode, RTL languages, foldables, small browser windows and scaled desktops.

Acceptance criteria

  • The device pass prompt and skill get a short matrix section with three default cases: a phone, an unfolded foldable, and a phone with 200% font, dark mode and an RTL locale.
  • Recipes for font scale, dark mode and locale use plain adb commands, and say which changes restart the app.
  • The section shows how to replay an existing Maestro flow in each state. It notes that Android CLI Journeys are agent-interpreted, not deterministic replay.
  • Browser sessions: one recipe sets viewport, device pixel ratio and color scheme with the DevTools emulate and resize_page tools, and records the observed settings. Lighthouse runs in its own navigation mode with its own device settings, so the docs do not present it as proof of the journey state.
  • Desktop sessions: one recipe covers scale, dark theme and locale. It says which toolkits honor each setting and which need an app restart. LANG alone does not guarantee RTL.
  • Every recipe resets the state after a failure.
  • Each capture records its state through evidence: record device state, UI trees and logs #352.

Checklist

  • Recipes checked on a supported emulator
  • Matrix section in the prompt and skill
  • Maestro replay example
  • Browser recipe
  • Desktop recipe

Depends on #352 and #355.

Activity

  1. added
    enhancement
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions