* fix(doctor): add .sync.lock and sync_base.jsonl to gitignore Problem: - .sync.lock and sync_base.jsonl were missing from GitignoreTemplate - Files introduced in PR #918 (pull-first sync) appeared as untracked Solution: - Add patterns to GitignoreTemplate with explanatory comment - Add patterns to requiredPatterns for bd doctor validation Impact: - Existing users get warning via bd doctor, fix via bd doctor --fix - New repos get correct gitignore on bd init Fixes: GH#974 * docs(sync): fix sync_base.jsonl tracking status and add tests Problem: - SYNC.md incorrectly documented sync_base.jsonl as "git-tracked" - No tests validated sync state file gitignore patterns Solution: - Update Files Reference table: sync_base.jsonl is "not tracked, per-machine" - Add TestGitignoreTemplate_ContainsSyncStateFiles - Add TestRequiredPatterns_ContainsSyncStatePatterns Relates to: GH#974
36 KiB
36 KiB