Docs

The pull-request check

The files that steer a coding agent live in your repository: CLAUDE.md, AGENTS.md, .cursorrules, .mcp.json, hook configurations, agent commands. A change to any of them changes what every agent on the team will do. This check makes that change visible in review. No account, no hooks, nothing on developer machines.

1. Commit a lockfile

in the repository root, in your own terminal
kova lock
git add kova.lock && git commit -m "chore: lock agent files"

kova lock writes kova.lock: every agent instruction and configuration file in the repository, keyed by relative path, with its SHA-256. It holds hashes only. It is a human act: the command refuses to run inside an agent session.

2. Add the workflow

.github/workflows/kova.yml
# .github/workflows/kova.yml
on: [pull_request]
jobs:
  kova:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ian-hickey/kova@v0.1.19

The action installs the released binary and runs kova verify --ci, which compares the checkout to kova.lock. It needs no secrets and no access beyond reading the repository.

3. What a failing check means

A pull request added or changed an agent instruction or configuration file without updating the lockfile. If the change is intended, the author runs kova lock and commits the result, and the reviewer sees the lock diff next to the change that needed it. If nobody intended it, you have found the thing the check exists for: an instruction file or an MCP server delivered through a pull request.

example output
✗ CI: 1 change(s) to agent instruction/config files in this checkout

  [high    ] mcp_server_added           claude-code:mcp_server:markdown-helper
             new MCP server configured (not in lockfile)

If intended, run `kova lock` locally, review the diff of kova.lock, and commit it with the change.

The same lockfile on developer machines

Once machines run kova too, the committed lockfile does a second job. A branch switch or a pull that changes a file the lock pins is accepted on the spot, because the change was already reviewed in the pull request. See what gets reported.