Skip to content

[codex] Harden Windows memory dump parsing#7900

Open
tianmind-studio wants to merge 2 commits into
BasedHardware:mainfrom
tianmind-studio:codex/windows-memory-import-markdown-fences
Open

[codex] Harden Windows memory dump parsing#7900
tianmind-studio wants to merge 2 commits into
BasedHardware:mainfrom
tianmind-studio:codex/windows-memory-import-markdown-fences

Conversation

@tianmind-studio

@tianmind-studio tianmind-studio commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Skip Markdown code fence lines when parsing pasted ChatGPT/Claude memory dumps.
  • Strip additional common pasted list markers, including em dash, triangular bullet, and hyphen bullet variants.
  • Add focused coverage for fenced dumps and richer pasted list markers.
  • Format the touched fence test with the current Windows app dev dependencies.

Why

Windows users often copy memory lists from chat surfaces that wrap content in Markdown fences or use typographic bullets/dashes. The existing parser could keep ``` fences as bogus memories and leave some common marker characters in the imported text.

Refresh

  • Rebased on main at 1a5824403b.
  • Current head: 1d014a789c.

Validation

  • vitest run src/main/memoryImport/parse.test.ts -> 1 file passed, 8 tests passed
  • npm run typecheck -> passed
  • prettier --check src/main/memoryImport/parse.ts src/main/memoryImport/parse.test.ts -> passed
  • git diff --check origin/main...HEAD
  • scripts/pre-commit with the backend Windows venv and local Dart SDK on PATH

@tianmind-studio tianmind-studio force-pushed the codex/windows-memory-import-markdown-fences branch from 9ae6660 to 0a9fc65 Compare June 16, 2026 23:49
@tianmind-studio tianmind-studio force-pushed the codex/windows-memory-import-markdown-fences branch from 0a9fc65 to 1d014a7 Compare June 17, 2026 10:37
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