Skip to content

Rename .worktreeinclude and trim - #1991

Merged
mscuthbert merged 1 commit into
masterfrom
worktreeinclude
Jul 27, 2026
Merged

Rename .worktreeinclude and trim#1991
mscuthbert merged 1 commit into
masterfrom
worktreeinclude

Conversation

@mscuthbert

Copy link
Copy Markdown
Member

Had an incorrect name .worktreeignore instead of .worktreeinclude -- i was wondering why the name seemed backwards.

Apparently current advice is not to put .venv (or node_modules etc.) since symlinks are now ignored. Also don't need built docs -- Claude at least always prefers the source files. documentation/source will be read but not built. Humans can work from main tree.

AI-assisted (Claude)

The harness only ever reads .worktreeinclude, so the old filename matched no
code path and nothing was actually being copied into new worktrees.

Also drop three entries that are not worth copying per worktree:
.venv (~560 MB / 18k files, and its interpreter symlinks point back at the
source checkout -- run 'uv sync' instead), .mypy_cache (~210 MB, rebuilt on
first run), and documentation/build (~150 MB of Sphinx HTML; the tracked
sources under documentation/source are what agents actually read).

AI-assisted (Claude)
@mscuthbert
mscuthbert merged commit 994d0e1 into master Jul 27, 2026
6 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.305%. remained the same — worktreeinclude into master

@mscuthbert
mscuthbert deleted the worktreeinclude branch July 27, 2026 22:20
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