fix(fleet): install executable tmux helpers #568

Merged
jason.woltje merged 1 commits from fix/fleet-install-script-perms into main 2026-06-20 22:27:46 +00:00
Owner

Summary

Fixes an installed-CLI dogfood blocker: fleet helper scripts were copied into MOSAIC_HOME with mode 664, so installed mosaic agent send failed with EACCES when spawning agent-send.sh.

Changes:

  • After fleet install-systemd copies helper scripts, chmods these files to 0755:
    • tools/fleet/start-agent-session.sh
    • tools/tmux/send-message.sh
    • tools/tmux/agent-send.sh
  • Bumps @mosaicstack/mosaic to 0.0.34 because 0.0.33 is already published.

Validation:

  • pnpm --filter @mosaicstack/mosaic test -- src/commands/fleet.spec.ts src/cli-smoke.spec.ts: 50 passed
  • pnpm --filter @mosaicstack/mosaic typecheck: passed
  • pnpm --filter @mosaicstack/mosaic lint: passed
  • npm pack dry-run: version 0.0.34 and fleet assets present
  • Local install verification: forced installed helper perms to 0644, ran worktree-built fleet install-systemd, verified all three helpers became 0755 and executable.
  • pre-push hooks: typecheck, lint, format passed

Required before final installed-CLI dogfood because 0.0.33 fixed env preservation but still installed non-executable helper scripts.

Summary Fixes an installed-CLI dogfood blocker: fleet helper scripts were copied into MOSAIC_HOME with mode 664, so installed mosaic agent send failed with EACCES when spawning agent-send.sh. Changes: - After fleet install-systemd copies helper scripts, chmods these files to 0755: - tools/fleet/start-agent-session.sh - tools/tmux/send-message.sh - tools/tmux/agent-send.sh - Bumps @mosaicstack/mosaic to 0.0.34 because 0.0.33 is already published. Validation: - pnpm --filter @mosaicstack/mosaic test -- src/commands/fleet.spec.ts src/cli-smoke.spec.ts: 50 passed - pnpm --filter @mosaicstack/mosaic typecheck: passed - pnpm --filter @mosaicstack/mosaic lint: passed - npm pack dry-run: version 0.0.34 and fleet assets present - Local install verification: forced installed helper perms to 0644, ran worktree-built fleet install-systemd, verified all three helpers became 0755 and executable. - pre-push hooks: typecheck, lint, format passed Required before final installed-CLI dogfood because 0.0.33 fixed env preservation but still installed non-executable helper scripts.
jason.woltje added 1 commit 2026-06-20 22:10:39 +00:00
fix(fleet): install executable tmux helpers
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
fd4021eef7
jason.woltje merged commit e834bbb83c into main 2026-06-20 22:27:46 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#568