Resuming
A loop is easy to write. A resumable one is not. Lumpcode reads your git remote and continues where the last run stopped.
Open source. You just need git and a CLI agent.
A lump is a software factory as code: a folder in your repo that says what to work on, what to prompt, which agent to run, and how to check the result. Make it specific to one migration or general enough to take a spec backlog that never stops growing.
Lumpcode runs your coding agent through it, inside your repo with your skills and docs already there, and pushes a branch for each piece of work. You review each branch as a pull request, or let your CI merge it.
No account, no database, no backend: git is the only state.
Paste it into your coding agent. It installs Lumpcode, sets up a dedicated worker, and runs a first lump.
npm install -g @lumpcode/cliApache 2.0. No account needed.
Your codebase
src/components/ ├── UserCard/ index.tsx index.test.tsx └── DataTable/ index.tsx index.test.tsx
The lump
export default defineConfig({ command: 'claude-code', contextListJson: { COMPONENT: 'src/components/{NAME}/index.tsx', TEST: 'src/components/{NAME}/index.test.tsx', }, steps: retryUntilGreen({ steps: [{ promptTemplate: 'Port @{COMPONENT} to Vue 3 and update @{TEST}.', }], validationCommandFn: () => shellCommand('npm run test'), }),}){NAME} is the component name, so each component becomes one context holding both files.
What you review
lump/portToVue/UserCardmergedlump/portToVue/DataTablePR openYour coding agent already handles one task: one branch, one pull request. A software factory runs the whole list, and keeps running.
Start small, grow big. Two commands, lumpcode setup and lumpcode run, take an existing repo to a first lump, and it stays the same tool when one lump becomes a dozen that feed each other.
One config file says what to work on, what to prompt, and which agent to use. Every item it matches becomes one context.
export default defineConfig({
command: 'claude-code',
contextListJson: {
FILE: 'src/utils/{NAME}.ts',
},
steps: retryUntilGreen({
steps: [{
promptTemplate: 'Add tests for @{FILE}.',
}],
validationCommandFn: () =>
shellCommand('npm test'),
maxIterations: 3,
}),
})
On a clone you never edit, lumpcode start runs your agent on the next unfinished context and pushes a branch, then moves on: one context per branch by default, several when the diffs are small. Try one pass by hand first with lumpcode run.
$lumpcode start
workerup, every 5 min
$lumpcode transcript --lumpName addTests
contextformatDate
checknpm test ✗ attempt 1/3
agentfixing with the failure
checknpm test ✓
pushlump/addTests/formatDate
contextparseQuery
Review each branch as a pull request: open it yourself, or have it opened automatically after the push. Push fixes if the agent got something wrong, and merge when it looks right. The next run skips what you merged.
Add tests for formatDate
A lump is just code, so it can be whatever factory your flow needs. Lumpcode only fixes the shape: a list of work, the prompts, the agent, one branch per piece of work, state in git. Start with one, grow a fleet.
For example
Port every component, apply a codemod, rename an API. The list shrinks as branches merge, and the lump is done when it is empty.
Tests where they are missing, docs that drifted, what your linter or static analysis reports. A few branches at a time, for months.
Markdown ticket folders in your repo, or a query on Jira or Azure DevOps. One branch per ticket, in the order you set.
GitHub issues your team labels for the agent, one fix per branch.
One lump hunts bugs and files them as tickets; another fixes them once that pull request is merged.
Anything your code can list becomes the work. Configs can be TypeScript, so the factory is whatever you write.
See the examples →Close to half of the pull requests merged into Lumpcode came from lump branches. One lump hunts bugs and another fixes them; one turns loose ideas into tickets for four backlogs, and each of those backlogs is a single recipe call. Small ones polish, trim, and rewrite, one change per branch.
Read its lumps on GitHub →.lumpcode/lumps/
├── bugHunter/ files bugs as tickets
├── bugfixes/ fixes them, one branch each
├── autoTriage/ turns ideas into tickets
├── backlog/ features
├── qol/ quality of life
├── docs/ docs and website
├── polisher/ one small polish per branch
├── trimmer/ removes one unused piece
└── writer/ one wording fix per branch
A lump is a folder of config and prompts, committed and reviewed like the rest of your code. Changing a factory is a pull request; Lumpcode stores nothing of its own.
From the first run, the agent sees what your editor's agent sees: your skills, AGENTS.md, docs, and conventions. Nothing to upload or index.
No database. What is finished and what remains are read from the branches on your git remote, so any clone picks up where another stopped.
Run npm i @lumpcode/recipes in your repo. A recipe is a whole factory in one function call: featureBacklog({…}) turns ticket folders into requirements, tests, code, and checks. Its kit has smaller pieces, like retry until green.
Cursor, Copilot CLI, Claude Code, Codex, and OpenCode work as they are, or you can write a small module for anything else.
Safe by default
A for-loop over your files and a call to your agent gets you surprisingly far. Here is what you end up rebuilding.
A loop is easy to write. A resumable one is not. Lumpcode reads your git remote and continues where the last run stopped.
A bad result is one pull request you adjust or close, not a 200-file diff to untangle. If the prompt needs tweaking, the first PR shows it.
On a worker, each run gets its own checkout or git worktree, set up and torn down under a git lock, so lumps running side by side never collide.
Every step runs in its own process group and is cleaned up when it ends. If a worker crashes, it is restarted and whatever it left behind is stopped.
A one-off run is how you try it. A worker is how you use it.
Start with a second clone you never edit, even another folder on this laptop. The best setup is an always-on machine, a small server or VM with git access and your agent CLI, running lumpcode start. Push a new lump and the worker finds it on its next pass: nothing to deploy, register, or restart.
lump/bugfixes/missing-base-branchpushedlump/polisher/2026-11-16pushedlump/backlog/daemon-config-filesrunningOne worker, several lumps.
Node.js 22+, push access to your git remote, and a CLI agent on PATH.
Every run calls your agent, so a lump costs whatever your agent costs. Preview what a run would do without calling the agent with lumpcode lump-plan.
Paste it into your coding agent. It installs the skill, sets up this repo and a dedicated worker clone, then proposes and runs a first lump.
Or do it yourself
The CLI. This is all you need to run a lump.
npm install -g @lumpcode/cliOptional. Helps the agent in your editor write and update lumps. Not used when a lump runs.
npx skills add lumpcode/skills Then call the skill with /lumpcode.