Skip to content

fix(orb): retry dispositions on lock contention, retry inconclusive verdicts, fix holdout misattribution - #9110

Merged
JSONbored merged 2 commits into
mainfrom
fix/9019-9025-9040-disposition-bundle
Jul 26, 2026
Merged

fix(orb): retry dispositions on lock contention, retry inconclusive verdicts, fix holdout misattribution#9110
JSONbored merged 2 commits into
mainfrom
fix/9019-9025-9040-disposition-bundle

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

Three disposition-integrity fixes from the audit backlog.

#9025maybeRunAgentMaintenance silently drops the disposition on lock contention. It returned early when it lost the per-PR actuation lock: the job completed "successfully", nothing re-queued the disposition, and no audit row recorded that a planned action was abandoned. This silently amplified every restart incident — the recovered job re-ran, hit its own dead predecessor's orphaned lock, and lost the disposition a second time with no trace. Now throws PrActuationLockContendedError (the exact contract review-evasion.ts's withPrActuationLock already used for this condition; the queue honors its 5s retryAfterMs via consumingRetryDelayMs) and records a named audit event. Both maintenance call sites' catch handlers re-throw retryable/rate-limit errors rather than logging-and-dropping them; a plain non-retryable failure is still swallowed and logged exactly as before.

#9019 — one-shot cadence pins a transient/inconclusive verdict across ALL future heads. cacheable=0 conflates two unrelated things: a dynamic review context (grounding/RAG), where the verdict is conclusive but not durable across time, and a genuinely inconclusive verdict (provider outage, consensus-disputed roll). Since published rows were exempt from the non-cacheable cooldown, a transient outage verdict became final for that head the moment it surfaced — the bot never retried, contradicting the finding's own "re-evaluates on the next update" text, while a green PR gave the contributor no reason to push. Worse, the head-agnostic one-shot lookup pinned that same verdict across every future head, so pushing new code couldn't escape it either.

Fix: record the review's own verdict as metadata.inconclusive and key both behaviors on it. The publish exemption still applies to dynamic-context rows (#2119 unchanged, covered by its own test) but not inconclusive ones; the one-shot cadence skips inconclusive rows entirely — that PR never got its one real shot. The cooldown still bounds retries to at most one attempt per window.

#9040 — hold reason is misattributed; 100% of "precision circuit breaker" rows are wrong. agentHoldAuditDetail inferred the breaker purely from "a terminal action was planned but is not in the final plan" — but the call site passes the post-holdout plan, so every ε-holdout adjudication hold (#8831) was blamed on a breaker that had never engaged. Live evidence: 6 of 6 such rows paired 1:1 (within 20ms) with decision_audit_holdout events, while system_flags contained no engaged breaker at all. Each transform now reports its own engagement, derived from its own before/after pair; the holdout gets a distinct reason string; and the residual set-difference case returns an honest generic reason instead of a false specific attribution.

Closes #9019
Closes #9025
Closes #9040

Test plan

  • precision-breakers-chain.test.ts: holdout attributed to the holdout, holdout wins when both engaged, unreported-transform case gets the honest generic reason
  • ai-review-cache.test.ts: a published inconclusive row expires with the cooldown (and is still reused inside it); conclusiveOnly skips inconclusive rows and falls through to the newest conclusive one, or returns null when all are inconclusive
  • queue.test.ts: the low-activity PR test rewritten to the orb(review): one-shot cadence pins a transient/inconclusive verdict across ALL future heads #9019 contract — one retry per cooldown window, zero within one
  • queue-2.test.ts: contended pass throws the retryable error + records the audit row; a failing audit write never swallows the retry; a non-retryable failure is still swallowed and logged
  • Verified the sibling "reuses a dynamic-context (grounding) review indefinitely once published" test still passes — the fix(review): prevent stale review cache and sweep starvation #2119 behavior is deliberately preserved
  • 100% line coverage on every changed line across both touched source files (verified via lcov)
  • tsc --noEmit, check-migrations, check-schema-drift, check-engine-parity all green
  • Full regression: 1069/1069 across 9 affected test files

…e verdicts, and stop misattributing holdout holds

