Phase 3: Prompt Rules Engine + Config Migration#54
Closed
DavidLambauer wants to merge 41 commits intomage-os-lab:mainfrom
Closed
Phase 3: Prompt Rules Engine + Config Migration#54DavidLambauer wants to merge 41 commits intomage-os-lab:mainfrom
DavidLambauer wants to merge 41 commits intomage-os-lab:mainfrom
Conversation
Phased roadmap covering all 12 open issues: configurable attributes, multi-store/locale, prompt rules engine, review workflow, and structured attribute extraction.
Detailed task-by-task plan for housekeeping (mage-os-lab#22, mage-os-lab#23, mage-os-lab#25) and configurable attributes (mage-os-lab#27) with TDD steps, exact file paths, and code snippets.
Multi-store/locale (mage-os-lab#12) and enrichment status flags (mage-os-lab#48): 14 tasks covering store-scoped enrichment, locale-aware prompts, enrichment log table, and admin UI status indicators.
Config migration (mage-os-lab#43) and prompt rules engine (mage-os-lab#32): 14 tasks covering config path migration, rule CRUD admin UI, conditions framework, PromptResolver service, and preview controller.
10 tasks
This was referenced Apr 19, 2026
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
catalog_ai/*toai_integration_enrichment/*under a new "AI Services" tab, coordinating with the shared AI section approach from the translation moduleDepends on: #53 (Phase 2: Multi-Store/Locale + Enrichment Status Flags)
Config Migration (#43) Details
ai_servicestab in admin config, sectionai_integration_enrichmentunder "Data Enrichment"catalog_ai/*toai_integration_enrichment/*MageOS_CatalogDataAI::config(no longer piggy-backs onMagento_Catalog)MigrateConfigToAiIntegrationmigrates existing config values and cleans up old pathsPrompt Rules Engine (#32) Details
Data layer:
mageos_catalogai_prompt_ruleDB table (10 columns, indexed onattribute_codeandis_active)PromptRulemodel extendingMagento\Rule\Model\AbstractModelwith catalog rule conditions supportPromptResolverservice — resolves the highest-priority matching rule for a product/attribute/store, falls back to default config promptAdmin UI:
Integration:
Enrichernow usesPromptResolverinstead of reading directly fromConfig::getProductPrompt()Test plan
setup:upgrade— should createmageos_catalogai_prompt_ruletable and migrate configsetup:di:compile— should complete without errors