Skip to main content
Diagnose an AgentCompass failure by reducing it to one task and identifying the first lifecycle phase that failed. Avoid changing several limits or components at once: that can hide the original cause and make the recovered result incomparable with the intended evaluation.

Start With a Minimal Reproduction

Use the same model, benchmark, harness, environment, and component parameters as the failed run, but select one failed task, disable retries, and retain detailed logs:
Add --keep-environment only when the failure requires inspecting files or processes inside the sandbox. Do not enable automatic dependency installation until you have confirmed that a missing optional extra is the actual problem.

Locate the First Failing Phase

Search the persistent run log for the task id and the last started phase. The normal sequence is: The first failure is usually more useful than later cleanup warnings. For example, an environment-close warning after a model authentication error is not the root cause.

Inspect the Run Evidence

The run directory contains different levels of evidence: Use the local result browser for an interactive view, or inspect the files directly. Preserve run_info.json, params.json, the relevant detail file, and the log when asking another person to reproduce the issue.

Common Failures

Inspect Effective Configuration

When a value appears to be ignored, compare the merged configuration with the component schema:
Then inspect the per-task resolved execution plan. Recipes run after normal configuration layers and may adapt images, workspaces, resources, and network policies while preserving explicit user overrides. The resolved plan is the source of truth for what that task actually used.

Provider Checks

Run the provider’s smallest independent check before debugging AgentCompass internals: Provider credentials can succeed while a particular image or resource request fails. Keep the one-task AgentCompass smoke test after the independent provider check because it also validates recipes, workspaces, harness setup, and verification.

Decide Whether to Retry, Reuse, or Restart

See agentcompass run for retry and reuse semantics and Network Policy for phase-specific network diagnosis.

Report a Reproducible Issue

Include the following when opening an issue:
  • AgentCompass revision and Python version;
  • operating system and environment provider;
  • benchmark, harness, model protocol, and task id;
  • exact command with secrets removed;
  • relevant component parameters and whether a recipe was applied;
  • first failing phase and complete traceback from the file log;
  • sanitized run_info.json, params.json, and task detail; and
  • whether the failure reproduces with concurrency 1 and retries disabled.
Do not upload API keys, provider tokens, private base URLs, proxy credentials, or proprietary task data.