Skip to content

Fix bootstrap preflight repository detection#13

Merged
zimakki merged 1 commit into
masterfrom
fix/bootstrap-preflight-root
Jul 12, 2026
Merged

Fix bootstrap preflight repository detection#13
zimakki merged 1 commit into
masterfrom
fix/bootstrap-preflight-root

Conversation

@zimakki

@zimakki zimakki commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • capture the preflight script repository path before entering Zsh functions
  • use that captured path for no-argument guard and full preflight execution
  • exercise no-argument canonical and linked-worktree behavior in the isolated suite

Why

Zsh changes $0 to the function name inside functions. The merged preflight therefore derived /Users/zimakki/code instead of the dotfiles checkout when executed without an explicit repository argument. This blocked the required post-merge migration.

Validation

  • scripts/ci_checks.sh
  • full preflight from the linked test checkout with the explicit test-only mutation override
  • no-argument guard derives and rejects the actual linked worktree path

@zimakki zimakki merged commit c71c465 into master Jul 12, 2026
2 checks passed
@zimakki zimakki deleted the fix/bootstrap-preflight-root branch July 12, 2026 21:51
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