AS A Service-Module developer
I WANT server-side and integration logic that maintains a two-state training flag for intents
SO THAT the UI can show a clear green/red indicator and we can block publishing when intents are not trained
Acceptance Criteria
AS A Service-Module developer
I WANT server-side and integration logic that maintains a two-state training flag for intents
SO THAT the UI can show a clear green/red indicator and we can block publishing when intents are not trained
Acceptance Criteria
**Two statuses only:
TRAINEDandNOT_TRAINED.**On create
status=NOT_TRAINED,needsTraining=true, recordlastModifiedAt.**On change:
status=NOT_TRAINED,needsTraining=true, updatelastModifiedAt.**On model switch:
status=NOT_TRAINED(treat as not trained for that env).UI indicator contract:
- 🟢 Green – Trained ⇢
status=TRAINEDandmodelVersion[env] == activeModelVersion[env]- 🔴 Red – Not trained ⇢ otherwise