workspace

module
v0.0.0-...-05574e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: MIT

README

workspace

Multi-repo worktree first development for humans and agents.


workspace gives your multi-repo setup a single control plane. Git worktrees become lightweight capsules you can lift, dock, and debrief — while your IDE stays in sync automatically.

Get started

Point ws init at a config repo containing your ws.toml and everything gets cloned and wired up:

ws init git@github.com:your-org/workspace-config.git

How it works

Define your repos once in ws.toml:

[workspace]
org = "your-org"
default_branch = "main"

[repos.frontend]
display_name = "Frontend"
aliases = ["fe"]

[repos.backend]
display_name = "API"
after_create = "make setup"

Then use capsules (worktrees) to work on branches without ever switching:

ws lift frontend my-feature    # create a new capsule
ws dock frontend 1234          # check out a PR by number
ws jump fe                     # fuzzy-navigate between capsules
ws debrief                     # clean up anything that's landed

Commands

Command What it does
ws Show status across all repos
ws mc Interactive mission control dashboard
ws lift Create a new capsule from a base branch
ws dock Check out an existing branch or PR
ws jump Navigate to any capsule with fuzzy matching
ws debrief Remove landed and stale capsules
ws open Open workspace in Cursor, VS Code, or IntelliJ
ws board Add a capsule to your IDE workspace
ws doctor Health check your workspace
ws upgrade Pull latest config and set up new repos

Install

go install github.com/brudil/workspace/cmd/workspace@latest

Then add to your ~/.zshrc:

eval "$(workspace shell-init zsh)"

This gives you the ws wrapper with shell completions and cd integration.

License

MIT

Directories

Path Synopsis
cmd
workspace command
internal
cli
ide
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL