File size: 2,341 Bytes
1abc9a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
license: other
license_name: all-rights-reserved
license_link: https://github.com/NagaYu/repogrant/blob/main/LICENSE
pretty_name: RepoGrant dev bench
language:
- en
tags:
- ai-agents
- agent-security
- static-analysis
- claude-code
- codex
- cursor
- gemini
- mcp
---

# RepoGrant — dev bench

The **development benchmark** for [RepoGrant](https://github.com/NagaYu/repogrant),
an offline, deterministic verifier that computes the effective authority a
repository grants to AI coding agents (Claude Code, OpenAI Codex CLI, Cursor,
GitHub Copilot, Gemini CLI) — per tool, under each tool's documented semantics,
including the silent-config defaults.

This dataset is the **dev bench only**: the fixture repositories plus their
expected results and the Gate 1 self-scoring runner. It is a self-authored
regression harness (self-consistency, not evidence of generalization).

> The project's **sealed holdout** (Gate 2) is **not** part of this dataset and
> is never published — no cases, no labels, no ids, no hashes. Generalization
> evidence lives in the field audit over 120 wild public repos, summarized in
> the GitHub repository.

## Contents

```
bench/
  repos/clean/   10 clean fixtures   (correctly-configured repos → expect 0 findings)
  repos/mut/     15 mutation + 2 malformed fixtures (each injects a known risk class)
  expected.json  expected per-repo findings (the labels)
  make_repos.py  fixture materializer
  runner.py      Gate 1 self-scoring runner
LICENSE          All Rights Reserved
```

The six risk classes: **R1** hook/auto-run execution surface · **R2**
pre-approval overreach · **R3** cross-tool divergence · **R4**
silence-is-not-safety defaults · **R5** secret-reach composition · **R6**
unpinned execution supply chain.

## Reproduce Gate 1

Clone the checker from GitHub, place this `bench/` under the `repogrant/`
package, and run:

```bash
python3 bench/runner.py
```

Expected: **GATE 1: GO** — per-class recall 1.00, clean-repo false positives
0/60 (repo,check) pairs, zero silent drops, byte-identical determinism.

## License

All Rights Reserved. The Materials are made publicly visible solely so that
they can be read and evaluated; no license is granted. See `LICENSE`.
Licensing or transfer inquiries via the author's portfolio:
<https://nagayu-portfolio.nagayu.workers.dev/en>.