Skip to content

chore: .gitignore — add cmd/sin-code/tui/.sin-code/ (runtime SQLite files) #61

Description

@Delqhi

Bug

cmd/sin-code/tui/.sin-code/ is created at runtime by the new TUI
v3.3.1 (sessions.db, lessons.db, knowledge.db — SQLite files via modernc).
Line 58 of .gitignore only excludes cmd/sin-code/internal/.sin-code/,
not the sibling tui/ path. These files appear as untracked noise in
git status on every clone that has run the TUI.

Reproduce

git checkout main
go build ./...
./sin-code tui                   # creates .sin-code/sessions.db
echo 'exit' | ./sin-code tui     # exercise it
git status                       # shows ?? cmd/sin-code/tui/.sin-code/{lessons,sessions}.db

Fix

Update .gitignore line 58 from cmd/sin-code/internal/.sin-code/ to
cmd/sin-code/**/.sin-code/ (or add a second line for the tui/ path).

Cross-refs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions