browse --session before the command, Gemini AQ. keys, /verify trust across worktrees, and two more fixes from outside reports (#4684)

Five bugs reported by outside contributors are fixed, each with a test
that fails on main: `browse --session` before the command, a stray blank
tab in the handoff window, new Gemini keys refused by `$D setup`,
`/verify` asking for trust again in every worktree, and
`/context-restore` missing a second Claude profile's transcripts.

Nothing to do after merge.

Co-authored-by: Basim Rauf <22585821+Simba3696@users.noreply.github.com>
Co-authored-by: Lockyer <135391289+Lockyer228@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1v/outside-voice#1 reader=outside-voice
Review-Finding: p1v/outside-voice#2 reader=outside-voice
Review-Finding: p1v/outside-voice#3 reader=outside-voice
Review-Finding: p1v/outside-voice#4 reader=outside-voice
This commit is contained in:
authored and GitHub committed 2026-11-22 11:33:35 +00:00
1 parent f59520e759
commit 3deb055529
19 files changed
+171 -29

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@ export function generateTranscriptDiscovery(ctx: TemplateContext): string {
} else if (ctx.host === 'claude') {
body = [
'else',
' TRANSCRIPT_DIR="$HOME/.claude/projects/$(printf \'%s\' "$PROJECT_ROOT" | sed \'s/[^A-Za-z0-9]/-/g\')"',
' TRANSCRIPT_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/projects/$(printf \'%s\' "$PROJECT_ROOT" | sed \'s/[^A-Za-z0-9]/-/g\')"',
' if [ -d "$TRANSCRIPT_DIR" ]; then',
' TRANSCRIPT_COUNT=0',
' while IFS= read -r f; do TRANSCRIPT_COUNT=$((TRANSCRIPT_COUNT + 1)); echo "TRANSCRIPT: $f"; done < <(find "$TRANSCRIPT_DIR" -maxdepth 1 -name \'*.jsonl\' -mtime -"$TRANSCRIPT_DAYS" 2>/dev/null | sort)',
@@ -73,7 +73,7 @@ export function generateTranscriptDiscovery(ctx: TemplateContext): string {
} else if (ctx.host === 'codex') {
body = [
'else',
' TRANSCRIPT_DIR="$HOME/.codex/sessions"',
' TRANSCRIPT_DIR="${CODEX_HOME:-$HOME/.codex}/sessions"',
' if [ -d "$TRANSCRIPT_DIR" ]; then',
' TRANSCRIPT_COUNT=0',
' while IFS= read -r f; do',