Prove that an agent's change meets a requirement
Use Kibi to show that code an AI coding agent wrote still meets the requirement it implements, with fresh end-to-end evidence bound to the current code and a report anyone can read.
An agent says "done" and the tests pass. That does not tell you which requirement the change was for, whether a test actually checks that behaviour, or whether the evidence is from this version of the code. Kibi answers those three questions for every requirement, in the repository and in a report you can publish.
From requirement to evidence
Each requirement is linked to the scenarios that describe it, the tests that verify those scenarios and the code symbols that implement it. A requirement counts as tested only when a test that claims to verify it has fresh, passing end-to-end evidence for the current code. A passing unit test somewhere else, a coverage percentage or an old result does not count. How Kibi works explains why.
Evidence comes from the test runner you already use. kibi prove runs the proof-bearing tests through an integration for Playwright, pytest or JUnit XML, Go or TAP, or any command with an exit code, and binds the result to the current snapshot of the code. Change the code, and the old evidence stops counting. The proving requirements reference has the details.
Some claims can go further than a test. Kibi reserves proved for a claim a checker established for every case, such as every state of a state machine or every route of an API, with a certificate a second program can re-check.
While the agent works
- After each edit, the plugin hook asks the agent to run
kb_checkon the changed files. It reports what the commit gate will report, before anything is staged. - A change to a function that no requirement owns is named, so the agent records what the code now does.
- A requirement whose evidence went stale is listed, so the agent reruns the tests that prove it with
kibi prove --stale.
What you see
The health report shows every requirement with its evidence level (proved, tested, asserted or unverified), which evidence is stale and which requirements contradict each other. Publish it on GitHub Pages with a badge, so a pull request shows whether proof still holds. See reading the report, the proof ladder and publishing requirement health. Kibi publishes its own report the same way.