> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ironbee.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> IronBee (ironbee.ai) is an AI QA engineer: it verifies code changes against the running app and keeps the evidence. It is not related to the IronBee open-source web application firewall.
> The console is at https://console.ironbee.ai.
> Install the CLI with `npm install -g @ironbee-ai/cli`, sign in with `ironbee login`, and set up a project with `ironbee install`.
> In GitHub workflows, use the action as `ironbee-ai/ironbee-action@v1` and pass the `IRONBEE_API_KEY` secret as the `ironbee_api_key` input.
> In GitLab pipelines, include the component `gitlab.com/ironbee-ai/ironbee-gitlab/verify@v1`; it reads the `IRONBEE_API_KEY` CI/CD variable by default.
> In Bitbucket Pipelines, run the pipe `docker://ghcr.io/ironbee-ai/ironbee-bitbucket:v1` and pass `IRONBEE_API_KEY: $IRONBEE_API_KEY` and `BITBUCKET_OAUTH_TOKEN: $BITBUCKET_OAUTH_TOKEN` under its `variables:`.
> Console scenarios (https://docs.ironbee.ai/console/scenarios) and CLI saved scenarios (https://docs.ironbee.ai/cli/guides/scenarios) are separate features.
> For plans and prices, link to https://ironbee.ai/pricing; the website is the source of truth for them.

# Diagnostics

> Find out why a run didn't behave as expected, from the plan line to the report banners.

When a run doesn't behave as expected, start with the lines the action writes at the top of its log, then the report in the job summary or on the pull request.

***

## Read the plan

The action's first real step resolves the plan and logs it:

* **the mode and why it was picked**, for example: auto, the repository is public, so the platform can check it out
* **the target**: a deployed URL, or the port of an app on the runner
* **the `timeout-minutes` the run needs.** Set at least that much on the job

Below the plan, the action warns about inputs that don't apply to the mode it runs in, and about conflicts such as a port in `app_url` that differs from `app_port`. A warning means a setting was ignored, not that the run failed.

***

## Verbose logging

Set `verbose: 'true'` to log each tool call with its arguments, the tool responses, the prompt and the verdict details:

```yaml theme={null}
- uses: ironbee-ai/ironbee-action@v1
  with:
    ironbee_api_key: ${{ secrets.IRONBEE_API_KEY }}
    app_url: https://preview.example.com
    verbose: 'true'
```

***

## Common problems

| What you see | Why | What to do |
| - | - | - |
| The run stops at the plan with "no target" | Neither `app_url` nor `app_start_command` with `app_port` is set | Add a target. See [Verifying your application](https://docs.ironbee.ai/github-action/guides/verifying-your-app.md) |
| The run fails before verifying, on a `401` or `403` | The deployment is protected, and the reachability request before the run doesn't carry a bypass. It sends `app_headers` and `app_secret_headers` on IronBee, and no headers on your runner | On IronBee, pass the bypass in `app_secret_headers`. Otherwise verify the app on the runner. See [Protected deployments](https://docs.ironbee.ai/github-action/guides/verifying-your-app.md#protected-deployments) |
| A warning that the URL "answers 302, redirecting to" another address | The deployed URL redirects, for example to a sign-in page. The reachability request doesn't follow redirects | Nothing, if the redirect leads to your app. If it's a sign-in page, the verdict describes that page: pass the bypass in `app_secret_headers`, or verify the app on the runner |
| The report says the run could not read the repository | A private repository that the IronBee GitHub App doesn't cover | Install the [GitHub App](https://docs.ironbee.ai/integrations/github.md) on the repository, or set `ironbee_bind_repository: false` |
| **No verification ran** with `PROJECT_ARCHIVED` | The project is archived in the console | Unarchive it, or report to another project with `ironbee_project` |
| **No verification ran** with `TARGET_OUTSIDE_ENVIRONMENT_DOMAIN` | `app_url` is outside the Domain properties of the environment in `ironbee_environment` | Point `app_url` at a host inside those domains, or change the environment's domains |
| **No verification ran** with `ENVIRONMENT_DOMAIN_NO_TUNNEL` | An app on the runner was verified against an environment that has Domain properties | Verify a deployed URL instead, or use an environment without domains |
| The run fails with "speaks TLS" | The app on the runner answers with HTTPS | Serve the app over plain HTTP on `app_port` |
| **No verdict** | The verification ended without a verdict | Open the run in the console from the report link to see how it ended |
| The job is cancelled partway | `timeout-minutes` is lower than the run needs | Raise it to the value the plan logs |
| **Session ended early** (on your runner) | The agent reached `claude_code_max_turns`, or stopped on an error | Raise `claude_code_max_turns`, or narrow the work with `verification_prompt` |
| "could not push the fixes to `<branch>`, the branch may have moved since this run checked it out" | Someone pushed to the pull request branch during the run | Run the workflow again on the new head |
| The run fails at the plan with "this is a pull request from a fork" | Forks receive no secrets | Expected. Verify after merging, or with a manual dispatch on the branch |
| **No verification ran** with `CREDITS_EXHAUSTED` | The team's credits for the month are used up | See [Credit usage](https://docs.ironbee.ai/console/usage.md) |

***

## Look at a run from your machine

With the [IronBee CLI](https://docs.ironbee.ai/cli/get-started/getting-started.md) signed in to the same account, check a run on IronBee by its `job_id`:

```bash theme={null}
ironbee verify status <job_id>
```

See [Verification jobs](https://docs.ironbee.ai/cli/guides/verification-jobs.md).

***

## Session logs from your runner

When the verification ran on your runner, the [evidence artifact](https://docs.ironbee.ai/github-action/advanced/evidence.md#runs-on-your-runner) includes the session's own logs. Each agent of the session has its own folder, `sessions/<id>/agents/<agentId>/`, and the main agent's is `agents/main/`:

* `verdict.json` holds that agent's latest verdict.
* `actions.jsonl` is its full event log.

If the agent stopped early, the report shows a banner with a collapsible block: the reason, the turns, errors and any blocked tool calls.

***

## What's next?

> [card] [Evidence](https://docs.ironbee.ai/github-action/advanced/evidence.md)
>
> Where the recording, screenshots and logs are.

> [card] [Configuration](https://docs.ironbee.ai/github-action/configuration/configuration.md)
>
> Every input and output, with defaults.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.