Autofix

Autofix automatically launches a coding agent to fix an issue the moment it transitions to the ACTIONABLE workflow state — no manual click on the issue’s Fix dropdown required.

It is opt-in and configured per organization through a single AutofixSettings resource: a toggle plus the coding-agent Connection to launch. While enabled, every transition into ACTIONABLE launches a session on the selected agent (best-effort — a launch failure never blocks the issue update). Issues created directly in the ACTIONABLE state are not auto-fixed; only transitions trigger autofix.

Service: firetiger.autofix.v1.AutofixSettingsService

Resource name pattern: autofix-settings/{autofix_settings} (singleton — the only instance is autofix-settings/default)

Access: Read + update

The settings are a singleton: there is no Create or Delete, only Get and Update. GetAutofixSettings returns disabled defaults on first read, so it is always safe to call from a fresh onboarding UI.

Methods

Method Description
GetAutofixSettings Retrieve the organization’s autofix settings
UpdateAutofixSettings Enable/disable autofix and select the coding-agent connection

GetAutofixSettings

GET /v1/autofix-settings/current

Returns the singleton AutofixSettings for the caller’s organization. When no settings have been saved yet, returns the disabled default (autofix-settings/default, enabled: false, no connection).

Response

{
  "autofixSettings": {
    "name": "autofix-settings/default",
    "enabled": true,
    "codingAgentConnection": "connections/cursor-prod"
  }
}

UpdateAutofixSettings

PATCH /v1/{autofix_settings.name=autofix-settings/*}

Edits the enabled toggle and/or the selected coding_agent_connection. Partial updates follow the standard field-mask convention via update_mask.

enabled: true requires a coding_agent_connection — an update that would leave autofix enabled without a connection is rejected with INVALID_ARGUMENT, since autofix could never launch.

Body

Field Type Required Description
autofix_settings.enabled bool No Whether autofix is enabled for the organization.
autofix_settings.coding_agent_connection string No Resource name of the coding-agent connection to launch, e.g. connections/cursor-prod. Must be a coding-agent connection type.
update_mask string No Comma-separated field paths to update (e.g. enabled,codingAgentConnection).

Example

{
  "autofixSettings": {
    "enabled": true,
    "codingAgentConnection": "connections/cursor-prod"
  },
  "updateMask": "enabled,codingAgentConnection"
}

This site uses Just the Docs, a documentation theme for Jekyll.