Skip to main content

The gap in most sprint workflows

Teams track requirements in Jira, Linear, or Notion. Developers implement them in PRs. But nobody systematically checks whether the PR actually covers all the acceptance criteria — until QA finds gaps in staging. This cookbook closes that loop with Business Logic Validation: Kody checks each PR against the task it references.

The workflow

Step 1 — Connect your task tracker

In the sidebar, open Plugins and connect your tool:
  • Atlassian Rovo — for Jira
  • Linear
  • Notion
  • Git Issues — for issues in your repository’s own tracker
Any other tracker works through a custom plugin. Kody only reads tasks by their id and never writes to your tracker.

Step 2 — Check that Business Logic is on

It’s on by default. Turn it on or off in Code review → What to review, on the Business Logic row, or in kodus-config.yml (read only when Prefer kodus-config.yml settings is on for the repository):

Step 3 — Write good acceptance criteria

How much Kody can check depends on the task: Template for Jira/Linear tasks:
If your criteria sit under a heading or in a custom field, set Where acceptance criteria live in the Business Logic settings.

Step 4 — Make the PR name its task

Kody looks for the task in the PR title, branch name and description, in that order: a key like KC-1292, #123, AB#123, or a link to the task. “Closes KC-1292” checks the PR against the whole task. “Part of KC-1292” checks a slice and lists what is missing without calling it a blocker. To require it, open Code review → What to review → Business Logic and turn on Ask for a task when the PR references none. Kody then comments asking which task the PR is for. Bot PRs such as Dependabot are left alone.

Step 5 — Re-check as the PR changes

Kody checks on the PR’s first review. After that, comment:
Kody edits its one comment instead of posting a new one. To check against a specific task, add its link or id: @kody -v business-logic https://kodustech.atlassian.net/browse/KC-1292. To re-check without asking, set Re-check after a push to While something is missing: each push re-checks until every requirement is met.

Step 6 — Teach the team’s conventions

In the Business Logic settings, Team guidance holds notes Kody follows when it judges:
A reviewer, not the PR’s author, can also accept a gap by replying to Kody’s comment and mentioning Kody, for example “@kody Out of scope, moved to SAA-102”. Kody confirms the task exists and marks the requirement accepted. See Replying to the comment for who can accept.

The result

After setup, every PR in your sprint gets:
  1. Code quality review — security, performance, style (standard Kodus)
  2. Business logic validation — each requirement shown as met, partial, missing or to check by hand, plus changes the task doesn’t ask for
QA finds fewer gaps, sprint demos go smoother, and “I thought that was done” becomes rare.

Tips

  • Encourage the team to write numbered acceptance criteria — they get the best validation
  • Run @kody -v business-logic during development, not just at review time
  • For phased delivery, say “Part of KC-1292” in the PR description so Kody doesn’t treat the rest as blockers
For details, see Business Logic Validation.