nemesis_run_learn
Run the Learn agent locally to exercise every app route in dev or staging, building the Shield baseline in minutes instead of waiting for real traffic.
Instructions
Run the Nemesis Learn agent locally to exercise every route of your app in dev/staging so the Shield baseline finishes in minutes instead of waiting on real traffic. Then call nemesis_approve_routes and nemesis_set_mode enforce. Needs the app token (nsk_) — pass appToken or set NEMESIS_TOKEN in the env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Path to the app's repo so Learn can discover routes from source | |
| target | Yes | Base URL of the running app, e.g. http://localhost:3000 | |
| appToken | No | The app's nsk_ token (defaults to the NEMESIS_TOKEN env var) |