Repository navigation
Dashboard D2b: the PR actions (a agent, w shell, d delta, e editor, o browser, y copy, x mute) and gh pr-review delta - #36
Conversation
…the dashboard's d)
A shared helper for a, w, d and e: leave the alternate screen and raw mode, run the program in the foreground with the terminal (it inherits stdio, in the dashboard's process group; the dashboard waits, as system(3) does), then restore the screen whatever way the program ended. The terminal's SIGINT and SIGQUIT are caught by a no-op handler meanwhile, so ctrl+c ends the program only (a caught signal is back to its default in the program); a program that kept the terminal for its own group is made give it back. An input gate stops the key-reading thread first.
actions.rs: placeholders quoted for the shell where they stand, the brief from show --json, the editor, pager, shell, browser and clipboard command lines, OSC 52, the PR's state folder (checked against lib/state.sh by the contract test). ignore.rs: add to and remove from the config's ignore list, changing only that value, refusing a file it can't read, written atomically. dash.agent.command in the config.
a writes a brief from show --json (as the PR's account) into the PR's state folder, then hands the terminal to dash.agent.command in the review worktree; the loop check's stop offers it too. w opens $SHELL there, e the Findings tab's selected finding in $EDITOR (+line file; the tab has a cursor now), d pages gh pr-review delta in $PAGER. Without a review worktree, a dialog says so (not run in the state folder: no code there, and its files are the CLI's). o opens the browser and y copies the URL (OSC 52 and pbcopy/wl-copy/xclip), detached. x mutes after a confirm; :unmute in the palette lists the ignore entries. Keys, help, palette and footer (gc keeps its room on the dashboard). Tests: the actions end to end through the handover helper with fake programs, and in a pty.
…Rust 1.100's unreachable-code lint)
catalan-adobe
left a comment
There was a problem hiding this comment.
Approach
What it does: Completes D2’s seven PR actions: ask an agent, open a shell, page the delta, edit a finding, open or copy the URL, and mute the PR. The new gh pr-review delta compares locally saved refs without fetching.
Fit with the repo: Two boundaries need attention. First, a, w, and e open writable sessions in the review worktree without taking its locks. The PR says “Workers (status refresh, jobs) keep running,” but README.md and lib/worktree.sh say a round resets and cleans that checkout. A same-PR preview can erase an edit; an edit during review can trip the reviewer’s change detector. Second, dash/src/actions_app.rs lists, adds, and removes ignore entries directly from key handlers, including a synchronous disk flush. Merged PR #30 moved disk work off that thread so slow storage cannot freeze input and drawing.
Strongest case for the approach as built: The base dashboard design explicitly calls for these actions. Four of them share one terminal handover in dash/src/handover.rs, and d reuses pick_delta in lib/delta.sh rather than teaching Rust how to compare rebased rounds. I would keep both choices.
Alternatives: Keep the handover, but have a CLI wrapper hold the existing PR and clone locks for the lifetime of a, w, or e. That makes a same-PR round wait or refuse while leaving other PRs alone. For mute/unmute, send the three config operations through the existing worker-effect channel: a few more messages, no new worker architecture.
Questions for the author: Should edits survive the next preview? If not, a locked session with an explicit reset warning would settle the worktree concern for me. If so, those sessions need a separate user-owned worktree, at the cost of another checkout.
Missing context: No PR discussion clarifies the intended lifetime of interactive edits.
Approach: Questionable
Strengths
lib/delta.sh:280–304resolves the saved refs to commits and reusespick_delta. The header also tells the reviewer exactly how fresh the comparison is, rather than implying it includes the latest push.dash/src/actions.rs:205creates briefs exclusively with mode0600, so two requests in the same second cannot overwrite one another.dash/src/actions_app.rs:150–169also checks the request ID before launching the agent: a late worker response cannot reopen a cancelled dialog.dash/tests/pty.rs:203–230checks real terminal behavior, including cooked input, Ctrl-C, redraw, and a clean quit. I ran the eight action tests and the PTY test from a temporary copy; all nine passed without modifying the checkout.
Issues
🚨 Critical (Must Fix Before Merge)
-
lib/delta.sh:313— A read-only delta can leave a broken ref in the user's clone. A normalgit diffhonors configured text-conversion drivers. Withdiff.<driver>.cachetextconv=true, Git writesrefs/notes/textconv/<driver>. Line 299 redirects the objects, not the refs: the ref is updated in the real clone, but its new commit is deleted with the temporary object directory. The object-file comparison intests/delta-cmd.sh:121–127misses precisely this failure.- Disable text conversion and external diff drivers for the comparison, or run it in an isolated temporary Git repository that borrows the clone's objects but owns its refs. Test that the clone's refs remain unchanged and readable with a caching textconv driver configured.
-
dash/src/actions_app.rs:107— A same-PR preview can discard edits while the interactive session is still open.path.is_dir()is the only admission check shared bya,w, ande. A queued preview can start after that check and run the forced checkout and clean atlib/worktree.sh:420–422, erasing a saved tracked edit or an untracked file. Conversely, saving from the editor during a review can make that review exit 4. Neither requires the user to start a second dashboard.- Acquire the existing PR and clone-for-PR locks, validate the worktree under those locks, and hold them until the program exits. Warn before handover that a subsequent preview resets uncommitted work; locking solves the concurrent loss, not that later reset.
⚠️ Important (Should Fix)
-
dash/src/actions.rs:96— The editor's containment check is lexical only. A finding with an ordinary relative path passes even when the file, or an intermediate directory, is a symlink outside the worktree. The editor follows the link, so saving a purported PR file can modify an unrelated user file.- Resolve the worktree and target, require the target to be a regular file beneath the resolved worktree, and pass that verified path to the editor. Cover both a file symlink and a directory symlink.
-
dash/src/handover.rs:100— The child does not get the promised foreground process group.cmd.spawn()inherits the dashboard's group. Catching SIGINT and SIGQUIT protects the dashboard process, not other members of that group: for example, Ctrl-C can also terminate a foreground output consumer such astee, leaving the dashboard without its output when it returns. The PTY test starts the dashboard as session leader and has no such sibling.- Give the child its own process group, transfer foreground ownership before it reads, and reclaim it on exit or stop. Extend the PTY test to assert that the child's foreground PGID differs from the dashboard's and that a sibling in the dashboard's group survives.
-
dash/src/main.rs:166— A killed editor can change the terminal mode used by every later handover. Aftertry_restore()releases crossterm's saved mode,enable_raw_mode()saves whatever attributes the child left behind. If an editor dies with echo or canonical input disabled, the dashboard may redraw correctly, but the nextwstarts with those broken settings; quitting can restore them too.- Save the cooked termios before spawning and restore it after reclaiming the terminal, before re-enabling raw mode. Test a child that changes terminal attributes and dies, then check the next shell's attributes, not just the redraw.
-
dash/src/handover.rs:167— The input pause succeeds without an acknowledgement on timeout. A stalled but live input thread is treated just like an exited one. If it resumes betweenwait_open()andevent::read()after the child starts, it can consume the child's first keystroke and queue it as a dashboard command.- Distinguish “paused,” “exited,” and “timed out.” On timeout, abort the handover and reopen the gate rather than starting a second terminal reader.
-
dash/src/actions.rs:45— Placeholder quoting loses the shell context inside a command substitution. For example, in the reasonable custom templateagent "$(cat {brief})", the shell parses the command inside$()independently, butsubstitutestill thinks it is inside the outer double quotes. The generated filename contains literal quote characters, and shell expansions in the value are no longer reliably inert.- Pass values separately from shell source. Either support a restricted argument-template grammar with substitution after tokenization or reject unsupported shell contexts explicitly. Include the nested
catexample in theshargument tests.
- Pass values separately from shell source. Either support a restricted argument-template grammar with substitution after tokenization or reject unsupported shell contexts explicitly. Include the nested
-
dash/src/actions.rs:11— The specified default lets the PR supply instructions outside the brief. Plainpi, started in the PR worktree atdash/src/actions_app.rs:166, discovers the checked-outAGENTS.mdorCLAUDE.mdas agent context. A PR changing that file can therefore steer the answer as instructions, not as quoted data. The warning inside the brief does not cover this channel. This is a safety gap in the planned default, not a request to make the interactive session read-only.- Disable project context discovery for the built-in review-agent command, as the CLI already does at
gh-pr-review:1369, and leave project-local instructions or extensions as an explicit user opt-in.
- Disable project context discovery for the built-in review-agent command, as the CLI already does at
-
dash/src/cli.rs:113— The pager rejects valid Git output that is not UTF-8.deltauses the JSON-oriented runner, which applies strictString::from_utf8at line 324. Git can emit raw text hunks from a Latin-1 source file; the CLI comparison succeeds, butdreports a decoding error and never opens the pager. Large diffs are also buffered in full and then cloned for the pager.- Keep delta output as bytes, preferably spooling it to a private temporary file or piping it to the pager. Keep strict UTF-8 decoding for the JSON commands only.
-
dash/src/ignore.rs:29— Atomic rename does not prevent lost config updates. Two dashboards can read the same list, append different PRs, and both report success; the last rename silently undoes the first mute. The same race can restore an entry another dashboard just removed.- Serialize the entire read–validate–modify–rename operation with a stable lock beside the resolved config target. Locking the replaced file itself is insufficient because rename changes its inode. Add a two-writer test.
-
dash/src/actions_app.rs:299— Mute and unmute block the event loop on storage. The key handler runsignore::adddirectly, includingsync_all()atdash/src/ignore.rs:193; listing and removing entries at lines 315 and 328 are synchronous too. A slow or unavailable home-directory mount stops input and drawing, not merely the config action.- Send these operations through worker effects. Refresh only after a successful edit response, and let the user dismiss a pending list request without a late response reopening it.
-
dash/src/ignore.rs:65— An explicitnullignore value is rewritten instead of refused.NoneandSome(Null)both become an empty list, soxchanges{"ignore":null}despite the documented “not a list of strings is never written” rule. The test at line 267 asserts the opposite of that requirement.- Default only a missing key to an empty list. Move the null case into the refusal tests and assert that the original bytes survive.
-
dash/src/ignore.rs:182— Muting replaces a dangling config symlink. If a dotfiles symlink's target is missing or its volume is unmounted, both the initial read andcanonicalizereturnNotFound. The fallback then renames a new regular file over the symlink itself. Remounting the volume does not restore the user's config link.- Distinguish an absent directory entry from a dangling symlink with
symlink_metadata. Refuse the edit when the link target cannot be resolved, and test that the link survives.
- Distinguish an absent directory entry from a dangling symlink with
💡 Minor (Nice to Have)
-
dash/src/actions_app.rs:189— The highlighted finding and the editable finding can disagree after refresh. If a new round has fewer findings,dash/src/ui/detail.rs:858visually clamps the cursor to the last row, butselected_finding()uses the old index and returnsNone. Pressingethen says “No finding selected” while a finding is visibly selected. Clamp the stored cursor when replacing the detail, or share one effective-index helper. -
dash/src/ignore.rs:172— Addingignoreto an empty object drops its interior whitespace. For an input such as{\n}\n,ialready points at}, so the existing newline inside the object disappears. Insert the new member without deleting that whitespace, and test the byte-preservation promise on an empty multiline object.
Recommendations
The most useful regression tests here are before-and-after checks on resources the dashboard borrows: clone refs as well as objects, terminal attributes as well as screen output, and the config as observed by two independent writers. These catch failures that successful exit codes and render snapshots cannot.
Assessment
Ready to merge? No
Reasoning: The main actions work on their tested paths, but a nominally read-only delta can damage a clone ref, and an ordinary background preview can erase work from an active session. Those are merge blockers independent of the smaller terminal and config fixes.
Review generated by gh pr-review · model: azure-openai-direct/gpt-6.2-astra
…a broken ref into it)
…after a warning that the worktree is the tool's
…file beneath the worktree, symlinks resolved
…al's modes restored, no handover without the input paused
…es; the default pi without the worktree's context files, skills and extensions
…ct UTF-8 for the JSON commands only
… a dangling symlink refused and kept, an empty object's whitespace kept
…fresh after a successful edit only; a dismissed list stays closed
…and e share one index
|
Thanks for round 1. Both critical findings, the approach points and the other 13 findings are fixed in 9 commits ( Approach
Critical
Important
Minor
Checks on
|
catalan-adobe
left a comment
There was a problem hiding this comment.
Round 2 · since round 1
11 fixed · 4 still open · 5 new (5 in the new commits) · open blocking: 7 (was 13) · loop: early
Approach
What it does: Completes D2’s seven planned PR actions: ask an agent, open a shell, page the delta, edit a finding, open or copy the URL, and mute the PR.
Fit with the repo: Both round 1 concerns are resolved. a, w, and e now use lib/session.sh, which validates the worktree and holds the same two locks as a review until the program exits. A same-PR preview cannot reset the checkout mid-session. The author clarified that “edits don't survive the next round or preview,” and both READMEs document that limit. Listing, adding, and removing mute entries now run through worker effects in dash/src/cli.rs, so config I/O no longer blocks input or drawing.
Strongest case for the approach as built: The base dashboard design calls for terminal handover, not a built-in editor or diff viewer. Four actions share dash/src/handover.rs, and d reuses pick_delta in lib/delta.sh. Rust manages the terminal; the CLI decides what changed between rounds.
Alternatives: Keep the shared review worktree. A separate user-owned checkout would earn its extra setup and cleanup only if edits needed to survive a later round.
Questions for the author: None.
Missing context: None.
Approach: Sound
Strengths
lib/session.sh:92–109takes the same two locks, in the same order, as a review and holds them while the program runs.tests/session.sh:92–140checks contention and cleanup, including a child that catches Ctrl-C and takes time to exit.dash/src/ignore.rs:34–59puts the entire read–modify–rename operation under a stable lock. The concurrent-writer test atdash/src/ignore.rs:384checks the resulting entries, not just the writers’ exit codes.dash/tests/pty.rs:239–266checks two things a render snapshot cannot: that Ctrl-C spares another process in the dashboard’s group, and that a killed child does not leave the next shell without echo or canonical input. I ran the 12 action tests and the PTY test on macOS from a temporary copy; all 13 passed.
Issues
🚨 Critical (Must Fix Before Merge)
- F1 ·
lib/delta.sh:338— An inherited Git setting can still leave a broken textconv ref in the clone. The new flags protect ordinary diffs, and the new overrides protect range-diffs against settings in config files. ButGIT_CONFIG_PARAMETERS, inherited from a parent Git command’s-coptions, takes precedence overGIT_CONFIG_COUNT. I verified with a read-only config query that the effectivecachetextconvvalue is stilltruein that case. On a rebase, the internalgit log -pcan therefore write the notes ref to the clone while its commit goes into the temporary object directory deleted atlib/delta.sh:298. The regression test explicitly unsetsGIT_CONFIG_PARAMETERS.- Clear the inherited parameters before discovering and overriding drivers, as
lib/guard.sh:41already does, or run the comparison in a repository that owns its refs as well as its temporary objects. Include inherited command-line config in the ref-integrity test.
- Clear the inherited parameters before discovering and overriding drivers, as
⚠️ Important (Should Fix)
-
F3 ·
dash/src/actions_app.rs:333— The editor’s file is verified before the session locks the worktree. Static symlinks out of the checkout are now refused. Buteresolves an absolute path from cached status and passes it to a session that independently re-readspr.json. If a preview used another--clonesince the last refresh, the old worktree can still exist: the session locks the new clone while the editor opens the old file. A preview finishing between verification and lock acquisition can also replace a previously regular path with a symlink.- Pass the relative finding path into the session. Resolve it and check containment against the locked worktree immediately before launching the editor. Test with cached status naming one worktree and
pr.jsonnaming another.
- Pass the relative finding path into the session. Resolve it and check containment against the locked worktree immediately before launching the editor. Test with cached status naming one worktree and
-
F7 ·
dash/src/actions.rs:100— A shellcasepattern still breaks placeholder quoting inside command substitution. The reported$(cat {brief})case is fixed. Inagent "$(case md in md) cat {brief};; esac)", however, the lexer mistakes the pattern’s)for the end of$(). It emits${GH_PR_REVIEW_BRIEF}unquoted insidecat. I checked the resulting expansion withdash: a value oftwo wordsbecomes two arguments.- Either parse this context correctly or reject it explicitly and direct users to a wrapper script. Keep the environment-variable transport; the remaining bug is where the reference is quoted.
-
F8 ·
dash/src/actions.rs:15— The default agent can still load PR-authored system instructions.--no-context-filesfixes theAGENTS.mdandCLAUDE.mdcase. Pi 1.7.0 discovers.pi/SYSTEM.mdand.pi/APPEND_SYSTEM.mdseparately (dist/core/resource-loader.js:492,961–975). If the user already trusts the worktree or its parent, a later PR revision can supply either file without a new trust decision. The brief is then not the only source of project instructions, contrary todash/README.md:237–242.- Add
--no-approveto the built-in command to force untrusted-project mode. Leave trusting the checkout as an explicit custom-command choice, and test the already-trusted-parent case.
- Add
-
dash/src/config.rs:143— Rejecting an agent template can launch a different agent instead. A config containingclaude 'Read {brief}'fails the new validation, butloadat line 159 replaces the whole dashboard config with defaults. After the startup warning expires, pressingaruns Pi rather than refusing the action; unrelated settings such asmax_jobsandmodelare lost too. The refusal test sets the command directly on an already-loaded app, so it misses the production path.- Preserve the other settings and retain the agent validation error so
ashows it and launches nothing. Test throughconfig::load.
- Preserve the other settings and retain the agent validation error so
-
dash/src/handover.rs:134— The parent can take foreground ownership away from the child’s own job. The pre-exec hook already gives the terminal to the child before it runs. The parent gives it to that same group again afterspawn()returns. If the parent is descheduled and the child meanwhile foregrounds a different process group, the second call undoes that transfer. The foreground job can then stop on its next terminal read while the dashboard waits for the launcher.- Perform the initial transfer once, in the pre-exec hook, and propagate
tcsetpgrpfailure rather than returningOk(())unconditionally. Keep the parent’s transfers for reclaim and explicit resume.
- Perform the initial transfer once, in the pre-exec hook, and propagate
-
dash/src/main.rs:267— Quitting can silently discard a confirmed mute or unmute. Confirmation now queues an effect. If confirmation andqare in the same input batch, the loop breaks before dispatching it. If the worker has started but is waiting on the config lock, shutdown does not wait for it either. The dashboard can exit successfully with the config unchanged.- Track outstanding config writes. On quit, dispatch and finish confirmed writes, or tell the user the edit is pending and let them choose whether to abandon it. Cover both a same-batch quit and a held config lock.
💡 Minor (Nice to Have)
dash/src/cli.rs:412— A cancelled delta can leave its spool file behind on quit. Cleanup depends on the event loop receiving the result or finishing the handover. Cancel followed by quit can drop the receiver or its queued message, leaving a private but potentially large diff on disk. Pass an already-unlinked file descriptor to the pager, or give the spool an owner that handles shutdown as well as ordinary completion.dash/tests/pty.rs:269— Later redraw checks can match the first shell’s output.wait_forsearches the entire transcript, and the exit-code-4 message was already present at line 246. The waits at lines 269 and 279 therefore do not establish that those handovers have returned before the next key is sent. Record the transcript offset before each handover and match only newly written output.
Fixed since the last round (11)
- F2 — The production session takes the PR and clone locks before running the program and releases them on exit.
- F4 — The child gets a separate foreground process group; Ctrl-C no longer reaches a sibling in the dashboard’s group.
- F5 — The dashboard saves cooked termios and restores it before re-entering raw mode.
- F6 — A pause timeout reopens the input gate and aborts the handover.
- F9 — Delta stdout goes directly to a file as bytes; JSON commands retain strict UTF-8 decoding.
- F10 — A stable sibling lock serializes config edits across atomic renames.
- F11 — Listing, adding and removing ignore entries run in workers; a dismissed list stays closed.
- F12 — An explicit
nullis refused without rewriting the config. - F13 — A dangling config symlink is detected and left intact.
- F14 — Refresh clamps the stored cursor, and rendering and editing use the same index rule.
- F15 — Inserting
ignoreinto an empty object preserves its existing whitespace.
Recommendations
Add one integration test that crosses the dashboard-to-real-session boundary rather than testing each half with matching fixtures. Start with stale dashboard status, then assert which worktree is locked and which file the editor actually receives. For config edits, make the equivalent assertion after the dashboard process exits: inspect the file, not just the queued effect.
Assessment
Ready to merge? No
Reasoning: Eleven earlier findings are fixed, including the common-case session locking and terminal restoration problems. A read-only delta can still damage a clone ref, and the editor and default agent still have paths around their intended safeguards.
Review generated by gh pr-review · model: azure-openai-direct/gpt-6.2-astra
…anks GIT_CONFIG_COUNT), so an inherited -c textconv driver writes no ref into the clone; tests/delta-cmd.sh: the inherited driver
|
Thanks for round 2. Under this PR's rule, only critical findings get fixed after round 2, and then it merges. The 6 important and 2 minor findings are in #37. Critical
Checks on
|
Dashboard phase D2b: the actions on a selected PR, as in
docs/superpowers/specs/2026-11-26-review-dashboard-design.md("Keys", "Asking an agent"). It coversa,w,d,e,o,y,xand:unmute, and addsgh pr-review deltato the CLI ford. D1 (#28) and D2a (#30, jobs) are merged; the inbox and the shepherd keys come in D3.Handing the terminal over (
a,w,d,e)handover.rsleaves raw mode and the alternate screen, runs the program in its own process group as the terminal's foreground group, and waits, assystem(3)does.stty -echo -icanondoesn't break the next one), re-enters raw mode, and redraws everything, whether the program succeeded, failed, was killed or couldn't start.tcsetpgrp), so Ctrl-C can't reach the dashboard's group. Ctrl-Z stops both, andfgresumes both.Sessions in the review worktree
a,wanderun through the newgh pr-review session <PR-URL> -- <program> [args…].owned_worktree, inside<clone>.reviews).gcof the same PR started meanwhile is refused at once.a/wconfirm and the note afteresay so; commit and push from your own clone.The actions
a, ask an agent:show <url> --json -u <account>.<pr state folder>/brief-<time>.md(0600). The brief holds the PR, the loop label, diagnosis and blocking series, the rounds, the last review's open and Later findings, the approach notes, the open threads, the description, and the spec's question. It says that text quoted from the PR is data, not instructions.dash.agent.commandin the review worktree. The default ispi --no-context-files --no-skills --no-extensions "Read {brief}, then answer its question.": the same flags as the CLI's reviewer, so a PR'sAGENTS.mdorCLAUDE.mdisn't loaded as instructions.{brief},{worktree},{pr},{url},{number}) become references toGH_PR_REVIEW_*environment variables set only for that command, so values are never spliced into shell source.The loop-check stop dialog from D2a gains "Ask an agent".
w:$SHELL(else/bin/sh) in the review worktree.d: the changes since the last round, in$PAGER(elseless -R), from the newgh pr-review delta <PR-URL> [--color].pr.jsonand compares the lastrefs/pr-review/…/round-Kwith…/headthroughlib/delta.sh'spick_delta. That gives a plain diff, a diff after the base was merged in, or a range-diff after a rebase.--no-textconv --no-ext-diffondiff, and environment overrides forrange-diff's internallog -p, after dropping config inherited from a parent git. Otherwise a caching textconv driver would write a broken notes ref into the clone.e: from the Findings tab, which now has a cursor, opens the selected finding as$EDITOR +N <file>(elsevi) in the review worktree. Only a regular file beneath the canonical worktree is opened, by its verified path; symlinks pointing outside are refused.o: opens the PR in the browser (openorxdg-open, http(s) only, detached).y: copies the URL through OSC 52, pluspbcopy,wl-copyorxclipif present, then shows a toast.x: after you confirm, addshost/owner/repo#Nto the config'signorelist and refreshes.:unmutein the palette lists the entries and removes one.ignorevalue in the file changes; everything else stays byte for byte.flockbeside the resolved file, so two dashboards can't lose each other's changes.nulland a dangling symlink are refused.ignorethat isn't a list of strings is refused and never written.No review worktree: a PR never reviewed here, or whose worktree
gcremoved, gets a dialog instead ofa,wore. The dialog suggestsp, which makes the worktree and posts nothing. The state folder isn't used instead: it has no code to look at, and its files belong to the CLI.Config
dash.agent.command.Tests
shwith spaces, quotes,$(…)and backquotes; the brief, as a snapshot from a fixture; the editor, delta, browser and clipboard commands; and the ignore-list edits (append, no duplicate, unmute, invalid files refused, other keys kept, file mode).tests/pty.rs: runs the real binary in a pseudo-terminal: a fake shell reads a typed line, Ctrl-C ends the shell and not the dashboard, the dashboard redraws, andqexits 0.:unmute, the unmute list, the Findings cursor). 14 changed: the footer and help list the new keys, and the stop dialog has the agent button.tests/delta-cmd.sh: 25 checks of the new subcommand: no network, nothing written to the clone (including with a caching textconv driver from the config or an inheritedgit -c), and each kind of delta.tests/session.sh: 20 checks: locks held while the program runs, released after it ends or is killed, a missing worktree refused, the exit code passed on, Ctrl-C.rust:1.88). Every shell test file passes under/bin/bash3.2. fmt, clippy and the shell lint are clean.