scout_lane_brief
Split an app's crawled routes across parallel audit lanes after the first crawl, assigning each lane a session name, objective, and non-overlapping routes so every area is covered once.
Instructions
For a run split across parallel agents (lanes). Divides the app's known routes between N lanes and returns each lane's session name, the objective to attach it with, and the routes it owns — whole modules per lane, balanced by route count, so no two lanes audit the same area and none is left unopened. Call it after the first crawl, when route knowledge is complete. Touches no browser; pass the briefs to your lane agents, then use scout_lane_report for what they hand back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | What the whole run is for; each lane's objective is written against it | |
| lanes | Yes | How many lanes to split across (1–8) | |
| routes | No | Routes to split. Omit to split every route this project knows about. | |
| fromRun | No | Start from an earlier run's record: a ci.json, or a project directory (relative to this project). With fromRunMode continue, the lanes take the routes it never worked on first, then the ones it left work on with what to do first, then the rest; with replay, one lane per session it had, following its routes and steps in order. Default SCENESCOUT_FROM_RUN, else none (the stable split). | |
| session | No | Target this session directly instead of the active one — pass it explicitly when dispatching to MULTIPLE sessions in one turn (e.g. two scout_click calls with different `session`), which then run CONCURRENTLY rather than queueing. Omit for single-session sequential use. | |
| runMinutes | No | How long the lanes will run, in minutes (default 60). When they attach by a saved role, the brief is refused if that login will not last this long plus the margin. | |
| fromRunMode | No | With fromRun: continue (default) or replay. Default SCENESCOUT_FROM_RUN_MODE, else continue. | |
| expiryMarginMinutes | No | How long past the run a saved role's login must still last, in minutes (default 10). |