Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Jujutsu

$ jj Community Med Risk
Jujutsu Authors · Code & DevOps · Apache-2.0 · macos / linux / windows

A modern version control system backed by Git repositories where every command is recorded in an atomic operation log. Agents benefit enormously from jj undo rollback safety, conflict-tolerant commits, --no-pager, and --dry-run on jj git push.

FCRS-1.0 Score
89 /100
Good
Medium Confidence
Zero-Friction Install
brew install jj
CLI vs MCP Decision CLI Only

Use jj directly in the workspace: its operation log (jj op log) and instant jj undo make local multi-step edits far safer than raw git.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports --no-pager, --color=never, and structured json() template expressions (-T 'json(self)'), though template syntax is custom.

  • Built-in json() template function emits JSON records
  • Non-interactive flags --no-pager and --color=never work consistently
Trust & Safety 23 / 25

Exceptional local safety: every mutation is snapshotted in jj op log and reversible with jj undo, plus jj git push --dry-run.

  • Atomic operation log with instant jj undo / jj op restore
  • jj git push --dry-run previews remote updates
Setup & Portability 14 / 15

Single Rust binary available via Homebrew, Cargo, and GitHub Releases across macOS, Linux, and Windows.

  • Zero-dependency static binary across major platforms
Utility & Efficiency 14 / 15

Interoperates seamlessly with existing Git repos while eliminating staging-area friction and merge-conflict lockups.

  • Co-located .jj + .git repos work alongside standard git tooling
Maintenance & Lineage 9 / 10

Rapidly growing Apache-2.0 project led by engineers from Google and a broad open-source community.

  • Active jj-vcs/jj repository with frequent releases
Docs & Verifiability 8 / 10

Thorough online documentation covering revsets, templates, and Git comparison.

  • Comprehensive manual at jj-vcs.github.io/jj

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Reuses existing Git remotes, SSH keys, and Git credential helpers via libgit2/git subprocesses; user config lives in ~/.config/jj/config.toml.

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

Apache-2.0 open-source Rust binary; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Jujutsu (jj) Agent Rules
- Always pass `--no-pager --color=never` for deterministic text output.
- Use `jj op log` and `jj undo` immediately if a local rebase or squash goes wrong.
- Always run `jj git push --dry-run` before pushing bookmarks to a remote.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect status without pager or color
jj --no-pager --color=never status

Shows working-copy changes and current revision cleanly in non-TTY shells.

Query revision log as JSON via template
jj --no-pager log -r 'ancestors(@, 5)' -T 'json(self) ++ "\n"' --no-graph

Uses Jujutsu's built-in json() template function to emit newline-delimited JSON commit records.

Controlled Writes & Previews

Dry-run pushing bookmarks to Git remote
jj git push --dry-run

Validates which bookmarks would be pushed to the remote without modifying remote refs.

Strengths for Agents

  • + Automatic operation log (jj op log) and jj undo make local history edits nearly impossible to lose.
  • + Built-in json() template function produces machine-readable commit metadata.
  • + Works directly inside existing Git repositories (jj git init --colocate).

Caveats & Pitfalls

  • ! Requires learning jj revsets and template syntax rather than universal --json flags.
  • ! Still pre-1.0, so occasional CLI subcommand or config deprecations occur between releases.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI