Skip to content

feat: replace Mystique brand presence triggers with DRS (LLMO-1819)#2061

Open
dzehnder wants to merge 1 commit intomainfrom
feat/replace-mystique-with-drs
Open

feat: replace Mystique brand presence triggers with DRS (LLMO-1819)#2061
dzehnder wants to merge 1 commit intomainfrom
feat/replace-mystique-with-drs

Conversation

@dzehnder
Copy link
Contributor

@dzehnder dzehnder commented Mar 2, 2026

Summary

  • Remove dead triggerMystiqueCategorization code (DRS config writer already populates categories via LLMO-1819)
  • Replace triggerGeoBrandPresence / triggerGeoBrandPresenceRefresh calls in llmo-customer-analysis with DrsClient.triggerBrandDetection() for config-change flows
  • Remove isAdobe guard — DRS now handles all sites uniformly (Adobe and external)
  • Keep old Mystique trigger functions for backward compatibility (manual Slack triggers)

What changed in llmo-customer-analysis

Trigger Before After
First-time onboarding (categorization) Mystique API call Removed (DRS already writes categories)
No config version (first setup) triggerGeoBrandPresence → Mystique triggerBrandDetection → DRS
Topics/categories/entities change triggerGeoBrandPresence → Mystique (non-Adobe only) triggerBrandDetection → DRS (all sites)
Brands/competitors change triggerGeoBrandPresenceRefresh → Mystique (non-Adobe only) triggerBrandDetection → DRS (all sites)

Dependencies

  • Blocked by: spacecat-shared#1398 — shared DRS client package
  • Add @adobe/spacecat-shared-drs-client to package.json after it's published
  • Infrastructure: DRS_API_URL and DRS_API_KEY env vars must be added to audit-worker deployment (spacecat-infrastructure)

Test plan

  • CI will fail on import/no-unresolved until shared package is published
  • Update unit tests for llmo-customer-analysis handler
  • E2E: verify config changes trigger DRS brand detection instead of Mystique

Made with Cursor

@dzehnder dzehnder force-pushed the feat/replace-mystique-with-drs branch from ddb5c39 to 456842a Compare March 2, 2026 17:19
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

This PR will trigger a minor release when merged.

- Remove dead triggerMystiqueCategorization code (DRS config writer
  already populates categories via LLMO-1819)
- Replace triggerGeoBrandPresence/triggerGeoBrandPresenceRefresh calls
  with DrsClient.triggerBrandDetection() for config-change flows
- Remove isAdobe guard (DRS handles all sites uniformly)
- Keep old Mystique trigger functions for backward compat (Slack manual)

Depends on: adobe/spacecat-shared feat/drs-client-package being published

Made-with: Cursor
@dzehnder dzehnder force-pushed the feat/replace-mystique-with-drs branch from 456842a to 0cad747 Compare March 2, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant