Add a Todo
Add “Validate auth edge cases” to the auth-flow Workspace.
Treefold is a macOS app for managing parallel agent development. Give each task its own Git worktree, run agents and shells together, track work, review changes, and deliver the results.
The first public alpha is available. Install with Homebrew or download the DMG.fork/validationOwn branch · Own worktree
Fork / validationValidate auth edge cases
Fork / api-testsAdd API integration tests
Sessions in the same Fork share a checkout
src/auth/session.ts− return session.user+ validateSession(session)+ return session.user✓ Tests passed · Awaiting review
Archive when finished; keep the worktree and work records
Turn a Todo into a Fork with its own branch and worktree.
Run an agent in each Fork, with code changes isolated from one another.
Review changes and test results, then merge the Fork into its parent Workspace.
Run Codex, Claude Code, Pi, or OpenCode in a Workspace or Fork, or open a Shell for commands. Install and configure your chosen agent’s CLI first.
Available now
Building a sign-in feature? Put the frontend and backend repositories in one Project, create a Workspace for the feature, and use Forks for parallel validation and testing.
Follow a sign-in task from its description through execution to the resulting code.
Add “Validate auth edge cases” to the auth-flow Workspace.
Create the validation Fork from the Todo and start an agent on the subtask.
Inspect the diff, run tests, and check the changes against the task.
Integrate the Fork into its parent and continue bringing the feature together.
Code, tasks, and delivery targets belong to a Workspace or Fork. Open multiple Sessions within that work, using your preferred agents or shells.
When a Session ends, the Workspace’s code and Todos remain ready for the next session.
Resume saved Codex conversations and continue where you left off.
Use the treefold CLI to inspect the Workspace, repositories, and Todos; add, edit, remove, or block a Todo. Codex also receives work context automatically at launch.
$ treefold current --json
$ treefold todo list --jsonUse the treefold CLI in managed Sessions. The companion Skill helps agents understand work ownership and operation boundaries.
01$ amux run --name api -- cargo run
02Compiling service...
03Listening on 127.0.0.1:3001
04GET /api/health 200
05Agent Session ended · process remains activeamux manages development services and long-running processes. You and your agent can read the same logs at the same time, then keep inspecting output and debugging across sessions.
Inspect diffs and Git History, sync branches, and handle conflicts in the context of your work. Choose one delivery strategy for the Workspace or Fork, then check and execute it across repositories.
Inspect file changes, staged state, and commit diffs. Commit or tidy up history when needed.
Update code with rebase or merge. When conflicts arise, start a helper Session, review the resolution, and continue.
Delivery progress is saved. After an interruption or conflict, recheck Git state and continue the remaining steps.
feature/auth-flow8f3ab2162bd9081ca77efMerge a Workspace into its local target or a Fork into its parent. Deliver progress and keep working, or finish and archive.
When finishing and archiving, combine the result into one target commit while preserving the source branch and history.
Push a Workspace branch for your team’s review and CI. You can also push intermediate results and keep working.
Archive without merging or pushing. Keep the checkout to reopen later; explicit deletion handles resource cleanup.
Intermediate delivery keeps work active. Finishing archives it while retaining branches and worktrees. Remote PR review and merging happen on your Git hosting platform.
Select consecutive, unpublished commits and combine them into one. Treefold previews the rewrite, blocks unsafe ranges, and offers Undo while the result remains recoverable.
Finish a Workspace into its local target, or a Fork into its parent, as one commit. The source branch and its original commits remain unchanged.
Neither operation pushes or force-pushes. Delivery checks both source and target before it starts.
Give each feature its own Workspace so parallel tasks do not compete for the same checkout.
Build a feature across frontend and backend repositories. Organize their checkouts and track delivery in one Workspace.
Choose the directory where a Session starts while keeping repository-level Git ownership.
Mark specifications, notes, and other reference material as read-only context to consult while developing.
Free and open source for Apple Silicon Macs. Project state and orchestration data stay on your Mac, using standard Git branches and worktrees. Agent network access depends on your services and configuration.
If you find Treefold useful, consider giving it a star on GitHub to support the project.