New to FORGE? Start a free 30-day trial

Common Issues and Solutions

Updated on Oct 5, 2026

Start here when a Forge command fails or does not do what you expect. This page shows you how to triage a problem in four steps, find your symptom, and collect diagnostics for a bug report. The sub-pages hold the detailed fixes.

Start here

Work through these steps in order. Most problems are solved by step 1 or 2.

text
 ┌──────────────────────────────────────────────────────────────────────────┐
 │ 1. frg status --verbose │
 │ Is Forge initialized? Is the agent installed and authenticated? │
 │ Is toolchain.toml present? │
 └───────────────┬──────────────────────────────────────────────────────────┘
 │ a check shows ✗ or ⚠ ──► follow the "Run:" hint it prints
 │ all checks pass, the problem remains
 ▼
 ┌──────────────────────────────────────────────────────────────────────────┐
 │ 2. frg diagnose │
 │ Offline readiness assessment: PASS / WARN / FAIL per check, │
 │ with a suggested next step for each failure │
 └───────────────┬──────────────────────────────────────────────────────────┘
 │ readiness is OK, but a workflow run fails
 ▼
 ┌──────────────────────────────────────────────────────────────────────────┐
 │ 3. Check logs and traces │
 │ .forge/work/<job>/traces/*.trace.md prompt, agent output, stderr │
 │ .forge/work/<job>/logs/system.log Forge's own log for the job │
 │ RUST_LOG=debug frg <command> more detail on the terminal │
 └───────────────┬──────────────────────────────────────────────────────────┘
 │ you now have the exact error message
 ▼
 ┌──────────────────────────────────────────────────────────────────────────┐
 │ 4. Find your symptom in the table below and open the linked section │
 │ Still stuck? Collect a support bundle and file a bug │
 └──────────────────────────────────────────────────────────────────────────┘

What steps 1 and 2 look like

frg status checks the project root, Forge initialization, the coding agent, and the toolchain. Each problem comes with the command that fixes it.

Example output in a repository where Forge is not set up yet (abbreviated):

text
Forge Status Check
=================

ℹ Project Root: /home/user/my-repo
⚠ Forge: Not initialized
 Run: frg config init

ℹ Coding Agent: not installed
 Error: Agent error: GitHub Copilot CLI is not installed or not found in PATH.
✗ Toolchain: Missing (REQUIRED)

 Run: frg config init --agent <agent> --issues <name> --code <name>
 Example: frg config init --agent github_copilot --issues github_issues --code github

frg diagnose runs the same kind of checks offline and summarizes readiness:

text
Forge Readiness Assessment
------------------------
✗ Status: Error
 Based on local configuration and diagnostic data.

Status Checks
-------------
 WARN Initialization: Project root found at . but .forge/ missing
 → Run 'frg config init' to initialize frg in this repository
 FAIL Agent: Agent not installed: GitHub Copilot CLI
 → Install GitHub Copilot CLI to use frg with AI agents
 FAIL Toolchain: toolchain.toml is missing (REQUIRED)
 → Run 'frg config init --issues <tool> --code <tool>' to create toolchain.toml

Find your symptom

Search this page for the text of your error (Ctrl+F). Messages are shown as Forge prints them; <n> and <name> stand for values that vary.

Installation and setup

Symptom or exact errorLikely causeGo to
frg: command not found or 'frg' is not recognizedThe binary is not on PATHInstallation
version 'GLIBC_2.39' not foundStandard Linux binary on an older glibcInstallation
Detected a musl-based system (e.g. Alpine Linux).Installer on Alpine or a host without detectable glibcInstallation
SmartScreen, AppLocker, or WDAC blocks frg.exeDownloaded-file mark or organization policyInstallation
Initial configuration required.No Forge configuration found for this directoryConfiguration
Toolchain: Missing (REQUIRED)toolchain.toml was never createdConfiguration
At least one of issue_tracker or ticket_tracker must be configuredtoolchain.toml has no trackerConfiguration
Monorepo is enabled but no services are defined.monorepo.enabled = true without servicesConfiguration
TOML parse error at line <n>, column <m>Syntax error in a configuration or workflow fileConfiguration
Configuration has changed since last lock.A config file changed after frg config lockConfiguration
Telerik license not found.No license file or license variableConfiguration
License expired on <date> or Your license is no longer valid.Expired subscription or trialConfiguration
License signature verification failedLicense file edited or incompleteConfiguration
Invalid OpenSearch URI format in telemetry.tomlBad [opensearch] settingsConfiguration

Agents and sessions

Symptom or exact errorLikely causeGo to
GitHub Copilot CLI is not installed or not found in PATH.Agent CLI missing or not on PATHAgent
Install with: gh extension install github/gh-copilot (from frg config validate)Outdated install hintAgent
GitHub Copilot CLI is not authenticated.Agent not logged inAgent
Authentication check timed out - assuming authenticated (agent may be slow)Slow agent start-upAgent
No default agent is configuredagents.toml missing or has no defaultAgent
command is not supported for GitHub Copilot invocationcommand = "gh" in agents.tomlAgent
Agent exited with code <n>The agent CLI failedAgent
Agent run times outLarge context, slow service, or rate limitAgent
Claude Code stops mid-run on WindowsAgent process crashedAgent
Multiple sessions exist with name '<name>'A cancelled run left a duplicate Copilot sessionAgent
session expired or cannot resume sessionThe agent no longer has the saved sessionAgent
Run pauses and retries on its ownTransient upstream failure (HTTP 429, 5xx, timeout)Runtime

Workflows

Symptom or exact errorLikely causeGo to
Issue ID required for 'issue' operationsNo issue, PR, or ticket context setWorkflow
The --retry flag requires a previous session to continue.No session to continueWorkflow
<n> output(s) missingAgent did not create every expected fileWorkflow
Prompt injection detected and BLOCKEDInput matched a prompt-safety ruleRuntime
Workflow lock held by PID <pid>Another workflow runs, or an interrupted run left a lockWorkflow
Loop detection triggered, requesting approvalA state was visited too many timesWorkflow
No step for non-terminal stateA state has no command, operation, or approvalWorkflow
No terminal state is reachable from initial stateWorkflow definition never endsWorkflow

Tail, telemetry, and commands

Symptom or exact errorLikely causeGo to
No job context available for tail command--tail without an issue or ticket contextTail
Trace directory not found: <path>No workflow has run for this job yetTail
Timeout waiting for trace fileThe workflow did not startTail
OTLP authentication failedWrong or missing endpoint headersRuntime
OTEL upload skipped - circuit breaker openRepeated upload failuresRuntime
error: unrecognized subcommand 'telemetry'The command is not in your Forge versionRuntime
A newer version of frg is availableUpdate check noticeRuntime
CI environment detected, exitingBeta terms not accepted in CIRuntime
Configuration not available for workflow execution.Internal configuration errorConfiguration

Collect diagnostics

frg diagnose checks readiness offline and can package everything support needs into one archive. Use it instead of collecting system information by hand.

OptionDescriptionDefault
--format <FORMAT>Output format: human or jsonhuman
--bundleGenerate a support bundle archive (.tar.gz)Off
-o, --output <PATH>Output path for the bundleTimestamped file in the current directory
--include-tracesInclude trace files from the last 24 hoursOff
--include-logsInclude log files from the last 24 hoursOff
-v, --verboseInclude detailed file paths and timing informationOff
-q, --quietSuppress all output except errorsOff

Common commands:

bash
# Readiness check in the terminal
frg diagnose

# Machine-readable output, for example to attach to a CI log
frg diagnose --format json

# Support bundle with recent logs and traces
frg diagnose --bundle --include-logs --include-traces --output frg-support.tar.gz

The bundle contains diagnostic.json, manifest.json, and the selected log and trace files. Forge does not overwrite an existing file. If the output path exists, the command fails with Output file already exists: <path>. Use --output to specify a different path.

Warning: Traces contain your prompts, agent output, and repository content. Open the bundle and remove anything confidential before you share it.

For JSON fields, size limits, and exit codes, see Diagnostic Command.

Logs and traces

Every workflow run writes to a job directory under .forge/work/. For issue-based work the directory is usually job_<issue_id>, for example .forge/work/job_42/.

LocationContents
.forge/work/<job>/traces/*.trace.mdOne timestamped file per agent run: context files, final prompt sent to the agent, agent output, and agent stderr
.forge/work/<job>/logs/system.logForge's internal log for the job, including OpenSearch and telemetry warnings
.forge/work/<job>/logs/transaction.jsonlMachine-readable workflow events. See Transaction Logs
.forge/work/ask/traces/, .forge/work/run/traces/Traces from frg ask and frg run, which do not use a job context
.forge/logs/utility.jsonlEvents from utility commands such as frg config set-issue

Find and read the most recent trace for issue 42:

bash
ls -t .forge/work/job_42/traces/ | head -n 5
less ".forge/work/job_42/traces/$(ls -t .forge/work/job_42/traces/ | head -n 1)"

Search the job logs for errors:

bash
grep -rn -i "error" .forge/work/job_42/logs/

To watch a trace while the agent runs, use frg --tail in a second terminal. See Tail Issues.

Turn on debug logging

Set RUST_LOG=debug to print detailed log output for one command:

bash
RUST_LOG=debug frg issue draft 2>&1 | tee frg-debug.log

In Windows PowerShell:

powershell
$env:RUST_LOG="debug"; frg issue draft 2>&1 | Tee-Object -FilePath frg-debug.log

Use RUST_LOG=trace only when support asks for it. It is very verbose.

Get help and report a bug

  1. Search this guide. Run frg guide to open the user guide, or go to https://www.telerik.com/forge/documentation.
  2. Check existing issues at https://github.com/telerik/forge/issues.
  3. If the problem is new, open an issue there and include:
  • The output of frg --version and your operating system.
  • The agent you use (claude_code, github_copilot, or opencode) and its version, for example copilot --version.
  • The exact command you ran, with secrets removed.
  • The complete error message.
  • A support bundle from frg diagnose --bundle --include-logs --include-traces, after you remove confidential content.
  1. For license purchases or renewals, contact your Progress representative.

See Also