Skip to content

feat(tools/jujutsu): Jujutsu (jj) support for the local dev-loop #603

Description

@potiuk

Add tools/jujutsu/ so the local dev-loop skills can run on Jujutsu (jj) working copies. jj is Git-compatible at the storage layer but exposes a fundamentally different working model — no staging area, anonymous/auto-evolving changes, first-class conflict commits, and jj-style revsets instead of branches. The fix-workflow and code-review skills, which assume Git's branch/commit/git add model, would produce wrong or confusing steps on a jj repo even though the backing store is Git.

Capabilities to provide:

  • Map the dev-loop primitives onto jj: jj new/jj describe for commit, jj diff, jj log, jj bookmark for branch-equivalent hand-off
  • Translate the fix-workflow "create branch → commit → push" recipe into the jj change/bookmark model
  • Detect a jj working copy and route through this shim instead of raw git
  • Reuse the VCS-capability abstraction from tools/mercurial/

Why: jj adoption is growing fast among individual maintainers and at Google (its primary sponsor), and it's a common front-end over Git-hosted repos (GitHub/GitLab). Because it's Git-backed, an adopter can use jj locally while the forge stays GitHub — so this is low-risk, high-leverage support that several power-user maintainers would benefit from immediately.

Reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolstools/*capability:setupFramework / agent / substrate infrastructure + authoringenhancementNew feature or requestgood first issueGood for newcomerssource control systemVersion control systems and the forges/services that host them

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions