diff --git a/.claude/skills/contributing-to-loopover/SKILL.md b/.claude/skills/contributing-to-loopover/SKILL.md index 8a7185863..3d366510c 100644 --- a/.claude/skills/contributing-to-loopover/SKILL.md +++ b/.claude/skills/contributing-to-loopover/SKILL.md @@ -12,6 +12,11 @@ description: >- # Contributing to LoopOver — the one-shot PR playbook +> **The loopover gate no longer runs on this repository.** It ran on LoopOver's hosted service, which +> was retired on 2026-11-30. CI and Codecov still run on every pull request, and a maintainer merges or +> closes by hand. The gate sections below describe how a self-hosted LoopOver instance behaves, not +> anything that acts on pull requests here. + LoopOver merges through an **automated, one-shot review**: the loopover gate (a GitHub App that posts a check run + a single review verdict) and a **strict CI suite gated by Codecov**. There is no human ping-pong and no "fix it in review" — **the PR must be perfect before you push.** This skill is diff --git a/AGENTS.md b/AGENTS.md index dd9fa367d..0e586a10a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,10 +14,10 @@ process evolves — edits to those files improve both Claude Code and Codex. ## The five things you must not get wrong -1. **The gate auto-merges and auto-closes — it is not advisory.** A *contributor* PR with red CI - (including `codecov/patch`), a gate failure, a base conflict, or an ineligible linked issue is - **auto-CLOSED, one-shot** (recovery = open a fresh PR). Green CI + passing gate + mergeable-clean + - a valid linked issue is **auto-MERGED**. So make it perfect before you push. +1. **CI is the only automation that acts on a PR.** The review gate that used to auto-merge and + auto-close PRs here ran on LoopOver's hosted service, which was retired on 2026-11-30; a maintainer + now merges or closes by hand. A PR with red CI (including `codecov/patch`) is not merged, so make it + perfect before you push. 2. **99% patch coverage, branch-counted.** Aim for **100% of every changed line *and branch*** — test both sides of every `??` / ternary / `&&` (a `SUM()` can return `NULL`, so the nullish arm is real), plus invariant tests and a regression test for every fix. Codecov measures `src/**` **and** @@ -36,5 +36,6 @@ process evolves — edits to those files improve both Claude Code and Codex. and out of `site/`, `CNAME`, `**/lovable/**`; never edit `CHANGELOG.md` in a normal PR. Contributors are also capped at **2 open PRs at a time** — close or wait for one to resolve before opening a third. -The full procedure, the gate disposition matrix, test patterns, the MCP pre-submit predictors -(`@loopover/mcp`), and the PR template are all in the skill files above — use them. +The full procedure, the gate disposition matrix (historical: the gate no longer runs here), test +patterns, the MCP pre-submit predictors (`@loopover/mcp`), and the PR template are all in the skill +files above — use them. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 97ac8078f..94340ef1c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,56 +9,26 @@ This project is maintained with a high review bar. PRs that ignore these guideli unrelated work, reintroduce retired architecture, or repeatedly fail the required gates may be closed without an extended review cycle. -## What Happens to Your PR (reviewed and acted on automatically) +## What Happens to Your PR -LoopOver reviews every PR with an automated gate (a GitHub App) and **acts on the outcome within a -few minutes** — there is no extended human back-and-forth. For a contributor PR (you are not the repo -owner or an automation bot): - -- **Auto-merged** when the gate passes, **all CI is green**, the branch is conflict-free, and any - required approvals are satisfied. -- **Auto-closed (one-shot)** on a clear adverse signal: a failing CI check (including coverage, - `codecov/patch`), a gate failure, a base/merge conflict, or a linked issue that is ineligible - (assigned to someone else, maintainer-only, or missing a required label). To recover, fix the - problem and open a **fresh** PR; **reopening** the closed PR is how you dispute the decision. -- **Held for a maintainer** (not closed) when CI is still running/unverified — e.g. a first-time fork - PR whose Actions await maintainer approval — or when the PR touches a protected/crucial path. +The automated review gate that used to merge or close pull requests here ran on LoopOver's hosted +service, which was retired on 2026-11-30, so nothing on this repository acts on a pull request by +itself any more. CI (`.github/workflows/ci.yml`, with Codecov's `codecov/patch` check) still runs on +every pull request, and a maintainer merges or closes pull requests by hand when time permits. There is +no review timing to expect. So **get it green and correct before you push**: run the full local gate (`npm run test:ci`), keep your -branch current with `main` (a conflict closes the PR), and link an eligible issue. If you use Claude -Code or Codex, the `.claude/skills/contributing-to-loopover` skill (and the root `AGENTS.md`) encode -the whole procedure step by step. - -## How Reviews Work (timing, one-shot, and asking for review) - -**Timing is typical, not an SLA.** When the LoopOver maintainer agent is operating, most PRs are -reviewed and auto-merged or auto-closed within **~1 hour of CI finishing**. When the agent is paused or -under maintenance, manual review **typically takes 24–48 hours, depending on volume**. These are -observations, not commitments or a service-level guarantee — reviews happen when they happen. - -**One-shot, merge-ready as-is.** We do not request changes or iterate on contributor PRs — a PR is -merged exactly as it stands or it is closed; there is no "changes requested" back-and-forth. Before CI -we rebase your branch onto `main` with a **merge commit**, then review **after** CI completes — so a -rebase conflict, or any red CI (including **99% patch coverage, branch-counted, enforced by Codecov**), -closes the PR. Recover by opening a **fresh, corrected PR**. PRs touching guarded paths (CI config, the -review engine, migrations, and similar — the set varies) are held for manual review rather than -auto-acted. - -**If you think a verdict was wrong.** Every verdict is independently verifiable offline, wrong closes -are detected automatically by outcome confirmation rather than by anyone filing a report, and the -remedy for a contested close is resubmission — a new head SHA earns a fresh verdict through the same -gate. There is deliberately no human appeals queue; the reasons are written down rather than left -implicit. See [relationships and recourse](https://loopover.ai/docs/contributor-relationships). +branch current with `main`, and link an eligible issue. A pull request with red CI, including **99% +patch coverage, branch-counted**, is not merged. If you use Claude Code or Codex, the +`.claude/skills/contributing-to-loopover` skill (and the root `AGENTS.md`) encode the procedure step by +step. **If we close your PR by mistake, that's on us.** We may reopen or re-review at our discretion as time permits — there is no fixed window, and opening a fresh PR is usually fastest. -**Don't ask for or chase reviews.** The queue is automated and best-effort, and every auto-merge or -auto-close comes with a detailed bot comment on your PR explaining exactly what passed or what was -wrong — read that first. Do **not** DM, @-mention, or comment asking for a review or status: it will -not speed anything up and **will deprioritize your PR — expect at least 5 days added to its place in -the manual queue.** Persistent pestering (here, Discord, or elsewhere) is a conduct violation and may -get the PR closed and the account blocked. +**Don't ask for or chase reviews.** Do **not** DM, @-mention, or comment asking for a review or status: +it will not speed anything up. Persistent pestering (here, Discord, or elsewhere) is a conduct violation +and may get the PR closed and the account blocked. **Contributors are limited to 2 open PRs at a time.** Close or wait for one to resolve before opening a third. @@ -275,7 +245,9 @@ MCP: - Keep CLI output stable and JSON output parseable. - `loopover-mcp init-client --print` supports `codex`, `claude`, `cursor`, and `mcp` (generic JSON hosts that use the `mcpServers` shape). -- MCP package releases are prepared separately and published from protected `mcp-vX.Y.Z` tags. +- MCP package releases are published by `publish-mcp.yml`, which tags them `mcp-vX.Y.Z`. That + workflow and the other release and publish workflows are disabled, so nothing is published until a + maintainer re-enables them. Public GitHub surfaces: diff --git a/README.md b/README.md index aaa36a9c3..c26b5f074 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ LoopOver automates the entire development lifecycle — write, review, merge, le - **For maintainers (self-hosted):** an autonomous review agent works the PR queue end-to-end — AI review grounded in finished CI status, full post-change file content, and codebase RAG — then gates, approves, requests changes, merges, or closes on its own, governed by dry-run / pause / freeze / kill-switch controls. - **For contributors:** the [`@loopover/mcp`](https://www.npmjs.com/package/@loopover/mcp) copilot brings predicted gate verdicts, branch preflight, duplicate detection, and cross-repo opportunity discovery into your own AI harness; the autonomous miner runtime (`@loopover/miner`) runs unattended across a fleet of repos, respecting each target repo's `.loopover-miner.yml` goal spec. -- **With proof:** merge/close decisions are outcome-confirmed (merged / reopened / reverted), published with coverage and confidence intervals on the live [fairness report](https://loopover.ai/fairness), and backed by a certified close-precision guarantee that self-tightens as data grows. The backtest corpus behind the published numbers is checksummed and [replayable by anyone](https://loopover.ai/docs/verify-this-review). +- **With proof:** merge/close decisions are outcome-confirmed (merged / reopened / reverted), published with coverage and confidence intervals on the [fairness report](https://loopover.ai/fairness) (the last figures the hosted service published, kept as a snapshot), and backed by a certified close-precision guarantee that self-tightens as data grows. The backtest corpus behind the published numbers is checksummed and [replayable by anyone](https://loopover.ai/docs/verify-this-review). - **Gittensor-native intelligence built in:** for Bittensor SN74 miners the same engine adds scoreability previews, registry economics, and the cross-repo duplicate graph — while keeping wallet, hotkey, and raw trust-score context out of public GitHub output. -Self-hosting the whole stack is the path available today — and it doubles as the trust story: audit the algorithm, run it on your own infra, replay the published numbers yourself. A hosted plane is in open development on the public milestones (ORB Cloud Readiness, Rent-a-Loop): rentable, metered loops you point at a repo — and, further out, at nothing more than an idea. +Self-hosting the whole stack is the only way to run it — and it doubles as the trust story: audit the algorithm, run it on your own infra, replay the published numbers yourself. The hosted service at `api.loopover.ai` was retired on 2026-11-30. It is the single converged home of the native review system; the legacy separate reviewbot repo/runtime is not part of the active architecture described here. @@ -160,7 +160,7 @@ npm run ui:build

-Refreshed weekly by [`.github/workflows/gittensor-impact.yml`](.github/workflows/gittensor-impact.yml). +Generated by [`.github/workflows/gittensor-impact.yml`](.github/workflows/gittensor-impact.yml). That workflow is disabled, so the card shows its last refresh. ## Project Links