Skip to content

Fix tasks & agent policy

The agent investigates an error, plans, and opens a pull request inside your limits.

In the console: Console → Intelligence → Fix Tasks · Settings → Agent policy

All guides

A fix task is the agent’s work on one error group: investigate, write a plan, and — when the policy allows — push a branch and open a pull request, then watch the error after the merge and write a report.

In every mode the agent has no shell, cannot merge, deploy or roll back, and cannot touch CI workflows or secrets.

Why use it

  • An error group needs a code change and you want a first plan or pull request prepared for review.

How it works

  1. 1The agent reads the error, its traces and the code in the connected repository with read-only tools.
  2. 2It writes a plan; depending on the policy it waits for approval or, inside your limits, pushes a branch and opens a pull request.
  3. 3After the merge it compares the error before and after, and writes a report (also to Jira).

What you get

  • A task page with timeline, investigation and plan, changes (diff), pull request, verification and report.
  • “What the agent needs” on the Fix Tasks page: the repository connection and policy it still lacks.
  • The report posted to Jira when the integration is set up.

Before you start

  • A Git provider connected (Setup → Git: GitHub, GitLab or Bitbucket) with write access to the repositories the agent may change.
  • An Owner or Admin to set the agent policy.

Set it up

Get Started shows these commands with your key already filled in — copying from there is the quickest path. Here, <your-key> marks where it goes.

  1. 1

    Choose the permission mode

    Settings → Agent policy:

    reference
    Restricted              Fix tasks are off. Investigate AI still works.
    Read Only               Reads the error and the code, writes a plan. Never changes code.
    Assisted                Writes a plan and waits. After a person approves, pushes a branch
                            and opens a pull request.
    Controlled Autonomous   Inside the limits below, and when its confidence is not low,
                            opens the pull request without waiting. Anything outside the
                            limits stops for a person.
  2. 2

    Set the limits

    Scope (which repositories), paths it may never touch, the size of a change, and the observation after a merge (how long it compares the error before and after). A plan outside the limits is refused, not trimmed.

  3. 3

    Start a task

    Fix Tasks → Start fix task, and choose the error group.

Use it

  1. 1

    Approve or reject a plan

    In Assisted mode the task waits at the plan. Approve to let it open the pull request; reject with a reason to stop it.

Uninstall / remove

  1. 1

    Turn it off

    Set Agent policy to Restricted. Running tasks can be cancelled from their page.

  2. 2

    Revoke repository access

    Setup → Git → Remove token, and delete the token at your Git provider.

Troubleshooting

The problems seen most, each with what to run. Still stuck? See the general Troubleshooting guide.

The task stops at “needs repository”

Connect the repository the error’s service is built from, and make sure the token can push branches and open pull requests there (Assisted and Controlled Autonomous).

The plan was refused

It touched a denied path or went beyond the size limit. Widen the limit for that repository, or make the change by hand.

Something here does not match what you see in the console? Open Help → Support in AppStatus or write to support@appstatus.io with the page and what you ran.