Troubleshooting

Follow the error's next_action and keep its private evidence. For structured output, add --format json; progress stays on stderr. Use the failing command's --help to check its options. Before sharing a report, record ithrl --version and the error code, and remove private paths, session content and credentials. Keep raw sessions and diagnostics private.

Selecting a decision

Problem Next action
selection-required In a terminal, run ithrl extract to choose a session and decision. For automation, supply the IDs listed by the command.
invalid-selection Choose an ID from the current selection output; IDs belong to the selected session.
conflicting-options with --example Use --example without a source, harness, session, inference, decision or target selector.
case-exists Choose a new output directory. Extraction never overwrites a case.

Extraction accepts the record structures described in compatibility. If a new harness record is unsupported, keep the source unchanged. Report the harness/version and sanitized refusal through the compatibility form; do not attach the session.

Native setup and preflight

Check the native-run prerequisites before authorizing execution. Native dry-run can start bounded, network-denied local probes without provider calls.

Error code Next action
runtime-unavailable Check that the harness executable and required isolation runtime are installed and usable. Keep isolation enabled.
original-workspace-required / original-workspace-unavailable Supply the existing original workspace through --original-workspace. It must be distinct from disposable runner state.
codex-authentication-unavailable / copilot-authentication-unavailable Authenticate through the selected harness. Keep credentials out of cases, arguments and reports.
codex-probe-failed / copilot-probe-failed Inspect probe_stage, probe_exit_code, probe_reason and the printed private diagnostic. Share only reviewed, sanitized details.
capability-profile-mismatch A runtime or configuration change can change the capability digest. Preflight a new experiment against the current installation; preserve the old run and its pinned identity.
runner-evidence-mismatch Use a runner that matches the harness recorded in the case.
observation-store-unavailable Choose a writable store inside a private user-owned directory.
storage-overlap Move disposable storage outside the protected case and original workspace.
input-token-limit-unenforceable Neither current native profile enforces a hard input-token cap. Proceed without that option only if an uncapped input-token count is acceptable.

Keep permission checks enabled and saved state unchanged. Unsupported protocol or safety behavior requires investigation, including after a harness upgrade.

runner_error_reason_code = "protected-input-snapshot" means the runner could not snapshot the source or original workspace before starting that attempt. Check read permissions, unsupported file types or links, and tree size or nesting limits.

Authentication and certificate trust

For Codex custom CA trust, set SSL_CERT_FILE to a certificate bundle. The runner copies it into private disposable state with verification enabled. A custom SSL_CERT_DIR hidden by isolation is unavailable inside the runner.

Copilot chooses token environment variables before saved credentials, in this order: COPILOT_GITHUB_TOKEN, GH_TOKEN, GITHUB_TOKEN. To use saved credentials, prefix each detection, execution or resume command with env -u COPILOT_GITHUB_TOKEN -u GH_TOKEN -u GITHUB_TOKEN. This changes only that command's environment. Authenticate through Copilot; another CLI's token may lack Copilot access.

Copilot preserves supported proxy settings and copies bounded SSL_CERT_FILE and NODE_EXTRA_CA_CERTS bundles into private disposable state. For certificate refusals, check file permissions and trust configuration; keep verification enabled. SDK HTTP forwarding uses ithrl's Python runtime, whose certificate trust is not established by a successful CLI login.

Copilot model catalogue

Reason code Next action
model-catalog-connection Check network and proxy connectivity after connection recovery is exhausted.
model-catalog-tls Check certificate trust.
model-catalog-failed Check account access and the private diagnostic for another catalogue refusal.

Catalogue lookup allows three connection attempts within the attempt timeout, delayed by 0.5 then 1 second. It preserves proxy/certificate settings. HTTP status errors, streaming-body failures and inference are not retried by this recovery loop.

Startup warnings do not establish authentication or provider acceptance. Diagnose execution failures from the refusal and private diagnostic.

Preparing a reduction

The preparation procedure exports a receipt and generates an experiment from your settings. prepare shrink is offline; its returned inspection command runs bounded native dry-run probes.

