Repository navigation
feat(import): label imported sessions with a human summary - #18
Merged
Merged
Conversation
Imported Claude Code sessions were labelled `claude-code import <uuid>`, which reads as an opaque id in `basou session list` and the handoff. Label them with the date and activity counts instead (`claude-code <date>: <n> commands, <m> files`). The Claude session id is kept structurally in `source.external_id`, so traceability and idempotent re-import are unaffected. Paths are excluded from the label because it is not path-sanitized downstream. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Labels imported Claude Code sessions with a human-readable summary instead of
the raw session id.
claude-code import fe450e3e-ab3d-42e1-880f-f3b4f31089aaclaude-code 2026-05-18: 34 commands, 12 filesWhy
In
basou session listand the handoff the old label read as an opaque id.The summary (date + activity counts) lets a session be recognized by content.
How
command_executed/file_changedcounts it derives.source.external_id, so traceability andidempotent re-import are unaffected — the label no longer needs to carry it.
so a raw file path would leak an operator-private prefix.
Tests
claude-code <date>: <n> command(s), <m> file(s);the explicit
externalIdis stored in source, not the label.🤖 Generated with Claude Code