Skip to content

Share single-file importer pipeline#204

Merged
upsetbit merged 1 commit into
masterfrom
codex/issue-100-run-single-file
Jun 6, 2026
Merged

Share single-file importer pipeline#204
upsetbit merged 1 commit into
masterfrom
codex/issue-100-run-single-file

Conversation

@upsetbit
Copy link
Copy Markdown
Contributor

@upsetbit upsetbit commented Jun 6, 2026

Closes #100.

Summary

  • add internal/importers/importerutil.RunSingleFile for shared single-file import flow
  • switch Claude Code, Codex, Cursor, Gemini, Antigravity, and Hermes JSONL/snapshot import paths to the helper
  • keep Hermes state.db bespoke and document the helper in importer architecture docs
  • add focused helper tests for hash skip, normal write, and parsed-ID no_usage behavior

Local validation

  • go test ./internal/importers/... -race
  • go test ./internal/store/... -race
  • devbox run -- just lint
  • go test ./internal/importers/... ./internal/store/...
  • devbox run -- just lint-md
  • just test-race

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@upsetbit upsetbit merged commit d49f654 into master Jun 6, 2026
5 checks passed
@upsetbit upsetbit deleted the codex/issue-100-run-single-file branch June 6, 2026 06:34
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.

Extract shared Pipeline.RunSingleFile for importer Import method glue

1 participant