Error code Next action
invalid-preflight-receipt Supply the private file exported by shrink --dry-run --save-preflight, rather than its normal JSON summary.
preflight-evidence-mismatch / preflight-target-mismatch / preflight-oracle-mismatch Use the unchanged case and behavior specification bound to the receipt. Changed inputs need a new explicit preflight receipt.
preflight-limits-mismatch Fixed native limits differ from those recorded. Export a new receipt with the current installation.
invalid-preparation-settings Check the preparation TOML's schema, required statistical choices and section selectors. Do not supply target/oracle blocks, runner bindings or section hashes.
section-selection-mismatch Select an eligible field from inspect sections CASE; keep section IDs in source order.
unsupported-section-search Use section removal only for a supported final-response profile. Shell-action reduction accepts whole-record removal.
preparation-contract-mismatch Check the selected profile, behavior specification, protected IDs and section choices against the case. Keep the source evidence unchanged.
preparation-invalid / preflight-output-invalid Check private path permissions and input bounds. Choose a new output outside the case and original workspace; existing files are never overwritten.

Preparation checks recorded facts, sampling budgets and freshness. Run the returned inspection command before authorizing model execution.

Sampling and budget refusals

Error code Next action
calibration-settings-required / sampling-options-required Supply all three calibration settings: --required-valid, --minimum-matches and --max-attempts.
sampled-reduction-plan-required Supply a complete private experiment TOML with search and fresh-confirmation samples.
sampling-budget-required / sampling-budget-too-small Inspect the minimum call/time requirements. Budget calibration, a complete comparison, protected fresh confirmation and local overhead together.
unsupported-provider-call-limit Copilot requires a per-attempt provider-call cap of 1. Use that cap when creating the plan.
profile-provider-call-limit-mismatch Use the cap frozen in the saved profile. A different cap requires a new profile and run.
sampling-freshness-too-small Choose deadlines and a declared freshness window that admit a complete comparison, including cancellation time.
confirmation-unattainable Reconsider sample counts, confidence and the scientifically meaningful margin together. Even all matching observations cannot establish preservation under this plan.
acknowledgement-required / acknowledgement-declined Inspect the complete dry-run plan. Add --acknowledge-model-execution only when ready to authorize those model requests.
sampled-resume-mismatch Use the original case, workspace, observation store and frozen statistical plan. Only supported administrative limits may increase.

Fuzz setup and resume

The fuzzing walkthrough covers local and native setup. Detection makes no provider requests; inspecting a saved profile with --dry-run starts no harness.

Error code Next action
fuzz-configuration-required Supply the private TOML with --config; see the walkthrough for a complete example.
detection-required Create a private structural profile with --detect and the original workspace, then review it with --profile ... --dry-run. Detection uses bounded local harness probes without provider requests.
unsupported-context-operation The detected runner does not implement the requested mutation. Check the supported inputs before choosing a profile; structural detection alone does not qualify a mutation workflow.
profile-input-mismatch Use the case, configuration and original workspace bound to the saved profile. Changed inputs require a new profile.
model-execution-not-acknowledged Inspect the complete plan and set an explicit provider-call budget before authorizing model requests with --acknowledge-model-execution. Acknowledgement cannot enable an unsupported operation.
resume-input-conflict Use ithrl fuzz RUN_OR_RESULT --resume without overriding configuration, profile, workspace or observation store. Resume preserves the original limits.

Use --dry-run --resume to inspect a saved fuzz campaign without starting a harness. See fuzz results for terminal outcomes, saved evidence and publication recovery.

Comparison setup and resume

The comparison guide covers context selection, native detection and execution.

prepare compare performs offline authoring before that procedure. Its normal summary separates the baseline's recorded status, effective removal and prospective budget from actual execution. Preparation leaves current native admission unchecked and grants no execution authority.

