omi icon indicating copy to clipboard operation
omi copied to clipboard

[Bounty proposal] fix(screen-activity): harden user_id extraction, malformed summary guards, and query validation ($50 proposed)

Open Booshdag-io opened this issue 1 month ago • 1 comments

Summary

Hardens screen_activity_tools.py in backend/utils/retrieval/tools/ against:

  • Brittle user_id vs uid extraction and missing top-level config support in _get_uid.
  • Unhandled KeyError when summary from Firestore is malformed or missing 'apps'.
  • Strict whitespace handling in app_filter.
  • Wasteful embedding and vector query execution on empty/whitespace search queries.
  • String/non-integer values in limit.

Paired Pull Request: #23203 Pull Request URL: https://github.com/BasedHardware/omi/pull/23203

Proposed Bounty: $50 USD Payout Address (Base Mainnet USDC): 0xb95e2AD8E9D9e9BF902c7531577Cd0E1ceB203D4

Booshdag-io avatar Oct 22 '26 04:10 Booshdag-io

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! 🙏

undivisible avatar Oct 22 '26 12:10 undivisible