> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wavecentric.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Tactical Execution & Event Management

> Orchestrating the physical movement and event propagation of the fleet.

## 1. Composition & Shunting Orchestration

In the **Rail Execution** layer, planners translate the digital booking list into a physical train consist.

* **Composition Planning**: Drag-and-drop assignment of bookings to wagon slots, governed by the real-time **Compatibility Matrix**.
* **Resource Locking**: Successfully assigned assets are marked as "In Use" across the registry to prevent double-booking.

<Frame caption="Train Composition board for technical rail execution.">
  <img src="https://mintcdn.com/wavecentric/jP_Od8F4bWMUOeMH/images/relazione_ferroviaria.png?fit=max&auto=format&n=jP_Od8F4bWMUOeMH&q=85&s=9764af01531561f850cea06291e80197" alt="Relazione Ferroviaria" width="1136" height="633" data-path="images/relazione_ferroviaria.png" />
</Frame>

## 2. Global Event Propagation

Operational events (e.g., *Loaded*, *Departed*, *Arrived*) are not just data entries; they are **System Triggers**.

* **Customer Notifications**: Every milestone update triggers the `MAGEMO_MAIL_MODELS` to send custom-branded status updates to stakeholders.
* **Inventory Shifts**: A "Departed" status automatically moves units from the "Terminal Inventory" to the "Transit Ledger".

## 3. Inventory Balancing (Relocation)

The system provides a real-time balance of **Full vs. Empty** units across all nodes. This allows for automated "Relocation flows," suggesting the repositioning of empty equipment to node hubs with predicted high demand.

```mermaid theme={null}
graph LR
    OP[Event: Departed] -->|Trigger| ML[Mail System]
    OP -->|Trigger| INV[Inventory Update]
    OP -->|Trigger| MON[Track & Trace Board]
```
