DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to turn a coding task into a verified patch with Esf

Run a coding agent in an isolated microVM and get a patch plus gate results.

Short answer: Run git clone https://github.com/mitkox/esf.git and cd esf, then mkdir -p bin and make build; then run ./bin/factory init, then edit factory.toml with your Cube API endpoint, template, proxy address, agent harness, and verification profile. Keep factory.toml and .env out of Git. All steps.

Credentials. Agent and Cube credentials must be narrowly scoped and stored locally, since factory.toml and .env are not meant for Git.

Who it is forA developer or engineering lead with a repo and a clear change to make, who wants an agent to do the work without touching their workstation.

The problemLetting a coding agent edit a working tree directly risks unverified changes, leaked credentials, and no record of what happened.

The outcomeA durable patch, logs, and manifest for one task, with the agent output checked by the configured verification gates.

What you need first

  • Go 1.27.2 and Node.js 26.12.0 for v0.6.2 development
  • Git
  • An existing CubeSandbox deployment with a READY template
  • A Temporal service, or the included local Temporal Docker Compose stack
  • Narrowly scoped credentials configured locally, kept out of Git
  • Repository-owned build.sh and test.sh scripts, or other gates set for your project

Steps

  1. Run git clone https://github.com/mitkox/esf.git and cd esf, then mkdir -p bin and make build.
  2. Run ./bin/factory init, then edit factory.toml with your Cube API endpoint, template, proxy address, agent harness, and verification profile. Keep factory.toml and .env out of Git.
  3. For local Temporal, copy deployments/dev/temporal/.env.example to deployments/dev/temporal/.env, set a random database password, then run make temporal-up.
  4. Run ./bin/factory config validate and ./bin/factory doctor, then start the worker with ./bin/factory worker in one terminal.
  5. In another terminal run ./bin/factory run --repo https://github.com/your-org/your-repo --rev FULL_COMMIT_SHA --task "Describe the change and acceptance criteria" --agent opencode2 --verification default, then check it with ./bin/factory status RUN_ID and ./bin/factory logs RUN_ID. (inferred, check the README)

Prompt for your agent

In the ESF repo at <esf_path>, submit a run against <repo_url> at commit <full_sha> with the task in <task_file>, then poll `./bin/factory status <RUN_ID>` until it finishes. Report the patch location and gate results, and confirm the verification gates passed before calling the run successful.

Caveat. ESF produces changes for review and does not decide what ships, and the default verification profile expects repository-owned build.sh and test.sh scripts.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for mitkox/esf and "Turn a coding task into a verified patch"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer