Skip to content

feat: route parallel work by VCS and fold branch finishing into ExecutePlan#67

Open
N4M3Z wants to merge 1 commit into
mainfrom
vcs-routing
Open

feat: route parallel work by VCS and fold branch finishing into ExecutePlan#67
N4M3Z wants to merge 1 commit into
mainfrom
vcs-routing

Conversation

@N4M3Z

@N4M3Z N4M3Z commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Problem

The always-loaded GitWorktrees rule told agents to use git worktrees and isolation: "worktree" unconditionally, contradicting the jj guidance (jj workspaces, never git worktrees in colocated repos). ExecutePlan carried the same unconditional prescription, and the finishing flow lived in a separate git-only skill. Two real jj incidents lacked prevention guidance: an undescribed working copy pushed as an empty-message commit, and commits authored under an email that did not match the signing key, forcing a history rewrite.

Fix

The GitWorktrees rule routes by VCS: jj-colocated repos use one jj workspace per agent; git worktrees and worktree-isolated spawns apply to git-only repos. VersionControl states the principle (agents work in jj changes; a git commit is the human-boundary artifact) and ExecutePlan gains VCS-aware isolation plus the finishing step (merge / PR / keep / discard) with mechanics for both git and jj. Jujutsu.md guards against bookmarking an undescribed change; CommitSigning.md leads with aligning user.email to the signing key before the first commit.

Test plan

  • quality passes on this PR
  • gitleaks scan of the outgoing diff: no leaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant