Computer Management

Configure TermSquad Guard

By TermSquad · Last reviewed

TermSquad Guard helps protect your computer from runaway agent workloads. Configure it in Settings → Agent workloads.

Guard manages resource pressure. It does not decide whether a code change is correct or whether an agent should have access to a secret.

Change the setting

  1. Select the computer.
  2. Open Settings and find Agent workloads.
  3. Set TermSquad Guard on or off.
  4. Select Save changes.
  5. Wait for the saved result.

Core TermSquad service protections remain enabled even when this workload setting is off.

Run a heavy test command

When your project needs a resource-intensive suite, run it through Guard:

termsquad guard test -- npm test

Replace npm test with the actual command for your project. For a longer time allowance:

termsquad guard test --timeout 90m -- npm test

Use a timeout appropriate to your suite. These commands run the tests; they are not dry-run checks.

If Guard waits or a task fails

A message saying it is waiting for machine resources means the command has not started yet. Let the wait resolve or reduce competing workloads instead of starting the same heavy suite outside Guard.

Check Metrics to understand CPU, memory, and disk pressure. Guard cannot create additional resources or guarantee that a large workload will fit.

See resource monitoring and slow-computer troubleshooting.