Skip to content

Conversation

@newhook
Copy link
Owner

@newhook newhook commented Jan 10, 2026

Summary

  • Run bd init and bd hooks install after repo checkout in proj create
  • Run mise setup (trust, install, setup task) after checkout and worktree creation
  • Uses mise task convention - repos define mise run setup for npm/pnpm install

Changes

  • New internal/mise/mise.go - mise detection and command execution
  • internal/beads/client.go - added InitInDir and InstallHooksInDir
  • internal/project/project.go - call initialization in setupRepo()
  • cmd/run.go - call mise initialization after worktree creation

Test plan

  • Test co proj create with a GitHub repo that has mise
  • Test co proj create with a repo without mise
  • Test co run task execution with worktree creation

🤖 Generated with Claude Code

Run bd init, bd hooks install, and mise setup after repo checkout.
For worktrees, only run mise initialization (beads is shared).
Uses mise task convention - repos define `mise run setup` for npm/pnpm.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@newhook newhook merged commit edc4d92 into main Jan 10, 2026
@newhook newhook deleted the post-checkout-init branch January 10, 2026 18:33
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.

2 participants