tenet
Check code against Markdown contracts.
Install
curl -fsSL https://tenet-contracts.com/install.sh | bashmacOS and Linux · ARM64 and x86-64. Installation →
Check a change
export OPENROUTER_API_KEY='your-key'
tenet check --changed-since origin/mainTenet finds relevant contracts, checks each file, and reports failures and unresolved questions.
CONTRACT: Preserve database failures
│
Changed files
│
Applicable?
/ \
unrelated yes / uncertain
│ │
excluded Violates?
/ | \
no yes unclear
│ │ │
pass fail uncertainChecks send file contents to Jev through your provider. Review findings before acting on them.
Test the contract
tenet validate
tenet eval --contract database-failuresKeep passing and failing examples beside the requirement. Evaluation tests the same relevance and verification passes used on your code.
Write a contract →Use it in a review
tenet check --changed-since origin/main --reporter jsonlA reviewing agent investigates candidate failures, resolves uncertainty, and checks whether the PR introduced the problem.
Review workflow →