feat(bin): scaffold jj bookmark branch step for jj-managed projects - #1945
Open
swissgrammie wants to merge 4 commits into
Open
feat(bin): scaffold jj bookmark branch step for jj-managed projects#1945swissgrammie wants to merge 4 commits into
swissgrammie wants to merge 4 commits into
Conversation
fm-brief.sh now reads the home registry's `jj` token (after the mode bracket) and, when present, emits `jj bookmark create fm/<id>` as the ship brief's branch step instead of `git checkout -b`. Projects without the token keep the existing git step byte-identically; the scout and secondmate variants are untouched.
swissgrammie
force-pushed
the
fm/brief-jj-support
branch
from
August 22, 2026 00:27
5fbafa0 to
a8d5a28
Compare
Confidence Score: 4/5The PR is not yet safe to merge because a generated jj brief can still mandate a command unavailable in the worker environment. The new check validates firstmate's scaffold-time PATH, while the worker runs in a pane owned by a daemon that does not inherit that environment, leaving the previously reported execution-time availability failure reachable. Files Needing Attention: bin/fm-brief.sh Reviews (3): Last reviewed commit: "no-mistakes: apply CI fixes" | Re-trigger Greptile |
| [ "$JJ_TOKEN" = jj ] && JJ_MANAGED=1 | ||
| fi | ||
| if [ "$JJ_MANAGED" = 1 ]; then | ||
| if command -v jj >/dev/null 2>&1 && command -v jjhouse >/dev/null 2>&1; then |
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables Jujutsu (jj) support in firstmate: ship briefs scaffold the jj bookmark branch step when a project is jj-marked.
Takes effect only when jj has been selected for a project and jjhouse is installed. All other projects (treehouse/git) keep the existing workflow, byte-identical.
Updates from git push no-mistakes