Cloud: shared seller/scammer DB across users (public data, no re-scraping) #6
Labels
No labels
backlog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/snipe#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In the cloud deployment, each user session operates against an isolated DB. This means seller enrichment (account age, category history) is re-scraped per-user even though the data is entirely public, and the scammer blocklist has no community benefit.
Proposal
Split the DB into two tiers:
Shared DB (single instance, all sessions)
sellers— public eBay seller profiles (account age, feedback, category history)scammer_blocklist— community-reported bad actors (consent at report time; user explicitly submits)market_comps— query-keyed median prices (public data, cache shared = fewer Browse API calls)Per-user DB (isolated per session/account)
listings— search results, staging tracking, price historysaved_searches— user bookmarksPrivacy posture
CLOUD_DATA_ROOTalready exists for per-user data; shared DB at a fixed path (e.g./devl/snipe-cloud-data/shared.db)Image hash DB — deliberately excluded
The phash/perceptual hash image DB requires a separate consent design. Even though source images are public eBay listings, adding fingerprints to a shared pool is a data processing activity derived from user search behavior. This requires explicit opt-in ("Help improve scam detection by contributing image fingerprints") with clear disclosure. Tracked separately.
Benefits