Any agent can drive the desk.
The contract is plain JSON on stdout and a localhost HTTP server, documented in full by syneva spec. If your agent can run a shell command, it can receive your review.
With pi,
it’s wired for you.
- 01/review and /plan.
Prompt templates that start a desk, attach your session and act on each event.
- 02One correspondent per desk.
A read-only thread answers your questions, so your main session only wakes for finished reviews, closed desks and failures.
- 03/syneva.
A status command inside pi: which CLI, shim and package paths your setup is using.
Everywhere else,
a short loop.
Open the desk on the hub (the command returns at once, and starts the hub when none runs), then wait for events and branch on their kind. This is the shape; syneva spec has every detail.
syneva open --session authwhile ev=$(syneva await); do case "$(jq -r .kind <<<"$ev")" in question) syneva comment --path … --line … --body "…" ;; review) # act on .result, then: syneva reload ;; closed) exit 0 ;; esac done
Subcommands.
syneva openOpen a desk on the hub, or reload the live one for this repo and session. Prints its URL as JSON.syneva desksList the live desks of this repo, with their URLs.syneva closeClose the desk. Idempotent; the hub keeps running and review state stays saved.syneva awaitBlock until the next event and print it as one JSON envelope.syneva commentReply on a path, line and side. Appears live in the thread.syneva statusA one-line “doing X now” beside your spinner.syneva reloadRe-diff the working tree into the open tab, optionally with a new guide.syneva specPrint the whole contract.Events.
questionYou asked something. Answer it, read-only, on the same line.reviewYou clicked Send. The result field is your ReviewResult.closedYou ended the review from the browser. The round is over.A ReviewResult carries accepted, rejected, requestedChanges, approvedFiles, stagedFiles, openQuestions and an optional overallNote. The arrays are the review: there is no prose summary to parse.
How an agent
acts on a verdict.
- 01rejected → revert it.
You don’t want that change.
- 02requestedChanges → make the edit.
At that path and line, or across the file for a whole-file request.
- 03accepted and approvedFiles → leave them.
They are settled. Touching them reopens them for review.
- 04Then syneva reload.
Your tab shows the next revision. Anything rewritten is pending again.
Review as fast as your agent writes,
without losing a single change.
Syneva isn’t ready to install yet. Join the launch list and I’ll write the day it is.
Until then, here’s what will be waiting:
- From hello@syneva.dev
- Reply to leave
- Used for nothing else
You’re on the launch list. One email, the day Syneva installs.