Files
paseo/public-docs/workspaces.md
T
jackos1998andClaude Opus 5.5 b9518180f0 docs/jujutsu: Explain the fork and its workflows
Describe the controls, the commands behind them and the source
files to consult. Record the fork update process and the remaining
trial checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:56:42 +00:00

8.2 KiB

title, description, nav, order, category
title description nav order category
Workspaces Understand how Paseo groups working directories, agents, terminals, and browsers into workspaces. Workspaces 10 Workspaces

Workspaces

Paseo is organized around workspaces, not chats.

A workspace is the place where a task happens. It has a working directory and can contain multiple sessions running at the same time. In the app, each session opens as a tab.

Projects contain workspaces

The sidebar starts with projects. A project can be a git repository, a GitHub project, or any directory on a machine running the Paseo daemon.

Inside each project are workspaces. For example:

my-app
├── main
├── fix-login-flow
└── redesign-settings

Each workspace is a separate place to work. You can keep one for your main checkout, create another for a feature, or open a GitHub PR as another workspace.

Use the CLI project commands to register, list, rename, or delete projects.

Workspaces contain sessions

Agents run inside a workspace as sessions. A workspace can have one agent session, several agent sessions, terminals, browsers, and diffs open at the same time.

That matters because real development rarely fits into one long chat. You might ask one agent to implement a feature, open a terminal to run a service, start another agent to review the diff, and keep the browser open next to both. Those belong together because they are all part of the same task.

In Paseo, the workspace is the stable container. The sessions are what you run inside it.

Choose the isolation

When you create a workspace, Isolation sets the directory it works in:

  • Project directory uses the project's own directory, such as your main checkout. Use it when sessions should share the files already on disk.
  • New worktree creates a git worktree with its own directory and branch. Use it when a task needs its own copy of the files.
  • Existing worktree uses a git worktree that is already on disk, on the branch it has checked out. Use it to continue work on a branch without a second copy. The list shows every git worktree of the repository, including the ones that Paseo did not create.

The workspace is the product concept; a git worktree is one way to isolate its files. More than one workspace can use the same worktree. Paseo removes a Git worktree or Jujutsu checkout that it created after the last active workspace using it is archived. User-created checkouts stay on disk.

Jujutsu repositories

Use Jujutsu 0.46 or newer on the daemon host; this integration is tested with 0.47.1. Open a colocated checkout, which has both .jj and .git. To enable colocation in an existing Jujutsu checkout, run jj git colocation enable there.

Changes

Where a Git workspace shows its branch, a Jujutsu workspace shows its working-copy change: its bookmark, or its short change ID when it has none. The sidebar and the Changes header use the same label. Pick it in the Changes header to start a new change on a bookmark or a change elsewhere in the repository (jj new). The search covers mutable changes, bookmarked changes and recent trunk history. Search by description, bookmark name or a change or commit ID prefix. The change you were on keeps its work.

The diff shows All changes since the base, or just the Working copy (@). Both include edits on disk that Jujutsu hasn't recorded yet. Comparisons start at the point where the workspace left its base, so a base that moves on (for example after a fetch) doesn't show its newer changes as reverted. The Changes list under the diff shows the workspace's changes since the base, newest first, with their bookmarks and working-copy, empty and conflict markers; select one to see its diff. In the Working copy (@) view, discarding a file runs jj restore on it, putting it back as it is in the parent change.

Actions

The workspace actions button offers the Jujutsu actions in place of commit, pull and push. It leads with Describe until the current change has a description, then with Publish bookmark.

  • Describe edits the current change's description.
  • New change starts a child of the current change.
  • Fetch runs jj git fetch, updating remote bookmarks such as main@origin. Fetch uses the base bookmark's remote when the base names one. Otherwise it uses your Jujutsu fetch configuration. Paseo doesn't fetch in the background.
  • Publish bookmark creates the named bookmark at the current change if needed and pushes it to origin.
  • Create pull request publishes the selected existing bookmark and opens a request against the base you choose. It appears when the remote has a supported forge. Paseo shows the request's status when one published bookmark identifies the current change.
  • Archive works as for any workspace (see below).

Use the terminal for operations such as rebase or squash.

New Jujutsu workspaces

When the project uses Jujutsu, New jj workspace creates a colocated Jujutsu workspace sharing the source repository. The app prefers the closest bookmark under your working copy and falls back to the repository's default bookmark. If there is no default bookmark, the base is Current change (@), which includes edits on disk. Pick another base to start from a different change. Paseo records the base by the bookmark's name (or, for @, the change it pointed to). If the bookmark disappears, Paseo marks it missing and compares against the saved base commit while it is available. Choose a new bookmark to update the comparison. Each isolated workspace has its own working-copy change. Opening an existing change uses Project directory or Existing jj workspace; checking out a branch or pull request into a new Jujutsu workspace is not supported yet.

Archive and restore

Archiving stops the workspace sessions and saves the exact working-copy change, including edits that Jujutsu can snapshot. Paseo removes its checkout and Jujutsu registration when the last active workspace using the checkout is archived. Paseo keeps the directory if it contains another linked Git worktree. Restore reuses a checkout that stayed on disk or recreates it at the saved change. Copy any ignored files you want to keep before archiving. Ignored files are deleted with the checkout.

CLI

The CLI exposes the same actions as paseo workspace jj. For example:

paseo workspace jj describe --description "Fix login"
paseo workspace jj new --parent main
paseo workspace jj fetch
paseo workspace jj publish --bookmark fix-login --create
paseo workspace jj create-pull-request --bookmark fix-login --base main --title "Fix login"

When creating a Jujutsu workspace with paseo workspace create, omitting --base uses the repository's default bookmark if available and @ otherwise.

Creating a workspace

For a desktop walkthrough from starting parallel agents to reviewing and testing their changes, see Run parallel tasks.

You can create a workspace in the app or from the CLI:

paseo workspace create --isolation local --path ~/dev/my-app --title main
paseo workspace create --isolation worktree --path ~/dev/my-app --base origin/main

You can also create a workspace without starting an agent right away. The workspace is still there with its working directory ready; you can open terminals, run services, or browse files, then start an agent later.

Either way, once the workspace exists you can add more sessions to it. Open a terminal alongside an agent, start a second agent to review changes, or open a browser tab to check a local service. Every session lives as a tab inside the same workspace.

Creating an agent and creating a workspace are separate actions. Pass a workspace ID when you want an agent in a specific existing workspace. A bare paseo run from a human shell creates a new local workspace; when one agent runs it, Paseo recognizes the caller and creates a subagent in the caller's workspace.

Worktrees

Every workspace in Paseo is backed by a working directory. When that directory is a git worktree, you get a separate branch and isolated environment for each task.

If you want the details on configuring setup hooks, scripts, and services, continue to Git worktrees.