Skip to content

feat(shared): add 12 Wave 1-3 retail platforms to SupportedEcommercePlatformSchema, importer, web, and extension #1850

Description

@JOY

All 12 Wave 1-3 Vietnamese retail chains are now implemented, unit-tested, census-wired, MV3 operator-collector wired (21 crawler stores + TikTok Shop), and live-HTTP-verified in DOS/Rate-Services (origin/main 87d862b; see Docs/Reports/2026-11-20-bao-cao-live-smoke-8-san-moi-va-census-14-chuoi.html and Docs/Reports/2026-11-22-bao-cao-live-smoke-wave-3-4-san-moi-va-census-19-chuoi.html).

Current Cross-Repo Blocker

DOS/Rate still restricts platform enums (SupportedEcommercePlatformSchema, EXTENSION_MARKETPLACES, web/extension UI) to the 10 legacy platforms (shopee, lazada, tiki, tiktok, cellphones, tgdd, fptshop, hoangha, didongviet, phongvu), which causes DOS/Rate-Services src/env.ts (validateWorkerEnv) to fail-closed whenever any of the 12 new chains is enabled in CRAWL_PLATFORMS.

Exact 12 Platforms to Add

  • Wave 1A:
    • dienmayxanh (dienmayxanh.com)
    • topzone (topzone.vn)
    • gearvn (gearvn.com)
  • Wave 1B:
    • nguyenkim (nguyenkim.com)
    • shopdunk (shopdunk.com)
    • hacom (hacom.vn)
  • Wave 2:
    • clickbuy (clickbuy.com.vn)
    • viettelstore (viettelstore.vn)
  • Wave 3A:
    • pico (pico.vn, canonical shopId: 'pico-vn', itemId: pico-<slug>)
    • mediamart (mediamart.vn, canonical shopId: 'mediamart-vn', itemId: mm-<slug>)
    • memoryzone (memoryzone.com.vn, canonical shopId: 'memoryzone-vn', itemId: mz-<slug>)
  • Wave 3B:
    • anphatpc (anphatpc.com.vn, canonical shopId: 'anphatpc-vn', itemId: ap-<slug>, active in laptops, tablets, smartwatches, earbuds - strictly excludes smartphones)

Exact Target Areas in DOS/Rate

  • packages/shared-data/src/schemas/specs.schema.ts: extend SupportedEcommercePlatformSchema
  • packages/shared-data/src/rules/extension-observation.ts: extend EXTENSION_MARKETPLACES & EXTENSION_MARKETPLACE_HOSTS (if M2 public extension supports them)
  • apps/importer: normalizer / platform handling
  • apps/web: store labels, badges, icons, links
  • apps/extension: public extension allowlist if applicable

DB Boundary Note

  • Core crawler tables (rate.products, rate.price_history, rate.reviews) in DOS/DOS.Me need NO migration.
  • Only M2 rate.extension_observations SQL CHECK / host allowlists will need a DOS/DOS.Me migration when M2 expands to these domains (see DOS/Rate#1762).

Handoff Note

Created per JOY's 2026-11-22 decision for the DOS/Rate Antigravity PO (po:antigravity) to execute cleanly without cross-repo writes from Rate-Services. Once merged in DOS/Rate, Rate-Services PO will bump the vendor/rate submodule.

Activity

  1. added
    area:shared
    status:ready
    po:antigravity
    on Nov 22, 2026
  2. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    🔒 [Agent: Core] Claim lock refs/claims/1850 taken by claimant antigravity:4f86892c-e382-459a-9756-e07fbbca4579 (Status: in-progress).

  3. added
    status:in-progress
    and removed
    status:ready
    on Nov 22, 2026
  4. self-assigned this
    on Nov 22, 2026
  5. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    [Agent: Core] Claimed this issue on branch feat/1850-wave-1-3-retail-platforms (Claimant: antigravity:4f86892c-e382-459a-9756-e07fbbca4579). Starting implementation across @repo/shared-data, @repo/crawlers, @repo/web, and @repo/extension.

  6. added
    status:in-review
    and removed
    status:in-progress
    on Nov 22, 2026
  7. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    [Agent: Core] Opened PR #1859 on branch feat/1850-wave-1-3-retail-platforms (status:in-review, head b36a93ea). Running CI and 2 independent fresh-context subagent reviews.

  8. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    [Agent: Core] PR #1859 (feat/1850-wave-1-3-retail-platforms) is ready for PO Acceptance Gate at head SHA 7597d6895fb79d20be0e0e538907e396561f0be8 (14/14 CI checks green, dos review APPROVED on head SHA, and 16/16 review threads resolved with 0 unresolved).

  9. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    🔓 [Agent: Core] Claim lock refs/claims/1850 of antigravity:4f86892c-e382-459a-9756-e07fbbca4579 (Agent Core) since 2026-11-22T09:49:18Z released by claimant antigravity:def296a6-5f67-48da-bb74-ee3ede4b7061 because #1850 is closed (Status: done).

  10. added
    status:done
    and removed
    status:in-review
    on Nov 22, 2026
  11. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    [Agent: PO] Merged to dev in #1859 (56309d8a695ea3ea84e1cd4603bc56c181330e28), promoted to main in #1860 (f84b37fba9822992d5fc0fb82860795b0bedbb23), and verified live on https://rate.vn (verify-live.mjs + warm-sitemap.mjs 68/68 URLs 200 OK). DOS/Rate-Services can now bump vendor/rate to f84b37fba9822992d5fc0fb82860795b0bedbb23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent:corearea:crawlersarea:extensionarea:sharedarea:webpo:antigravitystatus:done

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions