You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the description of the Comers platform modernization project, emphasizing the evolution of the system, integration of AI capabilities, and the transition towards a contract-driven architecture.
Copy file name to clipboardExpand all lines: src/content/en-case-studies/commerce-platform-modernization.mdx
+44-7Lines changed: 44 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ This project concerns the modernization of **Comers**, a proprietary online sale
25
25
26
26
The system was originally built as an internal operational platform supporting a network of online stores operating across multiple European Union countries.
27
27
28
-
Comers serves as a centralized sales and integration system, enabling:
28
+
Comers serves as a centralized sales and integration system that is still actively evolving. In addition to classic sales operations, the system now includes increasingly explicit module boundaries, background processing, and the first areas of operational AI support. The platform enables:
29
29
30
30
- integration of multiple online stores,
31
31
- integration with marketplaces (e.g. Amazon, eBay),
@@ -36,7 +36,10 @@ Comers serves as a centralized sales and integration system, enabling:
36
36
- service and warranty workflows,
37
37
- product listing management,
38
38
- invoice generation,
39
-
- operational reporting and analytics.
39
+
- operational reporting and analytics,
40
+
- translation and handling of message threads,
41
+
- operator support when preparing customer replies,
42
+
- operational use of AI through explicit contracts and domain tools.
40
43
41
44
Comers is multi-organization by design. Within a single instance, multiple organizations can operate independently, each with:
42
45
@@ -75,7 +78,7 @@ The system was not an experiment. It was a real operational tool supporting sale
75
78
76
79
## Why Modernization Is Necessary Today
77
80
78
-
After a decade of growth, the system reached a natural architectural inflection point.
81
+
After a decade of growth, the system reached a natural architectural inflection point. Modernization is no longer only a target plan — some of the new boundaries, background processes, API layers, and AI mechanisms are already running in the active platform runtime.
79
82
80
83
### 1. Growing integration density
81
84
@@ -181,14 +184,14 @@ The transformation is being carried out under live production conditions.
181
184
182
185
### Phase 5: Operational AI support
183
186
184
-
Over the long term, the system will be extended with an AI-assisted decision-support layer.
187
+
Originally, AI was treated as a long-term development direction. Today, the first operational AI layer has already been implemented in selected areas, especially communication, translation, reply handling, MCP tools, and the capability gateway.
185
188
186
189
AI will:
187
190
188
191
- operate exclusively on explicit contracts,
189
192
- generate recommendations and summaries,
190
193
- support operational decisions,
191
-
- remain an augmentation layer rather than an execution authority.
194
+
- remain an augmentation layer rather than an uncontrolled bypass of system logic.
192
195
193
196
---
194
197
@@ -222,6 +225,39 @@ Work completed so far includes:
222
225
- introducing CI/CD pipelines and preparing for containerization,
223
226
- refreshing selected parts of the user interface.
224
227
228
+
### Latest stage: contract boundaries, AI, and runtime
229
+
230
+
In the next phase, modernization moved beyond organizing selected modules inside the monolith. The system started evolving toward a contract-driven architecture in which the legacy application, internal APIs, the Core API layer, AI tools, the gateway, and background processes have increasingly explicit responsibilities.
231
+
232
+
The most important new areas of work include:
233
+
234
+
- extracting the `activities` area through the `activities/v1` API, a read model, and the `activities_current` projection,
235
+
- moving activity history toward an append-only audit log without classic record updates or deletes,
236
+
- creating a new `orders` boundary for external order synchronization, eBay Fulfillment data, shipping deadlines, and read access through Core API and MCP,
237
+
- extending the `messages` module with thread and thread-list translation, user language preference, a translation worker, and AI support for suggesting and composing replies,
238
+
- extending the existing `notifications` module with a Core API facade and MCP tools operating in a specific user context,
239
+
- implementing the first operational AI layer with separate repositories for the webapp, BFF, ChatKit runtime, MCP, and AI gateway,
240
+
- introducing `comers-ai-gateway` as an internal capability layer for `translate.v1` and `compose_reply.v1`,
241
+
- moving runtime definitions into dedicated infrastructure repositories: `comers-infra-ai` and `comers-infra-legacy`.
242
+
243
+
In practice, this means Comers is no longer only a modernized monolith with several new modules. It is an actively evolving operational platform where new features and new types of consumers are connected through explicit contracts instead of direct access to older application logic.
244
+
245
+
### Real AI capabilities at the current stage
246
+
247
+
In the latest stage, the AI layer stopped being only a future direction. The system now has an operational assistant that uses explicit contracts and controlled domain tools.
248
+
249
+
The assistant can answer questions based on real system data and perform selected actions. It can read customer message lists and details, notifications, order information, and the activity log. It can also mark messages and notifications as read and move them to the archive.
250
+
251
+
The messages module is especially important. Comers supports translation of threads, titles, and conversation lists into a selected language, remembers the user’s language preference, and runs translations in the background. AI can suggest a reply to a customer based on the conversation context, as well as improve, structure, and translate a draft prepared by an operator into the customer’s target language.
252
+
253
+
These features were not added as a loose integration with an AI model. They are embedded in the architecture through `comers-ai-webapp`, `comers-ai-bff`, `comers-ai-chatkit`, `comers-ai-mcp`, `comers-core-api`, and `comers-ai-gateway`. As a result, AI operates through APIs, tools, and capability contracts instead of direct access to legacy models.
254
+
255
+
### Readiness of selected modules for extraction
256
+
257
+
More and more areas of the system now have their own boundaries, contracts, APIs, read models, ports, adapters, and separate runtime processes. This is especially visible in `messages`, `activities`, `orders`, `notifications`, `shipping`, and marketplace integrations.
258
+
259
+
This means modernization is no longer only about organizing code inside the monolith. Selected modules are increasingly close to technical readiness for extraction into independent services, because new system consumers can use explicit contracts instead of internal legacy models.
260
+
225
261
### Selected Comers platform views
226
262
227
263
<GalleryLightbox
@@ -310,14 +346,15 @@ Full technical change log:
310
346
311
347
## Current State
312
348
313
-
The system remains fully operational.
349
+
The system remains fully operational and continues to evolve. Its current state sits between a modular monolith, a contract-driven architecture, and the first separated runtimes supporting new capabilities.
314
350
315
351
Modernization is incremental:
316
352
317
353
- boundaries are being formalized,
318
354
- contracts are being strengthened,
319
355
- new modules with explicit boundaries are being developed,
320
-
- additional extraction candidates are being prepared.
356
+
- additional extraction candidates are being prepared,
357
+
- new layers such as Core API, MCP, BFF, and the AI gateway are being developed as controlled access points to system domains.
321
358
322
359
Some of the key transformation elements have already been implemented and are described in the section above.
0 commit comments