Skip to content

fix(orb): correct stale "#6480 blocked on #6477" comments — federated import shipped - #8957

Merged
loopover-orb[bot] merged 2 commits into
JSONbored:mainfrom
kai392:fix/critical-issue-federated-stale-comments
Jul 26, 2026
Merged

fix(orb): correct stale "#6480 blocked on #6477" comments — federated import shipped#8957
loopover-orb[bot] merged 2 commits into
JSONbored:mainfrom
kai392:fix/critical-issue-federated-stale-comments

Conversation

@kai392

@kai392 kai392 commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

federated-bundle.ts:165-169 and federated-collector.ts:8-12,167 described the federated-import
trust mechanism (#6480) as still blocked on #6477. But src/orb/federated-import.ts fully
implements it: an operator-supplied federatedIntelligence.peerKeys allowlist (fail-closed when
unset, no PKI/reputation system), exactly per #6477's ratified key-trust design — and
federated-benchmark.ts:2-4 already lists export/transport/import as "already-shipped".

Updates both comments to describe #6480's shipped state. The collector's scope boundary — verification
lives on the import side, not the transport client that only fetches — is preserved (it was correct;
only the "blocked/not-yet-built" framing was stale).

Source of truth for the corrected text: src/orb/federated-import.ts (the allowlist trust-gate).

Test plan

Closes #8878

@kai392
kai392 requested a review from JSONbored as a code owner July 26, 2026 14:21
@superagent-security

superagent-security Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

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

RealDiligent and others added 2 commits July 26, 2026 22:25
…mments — federated import shipped

federated-bundle.ts and federated-collector.ts described the federated-import trust mechanism (JSONbored#6480)
as still blocked on JSONbored#6477, but src/orb/federated-import.ts fully implements it: an operator-supplied
`federatedIntelligence.peerKeys` allowlist (fail-closed, no PKI/reputation), exactly per JSONbored#6477's
ratified key-trust design, and federated-benchmark.ts already lists all three stages as shipped.
Update the comments to describe JSONbored#6480's shipped state; the collector's scope boundary (verification
lives on the import side, not the transport client) is preserved.

Closes JSONbored#8878

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@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 90.59%. Comparing base (6aaea39) to head (13e2315).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8957      +/-   ##
==========================================
+ Coverage   90.56%   90.59%   +0.03%     
==========================================
  Files          96       98       +2     
  Lines       22490    22585      +95     
  Branches     3884     3923      +39     
==========================================
+ Hits        20367    20462      +95     
  Misses       1945     1945              
  Partials      178      178              
Flag Coverage Δ
backend 100.00% <ø> (?)

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

Files with missing lines Coverage Δ
src/orb/federated-bundle.ts 100.00% <ø> (ø)
src/orb/federated-collector.ts 100.00% <ø> (ø)

@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

Tip

✅ LoopOver review result - approve/merge recommended

Review updated: 2026-07-26 14:39:20 UTC

2 files · 1 AI reviewer · no blockers · readiness 90/100 · CI green · clean

✅ Suggested Action - Approve/Merge

  • safe to merge

Review summary
This is a comment-only doc-fix updating two stale "#6480 blocked on #6477" comments to reflect that federated import shipped in src/orb/federated-import.ts, which I can confirm exists and does exactly what the updated comments describe: a fail-closed peerKeys allowlist gate (federated-import.ts's isFederatedImportEnabled, verifyFederatedBundle, importPeerBundles). The new comment text accurately reflects the real code — the allowlist design, fail-closed-when-unset behavior, and the scope boundary (verification lives on the import side, not the transport client) all check out against the referenced file. No functional code is touched, so there's no behavioral risk here.

Nits — 4 non-blocking

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 #8878
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 ⚠️ 20/25 Preflight is ready, but the PR body does not name the validation run.
Contributor workload ✅ 10/10 Author activity: 130 registered-repo PR(s), 67 merged, 6 issue(s).
Contributor context ✅ Confirmed Gittensor contributor kai392; Gittensor profile; 130 PR(s), 6 issue(s).
Improvement ℹ️ None detected risk: low · value: none · LLM: minor
Linked issue satisfaction

Addressed
Both stale comments are updated to describe #6480 as shipped via federated-import.ts's peerKeys allowlist per #6477's ratified design, replacing the 'blocked on #6477' framing, and the PR cites federated-import.ts as the source of truth as required.

Review context
  • Author: kai392
  • Role context: outside_contributor
  • Public audience mode: oss maintainer
  • Lane context: Repository is configured for direct PR review.
  • Public profile languages: not available
  • Official Gittensor activity: 130 PR(s), 6 issue(s).
  • PR-specific overlap: none found.
Contributor next steps
  • Start here: Add validation command/output.
  • Then work through the remaining 1 step 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.

🟩 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 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LoopOver approves — the gate is satisfied and CI is green.

@loopover-orb
loopover-orb Bot merged commit bda83ca into JSONbored:main Jul 26, 2026
8 checks passed
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(orb): stale "blocked on #6477" comments in federated-bundle.ts/federated-collector.ts -- #6480 already shipped

2 participants