Skip to content

Auto memory import says memories, lists a line per folder, and passes over .DS_Store - #106

Merged
Coder8124 merged 3 commits into
mainfrom
import-output
Nov 3, 2026
Merged

Coder8124 merged 3 commits into
mainfrom
import-output

Conversation

@Coder8124

Copy link
Copy Markdown
Owner

Stacked on #101 (import-paths), which rewrote the same file. Merge #101 first; this PR then retargets to main.

Fixes runningbugs #377 and part of #330:

  • #377. An empty import said "no claude-auto-memory memorys". It now says memories. Test: TestAnEmptyAutoMemoryImportSaysMemoriesNotMemorys.
  • #330, noise. A hidden file that is not a note (Finder's .DS_Store) is no longer reported as "Left out … not a note" on every run. A hidden .md is still read, and any other visible file is still reported. Test: TestHiddenFilesInTheAutoMemoryFolderAreNotReportedAsLeftOut.
  • #330, the Found list. Auto memory is one note per file, so the list had a line per memory, each saying "1 memory". It now has a line per folder and scope (… /memory 3 memories, for project shop). Rules files still get a line per file. Test: TestAutoMemoryIsFoundAsOneLinePerFolderAndScope.

Left out on purpose: keeping a note's frontmatter description alongside its body (the third half of #330). 0.5.5 and 0.5.6 already queued body-only text. Changing the text would re-offer every note a user had accepted or rejected. Matching on the old text instead would leave existing imports body-only for good, and would also match the same sentence from other sources. Doing it properly means rewriting held rows, vault first. That is its own change.

Verified:

  • go build, go vet, gofmt -l: clean.
  • go test ./...: ok.
  • go test -tags chaos ./chaos/...: ok.
  • check-bug-tests, check-commits, check-test-names against import-paths: ok. Each new test fails on the base.
  • Live import --from claude-auto-memory --dry-run in a scratch HOME with three notes and a .DS_Store: the old binary printed the .DS_Store line and three "1 memory" rows; the new one prints one row, "3 memories".

@Coder8124
Coder8124 merged commit eb173bf into main Nov 3, 2026
12 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