[Bounty proposal] feat(python-cli): memories -> CSV export recipe ($25 proposed)
Summary
The memories export surface currently ships only a Markdown recipe. This proposes a memories -> CSV recipe so memory exports can feed spreadsheets (Excel/Sheets open it out of the box via UTF-8 BOM), pandas pipelines, and bulk imports — mirroring the accepted conversations -> CSV recipe but for the memory domain.
sdks/python-cli/examples/memories_to_csv.py— stdlib-only converter: fixed columns (id, content, category, tags, visibility, created_at, updated_at, app_id with source_app fallback), pipe-joined tags, timestamps normalized to ISO-8601 UTC, default CSV to stdout plus exclusive-creation-owrites.- Reuses the established
spreadsheet_textformula-injection guard from the conversations CSV recipe; envelope unwrapping (memories/items/data, bare list, single object); BOM-tolerant input; loose row coercion so one odd record cannot crash the export, filtered or not. --category/--visibilityfilters (parity with the Markdown recipe).sdks/python-cli/examples/memories_csv.md— recipe documentation, registered inexamples/README.md.sdks/python-cli/tests/test_memories_to_csv.py— 49 hermetic unit tests (row coercion, formula guard, tags/timestamps, envelope unwrapping, filters, deterministic bytes, CLI exit codes).
Validation
python -m unittest discover -s sdks/python-cli/tests -p test_memories_to_csv.py: 49 passed.black+isortclean with the repo settings (line-length 120, black profile).- No changes to any existing recipe or shared code — new files plus a README discovery line.
Proposed Bounty
- $25 (standard developer recipe bounty). Payable through the documented PayPal process after acceptance and merge.
Payout (PayPal): [email protected]
Disclosure: the investigation, recipe, and tests were prepared with an AI assistant. This proposal does not represent independent human technical review.
I'd like to take this bounty.
I've reviewed the requirements and can implement the memories → CSV recipe, including the required CLI behavior, category/visibility filters, envelope handling, timestamp/tag normalization, formula-injection protection, documentation, and hermetic tests while keeping the implementation stdlib-only.
I’ll work from the existing conversations → CSV recipe pattern and submit a PR for review.
Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