feat(mcp): add loopover_refresh_repo_focus_manifest tool - #9348
Conversation
Mirror POST /v1/repos/:owner/:repo/focus-manifest/refresh as an MCP tool, the
refresh counterpart to the read-only loopover_get_repo_focus_manifest. Forces a
live reload of the cached .loopover.yml manifest via loadRepoFocusManifest(...,
{ refresh: true }) + compileFocusManifestPolicy, returning the same
{ repoFullName, manifest, policy } shape the REST route returns.
Uses the write-access boundary (requireRepoManageAccess), matching the route's
requireRepoWriteAccess -- stricter than the read tool's read-only boundary --
and registers under the maintainer category, alongside loopover_refresh_repo_docs.
|
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 #9348 +/- ##
==========================================
+ Coverage 75.38% 75.81% +0.43%
==========================================
Files 275 276 +1
Lines 58023 59211 +1188
Branches 6181 6417 +236
==========================================
+ Hits 43739 44892 +1153
- Misses 14014 14027 +13
- Partials 270 292 +22
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-27 13:45:52 UTC
Review summary Nits — 3 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.
|
feat(mcp): add loopover_refresh_repo_focus_manifest tool
Mirror POST /v1/repos/:owner/:repo/focus-manifest/refresh as an MCP tool, the
refresh counterpart to the read-only loopover_get_repo_focus_manifest. Forces a
live reload of the cached .loopover.yml manifest via loadRepoFocusManifest(...,
{ refresh: true }) + compileFocusManifestPolicy, returning the same
{ repoFullName, manifest, policy } shape the REST route returns.
Uses the write-access boundary (requireRepoManageAccess), matching the route's
requireRepoWriteAccess -- stricter than the read tool's read-only boundary --
and registers under the maintainer category, alongside loopover_refresh_repo_docs.
Closes #9299
Validation
Verified locally on this branch before opening:
npm run typechecknpx turbo run build:tsc build:verifynpm run test:coverage— patch coverage 100.0% of changed lines