spawn_budget_status
View current spawn budget cap, used, and free, along with per-task RSS, to decide whether to allow another spawn attempt.
Instructions
Report current spawn-budget usage: cap, used, free, plus per-running-task RSS. Used to decide whether another spawn() will be admitted.
Values come from the budget daemon (refreshes every SPAWN_BUDGET_POLL_S
seconds via ps). Just-spawned tasks show their initial estimate until
the daemon catches up. Tasks with pid=0 (visible Terminal-launched
spawns) aren't tracked from here — their RSS column stays as estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |