diff --git a/README.md b/README.md index f79a04f6f..aaa36a9c3 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,9 @@ Each surface is controlled separately, and they differ in who holds the switch: - **Local CLI** (`@loopover/mcp`) — **opt-in, OFF by default.** Nothing is recorded unless you have run `loopover-mcp telemetry enable`; an API key alone is not enough. `loopover-mcp telemetry status` reports the current state, and `disable` removes the flag entirely. -- **Hosted / remote MCP** — a **deployment** setting, not a per-user one: it records when the operator configures - `POSTHOG_API_KEY`, which the hosted service does. A self-hosted deployment that leaves it unset records nothing. +- **Remote MCP** — a **deployment** setting, not a per-user one: it records only when the operator configures + `POSTHOG_API_KEY`. A self-hosted deployment that leaves it unset records nothing. (The hosted service at + `api.loopover.ai` was retired on 2026-11-30.) See [Privacy and security](https://loopover.ai/docs/privacy-security) for the full boundary. @@ -97,7 +98,7 @@ See [Tuning your reviews](https://loopover.ai/docs/tuning) for the full flag, se | MCP package | [@loopover/mcp](https://www.npmjs.com/package/@loopover/mcp) | | Engine package | [`@loopover/engine`](packages/loopover-engine/README.md) — shared deterministic logic for the review stack and miner | | Miner package | [`@loopover/miner`](packages/loopover-miner/README.md) — local foundation CLI for the autonomous miner runtime | -| API | [API browser](https://loopover.ai/api) and [OpenAPI JSON](https://api.loopover.ai/openapi.json) | +| API | [API browser](https://loopover.ai/api) and [OpenAPI JSON](https://loopover.ai/openapi.json) | | GitHub App | [Setup docs](https://loopover.ai/docs/github-app) — self-hosting is the only currently available path | ## MCP Install diff --git a/apps/loopover-ui/content/docs/fairness-methodology.mdx b/apps/loopover-ui/content/docs/fairness-methodology.mdx index 9cf55ec9f..20e0c25df 100644 --- a/apps/loopover-ui/content/docs/fairness-methodology.mdx +++ b/apps/loopover-ui/content/docs/fairness-methodology.mdx @@ -19,19 +19,15 @@ Nothing here is a summary of intent. Every rule below is the rule the code imple published commitments and prints a PASS/FAIL table. It needs no credentials. See [Verify this review](/docs/verify-this-review). - Two surfaces answer different questions, because they hold different data (#9940). Aggregate - stats and eval-score records come from `api.loopover.ai`, the default. The **anchored decision - ledger** lives on the Orb that actually reviews — its own hash chain, signed and anchored to - Rekor — so ledger and anchor checks need that one: + LoopOver's hosted service (`api.loopover.ai` and `shots.loopover.ai`) was retired on 2026-11-30; + the fairness report shows the last stats it published, kept as a snapshot. Point the verifier at a + self-hosted instance instead. It serves the aggregate stats and eval-score records and, because it + performs the reviews, the **anchored decision ledger** too — its own hash chain, signed and anchored + to Rekor: ```bash - npx -p @loopover/mcp loopover-verify # stats + eval scores - npx -p @loopover/mcp loopover-verify --base-url https://shots.loopover.ai # ledger + anchors + npx -p @loopover/mcp loopover-verify --base-url https://reviews.example.com ``` - - The public API's own ledger is empty by design: it aggregates outcomes reported by Orbs rather - than holding their chains. A verifier run against it reports the ledger checks as *skipped*, - not failed. ## The three data sources are not interchangeable diff --git a/apps/loopover-ui/content/docs/mcp-clients.mdx b/apps/loopover-ui/content/docs/mcp-clients.mdx index 00540ac75..e57d138b5 100644 --- a/apps/loopover-ui/content/docs/mcp-clients.mdx +++ b/apps/loopover-ui/content/docs/mcp-clients.mdx @@ -4,6 +4,13 @@ description: Configure your coding agent to talk to the LoopOver MCP. Pick stdio eyebrow: Get started --- + + The hosted MCP server at `https://api.loopover.ai/mcp` was retired on 2026-11-30. The remote blocks + below are what `init-client --mode remote` prints; to use them, replace `https://api.loopover.ai` + with your self-hosted instance's origin, and set `LOOPOVER_API_URL` to that origin so the stdio + gateway mounts its remote tools from the same place. + + {/* GENERATED:MCP-CLIENT-CONFIG:BEGIN — edit packages/loopover-contract/src/client-config.ts, then `npm run mcp:client-config` */} ## Generate config diff --git a/apps/loopover-ui/content/docs/self-hosting-configuration.mdx b/apps/loopover-ui/content/docs/self-hosting-configuration.mdx index 439a2f8d0..b99a5772e 100644 --- a/apps/loopover-ui/content/docs/self-hosting-configuration.mdx +++ b/apps/loopover-ui/content/docs/self-hosting-configuration.mdx @@ -522,10 +522,10 @@ Rekor transparency log, and a git commit that GH Archive and Software Heritage m history back past a published checkpoint would also require forging a signature or fabricating matching evidence at an external mirror. -**This is a self-host capability, and only a self-host one.** Hosted review execution is retired, so -`api.loopover.ai` never decides anything and has no chain of its own to anchor — its ledger endpoints -answer for an empty chain and say so (`status: "empty_ledger"`). The chain that matters is the one *your* -instance wrote, so anchoring runs where the decisions were made. +**This is a self-host capability, and only a self-host one.** Hosted review execution is retired, and the +hosted API (`api.loopover.ai`) was retired on 2026-11-30; it never decided anything or held a chain of its +own. The chain that matters is the one *your* instance wrote, so anchoring runs where the decisions were +made. Anchoring is **off until you provision a signing key**, and stays silent-but-visible until then: the public anchors endpoint reports `status: "unconfigured"` rather than an empty list that could be mistaken for a diff --git a/apps/loopover-ui/content/docs/self-hosting-github-app.mdx b/apps/loopover-ui/content/docs/self-hosting-github-app.mdx index 5888624e1..279c302a6 100644 --- a/apps/loopover-ui/content/docs/self-hosting-github-app.mdx +++ b/apps/loopover-ui/content/docs/self-hosting-github-app.mdx @@ -21,6 +21,12 @@ eyebrow: Self-hosting ]} /> + + The central Orb broker and the hosted telemetry collector ran on `api.loopover.ai`, which was retired + on 2026-11-30. Brokered mode has no broker to enroll with, so use a Direct GitHub App, and point + `ORB_COLLECTOR_URL` at a collector you run yourself if you want telemetry exports to land anywhere. + + Direct App mode is the public default: it costs LoopOver nothing to support and can't overrun a shared rate-limit budget. Brokered mode routes every token mint through LoopOver's own @@ -169,7 +175,7 @@ aggregate-only exports. -ORB_BROKER_URL=https://api.loopover.ai +ORB_BROKER_URL= # the hosted broker at api.loopover.ai is retired ORB_RELAY_MODE=pull # or omit for push (the default) -- see "Choosing a relay mode" below`} /> diff --git a/apps/loopover-ui/content/docs/troubleshooting.mdx b/apps/loopover-ui/content/docs/troubleshooting.mdx index 1af67728a..3fb0ba39c 100644 --- a/apps/loopover-ui/content/docs/troubleshooting.mdx +++ b/apps/loopover-ui/content/docs/troubleshooting.mdx @@ -12,9 +12,10 @@ loopover-mcp status loopover-mcp whoami`} /> -Or hit the public API endpoint directly to confirm reachability: +Or hit your self-hosted instance's health endpoint directly to confirm reachability. LoopOver's hosted +API, `api.loopover.ai`, was retired on 2026-11-30, so there is no public endpoint to check: - + ## Self-host Docker observability diff --git a/apps/loopover-ui/content/docs/verify-this-review.mdx b/apps/loopover-ui/content/docs/verify-this-review.mdx index b024ac165..64f1bfd38 100644 --- a/apps/loopover-ui/content/docs/verify-this-review.mdx +++ b/apps/loopover-ui/content/docs/verify-this-review.mdx @@ -14,30 +14,28 @@ its checksum, replay the same scorer over it, and compare what you get against w For what each published number *means* — which rows are counted, over what window, and where a figure stops supporting a conclusion — see the [fairness methodology](/docs/fairness-methodology). For a single command that recomputes the published commitments and exits non-zero if any fail, -run `npx -p @loopover/mcp loopover-verify`. +run `npx -p @loopover/mcp loopover-verify --base-url "$ORB"`. -[![Nightly anonymous verification](https://github.com/JSONbored/loopover/actions/workflows/verify-public-claims.yml/badge.svg)](https://github.com/JSONbored/loopover/actions/workflows/verify-public-claims.yml) - -**We run this against ourselves every night** (#9724). That badge is a scheduled job that executes -the verifier *published on npm* against production, from a runner holding no credentials of any -kind — the same position you are in. If it is green, an outsider following this page succeeded -within the last 24 hours. If it is red, something on this page does not currently work, we already -know, and there is an open issue saying which claim broke. The badge links to every run, including -the failures; you do not have to take our word for the history. + + **LoopOver's hosted service is retired.** `api.loopover.ai`, which served the aggregate stats and + eval-score records, and `shots.loopover.ai`, the Orb that held the anchored decision ledger, were + retired on 2026-11-30. The [fairness report](/fairness) shows the last stats they published, kept + as a snapshot. Every command on this page works against any LoopOver instance, so set `ORB` to a + self-hosted one you can reach: + + ```bash + ORB=https://reviews.example.com # a self-hosted LoopOver instance + ``` + -**Two surfaces, because they hold different things** (#9940). The commands on this page use -`api.loopover.ai`, which serves aggregate stats and eval-score records. The **anchored decision -ledger** — the hash chain, its signed checkpoints, and the Rekor anchors — lives on the Orb that -performs the reviews, at `https://shots.loopover.ai`. Point the ledger and anchor checks there: +The instance that performs the reviews also holds the **anchored decision ledger** — the hash chain, +its signed checkpoints, and the Rekor anchors: ```bash -curl -s https://shots.loopover.ai/v1/public/decision-ledger/verify | jq '{ok, tipSeq, totalCount}' -npx -p @loopover/mcp loopover-verify --base-url https://shots.loopover.ai +curl -s "$ORB/v1/public/decision-ledger/verify" | jq '{ok, tipSeq, totalCount}' +npx -p @loopover/mcp loopover-verify --base-url "$ORB" ``` -The public API's own ledger is empty by design — it aggregates outcomes Orbs report, rather than -holding their chains — so a run against it reports the ledger checks as *skipped*, never failed. - Everything below runs read-only against a corpus export and pure functions from `@loopover/engine`. Nothing posts anywhere, and nothing needs a LoopOver API key. @@ -62,7 +60,7 @@ as a checksummed JSON document ([backtest & calibration](/docs/backtest-cali that history is recorded): ```bash -curl -s "https://api.loopover.ai/v1/public/eval-corpus?ruleId=ai_consensus_defect" > corpus.json +curl -s "$ORB/v1/public/eval-corpus?ruleId=ai_consensus_defect" > corpus.json ``` `ruleId` is required — a corpus only means anything for one rule, and the rule ids are the ones the @@ -149,12 +147,12 @@ console.log(report); ## 4. Compare against the published numbers *(anyone)* The [fairness report](/fairness) renders each rule's decided-case count and measured precision from -the public stats endpoint's `rulePrecision` block. That endpoint is served by the API host, not by -this site, so fetch it absolutely — a bare `/v1/public/stats` resolves against `loopover.ai` and +the public stats endpoint's `rulePrecision` block. That endpoint is served by a LoopOver instance, not +by this site, so fetch it from `$ORB` — a bare `/v1/public/stats` resolves against `loopover.ai` and 404s: ```bash -curl -s "https://api.loopover.ai/v1/public/stats" | jq '.rulePrecision' +curl -s "$ORB/v1/public/stats" | jq '.rulePrecision' ``` ### Re-evaluation counts and author-class parity @@ -163,7 +161,7 @@ The same endpoint publishes `reviewParity` (#9743): how often a verdict was re-e whether a pull request faced the same scrutiny regardless of who wrote it. ```bash -curl -s "https://api.loopover.ai/v1/public/stats" | jq '.reviewParity' +curl -s "$ORB/v1/public/stats" | jq '.reviewParity' ``` Every figure in that block is computed from `decision_records` alone — the anchored ledger — so you can @@ -189,7 +187,7 @@ than as a reassuring number. `reviewParity`'s sibling, from the same ledger (#9727): ```bash -curl -s "https://api.loopover.ai/v1/public/stats" | jq '.automationRate' +curl -s "$ORB/v1/public/stats" | jq '.automationRate' ``` A pull request counts as **automated** only if every verdict for it was a merge or close with no human in @@ -213,7 +211,7 @@ The same per-rule numbers are also published as digest-committed transport — recompute `recordDigest` over the record's own remaining fields and compare: ```bash -curl -s "https://api.loopover.ai/v1/public/eval-scores" | jq '.records' +curl -s "$ORB/v1/public/eval-scores" | jq '.records' ``` Each record's `commitments.corpusChecksum` is the checksum of the corpus you downloaded in step 2 — @@ -221,8 +219,8 @@ the same rule, the same window, the same bytes. So you can close the loop yourse read the record, compare. ```bash -curl -s "https://api.loopover.ai/v1/public/eval-corpus?ruleId=ai_consensus_defect" | jq -r '.checksum' -curl -s "https://api.loopover.ai/v1/public/eval-scores" \ +curl -s "$ORB/v1/public/eval-corpus?ruleId=ai_consensus_defect" | jq -r '.checksum' +curl -s "$ORB/v1/public/eval-scores" \ | jq -r '.records[] | select(.workUnit.ruleId == "ai_consensus_defect") | .commitments.corpusChecksum' ``` diff --git a/apps/loopover-ui/content/docs/what-you-can-verify.mdx b/apps/loopover-ui/content/docs/what-you-can-verify.mdx index 55558d235..90f051ee5 100644 --- a/apps/loopover-ui/content/docs/what-you-can-verify.mdx +++ b/apps/loopover-ui/content/docs/what-you-can-verify.mdx @@ -26,8 +26,7 @@ Every persisted verdict appends to a hash-chained ledger — each row's hash cov hash, so any edit to history breaks the chain at a point you can locate. Run this against **the instance that reviewed the PR** — the host in the review comment's own links. -A ledger belongs to the runtime that made the decisions, so `api.loopover.ai` is the wrong host to -ask (see "Which host you ask matters" below): +A ledger belongs to the runtime that made the decisions (see "Which host you ask matters" below): ```bash ORB=https://orb.example.org # the instance that reviewed the PR @@ -72,13 +71,10 @@ Two response fields encode deliberate, published semantics rather than tolerance **Which host you ask matters.** A decision ledger belongs to the runtime that *made* the decisions, and hosted review execution is retired — only self-host runtimes execute reviews, so each one - writes and anchors **its own** chain in its own database. `api.loopover.ai` therefore has no ledger - of its own to anchor and never will: its `/v1/public/decision-ledger/*` endpoints answer for an - empty chain, and its `anchors` response says so explicitly via `status: "empty_ledger"` rather - than an ambiguous empty list. + writes and anchors **its own** chain in its own database. LoopOver's hosted API, `api.loopover.ai`, + never held a chain of its own, and it was retired on 2026-11-30. - So every command on this page runs against `$ORB`, the instance whose reviews you are checking — - never against `api.loopover.ai`. + So every command on this page runs against `$ORB`, the instance whose reviews you are checking. This is a deliberate boundary, not a gap. Aggregating every instance's records into one central chain would produce an anchored artifact that looks *more* authoritative while proving *less*: the @@ -185,7 +181,7 @@ Every review comment prints its decision record's full 64-character digest, and public: ```bash -curl -s "https://api.loopover.ai/v1/public/decision-records/OWNER/REPO/123" | jq +curl -s "$ORB/v1/public/decision-records/OWNER/REPO/123" | jq ``` Returns `{ record, recordDigest }`. The digest is a SHA-256 over the record's canonical JSON — keys @@ -202,8 +198,8 @@ replayable history — not hand-entered numbers. This is the walkthrough in [Verify this review](/docs/verify-this-review): export the checksummed corpus, verify its checksum, re-run the same public scoring functions from `@loopover/engine`, and -compare. **Anyone** can now do all of it: the corpus downloads from -`https://api.loopover.ai/v1/public/eval-corpus?ruleId=...` with no credentials, the checksum check +compare. **Anyone** can do all of it: the corpus downloads from +`$ORB/v1/public/eval-corpus?ruleId=...` with no credentials, the checksum check imports nothing from LoopOver, and the scorer is a pure function from a published package. The downloaded corpus is redacted — `targetKey` is dropped outright rather than hashed, and metadata is narrowed to the one `confidence` field the classifier reads — so you can reproduce every number diff --git a/apps/loopover-ui/public/openapi.json b/apps/loopover-ui/public/openapi.json index 3896871c1..4af4fb82e 100644 --- a/apps/loopover-ui/public/openapi.json +++ b/apps/loopover-ui/public/openapi.json @@ -27669,8 +27669,8 @@ }, "servers": [ { - "url": "https://api.loopover.ai", - "description": "Production" + "url": "https://reviews.example.com", + "description": "Your self-hosted instance" } ] } diff --git a/apps/loopover-ui/src/components/site/site-footer.tsx b/apps/loopover-ui/src/components/site/site-footer.tsx index 00454e0ad..115500806 100644 --- a/apps/loopover-ui/src/components/site/site-footer.tsx +++ b/apps/loopover-ui/src/components/site/site-footer.tsx @@ -108,8 +108,6 @@ export function SiteFooter() { diff --git a/apps/loopover-ui/src/routes/index.tsx b/apps/loopover-ui/src/routes/index.tsx index 4509c2e20..a8f27f653 100644 --- a/apps/loopover-ui/src/routes/index.tsx +++ b/apps/loopover-ui/src/routes/index.tsx @@ -476,9 +476,9 @@ args = ["-y", "@loopover/mcp@latest", "--stdio"]`, id: "remote", label: "Remote MCP", audience: "Agents", - filename: "endpoint", + filename: "your self-hosted instance's endpoint", lang: "http", - snippet: `https://api.loopover.ai/mcp`, + snippet: `https://reviews.example.com/mcp`, }, ]; diff --git a/scripts/write-ui-openapi.ts b/scripts/write-ui-openapi.ts index 4d5c824e0..72e01c359 100644 --- a/scripts/write-ui-openapi.ts +++ b/scripts/write-ui-openapi.ts @@ -44,7 +44,9 @@ async function main(): Promise { const checkOnly = process.argv.includes("--check"); const spec = buildOpenApiSpec(); - spec.servers = [{ url: "https://api.loopover.ai", description: "Production" }]; + // The hosted api.loopover.ai is retired, so the reference documents a self-hosted instance's origin, with the + // same placeholder host the self-hosting docs use. + spec.servers = [{ url: "https://reviews.example.com", description: "Your self-hosted instance" }]; const current = await readFile(target, "utf8").catch(() => ""); const currentSpec = parseCurrentSpec(current);