From 44f0358fefccd1eea46f093fc6b668d2339ec266 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Fri, 27 Nov 2026 14:33:47 +0000 Subject: [PATCH] flake: Update the Paseo fork for stale jj workspaces The fork now reports a jj workspace that another workspace made stale, keeps its diffs readable, and offers an update-stale action. It also logs skipped idle compactions at info. Update the slop-cannon page, which still described Paseo before the fork's jj workspaces. Co-Authored-By: Claude Opus 5.5 --- docs/sites/home/slop-cannon.md | 19 +++++++++++-------- flake.lock | 8 ++++---- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/docs/sites/home/slop-cannon.md b/docs/sites/home/slop-cannon.md index 59c479b..9d877e9 100644 --- a/docs/sites/home/slop-cannon.md +++ b/docs/sites/home/slop-cannon.md @@ -136,15 +136,18 @@ sessions live under `~/.claude/projects/` and Codex sessions under `~/.codex/ses ## Repos, worktrees and jj -Repos live under `~/src` as colocated jj clones (see `slop-clone` below). Paseo only calls `git`: +Repos live under `~/src` as colocated jj clones (see `slop-clone` below). The fork drives them +through `jj`: -- A `local` workspace runs the agent in the checkout itself; `jj` and Paseo's git views see the same - changes. Use it for work you want to steer with `jj`. -- A worktree workspace is a `git worktree` under `~/.paseo/worktrees` on its own branch. Use it for - unattended agents. Archiving it removes the worktree with `--force`, losing uncommitted work. -- Archiving a `local` workspace removes only Paseo's record; the folder is kept. -- Only one colocated working copy per repo is possible, so parallel jj-driven work needs separate - clones. +- A `local` workspace runs the agent in the checkout itself. Archiving it removes only Paseo's + record; the folder is kept. +- A new jj workspace is a colocated `jj workspace` under `~/.paseo/worktrees` with its own + working-copy change. Use it for parallel or unattended agents. Archiving saves the change for + restore before removing the directory. +- A workspace goes stale when another one rewrites its `@`, typically a `jj git fetch` after its + pull request is merged. Paseo then offers **Update stale workspace** (`jj workspace + update-stale`), which keeps edits jj hadn't recorded in a separate change. Run it once the + workspace's agent is idle, since it changes the files under it. - Don't run `jj` in a folder while an agent is mid-turn there: jj snapshots its partial edits. ## Terminal access diff --git a/flake.lock b/flake.lock index 44cbae2..0fd43d6 100644 --- a/flake.lock +++ b/flake.lock @@ -1111,11 +1111,11 @@ "nixpkgs": "nixpkgs_7" }, "locked": { - "lastModified": 1795690197, - "narHash": "sha256-Rg0vv9Qdce77/KD0C4vGbflJqX7fmGjgz7Rjot6zYhY=", + "lastModified": 1795790016, + "narHash": "sha256-a+U4/NT4sGMLRX4K9x4yhTn/wkb/8yAGS21p9WMKkws=", "ref": "fork/jujutsu-v0.17.5", - "rev": "caecb4e13517742cffb0a238ae127f35cc3e023c", - "revCount": 6848, + "rev": "d871d1a678ddef68e5237f61a784f6f23b368ace", + "revCount": 6850, "type": "git", "url": "https://git.nul.ie/dev/paseo" },