You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mcp): register the pilot tools from the shared contract, and fix three drifted OpenAPI schemas
Both MCP servers now take the six pilot tools' input AND output schemas from
@loopover/contract instead of declaring them locally. The stdio server's
hand-mirrored shapes are gone for these tools, and four of them gain a real
outputSchema for the first time -- previously only loopover_local_status_structured
declared one anywhere in that package.
Fixes found while modelling the real payloads, all cases of the published spec
disagreeing with what the code actually returns:
- CollisionItemSchema's `type` enum omitted "recent_merged_pull_request", which
buildCollisionReport genuinely emits (it is handed recent merged PRs). A client
validating a real response against the spec rejected it. Its labels, linkedIssues,
linkedIssueClaimedAt, changedFiles and body fields were missing too.
- QueueHealthSchema omitted draftPullRequests, slopFlaggedPullRequests and
duplicateFlaggedPullRequests -- all required on the QueueHealth type and always
emitted -- plus the optional rankedPullRequests array.
openapi.json is regenerated to match.
Refs #9517
"Predict whether a planned PR would pass the repo's LoopOver gate, from its PUBLIC .loopover.yml only — an agent-native pre-submission self-check that works on ANY repo (no Gittensor account). Under the oss-anti-slop pack the verdict applies to any author; self-scoped to the authenticated login.",
"Return the cached or freshly-computed reviewability report for an open PR: how ready it is to review/merge, the blocking or advisory signals against it, and its lane/duplicate/linked-issue context. Metadata-only, repo-scoped, no GitHub writes.",
"Self-hosted-operator only. Read this instance's own private .loopover.yml config: the merged effective config for a repo (shared base + global default + per-repo override), or just the raw global-default layer, or just the raw per-repo layer. Requires LOOPOVER_MCP_ADMIN_TOKEN. Returns configured=false if LOOPOVER_REPO_CONFIG_DIR is unset.",
0 commit comments