Skip to Content

Code tasks

Ask from your phone. A coding agent works on a copy in a separate, locked-down Sprite; you read the diff, rebuilt from GitHub's own files, and approve a draft pull request.

Rusuban
A code task: Add a GET /health route that returns HTTP 200 with JSON including status ok and the server uptime; Blockchain-Oracle/rusuban-playground, main at eec52d7; Ready to review, 2 files, +13 −0, Codex; and the pull request card with Repo, Into, Branch, Title, Changes, Checks Passed: npm test, Description, Approve, Edit, Deny
A real task on a test repo: Codex added the route and a test, the tests passed, and the pull request waits for an OK.

From a sentence to a pull request

The agent fetches the repo at an exact commit from GitHub, sends it to the workshop as a signed job, Codex edits and tests in a sandbox, the agent rebuilds the diff from GitHub's files, you approve, and the agent opens a draft pull request
  1. You ask, in chat or with Jobs → Code → New task: the repo, what should change, and optionally another base branch.
  2. The agent fetches the repo through the GitHub connector, as a tarball of the base branch at an exact commit, and sends it to the workshop Sprite as a signed job.
  3. The coding agent works on a copy. Dependencies are installed first with install scripts switched off; the coding agent then edits and runs the tests inside a sandbox. Its steps stream back to the task page.
  4. You review a diff you can trust. The agent builds the diff itself from GitHub's own base files and the changed files, never from the workshop's word. The card shows the files, lines added and removed, the test result, and warnings if it touches workflows, secret-looking files or dependencies.
  5. Approve and the agent writes the commit through GitHub's API on a new branch rusuban/<short-name>-<id> and opens a draft pull request (a regular one if the repo doesn't allow drafts). Close PR undoes it: the PR is closed and the branch deleted. Before that, Discard this change drops the result, and after a Deny, Ask again makes a fresh card from the same diff.

The coding agent

Choose it under Jobs → Code → setup:

EngineSigns in with
Codex (default)your ChatGPT plan (a device-code sign-in; the token stays on the workshop Sprite), or your OpenAI key when OpenAI is your brain
Claude Codeyour Anthropic key, when Anthropic is your brain

Then pick the repos it may touch: only repos GitHub lists as ones you can push to.

Why a second Sprite

The workshop runs code you didn't write. So it has no GitHub, no mail, nothing that can send, push or pay. Its outbound traffic is limited to an allowlist: the Sprites gateway, npm, and OpenAI and ChatGPT (for Codex). Every request to it is signed with a secret the agent and the workshop share (replaced on every install run); each signature is good for five minutes and accepted once. A repo that tries to talk the coding agent into pushing has nothing to push with. What comes back is treated as untrusted, and the result is thrown away if it contains one of the workshop's own secrets.

Limits

One job at a time; up to 25 minutes per job; up to 300 changed files and 25 MB in total; the last 20 jobs are kept on the workshop and the agent deletes its copy once it has stored the result.

On this page