Three disposition-integrity fixes:

#9025 -- maybeRunAgentMaintenance returned silently when it lost the per-PR
actuation lock: the job completed "successfully", nothing re-queued the
disposition, and no audit row recorded that a planned action was abandoned.
That silently amplified every restart incident -- the recovered job re-ran,
hit its own dead predecessor's orphaned lock, and lost the disposition a
SECOND time with no trace at all. Now throws PrActuationLockContendedError
(the same contract review-evasion.ts's withPrActuationLock already used for
this exact condition; the queue honors its 5s retryAfterMs via
consumingRetryDelayMs) and records a named audit event. Both maintenance call
sites' catch handlers now re-throw retryable/rate-limit errors instead of
logging-and-dropping them, matching the review pipeline's own propagation
contract; a plain non-retryable failure is still swallowed and logged.

#9019 -- `cacheable=0` conflates two unrelated things: a DYNAMIC review
context (grounding/RAG), where the verdict is conclusive but not durable
across time, and a genuinely INCONCLUSIVE verdict (a provider outage, a
consensus-disputed roll). Because published rows were exempt from the
non-cacheable cooldown, a transient outage verdict became FINAL for that head
the moment it surfaced -- the bot never retried, directly contradicting the
finding's own "re-evaluates on the next update" text, while a green PR gave
the contributor no reason to push the commit that would force one. Worse, the
head-AGNOSTIC one-shot lookup pinned that same outage verdict across ALL
future heads, so a contributor pushing new code could not escape it either.
Records the review's own verdict as metadata.inconclusive and keys both
behaviors on it: the publish exemption still applies to dynamic-context rows
(#2119 unchanged) but not to inconclusive ones, and the one-shot cadence skips
inconclusive rows entirely -- that PR never got its one real shot. The cooldown
still bounds retries to at most one attempt per window.

#9040 -- every "auto-action held by precision circuit breaker" audit row was
wrong. agentHoldAuditDetail inferred the breaker purely from "a terminal action
was planned but is not in the final plan", but the call site passes the
POST-HOLDOUT plan, so every ε-holdout adjudication hold (#8831) was attributed
to a breaker that had never engaged -- 6 of 6 live rows paired 1:1 (within
20ms) with decision_audit_holdout events while system_flags contained no
engaged breaker at all. Each transform now REPORTS its own engagement, derived
from its own before/after pair, and the holdout gets its own reason string; the
residual set-difference case returns an honest generic reason instead of a
false specific attribution.

Closes #9019
Closes #9025
Closes #9040
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored JSONbored self-assigned this Jul 26, 2026
…s enforce

Both of these are broken on main right now and fail every PR branched from it,
including this one:

1. .release-please-manifest.json still pinned packages/loopover-engine at
   3.15.0 while its package.json says 3.15.1 -- the manual bump in #9107 (which
   the engine twin-parity guard required) never synced the release manifest, so
   release-manifest:sync:check has failed on every commit since. Regenerated via
   `npm run release-manifest:sync`.

2. apps/loopover-ui's prettier gate failed on two files last touched by #8848
   (proof-of-power-stats-model.ts and proof-of-power-stats.test.tsx) -- two
   over-long object literals prettier wants wrapped. Applied `prettier --write`;
   pure formatting, no behavior change.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
loopover-ui f9188bd Commit Preview URL

Branch Preview URL
Jul 26 2026, 07:45 PM

@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 6.93kB (0.09%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
loopover-ui 7.42MB 6.93kB (0.09%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: loopover-ui

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/add-scalar-classes-grsVESf2.js (New) 2.17MB 2.17MB 100.0% 🚀
assets/tanstack-vendor-CnoIAkSZ.js (New) 802.87kB 802.87kB 100.0% 🚀
openapi.json 4.75kB 530.24kB 0.9%
assets/docs.fumadocs-spike-api-reference-CpG7mWiw.js (New) 442.88kB 442.88kB 100.0% 🚀
assets/AgentScalarChatInterface.vue-BE7M0o83.js (New) 201.71kB 201.71kB 100.0% 🚀
assets/modal-BU7MF4ac.js (New) 184.39kB 184.39kB 100.0% 🚀
assets/client-BJwjiLWJ.js (New) 146.06kB 146.06kB 100.0% 🚀
assets/maintainer-panel-AWaHeS9w.js (New) 79.0kB 79.0kB 100.0% 🚀
assets/routes-D4o7w2eM.js (New) 35.29kB 35.29kB 100.0% 🚀
assets/owner-panel-CFucpl6C.js (New) 27.52kB 27.52kB 100.0% 🚀
assets/app-C4JDLFEW.js (New) 25.78kB 25.78kB 100.0% 🚀
assets/ui-vendor-D3NLSfKU.js (New) 22.28kB 22.28kB 100.0% 🚀
assets/miner-panel-D5CnNVW-.js (New) 20.24kB 20.24kB 100.0% 🚀
assets/app.runs-DkXcjkch.js (New) 20.22kB 20.22kB 100.0% 🚀
assets/api._op-DV9P0be2.js (New) 17.57kB 17.57kB 100.0% 🚀
assets/self-hosting-docs-audit-BlVjAv2Q.js (New) 16.6kB 16.6kB 100.0% 🚀
assets/docs._slug-B0Pr40Uv.js (New) 15.37kB 15.37kB 100.0% 🚀
assets/playground-panel-Bw9drEEX.js (New) 14.43kB 14.43kB 100.0% 🚀
assets/fairness-yj58RB8R.js (New) 10.6kB 10.6kB 100.0% 🚀
assets/app.audit-DyP4peXo.js (New) 10.08kB 10.08kB 100.0% 🚀
assets/app.config-generator-D7VRXmhJ.js (New) 10.06kB 10.06kB 100.0% 🚀
assets/maintainers-iD0HRQ28.js (New) 8.06kB 8.06kB 100.0% 🚀
assets/miners-CABClz1P.js (New) 7.91kB 7.91kB 100.0% 🚀
assets/agents-t8XNFz6p.js (New) 7.74kB 7.74kB 100.0% 🚀
assets/commands-panel-CiMtoLVY.js (New) 6.65kB 6.65kB 100.0% 🚀
assets/maintainer-workflow-XxB7ohms.js (New) 6.52kB 6.52kB 100.0% 🚀
assets/digest-panel-D1gWvgL8.js (New) 6.15kB 6.15kB 100.0% 🚀
assets/repos._owner._repo.quality-CJ2MTS7l.js (New) 6.14kB 6.14kB 100.0% 🚀
assets/docs-nav-COrvNwb0.js (New) 5.95kB 5.95kB 100.0% 🚀
assets/docs.index-6cPcvsDR.js (New) 5.95kB 5.95kB 100.0% 🚀
assets/api.index-xW-AY3ld.js (New) 4.7kB 4.7kB 100.0% 🚀
assets/docs-CyEqXJ2N.js (New) 2.7kB 2.7kB 100.0% 🚀
assets/api-CcWSKyd8.js (New) 2.69kB 2.69kB 100.0% 🚀
assets/docs-page-BzNyExcl.js (New) 2.1kB 2.1kB 100.0% 🚀
assets/table-BgJaGIyy.js (New) 1.75kB 1.75kB 100.0% 🚀
assets/app.workbench-DerPJ6O1.js (New) 1.58kB 1.58kB 100.0% 🚀
assets/tabs-CYn94ZaL.js (New) 1.39kB 1.39kB 100.0% 🚀
assets/app.repos-BV5lJDs5.js (New) 1.07kB 1.07kB 100.0% 🚀
assets/input-DAMGx81x.js (New) 796 bytes 796 bytes 100.0% 🚀
assets/file-cog-MEme44Yv.js (New) 758 bytes 758 bytes 100.0% 🚀
assets/app.maintainer-vpYuHXuC.js (New) 502 bytes 502 bytes 100.0% 🚀
assets/app.owner-Dvzrx47b.js (New) 474 bytes 474 bytes 100.0% 🚀
assets/app.commands-Ce_BbV7J.js (New) 455 bytes 455 bytes 100.0% 🚀
assets/app.playground-DBoYTXiK.js (New) 442 bytes 442 bytes 100.0% 🚀
assets/index-DTXm6rRG.js (New) 438 bytes 438 bytes 100.0% 🚀
assets/app.digest-D8FUS9lt.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/eye-off-BiJVi4vO.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/app.miner-CXTGjJQ_.js (New) 422 bytes 422 bytes 100.0% 🚀
assets/key-round-CB_X4Qw4.js (New) 355 bytes 355 bytes 100.0% 🚀
assets/bot-DY3K9wHO.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/trash-2-CjLn4x-L.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/save-MyJmc0w5.js (New) 327 bytes 327 bytes 100.0% 🚀
assets/git-pull-request-arrow-Bv0feZjF.js (New) 321 bytes 321 bytes 100.0% 🚀
assets/list-checks-BMHhwxdV.js (New) 279 bytes 279 bytes 100.0% 🚀
assets/compass-BHgjnVL9.js (New) 251 bytes 251 bytes 100.0% 🚀
assets/history-BV5ah3Ke.js (New) 237 bytes 237 bytes 100.0% 🚀
assets/message-square-C4LTpg0-.js (New) 233 bytes 233 bytes 100.0% 🚀
assets/lock-DNJjX-u-.js (New) 206 bytes 206 bytes 100.0% 🚀
assets/rotate-cw-CYHj_Zpm.js (New) 201 bytes 201 bytes 100.0% 🚀
assets/play-BFEHPP_C.js (New) 190 bytes 190 bytes 100.0% 🚀
assets/circle-check-C_cKzPMP.js (New) 178 bytes 178 bytes 100.0% 🚀
assets/search-C3cizFUk.js (New) 174 bytes 174 bytes 100.0% 🚀
assets/add-scalar-classes-9v029Iq-.js (Deleted) -2.17MB 0 bytes -100.0% 🗑️
assets/tanstack-vendor-5v1hIzNd.js (Deleted) -801.04kB 0 bytes -100.0% 🗑️
assets/docs.fumadocs-spike-api-reference-COTXKAhV.js (Deleted) -442.88kB 0 bytes -100.0% 🗑️
assets/AgentScalarChatInterface.vue-CY9TCHde.js (Deleted) -201.71kB 0 bytes -100.0% 🗑️
assets/modal-D_FClJNp.js (Deleted) -184.39kB 0 bytes -100.0% 🗑️
assets/client-DBRwPBNS.js (Deleted) -146.06kB 0 bytes -100.0% 🗑️
assets/maintainer-panel-Bqj8waCF.js (Deleted) -79.0kB 0 bytes -100.0% 🗑️
assets/routes-DjcAF0hy.js (Deleted) -35.01kB 0 bytes -100.0% 🗑️
assets/owner-panel-sSlItfCN.js (Deleted) -27.46kB 0 bytes -100.0% 🗑️
assets/app-CdAtRqPZ.js (Deleted) -25.78kB 0 bytes -100.0% 🗑️
assets/ui-vendor-B7IsF9b0.js (Deleted) -22.28kB 0 bytes -100.0% 🗑️
assets/miner-panel-4gsR2oTm.js (Deleted) -20.24kB 0 bytes -100.0% 🗑️
assets/app.runs-qBHnmQ-G.js (Deleted) -20.22kB 0 bytes -100.0% 🗑️
assets/api._op-D0LAItI-.js (Deleted) -17.57kB 0 bytes -100.0% 🗑️
assets/self-hosting-docs-audit-BC515Ukn.js (Deleted) -16.6kB 0 bytes -100.0% 🗑️
assets/docs._slug-BnD8xXTM.js (Deleted) -15.37kB 0 bytes -100.0% 🗑️
assets/playground-panel-DnBTkLda.js (Deleted) -14.43kB 0 bytes -100.0% 🗑️
assets/fairness-lYXSmp8h.js (Deleted) -10.6kB 0 bytes -100.0% 🗑️
assets/app.audit-BhlqqP5E.js (Deleted) -10.08kB 0 bytes -100.0% 🗑️
assets/app.config-generator-CxT03cvG.js (Deleted) -10.06kB 0 bytes -100.0% 🗑️
assets/maintainers-DHmCPlLj.js (Deleted) -8.06kB 0 bytes -100.0% 🗑️
assets/miners-DJ9X9aHW.js (Deleted) -7.91kB 0 bytes -100.0% 🗑️
assets/agents-C9m4ngwV.js (Deleted) -7.74kB 0 bytes -100.0% 🗑️
assets/commands-panel-DViKp3Ax.js (Deleted) -6.65kB 0 bytes -100.0% 🗑️
assets/maintainer-workflow-5wSeuGAR.js (Deleted) -6.52kB 0 bytes -100.0% 🗑️
assets/digest-panel-C_t_F4sl.js (Deleted) -6.15kB 0 bytes -100.0% 🗑️
assets/repos._owner._repo.quality-CybLu4E_.js (Deleted) -6.14kB 0 bytes -100.0% 🗑️
assets/docs-nav-Cuu_osWp.js (Deleted) -5.95kB 0 bytes -100.0% 🗑️
assets/docs.index-BBNA--De.js (Deleted) -5.95kB 0 bytes -100.0% 🗑️
assets/api.index-DGCKj6bA.js (Deleted) -4.7kB 0 bytes -100.0% 🗑️
assets/docs-DE9DVEA6.js (Deleted) -2.7kB 0 bytes -100.0% 🗑️
assets/api-CpTYVRIa.js (Deleted) -2.69kB 0 bytes -100.0% 🗑️
assets/docs-page-B6YITT9D.js (Deleted) -2.1kB 0 bytes -100.0% 🗑️
assets/table-DBlzg3iM.js (Deleted) -1.75kB 0 bytes -100.0% 🗑️
assets/app.workbench-BNFBHI8E.js (Deleted) -1.58kB 0 bytes -100.0% 🗑️
assets/tabs-nQkRDW0D.js (Deleted) -1.39kB 0 bytes -100.0% 🗑️
assets/app.repos-BzPAA0QV.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/input-DocgUPyO.js (Deleted) -796 bytes 0 bytes -100.0% 🗑️
assets/file-cog-Ch__qhYD.js (Deleted) -758 bytes 0 bytes -100.0% 🗑️
assets/app.maintainer-Ds0MoqX6.js (Deleted) -502 bytes 0 bytes -100.0% 🗑️
assets/app.owner-DjIk7bb1.js (Deleted) -474 bytes 0 bytes -100.0% 🗑️
assets/app.commands-UKQQjdTD.js (Deleted) -455 bytes 0 bytes -100.0% 🗑️
assets/app.playground-CszAlFoq.js (Deleted) -442 bytes 0 bytes -100.0% 🗑️
assets/index-DsrosCTu.js (Deleted) -438 bytes 0 bytes -100.0% 🗑️
assets/app.digest-uWvPe71B.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/eye-off-BmU7Te_I.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/app.miner-Bk9lybwz.js (Deleted) -422 bytes 0 bytes -100.0% 🗑️
assets/key-round-b2QxGj_x.js (Deleted) -355 bytes 0 bytes -100.0% 🗑️
assets/bot-BB933jel.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/trash-2-BGhxcGc8.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/save-ADxDA_Pq.js (Deleted) -327 bytes 0 bytes -100.0% 🗑️
assets/git-pull-request-arrow-Cs6eu-JT.js (Deleted) -321 bytes 0 bytes -100.0% 🗑️
assets/list-checks-DSRSUa4O.js (Deleted) -279 bytes 0 bytes -100.0% 🗑️
assets/compass-BaXk_V0D.js (Deleted) -251 bytes 0 bytes -100.0% 🗑️
assets/history-uW9L2sjT.js (Deleted) -237 bytes 0 bytes -100.0% 🗑️
assets/message-square-CEQlEFKJ.js (Deleted) -233 bytes 0 bytes -100.0% 🗑️
assets/lock-BRqjseaE.js (Deleted) -206 bytes 0 bytes -100.0% 🗑️
assets/rotate-cw-BvClLJAC.js (Deleted) -201 bytes 0 bytes -100.0% 🗑️
assets/play-DuphvmFm.js (Deleted) -190 bytes 0 bytes -100.0% 🗑️
assets/circle-check-CebWLXf-.js (Deleted) -178 bytes 0 bytes -100.0% 🗑️
assets/search-Dhv5M6_9.js (Deleted) -174 bytes 0 bytes -100.0% 🗑️

@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.50000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.66%. Comparing base (8cea287) to head (f9188bd).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/queue/processors.ts 84.61% 0 Missing and 2 partials ⚠️
src/db/repositories.ts 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9110      +/-   ##
==========================================
- Coverage   93.88%   92.66%   -1.23%     
==========================================
  Files         813      813              
  Lines       80710    80723      +13     
  Branches    24489    24495       +6     
==========================================
- Hits        75777    74799     -978     
- Misses       3564     4843    +1279     
+ Partials     1369     1081     -288     
Flag Coverage Δ
backend 93.47% <87.50%> (-1.71%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/db/repositories.ts 96.72% <90.90%> (-0.05%) ⬇️
src/queue/processors.ts 95.61% <84.61%> (-0.02%) ⬇️

... and 3 files with indirect coverage changes

@loopover-orb loopover-orb Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 26, 2026
@loopover-orb

loopover-orb Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Caution

🛑 LoopOver review result - fixes required

Review updated: 2026-07-26 20:00:44 UTC

10 files · 1 AI reviewer · no blockers · CI failing · unstable

🛑 Suggested Action - Manual Review

Review summary
Three targeted disposition-integrity fixes: (1) maybeRunAgentMaintenance now throws a retryable PrActuationLockContendedError instead of silently returning on lock contention, with both downstream catch sites updated to re-throw retryable/rate-limit errors rather than swallowing them; (2) getCachedAiReview/getLatestPublishedAiReview now key retry/one-shot behavior on a review's own `metadata.inconclusive` flag instead of conflating it with the unrelated `cacheable` dynamic-context flag, fixing a bug where an outage verdict became permanently pinned; (3) agentHoldAuditDetail now takes explicit precisionBreakerEngaged/closeAuditHoldoutEngaged flags reported by each transform instead of inferring cause from a planned-vs-final set difference, fixing a real misattribution bug (holdout holds were reported as breaker holds). Each fix is well-traced to its root cause, has direct unit-test coverage exercising the actual code path (including the lock-contended audit-write-failure case and the non-retryable-failure swallow case), and requires no schema/migration changes since `inconclusive` reuses the existing metadata JSON blob. The diff also carries two unrelated pure-formatting reflows (proof-of-power-stats-model.ts, proof-of-power-stats.test.tsx) that add scope noise but no risk.

Nits — 6 non-blocking
  • codecov/patch failed at 87.50% vs the 99% target — likely the isGitHubRateLimitedError arm of the new `if (isGitHubRateLimitedError(error) || isRetryableJobError(error)) throw error;` guards (src/queue/processors.ts, the reReviewStoredPullRequest and handlePullRequestWebhookEvent catch sites) isn't exercised by a dedicated test, only the isRetryableJobError arm via the lock-contention scenario.
  • apps/loopover-ui/src/components/site/proof-of-power-stats-model.ts and proof-of-power-stats.test.tsx changes are pure prettier-style multi-line reflows unrelated to the stated orb(disposition): maybeRunAgentMaintenance silently drops the disposition on lock contention — no retry, no audit #9025/orb(review): one-shot cadence pins a transient/inconclusive verdict across ALL future heads #9019/orb(observability): hold reason is misattributed — 100% of 'precision circuit breaker' holds are actually adjudication holdouts #9040 fixes — worth splitting out of this PR to keep the diff focused.
  • agentHoldAuditDetail's `breakerOnPlan` parameter is still bound to the post-holdout plan at the call site (src/queue/processors.ts, `breakerOnPlan: holdoutOnPlan`) even though the function now has dedicated `closeAuditHoldoutEngaged`/`precisionBreakerEngaged` fields — consider renaming the param to reflect what it actually holds, since the residual fallback branch still reads it under its old, now-misleading name.
  • Add a case exercising the isGitHubRateLimitedError branch of the two updated catch sites (test/unit/queue-2.test.ts or queue-3.test.ts) to close the codecov/patch gap.
  • Split the two unrelated UI formatting-only hunks into a separate PR/commit.
  • PR author also opened the linked issue — Link an issue that was opened by a different contributor, or provide a rationale for why this self-authored issue represents genuine discovery work.

CI checks failing

  • codecov/patch — 87.50% of diff hit (target 99.00%)

Decision drivers

  • ✅ Code review — No blockers (1 reviewer)
  • ✅ Gate result — Passing (No configured blocker found.)
Context & advisory signals — never blocks the verdict
Signal Result Evidence
Linked issue ✅ Linked #9019, #9025, #9040
Related work ✅ No active overlap found No same-issue or scoped active PR overlap found.
Change scope ❌ 8/20 High review scope from cached public metadata (3 linked issues).
Validation posture ✅ 25/25 PR body includes validation/test evidence.
Contributor workload ✅ 10/10 Author activity: 13 registered-repo PR(s), 13 merged, 315 issue(s).
Contributor context ✅ Confirmed Gittensor contributor JSONbored; Gittensor profile; 13 PR(s), 315 issue(s).
Improvement ✅ Minor risk: clean · value: minor
Linked issue satisfaction

Addressed
The PR marks a review's own verdict as metadata.inconclusive, excludes inconclusive rows from the head-agnostic one-shot lookup via a new conclusiveOnly option, and removes the publish exemption from the cooldown for inconclusive rows so outage verdicts retry on the next pass/push while conclusive dynamic-context rows keep the #2119 exemption.

Review context
  • Author: JSONbored
  • Role context: owner (maintainer lane)
  • Public audience mode: oss maintainer
  • Lane context: Repository is configured for direct PR review.
  • Public profile languages: Python, TypeScript, Ruby, Go, MDX, Shell, Solidity, JavaScript
  • Official Gittensor activity: 13 PR(s), 315 issue(s).
  • PR-specific overlap: none found.
Contributor next steps
  • Start here: Treat this as maintainer-lane context rather than normal contributor-lane activity.
  • Then work through the remaining 2 steps in the Signals table above.
Signal definitions
  • Related work = same linked issue, overlapping active PRs, or title/path similarity.
  • Change scope = cached public metadata such as size labels, draft state, and review-burden hints.
  • Validation posture = whether the PR provides enough public validation/test evidence for maintainer review.
  • Contributor workload = public contributor activity and cleanup pressure, not a repo-wide quality failure.
  • Contributor context = public GitHub/Gittensor identity context; non-Gittensor status is not a blocker.
🧪 Chat with LoopOver

Ask 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.

  • @loopover ask &lt;question&gt; answers contribution-quality Q&A with source citations and freshness.
  • @loopover chat &lt;question&gt; answers in natural prose from cached decision-pack facts via local inference (maintainer/collaborator; read-only).
  • A plain-language @loopover mention with a real question is routed to the closest matching read-only command automatically — no exact syntax required.

Full command reference: https://loopover.ai/docs/loopover-commands

🧪 Experimental — new and may change.

Decision record
  • action: hold · clause: success
  • config: 03a7f8b529a9 · pack: oss-anti-slop
  • record: e8832d8d1364 (schema v3, head f9188bd)
Visual preview
Route Viewport Before (production) After (this PR's preview) Diff
/ desktop before /
before /
after /
after /
/ mobile before / (mobile)
before / (mobile)
after / (mobile)
after / (mobile)

Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy.

Scroll preview
Route Before (production) After (this PR's preview)
/ before / (scroll)
before / (scroll)
after / (scroll)
after / (scroll)

A short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show.

🟩 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.

  • Re-run LoopOver review

@loopover-orb loopover-orb Bot added the manual-review Gittensor contributor context label Jul 26, 2026
@JSONbored
JSONbored merged commit c516ca4 into main Jul 26, 2026
10 of 11 checks passed
@JSONbored
JSONbored deleted the fix/9019-9025-9040-disposition-bundle branch July 26, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. manual-review Gittensor contributor context

Projects

None yet

1 participant