Or try to sneak past Hana
Push code you can explain.
The agent explains what it writes. Before you push, it asks you about it.
claude plugin marketplace add AbdulrahmanMasoud/comprende && claude plugin install comprende@comprende
git clone https://github.com/AbdulrahmanMasoud/comprende.git ~/.cursor/plugins/local/comprende
codex plugin marketplace add AbdulrahmanMasoud/comprende && codex plugin add comprende@comprende
agy plugin install https://github.com/AbdulrahmanMasoud/comprende
Needs Node.js 20+. Linux and macOS; Windows is experimental.
Every team has had this night.
Comprende makes sure someone does: the person who shipped it.
It's not just a feeling.
More code, written faster, trusted less. Someone still has to understand it.
of developers don't trust the accuracy of AI output. A year earlier, it was 31%.
Stack Overflow Developer Survey, 2025slower: experienced open-source developers took longer with AI tools, while expecting to be 24% faster.
METR randomized trial, 2025more code cloning in 2024, the first year copy-paste outgrew refactored code.
GitClear AI code quality report, 2025What changes for you
Example written for this page
Who it's for
Set it up for your team on GitHub
Once per repo, by the lead. Tick each step as you go.
Install the plugin
In the AI tool you use. The commands are in the table above.
claude plugin marketplace add AbdulrahmanMasoud/comprende && claude plugin install comprende@comprende
Turn on the gate
Open the agent in the repo and say this. It asks who owns the settings, then opens a PR. Review it and merge.
Enable the ownership gate in this repo.
Or by hand, with your leads team as the owner:
What the PR adds. Tap a file:
Tune the rules
Change these keys in
.learning/config.json. Leave the rest as it is.When a check is missing
Sensitive paths always get questions
Merge these keys into .learning/config.jsonMake the check required
Without this, CI only warns. It needs admin access and the GitHub CLI.
Private repo on GitHub's free plan? No rulesets there.
- Settings, then Branches: add a protection rule for the default branch.
- Turn on "Require a pull request before merging" and "Require review from Code Owners".
- Turn on "Require status checks to pass", with the check Ownership check.
Bring the team in
Each developer, in the tool they use. One repo works for everyone, and each push is checked once.
Claude Code, CursorInstall the plugin. Their first session in the repo sets up the rest.CodexInstall it, then trust the project and the hooks in/hooks. Again after every plugin update.AntigravityInstall it. Needsagy1.5.3 or later. On Windows, also runinstall-hooksonce per clone.No pluginRunnode .learning/gate.mjs install-hooksonce per clone. The repo's hooks still stop the agent's push, except in Antigravity.
After that, day to day
On every PR
The Ownership check status, the developer's summary, and the concepts they explained per file.
Emergencies
Add the skip-ownership-check label. CI skips the check, and the label stays in the timeline.
Plugin updated?
Upgrade the repo's copy in its own PR: node <plugin>/dist/gate.mjs install --upgrade --repo .
Nobody can switch it off in a PR
CI runs the gate and the config from the base branch, not from the PR.
Ask Hana
Leading a team? Say Enable the ownership gate in this repo.
Set it up