Comprende Set up a team
GitHub

Or try to sneak past Hana

Agent hookGit pre-pushCI checkRequired on main

Push code you can explain.

The agent explains what it writes. Before you push, it asks you about it.

Claude Code
claude plugin marketplace add AbdulrahmanMasoud/comprende && claude plugin install comprende@comprende
Cursor
git clone https://github.com/AbdulrahmanMasoud/comprende.git ~/.cursor/plugins/local/comprende
Codex
codex plugin marketplace add AbdulrahmanMasoud/comprende && codex plugin add comprende@comprende
Antigravity
agy plugin install https://github.com/AbdulrahmanMasoud/comprende

Needs Node.js 20+. Linux and macOS; Windows is experimental.

Every team has had this night.

2:14 p.m.The AI writes 300 lines in a minute.
+312 −40 in 9 filesLGTMapproved in 2 min
2:31 p.m.The PR gets a "LGTM" in two minutes.
3:07checkout is failing
3:07 a.m.Production is down.
3:09 a.m."Who understands this code?" Nobody does.

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.

46%

of developers don't trust the accuracy of AI output. A year earlier, it was 31%.

Stack Overflow Developer Survey, 2025
19%

slower: experienced open-source developers took longer with AI tools, while expecting to be 24% faster.

METR randomized trial, 2025
7.2%

less delivery stability for every 25% rise in AI adoption.

Google DORA report, 2024
4×

more code cloning in 2024, the first year copy-paste outgrew refactored code.

GitClear AI code quality report, 2025

What 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.

0 of 5 done
  1. 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
  2. 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:

  3. 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.json
  4. Make 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.
    1. Settings, then Branches: add a protection rule for the default branch.
    2. Turn on "Require a pull request before merging" and "Require review from Code Owners".
    3. Turn on "Require status checks to pass", with the check Ownership check.
  5. 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. Needs agy 1.5.3 or later. On Windows, also run install-hooks once per clone.
    No pluginRun node .learning/gate.mjs install-hooks once 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