Skip to content

chore: improve daft.yml hooks for full worktree automation#190

Merged
avihut merged 1 commit intomasterfrom
update-daft-hooks
Feb 7, 2026
Merged

chore: improve daft.yml hooks for full worktree automation#190
avihut merged 1 commit intomasterfrom
update-daft-hooks

Conversation

@avihut
Copy link
Owner

@avihut avihut commented Feb 7, 2026

Summary

  • Add post-clone hook with mise-trust, mise-install, dev-setup, and lefthook-install jobs for first-time clone setup
  • Expand worktree-post-create hook with mise-install and dev-setup jobs (no lefthook since .git/hooks/ is shared)
  • Set proper needs dependencies so jobs run in parallel where possible while respecting the dependency chain

Test plan

  • Clone the repo fresh via git worktree-clone and verify all post-clone jobs run in order
  • Create a new worktree via git worktree-checkout-branch and verify post-create jobs run
  • Verify lefthook install only runs on clone, not on worktree creation

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@avihut avihut merged commit dc1e7e7 into master Feb 7, 2026
4 checks passed
@avihut avihut deleted the update-daft-hooks branch February 7, 2026 17:37
This was referenced Feb 7, 2026
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