Skip to content

Commit d3000fc

Browse files
authored
Merge pull request #1 from tonyloehr/codex/reviewops-auditor-benchmark
feat: add ReviewOps auditor benchmark plugin
2 parents f38347e + 9bde45d commit d3000fc

114 files changed

Lines changed: 66821 additions & 30 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/plugins/marketplace.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@
1515
"authentication": "ON_USE"
1616
},
1717
"category": "Developer Tools"
18+
},
19+
{
20+
"name": "reviewops-auditor-benchmark",
21+
"source": {
22+
"source": "local",
23+
"path": "./plugins/reviewops-auditor-benchmark"
24+
},
25+
"policy": {
26+
"installation": "AVAILABLE",
27+
"authentication": "ON_USE"
28+
},
29+
"category": "Developer Tools"
1830
}
1931
]
2032
}

‎.github/workflows/grafana-observability.yml‎

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,8 @@ concurrency:
4242
cancel-in-progress: true
4343

4444
jobs:
45-
package:
46-
name: Packaged tests / Node ${{ matrix.node }}
47-
runs-on: ubuntu-latest
48-
timeout-minutes: 10
49-
strategy:
50-
fail-fast: false
51-
matrix:
52-
node: ["22.19.0", "24", "26"]
53-
steps:
54-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
55-
with:
56-
persist-credentials: false
57-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
58-
with:
59-
node-version: ${{ matrix.node }}
60-
package-manager-cache: false
61-
- run: npm run validate
62-
- run: npm run verify:grafana:source
63-
- run: npm run test:grafana
64-
65-
grafana-live:
66-
name: Real Grafana / Docker
67-
needs: package
45+
grafana-e2e:
46+
name: Grafana E2E
6847
runs-on: ubuntu-latest
6948
timeout-minutes: 60
7049
steps:
@@ -75,6 +54,12 @@ jobs:
7554
with:
7655
node-version: "22.19.0"
7756
package-manager-cache: false
57+
- name: Validate package / Node 22.19
58+
run: npm run validate:grafana
59+
- name: Verify source / Node 22.19
60+
run: npm run verify:grafana:source
61+
- name: Packaged tests / Node 22.19
62+
run: npm run test:grafana
7863
- if: inputs.grafana_major != 'all'
7964
run: npm run test:grafana:live
8065
env:
@@ -85,3 +70,17 @@ jobs:
8570
run: npm run test:grafana:auth
8671
- name: Actual Codex installation and MCP launch
8772
run: npm run test:grafana:installed
73+
- name: Set up Node 24
74+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
75+
with:
76+
node-version: "24"
77+
package-manager-cache: false
78+
- name: Packaged tests / Node 24
79+
run: npm run test:grafana
80+
- name: Set up Node 26
81+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
82+
with:
83+
node-version: "26"
84+
package-manager-cache: false
85+
- name: Packaged tests / Node 26
86+
run: npm run test:grafana

‎.github/workflows/marketplace.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ concurrency:
3737

3838
jobs:
3939
validate:
40-
name: Validate marketplace
40+
name: Marketplace catalog
4141
runs-on: ubuntu-latest
4242
timeout-minutes: 10
4343
steps:
@@ -49,4 +49,3 @@ jobs:
4949
node-version: "22.19.0"
5050
package-manager-cache: false
5151
- run: npm run validate:marketplace
52-
- run: npm run test:marketplace
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: ReviewOps Auditor + Benchmark
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/reviewops-auditor-benchmark.yml"
7+
- ".agents/plugins/marketplace.json"
8+
- "package.json"
9+
- "README.md"
10+
- "docs/reviewops-auditor-benchmark-implementation-plan.md"
11+
- "plugins/reviewops-auditor-benchmark/**"
12+
- "scripts/*reviewops*"
13+
- "scripts/validate-marketplace.mjs"
14+
- "tests/reviewops-auditor-benchmark/**"
15+
push:
16+
branches: [main]
17+
paths:
18+
- ".github/workflows/reviewops-auditor-benchmark.yml"
19+
- ".agents/plugins/marketplace.json"
20+
- "package.json"
21+
- "README.md"
22+
- "docs/reviewops-auditor-benchmark-implementation-plan.md"
23+
- "plugins/reviewops-auditor-benchmark/**"
24+
- "scripts/*reviewops*"
25+
- "scripts/validate-marketplace.mjs"
26+
- "tests/reviewops-auditor-benchmark/**"
27+
workflow_dispatch:
28+
29+
permissions:
30+
contents: read
31+
32+
concurrency:
33+
group: reviewops-auditor-benchmark-${{ github.workflow }}-${{ github.ref }}
34+
cancel-in-progress: true
35+
36+
jobs:
37+
reviewops-e2e:
38+
name: ReviewOps E2E
39+
runs-on: ubuntu-latest
40+
timeout-minutes: 15
41+
steps:
42+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
43+
with:
44+
persist-credentials: false
45+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
46+
with:
47+
node-version: "22.19.0"
48+
package-manager-cache: false
49+
- name: Cold copied package / Node 22.19.0
50+
run: node --test --test-concurrency=1 tests/reviewops-auditor-benchmark/integration/packaged.test.mjs
51+
- name: Install ReviewOps dependencies
52+
run: npm --prefix plugins/reviewops-auditor-benchmark ci --ignore-scripts
53+
- name: Full ReviewOps qualification / Node 22.19.0
54+
run: npm run test:reviewops-auditor-benchmark
55+
- name: Audit runtime dependencies
56+
run: npm audit --prefix plugins/reviewops-auditor-benchmark --omit=dev
57+
- name: Verify reproducible source bundle
58+
run: npm run verify:reviewops-source
59+
60+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
61+
with:
62+
node-version: "24"
63+
package-manager-cache: false
64+
- name: Full uninstrumented suite / Node 24
65+
run: npm --prefix plugins/reviewops-auditor-benchmark run test
66+
67+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
68+
with:
69+
node-version: "26"
70+
package-manager-cache: false
71+
- name: Full uninstrumented suite / Node 26
72+
run: npm --prefix plugins/reviewops-auditor-benchmark run test

