Skip to content

brain export --redact: strip context trails for shareable exports #24

Description

@RodCor

kimetsu brain export writes memory texts verbatim, including the (context: …) suffix that often describes what the user was working on — fine for private backups, risky for publishing benchmark datasets or sharing memories. Add a --redact flag that strips the trailing (context: …) segment (and optionally the [tags: …] prefix) from each exported text. The export logic lives near export/import_memories in crates/kimetsu-brain/src/project.rs; the dedup-on-import behavior must keep working on redacted texts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions