> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# subflows/launch-app-seeded.yaml

[Source](https://github.com/leapgame/leap-sim-piano/blob/f794b594016038c483e2d20b6af56aea0ae1b982/.maestro/subflows/launch-app-seeded.yaml)

```yaml
appId: ${APP_ID}
---
# Like launch-app-clean.yaml (a clean install that starts past the first run), plus a seeded lifetime
# song-end count, so the interstitial gate (`fs.firstAfterSongEnd`, 2 or 3 by arm) is already open:
#   ${SONG_ENDS}  finished songs to start with (src/bootstrap/e2e-song-ends.ts), e.g. "5"
- runFlow:
    when:
      true: ${typeof E2E_MODE !== 'undefined' && E2E_MODE == 'debug'}
    commands:
      - stopApp
      - launchApp:
          clearState: true
          stopApp: true
          arguments:
            e2eSkipFtue: "1"
            e2eSongEnds: ${SONG_ENDS}
      - runFlow: connect-dev-client.yaml
- runFlow:
    when:
      true: ${typeof E2E_MODE === 'undefined' || E2E_MODE != 'debug'}
    commands:
      - launchApp:
          clearState: true
          arguments:
            e2eSkipFtue: "1"
            e2eSongEnds: ${SONG_ENDS}
- setOrientation: LANDSCAPE_LEFT
```
