Skip to content

fix(cli): voyage-handoff uses correct tmux session names - #169

Merged
rafmacalaba merged 1 commit into
masterfrom
fix/voyage-handoff-session-prefix
Aug 10, 2026
Merged

fix(cli): voyage-handoff uses correct tmux session names#169
rafmacalaba merged 1 commit into
masterfrom
fix/voyage-handoff-session-prefix

Conversation

@rafmacalaba

Copy link
Copy Markdown
Owner

Fixes two bugs in the voyage handoff flow:

  1. Handoff pointed to wrong tmux sessionarmada voyage-handoff doc-chat printed (tmux session: doc-chat) and armada voyage attach doc-chat, but the actual session is voyage-doc-chat. The attach command always failed. Fix: formatHandoffBlock now prefixes session names with voyage- for string inputs; voyage-handoff accepts --session <name> for custom session overrides.

  2. Double-prefix possible — voyage name starting with voyage- (e.g. voyage-foo) would produce session voyage-voyage-foo. Rejected at the source by validateName.

Tests

  • 13 new tests pass (11 handoff + 2 name validation)
  • Full suite: 597/597 pass

…ge- prefixed feature names

- formatHandoffBlock prefixes session with voyage-<name> for string inputs;
  accepts {voyage, session} objects for explicit override
- voyage-handoff gains --session <name> flag for custom tmux session names
- validateName rejects names starting with 'voyage-' to prevent double-prefix
@rafmacalaba
rafmacalaba merged commit b038f99 into master Aug 10, 2026
1 check 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