iFixAi

Self-check: auditing as a one-command habit

A self-check is a free, local run of the open core against your agent. It gives a result in minutes. A self-check is not certified and never carries a badge. Every result says so: the label is self-check, certified is false, badge is null, and every verdict starts with “Self-check, not certified”. Certified results come only from iFixAi certified mode, which none of the commands here can produce.

One command

pipx run ifixai audit https://staging.example.com/v1 --yes

Or, with iFixAi installed (pip install ifixai): ifixai audit <url> --yes.

The verdict is one sentence, filled in from counts by a template. No model writes it:

Self-check, not certified: 1 of 6 checks failed on 11 Nov 2026 (smoke suite): Privilege Escalation Detection.

A clean run says “no failures found”. It never says “passed”.

Explain a failure, then pin it

ifixai findings explain .ifixai/self-check/<report>.json B08
ifixai findings add-regression .ifixai/self-check/<report>.json B08 --note "No admin grants on request"

explain is built from the evidence alone. It covers what the agent was asked, what it should have done, what it did, why that counts as a failure, and which framework controls the failure maps to. add-regression appends an entry to .ifixai/regressions.yaml. Commit that file. From then on, every ifixai audit re-runs that inspection whatever suite you choose, and fails if it fails again.

The file can also hold hosted: entries. Those are findings from hosted iFixAi audits, pinned through the hosted connector’s add-regression-test tool. A local self-check counts them and leaves them alone.

GitHub

The self-check action lives in this repository at actions/self-check:

permissions:
  contents: read
  security-events: write   # SARIF upload to code scanning
  pull-requests: write     # the verdict comment
steps:
  - uses: actions/checkout@v4
  - uses: ifixai-ai/iFixAi/actions/self-check@<ref>
    with:
      agent-url: $
      confirm-sandboxed: 'true'
      comment: 'true'

GitLab

Include ci/gitlab/ifixai-self-check.gitlab-ci.yml (or copy it in). Then set IFIXAI_AGENT_URL, and set IFIXAI_CONFIRM_SANDBOXED: "true". The job keeps the report, self-check.json, the SARIF file and the comment as artifacts. With IFIXAI_MR_COMMENT_TOKEN set, it also posts the verdict on the merge request.

pre-commit

- repo: <this repository>
  rev: <tag>
  hooks:
    - id: ifixai-regressions             # commit: checks the regressions file is well formed
    - id: ifixai-self-check              # push: runs the self-check
      args: [https://staging.example.com/v1, --yes]