Architecture
AuraScore 83/100

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.

Template

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

  1. Decompose {{legacy_mes_platform}} into autonomous bounded contexts (e.g., dispatching, track-and-trace, quality, genealogy).
  2. Design an asynchronous event-driven state synchronization model using {{target_event_broker}}.
  3. Detail anti-corruption layers and adapter designs to maintain synchronization with {{erp_integration_pattern}}.
  4. Define a zero-downtime migration sequence leveraging the Strangler Fig pattern tailored to {{downtime_tolerance}}.
  5. Establish distributed data ownership models, addressing split-brain risks during cutover phases across {{isa95_level_scope}}.
  6. Architect electronic batch record (EBR) and traceability persistence guaranteeing continuous compliance with {{compliance_standards}}.
  7. 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.
AuraScore breakdown
83/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness5/5 · Strong

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

developers
developers-architecture
manufacturing-industrial
mes
isa-95
microservices