Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down
16 changes: 6 additions & 10 deletions apps/loopover-ui/content/docs/fairness-methodology.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</Callout>

## The three data sources are not interchangeable
Expand Down
7 changes: 7 additions & 0 deletions apps/loopover-ui/content/docs/mcp-clients.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ description: Configure your coding agent to talk to the LoopOver MCP. Pick stdio
eyebrow: Get started
---

<Callout variant="warn" title="LoopOver's hosted service is retired">
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.
</Callout>

{/* GENERATED:MCP-CLIENT-CONFIG:BEGIN — edit packages/loopover-contract/src/client-config.ts, then `npm run mcp:client-config` */}

## Generate config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion apps/loopover-ui/content/docs/self-hosting-github-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ eyebrow: Self-hosting
]}
/>

<Callout variant="warn" title="LoopOver's hosted service is retired">
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.
</Callout>

<Callout variant="safety">
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
Expand Down Expand Up @@ -169,7 +175,7 @@ aggregate-only exports.
<CodeBlock
filename=".env"
code={`ORB_ENROLLMENT_SECRET=<issued-once-by-orb>
ORB_BROKER_URL=https://api.loopover.ai
ORB_BROKER_URL=<your-broker-origin> # 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`}
/>

Expand Down
5 changes: 3 additions & 2 deletions apps/loopover-ui/content/docs/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<CodeBlock lang="http" code={`GET https://api.loopover.ai/health`} />
<CodeBlock lang="http" code={`GET https://reviews.example.com/health`} />

## Self-host Docker observability

Expand Down
52 changes: 25 additions & 27 deletions apps/loopover-ui/content/docs/verify-this-review.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<Callout variant="warn">
**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
```
</Callout>

**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.

Expand All @@ -62,7 +60,7 @@ as a checksummed JSON document ([backtest &amp; 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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -213,16 +211,16 @@ 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 —
the same rule, the same window, the same bytes. So you can close the loop yourself: hash the corpus,
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'
```

Expand Down
18 changes: 7 additions & 11 deletions apps/loopover-ui/content/docs/what-you-can-verify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,13 +71,10 @@ Two response fields encode deliberate, published semantics rather than tolerance
<Callout variant="warn">
**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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions apps/loopover-ui/public/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -27669,8 +27669,8 @@
},
"servers": [
{
"url": "https://api.loopover.ai",
"description": "Production"
"url": "https://reviews.example.com",
"description": "Your self-hosted instance"
}
]
}
2 changes: 0 additions & 2 deletions apps/loopover-ui/src/components/site/site-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ export function SiteFooter() {
<div className="mx-auto flex max-w-7xl flex-col items-start gap-3 px-4 py-5 text-token-xs text-muted-foreground sm:flex-row sm:items-center sm:justify-between sm:px-6 lg:px-8">
<div className="font-mono">
<span className="text-foreground/70">loopover.ai</span>
<span className="mx-2 opacity-40">·</span>
<span>api: api.loopover.ai</span>
</div>
<div className="flex flex-wrap items-center gap-x-3 gap-y-2">
<a
Expand Down
2 changes: 1 addition & 1 deletion apps/loopover-ui/src/lib/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function requiresAuthentication(path: string, op: RawOperation): boolean {
// The reference documents the spec's own servers as text (curl/fetch samples); the static site never calls them.
function normalizeServers(servers: Array<{ url: string; description?: string }> | undefined) {
if (!servers || servers.length === 0) {
return [{ url: "https://api.loopover.ai", description: "Production" }];
return [{ url: "https://reviews.example.com", description: "Your self-hosted instance" }];
}
return servers;
}
Expand Down
5 changes: 3 additions & 2 deletions apps/loopover-ui/src/routes/agents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ function AgentsPage() {
</div>
<h3 className="font-display text-token-lg font-semibold">stdio + remote</h3>
<p className="mt-1 text-token-sm text-muted-foreground">
Run the MCP as a local stdio process, or connect to the remote MCP at the Worker.
Run the MCP as a local stdio process, or connect to the remote MCP your self-hosted
instance serves.
</p>
<div className="mt-4">
<CodeBlock code={`loopover-mcp --stdio`} />
<div className="mt-2">
<CodeBlock code={`npx -y @loopover/mcp@latest --stdio`} />
</div>
<div className="mt-2">
<CodeBlock lang="http" code={`https://api.loopover.ai/mcp`} />
<CodeBlock lang="http" code={`https://reviews.example.com/mcp`} />
</div>
</div>
</Card>
Expand Down
4 changes: 2 additions & 2 deletions apps/loopover-ui/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
},
];

Expand Down
4 changes: 3 additions & 1 deletion scripts/write-ui-openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ async function main(): Promise<void> {
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);
Expand Down
Loading