Skip to content

Add safe worktree bootstrap - #273

Merged
palewire merged 1 commit into
mainfrom
palewire-add-worktree-bootstrap
Aug 23, 2026
Merged

Add safe worktree bootstrap#273
palewire merged 1 commit into
mainfrom
palewire-add-worktree-bootstrap

Conversation

@palewire

Copy link
Copy Markdown
Owner

Summary

Add an idempotent make bootstrap workflow for primary checkouts and linked Git worktrees. The typed Python bootstrap discovers checkout paths from Git metadata, safely shares an ignored .env without overwriting local files, maintains a stable WORKTREE_ID in an ignored .env.worktree, preserves local overrides, and runs the locked uv dependency sync.

Expand contributor and agent guidance with dotenv precedence, worktree isolation, shared-service safety, conflict-hotspot coordination, generated-file rules, and the limits of pytest-xdist resource isolation.

Acceptance Criteria

  • The behavior matches the issue or request.
  • Relevant edge cases are covered.

Validation

  • make bootstrap UV=$HOME/.local/bin/uv PYTHON=.venv/bin/python
  • make verify UV=$HOME/.local/bin/uv
  • Pre-commit and pre-push hooks

Documentation and Release Notes

  • Documentation is updated, or no update is needed.
  • CHANGELOG.md is updated for a user-facing, compatibility, or security change.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@palewire
palewire enabled auto-merge (squash) August 23, 2026 14:47
@palewire
palewire merged commit dac7c4b into main Aug 23, 2026
22 checks 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