docs
v0.7.8

Slash Commands

Slash commands are posted as comments on GitHub pull requests linked to Codality tickets.

Available commands

Command Action
/codality retry Resets the auto-retry counter to 0, giving the agent 3 more CI fix attempts. Use this after making a manual fix or when you want the agent to try again.
/codality status Posts a comment with the current ticket status, agent state, and retry count.

Usage

Post the command as a regular comment on the pull request:

/codality retry

Codality detects slash commands via the issue_comment webhook. The command must be the first line of the comment.

Retry behavior

The /codality retry command:

  1. Resets auto_retry_count to 0 on the PR
  2. The next CI failure triggers the agent again with a fresh count
  3. The agent gets 3 more autonomous attempts

This is useful when:

  • The agent exhausted its 3 retries but you've made a manual change that might help
  • You want to force the agent to try again after fixing something upstream
  • CI failed for infrastructure reasons (flaky tests, network issues) and you want a retry

Non-command comments

Comments that don't start with /codality are treated as regular PR comments. The agent starts a new session to address them. See CI Feedback Loop.