‎README.md‎

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ paths instead:
3232
plugins/grafana-observability
3333
```
3434

35+
To fetch only ReviewOps Auditor + Benchmark, use:
36+
37+
```text
38+
.agents/plugins
39+
plugins/reviewops-auditor-benchmark
40+
```
41+
3542
Adding a marketplace makes its catalog available to browse. It does **not**
3643
install, enable, or authenticate every plugin. After adding it, install only
3744
the plugin you want.
@@ -47,6 +54,9 @@ codex plugin marketplace add tonyloehr/community-plugins \
4754

4855
# Install one plugin from that catalog.
4956
codex plugin add grafana-observability@community-plugins
57+
58+
# Or install the offline ReviewOps package.
59+
codex plugin add reviewops-auditor-benchmark@community-plugins
5060
```
5161

5262
If you want a full checkout instead of a sparse one:
@@ -62,9 +72,10 @@ are picked up.
6272

6373
## Available plugins
6474

65-
| Plugin | Purpose | Learn more |
66-
| --- | --- | --- |
67-
| [Grafana Observability](plugins/grafana-observability/README.md) | Inspect administrator-approved, read-only Grafana evidence for infrastructure, APM, logs, IoT/edge, and business KPIs. | [Guide](plugins/grafana-observability/README.md) · [23-second demo](docs/media/grafana-production-monitoring-demo-8x.mp4) |
75+
| Plugin | Purpose | Learn more |
76+
| ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
77+
| [Grafana Observability](plugins/grafana-observability/README.md) | Inspect administrator-approved, read-only Grafana evidence for infrastructure, APM, logs, IoT/edge, and business KPIs. | [Guide](plugins/grafana-observability/README.md) · [23-second demo](docs/media/grafana-production-monitoring-demo-8x.mp4) |
78+
| [ReviewOps Auditor + Benchmark](plugins/reviewops-auditor-benchmark/README.md) | Normalize sanitized review-run exports, audit evaluation validity, benchmark lanes, and emit shadow-only guidance offline. | [Guide](plugins/reviewops-auditor-benchmark/README.md) |
6879

6980
Grafana Observability requires Codex and Node.js 22.19 or newer. Its manifest
7081
declares both `Read` and `Write`. `Write` is limited to
@@ -78,6 +89,15 @@ install without touching a Grafana instance:
7889
Use $setup-grafana-observability to check the fixture profile and available packs.
7990
```
8091

92+
ReviewOps Auditor + Benchmark requires Codex and Node.js 22.19 or newer. Its
93+
manifest declares only `Read`; it has no app, MCP server, authentication,
94+
network call, model replay, workflow execution, or writeback path. Its first
95+
run is also synthetic and credential-free:
96+
97+
```text
98+
Use $normalize-review-runs on the bundled synthetic fixture only. Explain the normalization summary, provenance checks, safety boundaries, and next safe step.
99+
```
100+
81101
## Copy-paste Codex prompts
82102

83103
Browse before installing:
@@ -92,6 +112,12 @@ Install one plugin:
92112
If community-plugins is not already configured, add it from tonyloehr/community-plugins at ref main using sparse paths .agents/plugins and plugins/grafana-observability. Install grafana-observability@community-plugins, explain its permissions and authentication policy, and give me the credential-free smoke-test prompt for a new Codex task.
93113
```
94114

115+
Install ReviewOps without private data:
116+
117+
```text
118+
If community-plugins is not already configured, add it from tonyloehr/community-plugins at ref main using sparse paths .agents/plugins and plugins/reviewops-auditor-benchmark. Install reviewops-auditor-benchmark@community-plugins, explain its read-only offline boundary, and give me the synthetic-fixture smoke-test prompt for a new Codex task.
119+
```
120+
95121
Review before adoption:
96122

97123
```text
@@ -106,6 +132,7 @@ codex plugin marketplace upgrade community-plugins
106132

107133
# Reinstall a plugin after a new version is published.
108134
codex plugin add grafana-observability@community-plugins
135+
codex plugin add reviewops-auditor-benchmark@community-plugins
109136

110137
# Remove the configured marketplace source.
111138
codex plugin marketplace remove community-plugins

0 commit comments

Comments
 (0)