Skip to content

feat(miner): run the target repo's own test/lint/build commands before opening a PR#8819

Merged
JSONbored merged 3 commits into
mainfrom
feat/target-repo-verification
Jul 26, 2026
Merged

feat(miner): run the target repo's own test/lint/build commands before opening a PR#8819
JSONbored merged 3 commits into
mainfrom
feat/target-repo-verification

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

The final round-2 audit item (#8807), and the biggest AMS trust gap: submission quality rested entirely on the coding agent's self-attestation — the only real verification module (engine lint-guard) is loopover-monorepo-hardcoded and never passed in production, and the task spec's validation guidance only tells the agent what to run.

Changes

  • target-repo-verification.ts (new): runs the target repo's own detected commands (stack-detection's inferred test → lint → build, same source the agent's guidance renders) from the attempt worktree via a shell spawn seam — per-command 10-minute bound, timeout-kill = failure, stop-at-first-failure, 4KB output tail for postmortem. Undetected stack / no inferred commands ⇒ recorded SKIP, never a failure (empty detection must not block unconventional repos).
  • attempt-runner.ts — optional verifyTargetRepo dep, gated after handoff + kill-switch recheck and before the freshness read (a failing build never spends GitHub API budget). Failure ⇒ new verification_failed outcome: no submission, worktree retained (attemptOk=false path), existing not-submitted notification plumbing carries the reason. Absent dep = byte-identical pre-feat(miner): run the TARGET repo's own test/build commands before opening a PR — stop trusting the agent's self-attestation #8807 flow (pinned).
  • attempt-cli.ts — binds the worktree-scoped thunk; MINER_SKIP_TARGET_REPO_VERIFICATION escape hatch for suites exceeding the bound; injection seam mirroring the sibling resolvers.
  • Documented deviation from the issue's literal text: verification failure blocks the submission rather than re-entering the iterate loop — the loop's internal self-review iterations already ran, and never-submit-known-bad is the trust goal; loop-feedback re-entry is noted on the issue as the follow-up.

Test plan

  • npm run typecheck clean; @loopover/miner builds
  • Module suite (7 tests): command order + cwd, stop-at-first-failure with bounded tail, timeout-kill = failure, both skip arms with zero spawns, real default-spawn behavior (shell, merged output, exit codes, timeout kill, ENOENT error path), default-arm passthrough
  • Runner suite: verification_failed blocks before the freshness read and the PR write; passed/skipped/absent-dep all submit unchanged
  • CLI suite: thunk bound to the attempt worktree through the injected verifier; real-default arm skips on an unmarked worktree; env escape hatch omits the thunk — 179 tests green across the five miner suites
  • Diff-vs-main coverage on all three files: 0 uncovered statements/branches

Closes #8807

…e opening a PR (#8807)

Nothing independently verified a coding agent's work before submission: the
only verification module (engine lint-guard) is hardcoded to loopover's own
monorepo commands and never passed in production, and coding-task-spec's
validation guidance only TELLS the agent which commands to run. A known-bad
change passed every AMS-side gate on the agent's self-attestation alone.

- target-repo-verification.ts: runs stack-detection's already-inferred
  commands (test → lint → build, highest signal first) from the attempt's
  worktree, per-command timeout (10 min), stop at first failure, bounded
  output tail. An undetected stack or empty command set SKIPS (recorded,
  never a failure) — the gate is only as smart as detection, and empty
  detection must not block repos with unconventional tooling.
- attempt-runner: the gate runs after handoff + kill-switch recheck and
  BEFORE the freshness read (a failing build never spends GitHub budget);
  a failure returns the new verification_failed outcome — the attempt never
  submits, the worktree is retained for postmortem, and the existing
  not-submitted notification plumbing carries the reason. Deliberately not
  re-entering the iterate loop in this change (the loop's own self-review
  iterations already ran; never-submit-known-bad is the trust win) — loop
  feedback is the tracked follow-up on the issue.
- attempt-cli binds the worktree-scoped thunk (same stack detection the
  agent's guidance rendered), with MINER_SKIP_TARGET_REPO_VERIFICATION as
  the escape hatch for suites exceeding the per-command bound.
@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
@cloudflare-workers-and-pages

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 7127ce4 Commit Preview URL

Branch Preview URL
Jul 26 2026, 08:28 AM

@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 72 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
loopover-ui 7.42MB 72 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: loopover-ui

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/add-scalar-classes-qxEJdb3r.js (New) 2.17MB 2.17MB 100.0% 🚀
assets/tanstack-vendor-Va8bb9fc.js (New) 801.04kB 801.04kB 100.0% 🚀
assets/docs.fumadocs-spike-api-reference-B_7ZaDUQ.js (New) 442.88kB 442.88kB 100.0% 🚀
assets/AgentScalarChatInterface.vue-BVR1N0ux.js (New) 201.71kB 201.71kB 100.0% 🚀
assets/modal-BMDOWcHN.js (New) 184.39kB 184.39kB 100.0% 🚀
assets/client-CvW-R3v3.js (New) 146.06kB 146.06kB 100.0% 🚀
assets/maintainer-panel-CtJ1cqHW.js (New) 79.0kB 79.0kB 100.0% 🚀
assets/routes-CQZp8yFh.js (New) 34.98kB 34.98kB 100.0% 🚀
assets/owner-panel-CzLH4yEg.js (New) 27.46kB 27.46kB 100.0% 🚀
assets/app-BfFNSFtF.js (New) 25.78kB 25.78kB 100.0% 🚀
assets/ui-vendor-C2brpUR-.js (New) 22.28kB 22.28kB 100.0% 🚀
assets/miner-panel-Bf_ZCwIs.js (New) 20.24kB 20.24kB 100.0% 🚀
assets/app.runs-C5YEarEs.js (New) 20.22kB 20.22kB 100.0% 🚀
assets/api._op-BxMIBcp5.js (New) 17.57kB 17.57kB 100.0% 🚀
assets/self-hosting-docs-audit-Cao8xq9Y.js (New) 16.6kB 16.6kB 100.0% 🚀
assets/docs._slug-KCmxeUrY.js (New) 15.37kB 15.37kB 100.0% 🚀
assets/playground-panel-DUrODfMs.js (New) 14.43kB 14.43kB 100.0% 🚀
assets/fairness-Djlgk-WX.js (New) 10.6kB 10.6kB 100.0% 🚀
assets/app.audit-BgvlQ_gU.js (New) 10.08kB 10.08kB 100.0% 🚀
assets/app.config-generator-B2Ow2GEL.js (New) 10.06kB 10.06kB 100.0% 🚀
assets/maintainers-Dl0NXTej.js (New) 8.06kB 8.06kB 100.0% 🚀
assets/miners-DZCX7-vS.js (New) 7.91kB 7.91kB 100.0% 🚀
assets/agents-QMsOsnkP.js (New) 7.74kB 7.74kB 100.0% 🚀
assets/ams-env-reference-C9w4HWl3.js (New) 7.12kB 7.12kB 100.0% 🚀
assets/commands-panel-DslTZca6.js (New) 6.65kB 6.65kB 100.0% 🚀
assets/maintainer-workflow-DQ0Vxbs4.js (New) 6.52kB 6.52kB 100.0% 🚀
assets/digest-panel-CbDH2AC-.js (New) 6.15kB 6.15kB 100.0% 🚀
assets/repos._owner._repo.quality-UpmnptL2.js (New) 6.14kB 6.14kB 100.0% 🚀
assets/docs-nav-D3oJKviA.js (New) 5.95kB 5.95kB 100.0% 🚀
assets/docs.index-Bh5z_KoU.js (New) 5.95kB 5.95kB 100.0% 🚀
assets/api.index-CuaRzald.js (New) 4.7kB 4.7kB 100.0% 🚀
assets/docs-CfRG9Rlo.js (New) 2.7kB 2.7kB 100.0% 🚀
assets/api-CTgljJ-o.js (New) 2.69kB 2.69kB 100.0% 🚀
assets/docs-page-BzIDqFMz.js (New) 2.1kB 2.1kB 100.0% 🚀
assets/table-DJ1wUX_y.js (New) 1.75kB 1.75kB 100.0% 🚀
assets/app.workbench-kLTCQWl-.js (New) 1.58kB 1.58kB 100.0% 🚀
assets/tabs-owhVuLpJ.js (New) 1.39kB 1.39kB 100.0% 🚀
assets/app.repos-C0ZGMW93.js (New) 1.07kB 1.07kB 100.0% 🚀
assets/input-Bnr2Vt3Y.js (New) 796 bytes 796 bytes 100.0% 🚀
assets/file-cog-B81Y0tKr.js (New) 758 bytes 758 bytes 100.0% 🚀
assets/app.maintainer-BJqc_i2E.js (New) 502 bytes 502 bytes 100.0% 🚀
assets/app.owner-uJYvmNLY.js (New) 474 bytes 474 bytes 100.0% 🚀
assets/app.commands-BP7nLFNM.js (New) 455 bytes 455 bytes 100.0% 🚀
assets/app.playground-DNkVHmZI.js (New) 442 bytes 442 bytes 100.0% 🚀
assets/index-C0m_WekU.js (New) 438 bytes 438 bytes 100.0% 🚀
assets/app.digest-CltxMIkk.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/eye-off-rqvu6b_D.js (New) 430 bytes 430 bytes 100.0% 🚀
assets/app.miner-2BfT9kXx.js (New) 422 bytes 422 bytes 100.0% 🚀
assets/key-round-qNjCNgoW.js (New) 355 bytes 355 bytes 100.0% 🚀
assets/bot-BOf6qWqW.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/trash-2-Clv5AXmR.js (New) 328 bytes 328 bytes 100.0% 🚀
assets/save-BRRvARCk.js (New) 327 bytes 327 bytes 100.0% 🚀
assets/git-pull-request-arrow-ZtQ2Y4eL.js (New) 321 bytes 321 bytes 100.0% 🚀
assets/list-checks-BD5NOSxz.js (New) 279 bytes 279 bytes 100.0% 🚀
assets/compass-BPohPsHn.js (New) 251 bytes 251 bytes 100.0% 🚀
assets/history-C16AJsCN.js (New) 237 bytes 237 bytes 100.0% 🚀
assets/message-square-Pfmt0v-9.js (New) 233 bytes 233 bytes 100.0% 🚀
assets/lock-DTCDrcpY.js (New) 206 bytes 206 bytes 100.0% 🚀
assets/rotate-cw-C9G4o8kY.js (New) 201 bytes 201 bytes 100.0% 🚀
assets/play-Dehp-zBF.js (New) 190 bytes 190 bytes 100.0% 🚀
assets/circle-check-DpnnsGe2.js (New) 178 bytes 178 bytes 100.0% 🚀
assets/search-MlO75wtO.js (New) 174 bytes 174 bytes 100.0% 🚀
assets/add-scalar-classes-BOuTKeqV.js (Deleted) -2.17MB 0 bytes -100.0% 🗑️
assets/tanstack-vendor-Bitafer4.js (Deleted) -801.04kB 0 bytes -100.0% 🗑️
assets/docs.fumadocs-spike-api-reference-D-FjDnJ8.js (Deleted) -442.88kB 0 bytes -100.0% 🗑️
assets/AgentScalarChatInterface.vue-K0ORTMOq.js (Deleted) -201.71kB 0 bytes -100.0% 🗑️
assets/modal-C2sPVM1B.js (Deleted) -184.39kB 0 bytes -100.0% 🗑️
assets/client-BKaavkPa.js (Deleted) -146.06kB 0 bytes -100.0% 🗑️
assets/maintainer-panel-D1O5hbbj.js (Deleted) -79.0kB 0 bytes -100.0% 🗑️
assets/routes-DM_k-1lW.js (Deleted) -34.98kB 0 bytes -100.0% 🗑️
assets/owner-panel-BA50p3en.js (Deleted) -27.46kB 0 bytes -100.0% 🗑️
assets/app-BRxyERef.js (Deleted) -25.78kB 0 bytes -100.0% 🗑️
assets/ui-vendor-Bh-b1myK.js (Deleted) -22.28kB 0 bytes -100.0% 🗑️
assets/miner-panel-C4Q5HJK9.js (Deleted) -20.24kB 0 bytes -100.0% 🗑️
assets/app.runs-D8XuGdEs.js (Deleted) -20.22kB 0 bytes -100.0% 🗑️
assets/api._op-CnDAASWX.js (Deleted) -17.57kB 0 bytes -100.0% 🗑️
assets/self-hosting-docs-audit-ChkrNmM2.js (Deleted) -16.6kB 0 bytes -100.0% 🗑️
assets/docs._slug-DRVdGXFh.js (Deleted) -15.37kB 0 bytes -100.0% 🗑️
assets/playground-panel-C0o9w4Lp.js (Deleted) -14.43kB 0 bytes -100.0% 🗑️
assets/fairness-B7hH8BTk.js (Deleted) -10.6kB 0 bytes -100.0% 🗑️
assets/app.audit-Btu10muR.js (Deleted) -10.08kB 0 bytes -100.0% 🗑️
assets/app.config-generator-RbrtkuZp.js (Deleted) -10.06kB 0 bytes -100.0% 🗑️
assets/maintainers-WyWzr4-r.js (Deleted) -8.06kB 0 bytes -100.0% 🗑️
assets/miners-g0QjrjxC.js (Deleted) -7.91kB 0 bytes -100.0% 🗑️
assets/agents-CaU86ezc.js (Deleted) -7.74kB 0 bytes -100.0% 🗑️
assets/ams-env-reference-qu5C13MW.js (Deleted) -7.05kB 0 bytes -100.0% 🗑️
assets/commands-panel-CuSErpBq.js (Deleted) -6.65kB 0 bytes -100.0% 🗑️
assets/maintainer-workflow-C7oRrCsb.js (Deleted) -6.52kB 0 bytes -100.0% 🗑️
assets/digest-panel-D2zWHFVz.js (Deleted) -6.15kB 0 bytes -100.0% 🗑️
assets/repos._owner._repo.quality-Cq0cXO0e.js (Deleted) -6.14kB 0 bytes -100.0% 🗑️
assets/docs-nav-CTvYvWlS.js (Deleted) -5.95kB 0 bytes -100.0% 🗑️
assets/docs.index-C16_CH2x.js (Deleted) -5.95kB 0 bytes -100.0% 🗑️
assets/api.index-D-sFcQig.js (Deleted) -4.7kB 0 bytes -100.0% 🗑️
assets/docs-BRny7EuK.js (Deleted) -2.7kB 0 bytes -100.0% 🗑️
assets/api-CGBAgsmB.js (Deleted) -2.69kB 0 bytes -100.0% 🗑️
assets/docs-page-CpKieEvX.js (Deleted) -2.1kB 0 bytes -100.0% 🗑️
assets/table-CeNOU9T-.js (Deleted) -1.75kB 0 bytes -100.0% 🗑️
assets/app.workbench-CvOBgTdb.js (Deleted) -1.58kB 0 bytes -100.0% 🗑️
assets/tabs-C640PMLx.js (Deleted) -1.39kB 0 bytes -100.0% 🗑️
assets/app.repos-xV67jcOz.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/input-CrOL5CT9.js (Deleted) -796 bytes 0 bytes -100.0% 🗑️
assets/file-cog-PxOkA9Ja.js (Deleted) -758 bytes 0 bytes -100.0% 🗑️
assets/app.maintainer-sX88R6RR.js (Deleted) -502 bytes 0 bytes -100.0% 🗑️
assets/app.owner-BOkgJof1.js (Deleted) -474 bytes 0 bytes -100.0% 🗑️
assets/app.commands-C0KFNVY4.js (Deleted) -455 bytes 0 bytes -100.0% 🗑️
assets/app.playground-_Wy_EH3H.js (Deleted) -442 bytes 0 bytes -100.0% 🗑️
assets/index-lehum27A.js (Deleted) -438 bytes 0 bytes -100.0% 🗑️
assets/app.digest-DWDFj3Gx.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/eye-off-o8RruN_S.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/app.miner-BNDlO6PZ.js (Deleted) -422 bytes 0 bytes -100.0% 🗑️
assets/key-round-DODkiK9_.js (Deleted) -355 bytes 0 bytes -100.0% 🗑️
assets/bot-DAmEutnR.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/trash-2-C5V-nqsp.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/save-BiqlRKrN.js (Deleted) -327 bytes 0 bytes -100.0% 🗑️
assets/git-pull-request-arrow-nfrskv9A.js (Deleted) -321 bytes 0 bytes -100.0% 🗑️
assets/list-checks-CRvH-kc-.js (Deleted) -279 bytes 0 bytes -100.0% 🗑️
assets/compass-BTw2ueAT.js (Deleted) -251 bytes 0 bytes -100.0% 🗑️
assets/history-80a3KXYD.js (Deleted) -237 bytes 0 bytes -100.0% 🗑️
assets/message-square-Di8KuuZ_.js (Deleted) -233 bytes 0 bytes -100.0% 🗑️
assets/lock-Bw-5tfCp.js (Deleted) -206 bytes 0 bytes -100.0% 🗑️
assets/rotate-cw-DGKrccjA.js (Deleted) -201 bytes 0 bytes -100.0% 🗑️
assets/play-RUfnYCB9.js (Deleted) -190 bytes 0 bytes -100.0% 🗑️
assets/circle-check-D6VCst35.js (Deleted) -178 bytes 0 bytes -100.0% 🗑️
assets/search-uXvv7THh.js (Deleted) -174 bytes 0 bytes -100.0% 🗑️

@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.97%. Comparing base (33bacda) to head (d344d90).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8819      +/-   ##
==========================================
+ Coverage   90.56%   92.97%   +2.40%     
==========================================
  Files          96      704     +608     
  Lines       22490    57313   +34823     
  Branches     3884    20306   +16422     
==========================================
+ Hits        20367    53284   +32917     
- Misses       1945     3147    +1202     
- Partials      178      882     +704     
Flag Coverage Δ
backend 92.97% <100.00%> (?)
control-plane ?
rees ?

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

Files with missing lines Coverage Δ
packages/loopover-miner/lib/attempt-cli.ts 100.00% <100.00%> (ø)
packages/loopover-miner/lib/attempt-runner.ts 100.00% <100.00%> (ø)
...ges/loopover-miner/lib/target-repo-verification.ts 100.00% <100.00%> (ø)

... and 797 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

Warning

⏸️ LoopOver review result - manual review recommended

Review updated: 2026-07-26 09:03:13 UTC

10 files · 1 AI reviewer · no blockers · CI green · clean

⏸️ Suggested Action - Manual Review

Review summary
This adds a new independent target-repo verification gate (test/lint/build via stack-detection) that runs in attempt-runner.ts after handoff+kill-switch recheck but before the freshness read, returning a new `verification_failed` outcome that blocks submission while retaining the worktree. The wiring traces correctly end-to-end: attempt-cli.ts binds a worktree-scoped thunk only when `MINER_SKIP_TARGET_REPO_VERIFICATION` is unset, attempt-runner.ts checks `deps.verifyTargetRepo` before `checkSubmissionFreshness` so a failing build never spends GitHub API budget, and `worktreeResult.attemptOk = false` on failure correctly retains the worktree for postmortem. The `defaultVerificationSpawn` output buffer is bounded (4x tail cap during capture, hard-sliced to VERIFICATION_OUTPUT_TAIL_CHARS on return), stop-at-first-failure is implemented and tested, and the absent-dep path is byte-identical to pre-#8807 behavior as claimed. This closes issue #8807, which the description explicitly ties the change to.

Nits — 5 non-blocking
  • packages/loopover-miner/lib/attempt-cli.ts: the new `attemptWorktreePath` const duplicates the already-captured `preparedWorktree.repoPath`/`worktreePath` a few lines above (used by resolveLiveKillSwitch) — consider reusing `preparedWorktree.worktreePath` instead of a second capture for the same narrowing reason.
  • packages/loopover-miner/lib/attempt-cli.ts: the final `switch (result.outcome)` has no explicit case for `verification_failed`, so it silently falls into `default: return 2` alongside any truly unexpected outcome — consider adding an explicit case (even if it also returns 2) for exit-code clarity/documentation.
  • packages/loopover-miner/lib/target-repo-verification.ts:49: the `* 4` multiplier on the rolling capture buffer is an unexplained magic number — a short comment or named constant (e.g. `CAPTURE_BUFFER_MULTIPLIER`) would help a future reader.
  • The CI checks `validate-tests` and `validate` failed with no detail provided in this report, so the underlying cause could not be verified from what's given here — worth checking the raw CI logs before merging.
  • Consider naming the `4` multiplier in target-repo-verification.ts:49 as a constant alongside `VERIFICATION_OUTPUT_TAIL_CHARS`.

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 #8807
Related work ✅ No active overlap found No same-issue or scoped active PR overlap found.
Change scope ✅ 20/20 Low review scope from cached public metadata (1 linked issue).
Validation posture ✅ 25/25 PR body includes validation/test evidence.
Contributor workload ✅ 10/10 Author activity: 13 registered-repo PR(s), 13 merged, 246 issue(s).
Contributor context ✅ Confirmed Gittensor contributor JSONbored; Gittensor profile; 13 PR(s), 246 issue(s).
Improvement ✅ Minor risk: clean · value: minor
Linked issue satisfaction

Partially addressed
The PR delivers a real, tested target-repo verification module wired via detectRepoStack into attempt-runner/attempt-cli before checkSubmissionFreshness, directly closing the core trust gap, but it explicitly deviates from the issue's stated fix by blocking submission outright instead of returning the attempt to the bounded iterate loop, leaving that stated scope item as an acknowledged follow-up

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), 246 issue(s).
  • PR-specific overlap: none found.
Contributor next steps
  • Start here: Treat this as maintainer-lane context rather than normal contributor-lane activity.
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.

🟩 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
…settle bounded

The default verification spawn killed only the shell at the timeout; on
Linux the command's descendants survive, keep the stdio pipes open, and
stall the close event (observed as a 30s hang in CI). Spawn detached,
kill the negative pid, and add a bounded post-kill settle so the gate
can never outlive its per-command timeout even if an orphan escapes the
group.

Also fix the queue.test.ts/queue-2.test.ts fetch stubs whose generic {}
fallback broke the close-explanation marker search (the comment list
endpoint must return an array) — a latent mock-shape gap surfaced by
routing enforced closes through createOrUpdateCloseExplanationComment.
@JSONbored
JSONbored merged commit e10abf2 into main Jul 26, 2026
10 checks passed
@JSONbored
JSONbored deleted the feat/target-repo-verification branch July 26, 2026 09:16
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

Development

Successfully merging this pull request may close these issues.

feat(miner): run the TARGET repo's own test/build commands before opening a PR — stop trusting the agent's self-attestation

1 participant