ContextBusiness rules needed identifiers scoped by activity: global mapping let the same modality leak across unrelated activities.
What I didMoved to scope-aware mapping, pushed critical uniqueness into the database with conditional constraints where legacy data still had to live, and used additive migration plus explicit legacy fallback order.
ImpactFewer cross-activity data bugs and a defensible story under concurrency—validators are not enough if the DB cannot enforce the rule.
ContextTags, replace-style assignment APIs, and an external panel that bills per line: technically valid payloads still broke commercial semantics.
What I didModeled tags as a real M2M, made update semantics explicit (replace vs incremental), kept backward compatibility during rollout, and used decision-oriented logging plus payload audit when the integration mispriced.
ImpactCatalog and admin flows got clearer contracts; we caught a billing-side semantic mismatch quickly and corrected the mapping instead of debating HTTP 200 forever.