Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
A verification-first debugging agent: it turns an incident into a reproducing test, a patch your test suite confirms, and an independent model review, or tells you the fix isn't in the code. Built on Meta Muse Spark.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The AI debugger that proves its fix, or tells you it can't.
Give it an incident: logs, a screenshot, a bug report. Meta Muse Spark investigates your code in a locked-down sandbox and writes a test that reproduces the bug. It then patches the code and lets your test suite decide whether the fix works. Finally, an independent open-weight Meta model reviews the patch cold. If the cause isn't in the code, it says so instead of patching.
▶ Watch the demo video (1:45) · Try it live, no account needed · Every result, including failures
| What happened | |
|---|---|
| 🛡️ Catches patches that cheat | Muse Spark Open rejected all 6 model-generated patches that pass the visible tests but fail held-out ones (12 of 12 reviews) |
| 🧭 Knows when not to patch | When refunds failed because of an expired API key, it diagnosed the key and changed no code |
| 🖼️ Reads the evidence you have | It fixed a checkout bug whose only trace was a customer's screenshot |
| 🐛 Works on real code | 2 of 7 real bugs fixed, judged by hidden tests, on bugs fixed in public projects (click, packaging, tomlkit…) between Aug and Oct 2026 (blind study). On a real Spring Boot app with a planted bug: 232 → 251 tests passing |
| 🔍 Doesn't oversell itself | On the other real bugs it said "not verified" or the reviewer rejected the patch. The one exception is disclosed and explained |
Built for the Meta Global AI Developer Hackathon: Indie track, Push the Frontier. Detailed numbers, statistics and limits: Results · /evidence · build log (TracePilot work during Oct 27 – Nov 4, 2026; pre-existing ShipSpace and reused dependencies disclosed).
Good first picks:
The hosted backend runs at most 2 investigations at a time and 40 a day. Investigating your own uploaded code needs an access key, shared with the judges in the submission.
When production breaks, developers spend hours reading logs, replaying requests, tracing errors back to code and checking that a fix really works. AI coding assistants jump straight to writing code, and a patch that makes the tests pass isn't the same as a fix. It can special-case the failing input, hide the symptom, or "fix" something that was never a code problem.
TracePilot investigates first and proves its work:
Every number comes from real runs. The raw data is in eval/.
Judge evidence: answers to every question · uncertainty and error rates · threat model / data flow · honest case studies · official rubric alignment. The UI exposes the same limits at /evidence and alongside benchmarks.
Same model, with and without TracePilot (details). Both use muse-spark-1.3, the same sandbox, logs and basic tools. Code patches are judged by hidden acceptance tests. Refunds is scored as a correct external-cause diagnosis with no application patch, not verified operational recovery.
| 13 runs each | Plain agent | TracePilot |
|---|---|---|
| Correct outcomes (acceptance criteria) | 12/13 | 13/13 |
| Claimed fixed but wasn't | 0 | 0 |
| Reproducing tests written | 0 | 5 |
| Average tokens (TracePilot includes the reviewer) | 137,596 | 94,346 (31% fewer) |
| Average time | 293 s | 191 s (35% less) |
Evaluation and reviewer benchmark (details):
UNION, and hard-coded invoice totals.These are small, project-authored evaluations, not independent or statistically significant population claims. The eight gaming observations repeat four distinct attacks; they are not eight independently authored patches. Unsafe approvals: 0/8 (descriptive 95% Wilson interval 0–32.4%); correct-patch nonapprovals: 1/8 (2.2–47.1%, one concerns verdict, no hard reject). TracePilot 13/13 has a 77.2–100% interval. Incident-cluster cost/speed intervals include zero. Rebuildable statistics disclose the method and source hashes. The controlled research extension is reported separately; the original pilot alone does not establish component effects or a smaller-model advantage.
The dollar figure is a model-cost estimate/order of magnitude from the saved usage, not a proposed retail price or all-in cost. Hosting, separate reviewer billing, retries and support are not fully represented. Provider rates and cache effects can change.
What this shows, honestly: the model is strong on its own, and the plain agent never claimed a false fix here. TracePilot's measurable gains are cost and speed, plus proof that ships with every fix. The largest gap was ShipSpace, a real Spring Boot app: 505K tokens and 18 minutes for the plain agent, against 335K and 12 minutes for the same one-line fix. Where verification matters most is a patch that looks right but isn't, and the reviewer benchmark measures exactly that.
Round 2: 2/7 fixed by the projects' own hidden tests: Inflect and Tomlkit. All seven cases were attempted once with the follow-up harness; three were not fixed and two ended in errors (API connection and model context-window overflow). More-itertools passed local verification and received reviewer approval but failed two hidden edge cases, which test a requirement its bug report (written by us from the fix PR) did not state. Click was only partially fixed; Pyparsing received no application-code fix. No failed case was restarted to improve its score.
Round 1 is preserved separately: 1/4 recorded cases passed the hidden oracle before the run stopped. It exposed an unanswered chained-tool-call crash and collection errors that prevented unrelated tests from running. The follow-up repairs those harness paths, supports common pyproject test dependencies and src layouts, and reports unchanged unloadable files explicitly. The original unrecorded process exit remains unexplained; it is not retroactively relabelled as the later connection failure.
Every result · Case analysis and failure evidence · Method, artifacts and reproduction.
Limits: seven selected public Python bugs, one investigation per case per round including normal internal fix loops. Five incidents were written from PR descriptions; two use original issues, and Inflect's issue includes a root-cause hint. Fix diffs and future tests were withheld from the model, but study authors knew them; recent merge dates cannot prove model unfamiliarity. Round 2 follows inspected round-1 failures, has no paired plain-agent control, and is not an independent or representative evaluation. Passing these tests is bounded evidence, not proof for every input. The results do not support a reliable general-purpose repair claim.
Completed findings and claim corrections: research closure. The measured harness is archived; current product code separately blocks application of a patch with unresolved review concerns or rejection.
The original service-incident pilot is kept separate from a locally frozen 96-trial external-source matrix: six QuixBugs algorithms, Muse Spark 1.1 and 1.3, four workflows (plain, plain+brief, TracePilot, TracePilot without brief), two repetitions. Source revisions, splits, budgets, raw observations and a second scoring pass for every patch are retained. Current status and results · Protocol · Replication instructions.
The reviewer follow-up has 48 observations comparing cold Muse Spark 1.3 and Muse Spark Open review on upstream fixes and six model-generated overfitting attacks. Each reviewer rejected 12/12 gaming observations and approved 10/12 reference observations. Their two reference nonapprovals concerned wrap: a separate time-limited Docker check confirmed a zero-progress hang that the upstream test oracle missed. These are not automatically false rejections. The raw-reference pilot is retained separately because whole-module upstream files changed documentation and created a merge-readiness confound.
This does not establish private-repository generalization, smaller-model gains or independent model-family blind spots. The benchmark is public and may be known to models. The brief is isolated; remaining harness features are a bundled comparison. Do not assume the original 31% token saving applies to new workloads. Completed and pending cells, null/negative results, cached usage, reviewer overhead and wide intervals are visible in the report.
TracePilot uses two Meta models with deliberately different jobs.
muse-spark-1.3 on the Meta Model API: the investigator.
Muse Spark Open (meta-models/muse-spark-open-1026) on Baseten: the independent reviewer.
A real catch: in one billing run the patch passed all 5 tests, but Muse Spark Open flagged a latent crash. sum() over an invoice with no lines returns the integer 0, which has no .quantize(). No test covered it.
flowchart LR
I["Incident + logs<br/>+ screenshots + your repo"] --> H
subgraph H["Harness (owns the facts)"]
B["Evidence brief<br/>log patterns, failing tests<br/>(no model call)"]
V["Verification<br/>per-test before/after"]
end
subgraph S["Docker sandbox<br/>no network, read-only, non-root"]
C["Copy of the code"]
T["pytest / Maven"]
end
subgraph M1["muse-spark-1.3 · Meta Model API"]
A["Investigator<br/>hypotheses, tool calls,<br/>reproducing test, patch"]
end
subgraph M2["Muse Spark Open · Baseten"]
R["Independent reviewer<br/>sees facts + patch,<br/>not the transcript"]
end
B --> A
A -- "read_log · read_file · send_request<br/>run_tests · write_regression_test · edit_file" --> S
S --> V
V --> R
R -- "reject: objections go back<br/>for one more fix round" --> A
R --> O["Hand-off<br/>fix.patch · pr.md · report.md"]
V --> O
fix.patch (including any new test), a ready PR description, a full report, and the run's events.Token economy. Every model call re-sends the conversation, so input tokens are about 95% of the cost. The harness does the cheap work itself: the free evidence brief, compact stack traces, lean test output, batched tool calls, and a final report written from recorded facts in a fresh context. On the same incidents this cut tokens by about 34%. Each run reports its tokens by phase.
Eight original incidents, all with symptom-only incident reports, plus a recorded external-study review-required case. Answer keys live outside the sandbox, and a test (test_targets_contain_no_answer_key) guards that the agent never sees them. The shipping module and ShipSpace are recorded runs; the other six can also run live.
| Scenario | What's wrong | Why it's hard |
|---|---|---|
| Orders API | A 500 from a missing coupon, and a missing ownership check (IDOR) | Two bugs, one of them a security hole |
| Notes API | Search breaks on apostrophes: SQL injection | Slow-export warnings are a red herring |
| Billing API | A disputed cent from float rounding, and a pagination off-by-one | Money and paging bugs together |
| Inventory API | Phantom stock and an item oversold | CI is green: the agent must write the failing tests itself |
| Refunds API | Refunds fail right after a deploy | The cause is an expired provider key: no code change is the right answer |
| Checkout API | The wrong discount for a customer | The only evidence is a screenshot |
| Shipping module | Orders placed on Friday promised for Saturday | Not a web app, plain-text logs, green CI |
| ShipSpace (Java) | Ship edits allowed hours after posting; the rule is 10 minutes | A real Spring Boot 3 app with about 260 Java files and 102 test classes |
ShipSpace is the author's own public project, SamppurnaTH/ShipeSpace. The bug was planted only in a separate copy. The agent found it from the incident and the logs, and explained why CI stayed green: the test that checks the window isn't in CI's test list, and the controller test that is in CI mocks the service. It reproduced the bug with the project's own test and verified 232 → 251 passing with no regressions. Muse Spark Open approved and flagged a data backfill for ships already stored.
Needs Python 3.11+, Docker (recommended) and a Meta Model API key. A Baseten key is optional and enables the reviewer.
python -m venv .venv && .venv/Scripts/python -m pip install -r backend/requirements.txt # .venv/bin/python on macOS/Linux
cp .env.example .env # add MODEL_API_KEY (and BASETEN_API_KEY)
.venv/Scripts/python tracepilot.py investigate --repo path/to/your/service --logs path/to/app.log --incident "Orders placed on Friday are promised for Saturday"
pom.xml). A FastAPI app is detected automatically, so the agent can send it requests.--screenshot path/to/image.png (PNG, JPEG, WebP or GIF).--tests sets which test classes define "green", like your CI's list. --test-args passes properties such as "-Dspring.profiles.active=test". Tests that need a database, network or Docker are excluded and listed, because the sandbox blocks all three.tracepilot-out/<time>/ contains fix.patch, pr.md, report.md and run.json. Add --apply to apply the patch with git apply, only if it was verified. The exit code is 0 for a test-verified patch without unresolved review objections, or for a no-code-change diagnosis; 1 means unverified or review required.In the browser, New investigation does the same with a project ZIP or a public repository URL.
CI integration: copy the manual GitHub Actions example using these setup instructions. It uploads evidence for human review; it does not install a GitHub App, open a PR or apply a patch. CLI exit 0 also includes a no-code-change diagnosis; inspect the JSON outcome.
| Screen | What it does |
|---|---|
Landing (/) | The pitch, the measured results and how it works |
Example scenarios (/examples) | Eight original incidents plus a real review-required study replay; run supported examples live or watch recordings |
New investigation (/investigate) | Upload a ZIP or give a public repository, add logs and screenshots |
Run (/run) | The live console while running, with Stop. When done: the outcome, patch or recommended action, tests, AI review, evidence and the full log |
Comparison results (/results) | The same-model comparison and the reviewer benchmark |
My runs (/runs) | Recorded runs plus the backend's saved runs |
Documentation (/docs) | Getting started and the CLI guide |
Workspace (/app) | The same tools for signed-in team members |
Admin Console (/admin) | Accounts, roles, workspace settings and the audit log |
Access. The example scenarios are a public demo: anyone can run, watch and replay them. Investigating uploaded code needs a signed-in operator or the access key, and those runs are visible only to signed-in workspace users. Roles: admin (accounts, settings, audit log), operator (start and stop investigations) and viewer (read-only). Passwords are PBKDF2-hashed, session tokens are stored hashed, sign-in is rate-limited, and sessions last 8 hours.
flowchart LR
U["Browser"] --> F["Next.js frontend<br/>Vercel"]
U -- "HTTPS + live events (SSE)" --> C["Caddy (HTTPS)<br/>AWS EC2"]
C --> API["FastAPI<br/>tracepilot.service"]
API --> D["Docker sandboxes"]
API --> MA["Meta Model API<br/>muse-spark-1.3"]
API --> BT["Baseten<br/>Muse Spark Open"]
G["GitHub Actions CI"] -. "status" .-> P["pull-deploy timer<br/>on EC2"]
P --> API
main.deploy/setup.sh). Caddy serves HTTPS; the API listens only on 127.0.0.1.main, and when CI has passed for the newest commit it deploys that exact revision as a new release. Each release waits for running investigations, backs up accounts, checks /health and rolls back on failure. GitHub holds no SSH keys or cloud credentials.See deploy/README.md for setup, operations and recovery.
Data flow: repository/logs/screenshots → harness → Meta investigator; incident facts + patch + changed-file excerpts → Baseten Meta reviewer; reports/events → run storage. See the threat model for actual boundaries, provider qualifications, dependency-build exposure, team access and retention limits.
.env files are never copied into the sandbox, secret-looking environment variables are stripped, and local paths are scrubbed from everything sent to the models.| Endpoint | Access | Purpose |
|---|---|---|
GET /health | Public | Status, active investigations and the deployed release |
GET /api/scenarios | Public | Demo scenarios (incident text only) |
POST /api/investigations {"scenario": "notes"} | Public (limited) | Start an example investigation |
GET /api/investigations/{id} · /events | Public for examples | Status and report; live server-sent events |
POST /api/investigations/{id}/cancel | Public for examples | Stop a run before its next model call |
POST /api/investigations/custom (multipart) | Operator or access key | Investigate a ZIP or a public repository, with logs, screenshots and Java test options |
GET /api/runs · /api/runs/{name} | Public for examples | Saved runs, for replay |
GET /api/investigations | Workspace users | All investigations on this backend |
/api/admin/* · /api/workspace/* | Signed in | Sign-in, accounts, roles, settings and audit log |
Signed-in calls use Authorization: Bearer <token> from POST /api/admin/login. Workspace roles apply to signed-in callers; a viewer can't start runs.
# Backend
python -m venv .venv
.venv/Scripts/python -m pip install -r backend/requirements.txt # .venv/bin/python on macOS/Linux
cp .env.example .env # MODEL_API_KEY, BASETEN_API_KEY; optional TRACEPILOT_ADMIN_EMAIL/PASSWORD (never commit .env)
.venv/Scripts/python backend/scripts/smoke_test.py # checks the Meta Model API
.venv/Scripts/python backend/scripts/investigate.py --scenario orders # one scenario from the CLI
.venv/Scripts/python backend/scripts/eval.py agent --runs 2 # repeated runs -> eval/RESULTS.md
.venv/Scripts/python backend/scripts/eval.py reviewer # reviewer benchmark
.venv/Scripts/python backend/scripts/compare.py run --system tracepilot # plain agent vs TracePilot (also --system plain)
.venv/Scripts/python backend/scripts/compare.py score # judge with hidden tests -> eval/COMPARISON.md
cd backend && ../.venv/Scripts/python -m pytest && cd .. # backend tests
cd backend && ../.venv/Scripts/uvicorn app.main:app --reload # API on http://localhost:8000
# Frontend (replays recorded runs; runs live when the API is up)
cd frontend && npm install && npm run dev # http://localhost:3000
Tech stack: Python and FastAPI; Next.js 15 and React 19; Docker; muse-spark-1.3 on the Meta Model API; Muse Spark Open on Baseten; Vercel, AWS EC2, Caddy and GitHub Actions.
BUILD_LOG.md records what was built and when.muse-spark-1.3 (Meta Model API) and Muse Spark Open (open weights, via Baseten).backend/requirements.txt and frontend/package.json.MIT © 2026 Thota Venu