Use the plan
run checks the plan against the descriptor and prints every command, folder and environment variable name it will use. It asks you to approve. With --json, pass --approve after a person has approved.
Check your drivers against the plan without running anything:
Example
plan.json
node server.js with a free port in PORT and your OPENAI_API_KEY from the shell where you run firedrill run. It waits for /health to return 200, then sends each message to POST /chat.
Top-level fields
Services
Readiness
Readiness URLs must use
http on 127.0.0.1, localhost or [::1]. Use port 0 when the service gets its port from port_env.
Rules
- Commands run as an argument list. Shell strings, pipes and
&&do not work..batand.cmdfiles are refused. - Secret names cannot go in
env_staticorenv_passthrough. Uselocal_secret_envon alaunchservice withper_drill: true. env_staticcannot set proxy, certificate or loader variables such asHTTP_PROXY,NODE_OPTIONSorLD_PRELOAD.- An
attachservice cannot beper_drillor have aport_env. - A
per_drillnetwork service needs aport_env. - If the plan or a root folder changes after you approve it,
runstops and asks again.
Reset hooks
For a state domain withreset: approved-hook, add one entry to state_hooks:
Choose a driver
Driver settings and what your agent must implement.
Run drills
Plan, apply and run.