feat(review): surface the improvement signal in the PR panel - #4954
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | 0258ec5 | Commit Preview URL Branch Preview URL |
Jul 11 2026, 02:58 AM |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4954 +/- ##
=======================================
Coverage 94.24% 94.25%
=======================================
Files 445 445
Lines 38880 38900 +20
Branches 14160 14171 +11
=======================================
+ Hits 36644 36664 +20
Misses 1577 1577
Partials 659 659
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-11 03:02:20 UTC
⏸️ Suggested Action - Manual Review
Review summary Blockers
Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
An AI reviewer flagged a likely defect, but its confidence was below this repository's configured close-confidence floor, so this is held for a maintainer to confirm instead of closing automatically. Resolve the flagged defect (see the review notes), or ask a maintainer to override. |
Combines the deterministic structural-improvement tier (#4742) and the LLM tier's composed value judgment (#4743) into a new advisory panel row, gated behind the improvementSignal converged feature (#4738). Re-checks both inputs against the public-safety filter as defense in depth, and fixes containsPrivatePublicTerm's regex (it had "hotkey" but was missing its "coldkey" sibling). Closes #4744 Part of epic #4737
… config copies .gittensory.yml.example and src/config/gittensory-repo-focus-manifest.ts's bundled copy already documented the new fields.improvementSignal toggle; .gittensory.yml and config/examples/gittensory.full.yml are two more copies of the same block that config-templates.test.ts and gittensory-focus-manifest.test.ts require to stay aligned.
b3c2c29 to
0258ec5
Compare
Summary
tier's composed value judgment (Extend ModelReview with an ordinal improvement/value judgment #4743) into a new "Improvement" panel row — gated behind the
improvementSignalconverged feature (Config-as-code foundation: improvementSignal as a converged feature (global + per-repo) #4738); nothing renders anything when it resolves false forthe repo.
the public sanitizer safely), never as sanitizer-filtered dynamic text.
containsPrivatePublicTermat render time — defense in depth, even though both are alreadyclaimed safe upstream.
buildPublicPrIntelligenceComment(legacyallRows) andbuildPublicPrPanelSignalRows(unified-comment bridge) so the two never diverge, matching how theother seven rows are already hand-mirrored between them.
fields.improvementSignaltoggle in the existing per-row show/hide mechanism, documented in.gittensory.yml.examplealongside its siblings.containsPrivatePublicTerm'sregex had "hotkey" but was missing its "coldkey" sibling.
Closes #4744
Part of epic #4737
Scope
type(scope): short summaryConventional Commit format.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
npm run typecheck— clean.npm audit --audit-level=moderate— 0 vulnerabilities.npx tsx scripts/check-engine-parity.ts— 22 hand-duplicated file pair(s) agree, no drift introduced.signals-coverage.test.ts,ai-review-advisory.test.ts,queue.test.ts,queue-2/3/4/5.test.ts) — 727/727 passing.coverage-final.json(not just the terminalsummary): zero uncovered statements/branches on any added line in
src/queue/processors.tsorsrc/signals/engine.ts. This included adding one new end-to-end test(
queue-4.test.ts, "PR panel: new advisory improvement-signal section #4744: threads the improvement-signal row into the unified comment...")specifically to exercise the
improvementSignalAllowedTRUE branch, since every other existingtest in the suite leaves the feature off (the default) — that already covers the FALSE branch
thousands of times over, but nothing previously drove the TRUE path at the
processors.tslevel.Safety
rankings, or private maintainer evidence are exposed.
forbidden vocabulary regardless of what findings/rationale feed it, mirroring this repo's existing
public-safety invariant-test style.
.gittensory.yml.example) updated for the newfields.improvementSignaltoggle.UI Evidence
N/A — this is a Markdown/text panel-comment change, not a rendered UI surface; no screenshot tooling
applies. The exact rendered row text is shown verbatim in the new regression test's assertions and in
this PR's Validation notes above.
Notes
gh pr view --json closingIssuesReferencesthat this PR shows exactly issue PR panel: new advisory improvement-signal section #4744 asits closing reference (not Epic: PR improvement signal — quality-delta scoring as the positive-axis counterpart to slop-risk #4737, the parent epic, which stays open — it has other sub-issues still
pending).
complexityDeltas/duplicationDeltas/patchCoverageDeltaPercent(three of the four deterministicinputs) have no live data source yet — REES's structured findings and a parsed Codecov number aren't
threaded into the main app by any existing channel (see
src/signals/improvement.ts's own headercomment, from Aggregate deterministic structural-improvement sub-score #4742). Only the test-evidence axis can fire today. This is expected, not a gap in this
PR's own scope — a future sub-issue's job.