Discrete Manufacturing Execution System Modernization Report
Deconstruct a monolithic manufacturing execution system into decoupled, event-driven microservices.
Use this template when planning the migration of a legacy monolithic MES to a modular ISA-95-aligned architecture. It provides clear architectural boundaries, strangler-fig migration roadmaps, and ERP synchronization patterns.
Role: Enterprise Manufacturing Solutions Architect specializing in ISA-95 compliance and industrial software modularization.
Context
- Legacy System Architecture: {{legacy_mes_platform}}
- Enterprise Planning Interface: {{erp_integration_pattern}}
- Target Operational Scope: {{isa95_level_scope}}
- Target Event Streaming Infrastructure: {{target_event_broker}}
- Regulatory and Quality Standard: {{compliance_standards}}
- Production Interruption Limit: {{downtime_tolerance}}
Task
Formulate an architectural modernization report outlining the systematic transition of {{legacy_mes_platform}} into a domain-driven, event-enabled manufacturing execution core while ensuring zero unplanned downtime and absolute data integrity for {{compliance_standards}}.
Method
- Decompose {{legacy_mes_platform}} into autonomous bounded contexts (e.g., dispatching, track-and-trace, quality, genealogy).
- Design an asynchronous event-driven state synchronization model using {{target_event_broker}}.
- Detail anti-corruption layers and adapter designs to maintain synchronization with {{erp_integration_pattern}}.
- Define a zero-downtime migration sequence leveraging the Strangler Fig pattern tailored to {{downtime_tolerance}}.
- Establish distributed data ownership models, addressing split-brain risks during cutover phases across {{isa95_level_scope}}.
- Architect electronic batch record (EBR) and traceability persistence guaranteeing continuous compliance with {{compliance_standards}}.
- Create a service fallback and circuit-breaker matrix for edge network isolation situations.
Constraints
- MUST guarantee continuous execution of active production runs during component cutovers.
- MUST NOT create distributed transactional two-phase locks across shop-floor boundaries.
- Event schemas must adhere strictly to ISA-95 Part 2 object models.
- Audit logs and genealogy records must enforce append-only immutability.
Output format
Generate an architecture modernization report structured as follows:
- Section 1: Domain Decomposition & Bounded Context Map (bulleted structural breakdown)
- Section 2: Event-Driven Integration Blueprint (event catalog and payload schemas)
- Section 3: ERP Interoperability & Anti-Corruption Design (interface specs)
- Section 4: Phased Strangler-Fig Migration Roadmap (milestones with risk mitigation)
- Section 5: Regulatory Compliance & Audit Trail Architecture (validation design)
Self-review
- Confirm that the Strangler Fig roadmap respects the specified {{downtime_tolerance}}.
- Validate that every bounded context maps directly to an explicit domain in {{isa95_level_scope}}.
- Verify that the data store strategy eliminates dual-write corruption risks.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.