Commit Graph
14 Commits
Author SHA1 Message Date
Nirav Patel 1144864b06 Merge pull request 'fix(review): run claude-cli models directly' (#6) from fix/claude-cli-direct-review into main 2026-09-05 14:48:23 -04:00
Nirav Patel 6b131e1427 Merge pull request 'fix(verdict): findings resolved by the change under review never block' (#5) from fix/resolved-findings-dont-block into main 2026-08-22 14:44:49 -04:00
Nirav Patel 10bbd598f3 Merge pull request 'fix: diff-fetch fallback chain — stop failing open on compare 404' (#4) from fix/diff-fetch-fallback into main 2026-08-19 12:01:42 -04:00
Nirav Patel d0b21927e7 Merge pull request 'fix: review hardening — full push-range diff, fail-closed diff fetch, crash-safe queue, 403 self-heal' (#3) from fix/review-hardening into main 2026-08-19 09:15:41 -04:00
Nirav PatelandClaude Fable 5 9f2927c33e docs: deployment reality — webhook coverage, router bypass flags, v1 limitations
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-19 00:04:06 -04:00
Nirav Patel aa6f2c8715 Merge pull request 'test: live review smoke' (#1) from test/live-review-smoke into main 2026-08-19 00:02:49 -04:00
Nirav PatelandClaude Fable 5 7d7b69e4e4 test: final e2e verification run
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-19 00:01:05 -04:00
Nirav PatelandClaude Fable 5 f7b56297a8 fix: raw:true bypass for router keyword fast-paths + c-suite fallback agent
Two live-observed router hijack modes on diff content: (1) retail/store
fast-paths (store-resolver, arm:sales) intercepting prompts whose diffs
mention sales/store-ish words, (2) domain preflight 400 agent_mismatch
when the intent classifier confidently misclassifies a diff. raw:true
(_bypassToolRouting) disables the keyword intercepts; attempt 2 retries
as the configurable c-suite fallback agent (architect) which bypasses
the tier-gated domain preflight.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-19 00:00:37 -04:00
Nirav PatelandClaude Fable 5 7416df88c9 feat: pull PR commits for Co-Authored-By attribution on PR reviews
PR webhooks only carry title/body; fetch /pulls/{i}/commits so the
trailer ledger and per-agent digests attribute PR reviews correctly.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:52:43 -04:00
Nirav PatelandClaude Fable 5 ed4b347cab fix: send tools:false to the router so skill fast-paths cannot hijack reviews
The router's current-info briefing fast-path (enableToolsEffective gate)
was intercepting review prompts whose diffs mention GitHub-like terms and
returning a trending-repos digest instead of the model's review. Reviews
need pure model reasoning; body.tools=false disables the tool layer.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:41:09 -04:00
Nirav PatelandClaude Fable 5 74222a1631 fix: handle OpenAI-style router responses + log unparseable model output
The router's response shape varies by upstream: some backends return
.message.content, some choices[0].message.content, some only top-level
.content. Prefer them in that order. Record the actually-served model
(_shre.model) in the ledger and log a snippet of unparseable output for
diagnosis.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:35:12 -04:00
Nirav PatelandClaude Fable 5 e3ad9c25fc test: retrigger review webhooks
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:27:50 -04:00
Nirav PatelandClaude Fable 5 bd148c4b50 test: live-review smoke marker
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:25:58 -04:00
Nirav PatelandClaude Fable 5 9ffd810943 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]>
2026-08-18 23:24:27 -04:00