For AI agents: the complete documentation index is available at https://docs.gage.io/llms.txt, the full documentation bundle is available at https://docs.gage.io/llms-full.txt, and this page is available as Markdown at https://docs.gage.io/how-to/scan.md.

Scan a session

A session holds problems that you did not see while you worked: an instruction your agent ignored, a bug it wrote, a claim it did not check. A scan reads the whole session and reports each problem as an issue that you can act on.

Before you start

Install Gage and run gage init. See Quick start.

Steps

  1. Find the ID of the session.

    gage session list
  2. Scan the session. Gage asks which scanners to run. Press Enter to accept the defaults.

    gage scan 113509cd
  3. List the issues the scan found.

    gage issue list
  4. Resolve the issues. Gage starts your coding agent, which takes you through each issue and makes the fixes you approve.

    gage resolve