Skip to content

BOB-192: handoff-spawn successor runs in the parent's permission mode - #41

Merged
ccevans merged 1 commit into
mainfrom
bobby/bob-192-handoff-permission-mode
Nov 9, 2026
Merged

ccevans merged 1 commit into
mainfrom
bobby/bob-192-handoff-permission-mode

Conversation

@ccevans

@ccevans ccevans commented Nov 9, 2026

Copy link
Copy Markdown
Owner

A lane's successor started in the default permission mode, so the bypassPermissions orchestrator's messages were held and expired (2026-11-09, v3 Try it catch-up 4).

  • templates/hooks/handoff-spawn.sh reads the last permissionMode from the parent transcript and passes --permission-mode. A transcript with no mode exits 1 and spawns nothing (no default).
  • Tests: last mode wins, auto stays auto, missing mode refuses; compaction-hooks fixture carries a mode. Full suite 2400 pass.

🤖 Generated with Claude Code

…n mode

The successor came up in the default mode, so a bypassPermissions orchestrator's
SendMessage relays were held and expired. The mode is read from the parent's
transcript (last permissionMode wins) and passed as --permission-mode; a
transcript with no mode is an error, not a default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ccevans
ccevans merged commit f9aa272 into main Nov 9, 2026
3 checks passed
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