feat(review): wire remaining configured gate blockers into signal tracking (#8104) - #8119
Conversation
…cking (JSONbored#8104) Record RuleFiredEvent for every isConfiguredGateBlocker finding except linked_issue_scope_mismatch (JSONbored#8101), and emit reversed HumanOverrideEvent on contributor reopen and owner reopen-then-merge when prior fires exist. Co-authored-by: Cursor <cursoragent@cursor.com>
|
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 #8119 +/- ##
==========================================
+ Coverage 89.52% 89.62% +0.10%
==========================================
Files 97 86 -11
Lines 22573 24291 +1718
Branches 3861 4939 +1078
==========================================
+ Hits 20208 21771 +1563
- Misses 2187 2242 +55
- Partials 178 278 +100
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-22 23:33:33 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
recordConfiguredGateBlockerSignalsinsrc/rules/advisory.ts: afterevaluateGateCheck, records aRuleFiredEventfor every findingisConfiguredGateBlockerwould block, exceptlinked_issue_scope_mismatch(owned by calibration: wire linked_issue_scope_mismatch into the shared signal-tracking module (fired + reversal) #8101 / open PR feat(review): wire linked_issue_scope_mismatch into the shared signal-tracking module #8109). Wired from the main review gate path insrc/queue/processors.ts.evaluateGateCheckstays sync/pure for engine parity.recordReversalSignals(src/review/outcomes-wire.ts): on contributor reopen and owner reopen-then-merge, a fixed 30-day lookback overCONFIGURED_GATE_BLOCKER_SIGNAL_CODESrecords"reversed"HumanOverrideEvents for codes with a prior fire on that target. Same fail-open discipline as Extract a shared, deployment-agnostic calibration/signal-tracking module for ORB + AMS #7982 / calibration: wire linked_issue_scope_mismatch into the shared signal-tracking module (fired + reversal) #8101."confirmed"path (Design a positive-confirmation ('this automated decision was correct') signal #8106).Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpx vitest run test/unit/configured-gate-blocker-signals.test.ts test/unit/outcomes-wire.test.ts— 76 passednpm run test:coveragenpm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
ai_consensus_defect,ai_review_split,secret_leak/missing_linked_issue; explicit no-fire forlinked_issue_scope_mismatch; no-fire whenisConfiguredGateBlockeris false; multi-code reversal on reopen and owner reopen-then-merge; no reversal without a prior fire; SignalStore reject fail-open on both paths;severity ?? "blocker"and confidence present/absent branches. Processors wiring is exercised by existing queue gate-publish tests. Untouched surfaces (actionlint/workers/mcp/ui) left to CI.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Not applicable — backend-only calibration wiring (no UI, docs, or extension surface touched; no visible behavior change — blocking behavior is untouched).
Notes
linked_issue_scope_mismatchso there is no double-count today.SignalStoredouble viavi.spyOn(signalTrackingWire, "createSignalStore").