הופך את כלל ה-worktree המבודד מ-דיסציפלינה-ידנית ל-ברירת-מחדל נתמכת-סביבה, לפי המקורות הרשמיים של Anthropic (worktrees + settings) ו-Git. - .claude/settings.json: worktree.baseRef=fresh (בסיס מ-origin/main), worktree.symlinkDirectories=[web-ui/node_modules] (שיתוף 789MB במקום npm ci לכל worktree), ו-WorktreeRemove hook עם --force לעקיפת באג cleanup #40259. spec-guard נשמר. - .worktreeinclude: העתקת .claude/settings.local.json (allowlist הרשאות) + env לכל worktree. - .gitignore: הוספת .claude/worktrees/ (טיפ רשמי) — מנקה את git status של העץ הראשי. - CLAUDE.md: שדרוג מקטע "בידוד-סשנים" — claude --worktree כברירת-מחדל תחת .claude/worktrees/, caveat בידוד-DB (לא migrations מ-2 worktrees), אזכור באג #60588 (אימות baseRef). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
611 B
Plaintext
11 lines
611 B
Plaintext
# קבצים מקומיים (gitignored) שמועתקים אוטומטית לכל worktree חדש שה-harness יוצר.
|
|
# תחביר .gitignore. מועתק רק אם הקובץ קיים *וגם* gitignored — קבצים tracked לעולם לא משוכפלים.
|
|
# ראה docs: https://code.claude.com/docs/en/worktrees#copy-gitignored-files-into-worktrees
|
|
|
|
# allowlist ההרשאות — בלעדיו כל worktree מציף אישורי-הרשאה מחדש
|
|
.claude/settings.local.json
|
|
|
|
# קבצי-סביבה מקומיים (כיום אין; proactive — בלתי-מזיק אם חסר)
|
|
.env
|
|
web-ui/.env.local
|