CrowdPatch
CrowdPatch is a closed-loop bug fix economy.
Core trick
Runs each fix job in a Durable Object that streams Managed Agent events to browsers and persists them to SQLite for replay.
Description
CrowdPatch is a closed-loop bug fix economy. Developers upload their apps, the users file bug reports and earn credits, and uploaders spend credits to spawn Claude Managed Agents (Opus 4.6) that diagnose, fix, validate against the repo's own test suite, and open real GitHub PRs.
Every other AI coding tool requires a developer in the loop. CrowdPatch inverts the model: the crowd becomes QA, the agent becomes the engineer, the developer becomes the curator. Every successful run is a durable, reviewable, mergeable PR, not ephemeral output.
Here's what we got: the agent + workers. A Cloudflare Worker (Hono) hands fix-jobs to a Durable Object that owns one Managed Agent session per job, multiplexes its event stream to concurrent SSE browser subscribers, persists semantic events to per-instance SQLite for replay-on-reconnect, and writes a per-run R2 evidence bundle. Meanwhile, a second Vault + GitHub MCP path lets user-supplied PATs author PR commits, solving the read-only-token limitation of the default github_repository.authorization_token attachment.
Evidence: 14+ real [CrowdPatch] PRs landed on a public test repo across the build week. PR #14 is the submission-day headline. PR #13 is a resilience receipt - a CF Durable Object died at the +5min CPU limit, the agent kept working and pushed its branch anyway, and the recover endpoint adopted the orphan branch and opened the PR.
Open source under MIT. The agent + worker spine is the reusable core; the website is optional. But I felt like if I didn't start the rollout, someone else might have done it. So, it's sort of a 2-in-1...
README excerpt
# CrowdPatch **Community-sourced bugs. AI-shipped fixes.** Powered by Claude Managed Agents on Opus 4.6 — every run lands as a real GitHub PR. > Built for the **[Built With Opus 4.7 Hackathon](https://cerebralvalley.ai/e/built-with-4-7-hackathon)** · > targeting **Best Use of Managed Agents**. A developer ecosystem where bug reports become merged PRs — manually invoked, or autonomously and asynchronously, while you sleep. ## The loop 1. **Upload** — Developer links a GitHub repo to CrowdPatch. 2. **Report** — Community members test apps, file bug reports, earn credits. 3. **CrowdPatch it** — Uploader spends credits to spawn a Claude Managed Agent. The agent enters a sandbox, diagnoses, writes the fix, runs the tests, opens a PR. 4. **Ship** — Developer reviews, merges. App is permanently better. The crowd finds it. Claude fixes it. You ship it. ## Why it matters Every other AI coding tool requires the developer to be in the loop — babysitting suggestions, approving diffs line by line. CrowdPatch inverts the model. The crowd becomes QA. The agent becomes the engineer. The developer becomes the curator. ## Demo - **3-min walkthrough:** **[Watch on YouTube → https://youtu.be/3z4H9OT274I](https://youtu.be/3z4H9OT274I)** · or see [DEMO.md](./DEMO.md) for the full walkthrough - **Live demo:** [crowdpatch.dev/demo](https://crowdpatch.dev/demo) · access code shared with judges via the submission form - **Headline PR (submission day):** [`[CrowdPatch] Fix: word-diff