Test-Run Spawn Inspector task-agent-advisor · #2575

Type the task you'd hand an Agent() spawn. This runs the hook's exact regexes and shows whether it gets nudged back to Bash — because running tests/build/lint is deterministic and doesn't need an LLM agent.

run / runner / test-noun match reasoning verb (suppresses the nudge)

💸 Without the nudge (observed)

general-purpose agents each running a test batch
~445–458k tokens each → ~1.35M / wave, looping via ScheduleWakeup — to get a pass/fail an exit code already gives for free.

✅ With the nudge

Run in Bash: pytest -n auto / vitest --shard (parallel at the runner, $0 LLM). Spawn ork:debug-investigator only for the failing subset. Green suites cost nothing.
The exact detector logic (lifted from the hook)

      

Fires only for general-purpose or untyped spawns. The reasoning-verb guard leaves writing tests (→ test-generator), debugging/triage, exploration, and audits alone. Bounded suffixes keep fix(ing) suppressing while fixture/address do not.