Preparation error Next action
preparation-settings-required-or-invalid Supply the missing option names listed in the diagnostic, or correct invalid statistical values. Use a complete valid --settings file if preferred.
invalid-comparison-preparation-settings Correct the named missing fields or invalid values in the TOML file. Overrides apply after the file is valid; they cannot complete a partial file. Alternatively omit the file and supply all required options.
preparation-execution-input-conflict Use exactly one of --profile and --preflight. Supply --experiment only with a receipt.
recorded-experiment-mismatch / preparation-oracle-mismatch Prefer an existing comparison profile, or use the exact saved resolved experiment associated with the receipt. Do not reconstruct a missing predicate or relax identity checks.
retained-preservation-unproven Supply a compatible result with complete eligible preservation confirmation, or explicitly choose --proposal to prepare the saved selection without a preservation claim.
preparation-removal-required Select original record, section or span identifiers using ithrl inspect.
preparation-output-exists Choose a new absent output directory. Preparation never replaces an existing bundle.
preparation-atomic-publication-unsupported Publish on Linux with renameat2(RENAME_NOREPLACE) support in libc, the kernel and destination filesystem. Other platforms refuse before writing.
capability-profile-mismatch / preparation-profile-mismatch during detection Check the native installation and proxy/certificate environment against the source profile. Copilot SDK paths also bind capability identity. Acquire a fresh source profile with the intended target and native choices, then prepare a new bundle; preserve the old pinned inputs. See native handoff.
provider-call-budget / wall-time-budget / sampling-freshness-too-small Recalculate the prospective allowance for complete calibration and fresh confirmation, recorded attempt bounds, cleanup and pacing. Local overhead also needs time.
Status or error Next action
comparison-extra-required Install ithrl[compare] for statistical inference.
invalid-comparison-configuration Check the private TOML, context selectors, sampling settings and file permissions.
detection-required Run compare with --detect-capabilities, --original-workspace and a new --profile path; then inspect the saved profile with --dry-run.
profile-input-mismatch Use the case, configuration and workspace bound to the profile. Changed inputs need a new profile and run.
comparison-evidence-capacity Reduce the planned attempts before collection. Large context bindings leave less room in the bounded result snapshot.
calibration-failed Review the proposed contrast. A revised predicate or intervention needs a new run; the failed calibration receives no confirmation credit.
inconclusive Report that complete confirmation did not establish the minimum effect. Do not append samples to completed confirmation.
invalid-comparison-session Use the canonical run directory and original observation store.
result-destination-conflict Preserve the file at the reported result path elsewhere, then resume to publish the saved evidence.
freshness-expired or wall-time-exhausted Inspect the saved incomplete result. The frozen deadline cannot be extended by resuming; a new plan needs a new run.
comparison-input-or-execution-refused Check the frozen inputs and implementation. Use offline inspection to read retained results without resuming them.

For execution failures, inspect error_category and attempt_evidence.reason_code under blocks[].attempts[].observation in the private result before starting another run. Keep raw responses private.

Provider errors and interruption

runner_error_category = "provider-call-limit" means the per-attempt cap blocked another request. No retry or continuation is offered for this budget stop. It supplies no evidence of throttling, transport failure or behavioral nonmatch. Inspect retained usage before starting a new run with a different cap; Codex can need several successful requests per turn even with retries disabled. See plan limits.

For authentication or quota failures, inspect the selected harness's account status privately. Provider-call limits do not predict subscription allowance. Repeated full-run attempts can spend calls without completing confirmation; preserve every failed run and its charge.

Sampled reduction and fuzz reports expose runner_error_category and runner_error_reason_code without copying native messages, bodies or request identifiers. Structured Copilot failures use:

Reason code Next action
provider-quota-exceeded Check the account's remaining quota and reset date. Continue only after capacity is available and the saved run remains eligible for resume.
provider-authentication-required Authenticate through Copilot and check the credential selection described above.
provider-payment-required Check billing and plan entitlement before making another request.
provider-access-denied Check account, organization and model access through Copilot.
provider-rate-limited Wait for the provider's rate limit to clear; inspect the saved run before continuing.
provider-unavailable Check provider service status and retain the failed observation.
provider-failure Inspect the private native diagnostic for an unclassified failure; share only sanitized evidence.

These codes do not trigger retries or change charges, and they do not establish provider acceptance. A quota refusal alone does not establish a harness compatibility failure.

Errors stay outside behavioral denominators. started-unknown means execution started without a complete provider-call count. Inspect actual, additional possible, pending and charged counts separately; unknown usage is not zero. See sampled results for interpretation and opt-in failure replacement.

When interrupted, use the printed continuation command if one is supplied. An unresolved dispatch must be reconciled before execution can continue. Completed confirmation is never repeated. When no continuation is available, follow next_action and retain the private evidence rather than modifying JSON/SQLite files or replaying the same attempt.

If the problem remains, use the support routes. Include versions, platform, safe reproduction steps, sanitized error codes and expected/actual outcomes. Keep source sessions, raw diagnostics, credentials and case contents private.