What problem does it solve? Running tests at scale in the opencode-swarm project can trigger unbounded fan-out that blocks or kills the agent session, and failures are often misdiagnosed. This Skill provides safe test execution patterns that prevent session kills and help classify failures correctly. ## Core Features & Use Cases - Scope Safety Guards: Explains the three-layer defense (source-file count guard, fan-out estimate, budget-limited traversal) that returns scope_exceeded instead of hanging the session. - Per-File Isolation Loops: Provides ready-to-use bash and PowerShell loops for running Bun tests in per-file isolation, matching CI behavior for mock-heavy directories. - Failure Classification & Verification: Distinguishes stale assertions, soft regressions, genuine pre-existing failures, and new regressions, with git worktree commands to verify failures against main. - Use Case: After changing several source files, use the per-file shell loop instead of test_runner with multiple files to avoid scope_exceeded, then verify any failure against main before documenting it as pre-existing in the PR body. ## Quick Start Ask the agent to run the tests for the agents directory using a per-file isolation loop and classify any failures before pushing.