granthi-review v1: estate-wide AI code review service

Webhook-driven central review service for Granthi forges: HMAC-verified
push/pull_request webhooks, per-repo serialization with global LLM
concurrency 1, shre-router powered rubric review (8 axes, strict JSON,
tolerant extractor + retry), commit statuses + PR scorecard comments,
sqlite attribution ledger with Co-Authored-By trailer parsing, per-repo
HTML history dashboard, nightly per-agent digests, fail-open-with-
visibility when the router is unavailable.

Posture: BLOCK on confirmed critical/high correctness+security findings;
admin merge is the human override.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Nirav Patel
2026-08-18 23:24:27 -04:00
co-authored by Claude Fable 5
commit 9ffd810943
22 changed files with 1255 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"name": "granthi-review",
"version": "1.0.0",
"description": "Estate-wide AI code review service for Granthi (Gitea) forges. Webhook-driven, shre-router powered.",
"type": "module",
"main": "src/server.js",
"engines": { "node": ">=22.13" },
"scripts": {
"start": "node src/server.js",
"digest": "node src/server.js --digest",
"test": "node --test test/*.test.js"
},
"license": "MIT"
}