Build verifiable RL environments for coding agents.
Repo2RLEnv generates coding, terminal and reasoning tasks in the Harbor format. Each one has an instruction, a starting environment, a private verifier and a reference solution. Review the evidence, then select tasks for training and evaluation.
tasksmith
An agent that turns pull requests into environments.
Tasksmith reads the change, builds the repository, and designs the instruction and private verifier. Controls, probes and a blind rollout guide bounded repairs. Each attempt keeps its result and diagnosis.
Tasksmith
Investigate a merged pull request, build its Harbor task and retain the review evidence. Controls, verifier probes and a blind solver guide bounded repairs. The final label records what was established and what still needs work.
- 01
Investigate
Reads the PR, its diff and the repository around it.
- 02
Bootstrap
Builds the repository’s environment on a remote worker.
- 03
Design
Writes the instruction and a private verifier.
- 04
Construct
Assembles the Harbor task; the merged code is the oracle.
- 05
Review and repair
Uses controls, probes and a blind solver to guide bounded repairs.
pipelines
Five kinds of tasks, from the material you already have.
Repair repository behavior using upstream or authored tests.
Write or restore functionality, graded by hidden or differential tests.
Reproduce a real change. The patch is scored against the merged one, no test suite needed.
Work in a shell to reach a state a verifier can check.
Problems without a repository: exact answers, or open objectives with graded scores.
how it works
Generate, check, then put the tasks to use.
Generate
Point a pipeline at a repository, a merged PR or a task seed.
repo2rlenv generate --repo pallets/click --pipeline pr_diff --out ./tasksCheck and review
Check the reference and baseline, then review the instruction, verifier and solver trace.
repo2rlenv validate ./tasks --oracleTrain and evaluate
Publish to the Hugging Face Hub and run any Harbor agent against it.
repo2rlenv push ./tasks org/my-envsthe output
A standard Harbor task, not a bespoke format.
Every pipeline emits the same directory. Harbor runs it in a sandbox with any of its agent harnesses (Claude Code, Codex, OpenHands and more), and the verifier writes the reward.
Read the task spec- task.tomlmetadata, resources, lineage
- instruction.mdwhat the agent sees
- environment/Dockerfile for the starting state
- tests/private verifier → reward
- solution/reference solution (the oracle)
Start with a task you can inspect.
Or browse the published datasets. The release inventory records their task counts, validation evidence and known limitations.