network-inventory-planning events 1.0.0

Event contract of the network-inventory-planning bounded context.

Phase 1 declares the three CONSUMED facts (projected into local read models):

  • com.warehouse.wms.facility-layout.site.SiteCapabilityChanged (facility-layout, warehouse.facility.events) → local site_capability read model (keyed site_id, LWW on capability_revision).
  • com.warehouse.wes.order-management.siteskudemand.SiteSkuDemandChanged (order-management, warehouse.order-management.events) → local site_sku_demand read model (keyed source_order_id+line_no, state ACTIVE/REMOVED).
  • com.warehouse.wes.warehouse-planning.capacityplan.CapacityPlanPublished (warehouse-planning, warehouse.warehouse-planning.events) → local published_capacity_plan read model (keyed plan_id, LWW on the CloudEvents time. The payload is warehouse-planning's existing v1 payload plus the additive site_id; a legacy event WITHOUT site_id is EXCLUDED (the site is never inferred from warehouse_id).

Phase 2 (ADR 0003, the transfer saga) adds the PUBLISHED stream on warehouse.network-inventory-planning.events — emitted through the transactional outbox in the same transaction as the saga state change — and the two CONSUMED inventory-storage replies on warehouse.inventory.events:

  • com.warehouse.wes.network-inventory-planning.transfer.TransferPlanApproved (published, subject/key transfer_id): an operator approved an advisory proposal into a transfer plan.
  • com.warehouse.wes.network-inventory-planning.transfer.TransferAllocationRequested (published COMMAND, subject/key transfer_line_id = <transfer_id>:1 for the v1 single-line saga): inventory-storage allocates origin stock against transfer_line_id and replies on warehouse.inventory.events.
  • com.warehouse.wms.inventory-storage.reservation.TransferStockAllocated (consumed reply, subject/key reservation_id): the saga moves ALLOCATING → ALLOCATED, persisting reservation_id, allocations[] and expires_at.
  • com.warehouse.wms.inventory-storage.reservation.TransferStockAllocationRejected (consumed reply, subject/key transfer_line_id): the saga moves ALLOCATING → UNFULFILLABLE with the closed reason ORIGIN_SITE_UNKNOWN|INSUFFICIENT_USABLE|IDEMPOTENCY_CONFLICT.

Phase 4 (ADR 0007, observability + scheduled runs) adds this context's analytics stream on warehouse.network-inventory-planning.analytics: the saga-health occurrences TransferStateAdvanced (every state transition, same outbox transaction), TransferStuckDetected (a bounded observe-only ticker; NIP_HEALTH_CHECK_INTERVAL / NIP_STUCK_THRESHOLDS) and RebalanceRunCompleted (each scheduled rebalance pass; observe-only — no approval, no allocation command). W3C trace context (traceparent) propagates on every produced and consumed message.

Cancel-after-allocation (ADR 0022, the compensation leg) closes ADR 0003's documented gap — a transfer cancelled AFTER allocation gets its origin hold resolved instead of stranding the reservation until lazy expiry:

  • com.warehouse.wes.network-inventory-planning.transfer.TransferAllocationReleaseRequested (published COMMAND, subject/key transfer_line_id): an ALLOCATED transfer's operator cancel; inventory-storage resolves the origin reservation and replies on warehouse.inventory.events.
  • com.warehouse.wms.inventory-storage.reservation.TransferStockAllocationReleased (consumed reply, subject/key transfer_line_id, outcome RELEASED | ALREADY_RESOLVED — both settle): the saga moves RELEASING → CANCELLED.

Phase 3 (ADR 0005, work-demand release + fact-driven transitions) adds the released work demands on the PUBLISHED stream, the three CONSUMED fulfillment-execution transfer facts on warehouse.fulfillment.events, and the two CONSUMED inventory-storage destination facts on warehouse.inventory.events:

  • com.warehouse.wes.network-inventory-planning.workdemand.WorkDemandReleased (published COMMAND, subject/key demand_id): one leg of an approved transfer released for warehouse work. WES (wes-work-planning) is the consumer; the payload below mirrors ITS consumed contract exactly.
  • com.warehouse.wes.fulfillment-execution.transfer.TransferPicked (consumed fact, subject/key task_id): ALLOCATED → PICKED, the picked quantity recorded (a short pick is recorded, not refused), and the dispatch WorkDemandReleased released with the PICKED quantity.
  • com.warehouse.wes.fulfillment-execution.transfer.TransferDispatched (consumed fact, subject/key task_id): PICKED → IN_TRANSIT.
  • com.warehouse.wes.fulfillment-execution.transfer.TransferArrived (consumed fact, RESERVED — scan-driven receiving may bypass it): IN_TRANSIT → ARRIVED; inventory-storage's TransferReceiptStaged drives the same transition.
  • com.warehouse.wms.inventory-storage.stock.TransferReceiptStaged (consumed fact, subject/key transfer_line_id): IN_TRANSIT → ARRIVED (the scan-driven receiving path).
  • com.warehouse.wms.inventory-storage.stock.TransferStockStowed (consumed fact, subject/key transfer_line_id): ARRIVED → RECEIVED (terminal), the destination stow allocations persisted.

Consumers decode CloudEvents 1.0 structured mode only, dispatch on the FULL type, ignore unknown types, dedupe on id in-transaction (processed_events), and commit offsets only after the read-model transaction commits. Consumer group ids are environment-configured (SITE_CAPABILITY_CONSUMER_GROUP, SITE_SKU_DEMAND_CONSUMER_GROUP, CAPACITY_PLAN_CONSUMER_GROUP, TRANSFER_REPLY_CONSUMER_GROUP, TRANSFER_FACT_CONSUMER_GROUP, PACK_LEVEL_CONSUMER_GROUP); an empty value means the consumer does not exist. A message that can never be applied (not a valid CloudEvent, an undecodable payload) is published raw, with x-dlq-* headers, to <source topic>.dlq and committed past; only infrastructure failures are retried. A fact whose transfer_ref names no known transfer is WARN-logged and committed past, never retried.

Every produced message uses source /warehouse/network-inventory-planning, the Kafka header content-type: application/cloudevents+json; charset=UTF-8, the W3C trace headers when a span is active, and the Kafka key shown per event (hash-partitioned).

The analytics stream is also CONSUMED by this context's own nip-projector binary (group ANALYTICS_CONSUMER_GROUP, default network-inventory-planning-analytics; dead letters go to warehouse.network-inventory-planning.analytics.dlq), which builds the analytical database behind the nip-reports API.

The consumed payload schemas below are the producers' own contract shapes mirrored read-only (each producer's apis/asyncapi.yaml on origin/develop is authoritative).

  • #consumed-facts
  • #consumed-replies
  • #published
  • #published-analytics

Servers

  • kafka://kafka.warehouse-systems.internal:9092/kafkaproduction

    Fleet-shared Kafka broker.

    Security:
    security.protocol:PLAINTEXT

Operations

  • RECEIVE warehouse.facility.events

    facility-layout's integration stream. network-inventory-planning consumes only SiteCapabilityChanged and ignores every other type.

    Keep the local site_capability read model current.

    Consume facility-layout's SiteCapabilityChanged, dedupe on CloudEvents id inside the read-model transaction, and upsert site_capability keyed by site_id with last-writer-wins on capability_revision.

    Operation IDreceiveSiteCapabilityChanged

    Available only on servers:

    Accepts the following message:

    Site capability changed

    A site's transfer capability state changed (consumed).

    Message IDsiteCapabilityChanged
    allOf

    CloudEvents 1.0 envelope of facility-layout's SiteCapabilityChanged.

    Examples

  • RECEIVE warehouse.order-management.events

    order-management's integration stream. network-inventory-planning consumes only SiteSkuDemandChanged and ignores every other type.

    Keep the local site_sku_demand read model current.

    Consume order-management's SiteSkuDemandChanged, dedupe on CloudEvents id inside the read-model transaction, and upsert/tombstone site_sku_demand keyed by source_order_id+line_no (ACTIVE/REMOVED).

    Operation IDreceiveSiteSkuDemandChanged

    Available only on servers:

    Accepts the following message:

    Site/SKU demand changed

    One source order line's site demand changed (consumed).

    Message IDsiteSkuDemandChanged
    allOf

    CloudEvents 1.0 envelope of order-management's SiteSkuDemandChanged.

    Examples

  • RECEIVE warehouse.warehouse-planning.events

    warehouse-planning's integration stream. network-inventory-planning consumes only CapacityPlanPublished and ignores every other type.

    Keep the local published_capacity_plan read model current.

    Consume warehouse-planning's CapacityPlanPublished, dedupe on CloudEvents id inside the read-model transaction, and upsert published_capacity_plan keyed by plan_id with last-writer-wins on the CloudEvents time. Legacy payloads without site_id are excluded, never inferred.

    Operation IDreceiveCapacityPlanPublished

    Available only on servers:

    Accepts the following message:

    Capacity plan published

    A capacity plan was published (consumed).

    Message IDcapacityPlanPublished
    allOf

    CloudEvents 1.0 envelope of warehouse-planning's CapacityPlanPublished (v1 payload + additive site_id).

    Examples

  • SEND warehouse.network-inventory-planning.events

    This context's OWN integration stream (Phase 2). Everything on it is emitted through the transactional outbox: the saga state change and the outbox row commit in one transaction, and a background relay publishes afterwards — a request handler never sends directly.

    Announce an operator-approved transfer plan.

    Published through the transactional outbox in the same transaction that persists the saga's APPROVED transition (POST /v1/transfer-approvals). Subject and Kafka key are the transfer id.

    Operation IDsendTransferPlanApproved

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer plan approved

      An operator approved an advisory proposal into a transfer plan (published).

      Message IDtransferPlanApproved
      allOf

      CloudEvents 1.0 envelope of this context's TransferPlanApproved (published via the transactional outbox).

      Examples

    • #1Transfer allocation requested

      Command inventory-storage to allocate origin stock for a transfer line (published).

      Message IDtransferAllocationRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationRequested COMMAND (published via the transactional outbox). The data payload is EXACTLY inventory-storage's consumed contract — five fields, no more.

      Examples

    • #2Transfer allocation release requested

      Command inventory-storage to resolve the origin hold of a cancelled transfer (published).

      Message IDtransferAllocationReleaseRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationReleaseRequested COMMAND (published via the transactional outbox, ADR 0022). The data payload is EXACTLY inventory-storage's consumed contract.

      Examples

    • #3Work demand released

      One leg of an approved transfer released for warehouse work (published).

      Message IDworkDemandReleased
      allOf

      CloudEvents 1.0 envelope of this context's WorkDemandReleased COMMAND (published via the transactional outbox, ADR 0005). The data payload is EXACTLY WES's (wes-work-planning) consumed contract, mirrored read-only from its apis/asyncapi.yaml — every data field is required by the producer.

      Examples

  • SEND warehouse.network-inventory-planning.events

    This context's OWN integration stream (Phase 2). Everything on it is emitted through the transactional outbox: the saga state change and the outbox row commit in one transaction, and a background relay publishes afterwards — a request handler never sends directly.

    Command inventory-storage to allocate origin stock.

    The saga's COMMAND event, published right after TransferPlanApproved through the same outbox transaction (the APPROVED → ALLOCATING transition). Subject and Kafka key are the transfer_line_id (":1" in v1's single-line saga) — inventory-storage's transfer_allocations ledger key, so its reply and any replay correlate on exactly it.

    Operation IDsendTransferAllocationRequested

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer plan approved

      An operator approved an advisory proposal into a transfer plan (published).

      Message IDtransferPlanApproved
      allOf

      CloudEvents 1.0 envelope of this context's TransferPlanApproved (published via the transactional outbox).

      Examples

    • #1Transfer allocation requested

      Command inventory-storage to allocate origin stock for a transfer line (published).

      Message IDtransferAllocationRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationRequested COMMAND (published via the transactional outbox). The data payload is EXACTLY inventory-storage's consumed contract — five fields, no more.

      Examples

    • #2Transfer allocation release requested

      Command inventory-storage to resolve the origin hold of a cancelled transfer (published).

      Message IDtransferAllocationReleaseRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationReleaseRequested COMMAND (published via the transactional outbox, ADR 0022). The data payload is EXACTLY inventory-storage's consumed contract.

      Examples

    • #3Work demand released

      One leg of an approved transfer released for warehouse work (published).

      Message IDworkDemandReleased
      allOf

      CloudEvents 1.0 envelope of this context's WorkDemandReleased COMMAND (published via the transactional outbox, ADR 0005). The data payload is EXACTLY WES's (wes-work-planning) consumed contract, mirrored read-only from its apis/asyncapi.yaml — every data field is required by the producer.

      Examples

  • SEND warehouse.network-inventory-planning.events

    This context's OWN integration stream (Phase 2). Everything on it is emitted through the transactional outbox: the saga state change and the outbox row commit in one transaction, and a background relay publishes afterwards — a request handler never sends directly.

    Command inventory-storage to resolve the origin hold of a cancelled transfer.

    The saga's compensation COMMAND (ADR 0022), published through the outbox in the SAME transaction as the ALLOCATED → RELEASING transition (POST /v1/transfers/{transferId}/cancellation). Subject and Kafka key are the transfer_line_id, mirroring TransferAllocationRequested; the payload additionally carries the reservation_id being resolved and the operator's cancellation reason. inventory-storage's TransferStockAllocationReleased reply settles the saga to CANCELLED.

    Operation IDsendTransferAllocationReleaseRequested

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer plan approved

      An operator approved an advisory proposal into a transfer plan (published).

      Message IDtransferPlanApproved
      allOf

      CloudEvents 1.0 envelope of this context's TransferPlanApproved (published via the transactional outbox).

      Examples

    • #1Transfer allocation requested

      Command inventory-storage to allocate origin stock for a transfer line (published).

      Message IDtransferAllocationRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationRequested COMMAND (published via the transactional outbox). The data payload is EXACTLY inventory-storage's consumed contract — five fields, no more.

      Examples

    • #2Transfer allocation release requested

      Command inventory-storage to resolve the origin hold of a cancelled transfer (published).

      Message IDtransferAllocationReleaseRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationReleaseRequested COMMAND (published via the transactional outbox, ADR 0022). The data payload is EXACTLY inventory-storage's consumed contract.

      Examples

    • #3Work demand released

      One leg of an approved transfer released for warehouse work (published).

      Message IDworkDemandReleased
      allOf

      CloudEvents 1.0 envelope of this context's WorkDemandReleased COMMAND (published via the transactional outbox, ADR 0005). The data payload is EXACTLY WES's (wes-work-planning) consumed contract, mirrored read-only from its apis/asyncapi.yaml — every data field is required by the producer.

      Examples

  • RECEIVE warehouse.inventory.events

    inventory-storage's integration stream. network-inventory-planning consumes only the two transfer-allocation replies, the allocation release fact (ADR 0022) and the two destination facts; every other type is ignored.

    Drive the saga ALLOCATING → ALLOCATED.

    inventory-storage's success reply. The consumer dedupes on the CloudEvents id, validates the reply against the transfer (line, origin, SKU, quantity sum, reservation completeness) and, in ONE transaction with the processed-event claim, persists state ALLOCATED with reservation_id, allocations[] and expires_at. Consumer group TRANSFER_REPLY_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferStockAllocated

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer stock allocated

      inventory-storage allocated origin stock for a transfer line (consumed reply).

      Message IDtransferStockAllocated
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

      Examples

    • #1Transfer stock allocation rejected

      inventory-storage refused a transfer-line allocation (consumed reply).

      Message IDtransferStockAllocationRejected
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

      Examples

    • #2Transfer stock allocation released

      inventory-storage resolved the origin hold of a cancelled transfer (consumed reply).

      Message IDtransferStockAllocationReleased
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

      Examples

    • #3Transfer receipt staged

      inventory-storage staged a transfer receipt at the destination (consumed fact).

      Message IDtransferReceiptStaged
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

      Examples

    • #4Transfer stock stowed

      inventory-storage stowed transferred stock at the destination (consumed fact).

      Message IDtransferStockStowed
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

      Examples

  • RECEIVE warehouse.inventory.events

    inventory-storage's integration stream. network-inventory-planning consumes only the two transfer-allocation replies, the allocation release fact (ADR 0022) and the two destination facts; every other type is ignored.

    Drive the saga ALLOCATING → UNFULFILLABLE.

    inventory-storage's rejection reply with one of the closed reasons ORIGIN_SITE_UNKNOWN|INSUFFICIENT_USABLE|IDEMPOTENCY_CONFLICT. The consumer applies it in ONE transaction with the processed-event claim; an unknown reason is a deterministic skip. Consumer group TRANSFER_REPLY_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferStockAllocationRejected

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer stock allocated

      inventory-storage allocated origin stock for a transfer line (consumed reply).

      Message IDtransferStockAllocated
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

      Examples

    • #1Transfer stock allocation rejected

      inventory-storage refused a transfer-line allocation (consumed reply).

      Message IDtransferStockAllocationRejected
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

      Examples

    • #2Transfer stock allocation released

      inventory-storage resolved the origin hold of a cancelled transfer (consumed reply).

      Message IDtransferStockAllocationReleased
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

      Examples

    • #3Transfer receipt staged

      inventory-storage staged a transfer receipt at the destination (consumed fact).

      Message IDtransferReceiptStaged
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

      Examples

    • #4Transfer stock stowed

      inventory-storage stowed transferred stock at the destination (consumed fact).

      Message IDtransferStockStowed
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

      Examples

  • RECEIVE warehouse.inventory.events

    inventory-storage's integration stream. network-inventory-planning consumes only the two transfer-allocation replies, the allocation release fact (ADR 0022) and the two destination facts; every other type is ignored.

    Drive the saga RELEASING → CANCELLED.

    inventory-storage's release fact (ADR 0022): the origin hold of a transfer cancelled after allocation is resolved. outcome is the closed set RELEASED (the reservation still held the stock; it was revoked) | ALREADY_RESOLVED (it had already expired or been confirmed) — both settle the saga to CANCELLED. The consumer validates the fact against the transfer (line, reservation, origin, SKU, quantity) exactly like the allocation reply; a mismatch is a deterministic dead-letter, never a retry. Consumer group TRANSFER_REPLY_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferStockAllocationReleased

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer stock allocated

      inventory-storage allocated origin stock for a transfer line (consumed reply).

      Message IDtransferStockAllocated
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

      Examples

    • #1Transfer stock allocation rejected

      inventory-storage refused a transfer-line allocation (consumed reply).

      Message IDtransferStockAllocationRejected
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

      Examples

    • #2Transfer stock allocation released

      inventory-storage resolved the origin hold of a cancelled transfer (consumed reply).

      Message IDtransferStockAllocationReleased
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

      Examples

    • #3Transfer receipt staged

      inventory-storage staged a transfer receipt at the destination (consumed fact).

      Message IDtransferReceiptStaged
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

      Examples

    • #4Transfer stock stowed

      inventory-storage stowed transferred stock at the destination (consumed fact).

      Message IDtransferStockStowed
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

      Examples

  • SEND warehouse.network-inventory-planning.events

    This context's OWN integration stream (Phase 2). Everything on it is emitted through the transactional outbox: the saga state change and the outbox row commit in one transaction, and a background relay publishes afterwards — a request handler never sends directly.

    Release one transfer leg as warehouse work.

    The WorkDemandReleased COMMAND (ADR 0005), published through the transactional outbox in the SAME transaction as the state change that justifies it: the ALLOCATED transition releases the pick leg (demand_id <transfer_id>:pick, quantity = allocated), the PICKED transition releases the dispatch leg (demand_id <transfer_id>:dispatch, quantity = PICKED, so a short pick dispatches only what was picked). Subject and Kafka key are the demand_id. WES validates path_id against its PathCatalogue and enqueues one work unit under the deterministic demand_id.

    Operation IDsendWorkDemandReleased

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer plan approved

      An operator approved an advisory proposal into a transfer plan (published).

      Message IDtransferPlanApproved
      allOf

      CloudEvents 1.0 envelope of this context's TransferPlanApproved (published via the transactional outbox).

      Examples

    • #1Transfer allocation requested

      Command inventory-storage to allocate origin stock for a transfer line (published).

      Message IDtransferAllocationRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationRequested COMMAND (published via the transactional outbox). The data payload is EXACTLY inventory-storage's consumed contract — five fields, no more.

      Examples

    • #2Transfer allocation release requested

      Command inventory-storage to resolve the origin hold of a cancelled transfer (published).

      Message IDtransferAllocationReleaseRequested
      allOf

      CloudEvents 1.0 envelope of this context's TransferAllocationReleaseRequested COMMAND (published via the transactional outbox, ADR 0022). The data payload is EXACTLY inventory-storage's consumed contract.

      Examples

    • #3Work demand released

      One leg of an approved transfer released for warehouse work (published).

      Message IDworkDemandReleased
      allOf

      CloudEvents 1.0 envelope of this context's WorkDemandReleased COMMAND (published via the transactional outbox, ADR 0005). The data payload is EXACTLY WES's (wes-work-planning) consumed contract, mirrored read-only from its apis/asyncapi.yaml — every data field is required by the producer.

      Examples

  • SEND warehouse.network-inventory-planning.analytics

    This context's dedicated analytics stream (ADR 0007): saga-health occurrences only, never OLTP commands. Consumed by this context's own nip-projector. Published through the same transactional outbox as the integration events, on separate rows with their own topic, so the integration contract and the health signal evolve independently.

    Announce one saga state transition for health analytics.

    Published through the transactional outbox in the SAME transaction as the transition it describes (ADR 0007): data {transfer_id, from, to, age_seconds}, subject/key transfer_id. An occurrence exists for every step of every transfer.

    Operation IDsendTransferStateAdvanced

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer state advanced

      One saga state transition, as a health-analytics occurrence (published).

      Message IDtransferStateAdvanced
      allOf

      CloudEvents 1.0 envelope of this context's TransferStateAdvanced analytics occurrence (ADR 0007, published via the transactional outbox in the same transaction as the transition).

      Examples

    • #1Transfer stuck detected

      A non-terminal transfer aged past its per-state threshold (published, observe-only).

      Message IDtransferStuckDetected
      allOf

      CloudEvents 1.0 envelope of this context's TransferStuckDetected analytics occurrence (ADR 0007, published by the bounded observe-only health ticker).

      Examples

    • #2Rebalance run completed

      One scheduled (observe-only) rebalance pass (published).

      Message IDrebalanceRunCompleted
      allOf

      CloudEvents 1.0 envelope of this context's RebalanceRunCompleted analytics occurrence (ADR 0007, one per scheduled observe-only rebalance pass).

      Examples

  • SEND warehouse.network-inventory-planning.analytics

    This context's dedicated analytics stream (ADR 0007): saga-health occurrences only, never OLTP commands. Consumed by this context's own nip-projector. Published through the same transactional outbox as the integration events, on separate rows with their own topic, so the integration contract and the health signal evolve independently.

    Announce a non-terminal transfer aged past its per-state threshold.

    Emitted by a bounded in-process ticker (NIP_HEALTH_CHECK_INTERVAL, default 5m, 0=off) using per-state thresholds from NIP_STUCK_THRESHOLDS (defaults ALLOCATING=1h, PICKED=24h, IN_TRANSIT=72h, flat 24h otherwise). OBSERVE-ONLY: the check reads and publishes, it never mutates saga state. Data {transfer_id, state, age_seconds, threshold_seconds}, subject/key transfer_id.

    Operation IDsendTransferStuckDetected

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer state advanced

      One saga state transition, as a health-analytics occurrence (published).

      Message IDtransferStateAdvanced
      allOf

      CloudEvents 1.0 envelope of this context's TransferStateAdvanced analytics occurrence (ADR 0007, published via the transactional outbox in the same transaction as the transition).

      Examples

    • #1Transfer stuck detected

      A non-terminal transfer aged past its per-state threshold (published, observe-only).

      Message IDtransferStuckDetected
      allOf

      CloudEvents 1.0 envelope of this context's TransferStuckDetected analytics occurrence (ADR 0007, published by the bounded observe-only health ticker).

      Examples

    • #2Rebalance run completed

      One scheduled (observe-only) rebalance pass (published).

      Message IDrebalanceRunCompleted
      allOf

      CloudEvents 1.0 envelope of this context's RebalanceRunCompleted analytics occurrence (ADR 0007, one per scheduled observe-only rebalance pass).

      Examples

  • SEND warehouse.network-inventory-planning.analytics

    This context's dedicated analytics stream (ADR 0007): saga-health occurrences only, never OLTP commands. Consumed by this context's own nip-projector. Published through the same transactional outbox as the integration events, on separate rows with their own topic, so the integration contract and the health signal evolve independently.

    Announce one scheduled rebalance pass (observe-only).

    One occurrence per NIP_REBALANCE_SCHEDULE tick (no default: unset means the loop is off). The pass runs the same fail-closed snapshot build + planner as the simulation and records a rebalance_runs row (served by GET /v1/rebalance-runs); it NEVER approves anything and NEVER emits an allocation command. Data {run_id, proposal_count, rejected_count, stale_facts}, subject/key run_id.

    Operation IDsendRebalanceRunCompleted

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer state advanced

      One saga state transition, as a health-analytics occurrence (published).

      Message IDtransferStateAdvanced
      allOf

      CloudEvents 1.0 envelope of this context's TransferStateAdvanced analytics occurrence (ADR 0007, published via the transactional outbox in the same transaction as the transition).

      Examples

    • #1Transfer stuck detected

      A non-terminal transfer aged past its per-state threshold (published, observe-only).

      Message IDtransferStuckDetected
      allOf

      CloudEvents 1.0 envelope of this context's TransferStuckDetected analytics occurrence (ADR 0007, published by the bounded observe-only health ticker).

      Examples

    • #2Rebalance run completed

      One scheduled (observe-only) rebalance pass (published).

      Message IDrebalanceRunCompleted
      allOf

      CloudEvents 1.0 envelope of this context's RebalanceRunCompleted analytics occurrence (ADR 0007, one per scheduled observe-only rebalance pass).

      Examples

  • RECEIVE warehouse.fulfillment.events

    fulfillment-execution's integration stream. network-inventory- planning consumes only the three transfer facts and ignores every other type.

    Drive the saga ALLOCATED → PICKED and release the dispatch leg.

    fulfillment-execution's pick-completion fact. The consumer applies it in ONE transaction with the processed-event claim: PICKED state, picked_quantity recorded (a SHORT pick is recorded, not refused), and the dispatch WorkDemandReleased outboxed with the picked quantity. A fact whose transfer_ref names no known transfer is WARN-logged and committed past. Consumer group TRANSFER_FACT_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferPicked

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer picked

      fulfillment-execution completed a TRANSFER_PICK task (consumed fact).

      Message IDtransferPicked
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferPicked fact (consumed).

      Examples

    • #1Transfer dispatched

      fulfillment-execution completed a TRANSFER_DISPATCH task (consumed fact).

      Message IDtransferDispatched
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferDispatched fact (consumed).

      Examples

    • #2Transfer arrived

      fulfillment-execution completed a TRANSFER_ARRIVAL task (consumed fact, reserved).

      Message IDtransferArrived
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferArrived fact (consumed, RESERVED — scan-driven receiving may bypass it; TransferReceiptStaged drives the same transition).

      Examples

  • RECEIVE warehouse.fulfillment.events

    fulfillment-execution's integration stream. network-inventory- planning consumes only the three transfer facts and ignores every other type.

    Drive the saga PICKED → IN_TRANSIT.

    fulfillment-execution's dispatch-completion fact. No demand is released (the arrival leg is triggered by the receiving scan). Consumer group TRANSFER_FACT_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferDispatched

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer picked

      fulfillment-execution completed a TRANSFER_PICK task (consumed fact).

      Message IDtransferPicked
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferPicked fact (consumed).

      Examples

    • #1Transfer dispatched

      fulfillment-execution completed a TRANSFER_DISPATCH task (consumed fact).

      Message IDtransferDispatched
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferDispatched fact (consumed).

      Examples

    • #2Transfer arrived

      fulfillment-execution completed a TRANSFER_ARRIVAL task (consumed fact, reserved).

      Message IDtransferArrived
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferArrived fact (consumed, RESERVED — scan-driven receiving may bypass it; TransferReceiptStaged drives the same transition).

      Examples

  • RECEIVE warehouse.fulfillment.events

    fulfillment-execution's integration stream. network-inventory- planning consumes only the three transfer facts and ignores every other type.

    Drive the saga IN_TRANSIT → ARRIVED (reserved kind).

    fulfillment-execution's arrival-completion fact. RESERVED: scan-driven receiving may bypass it entirely — inventory-storage's TransferReceiptStaged drives the same transition, and whichever arrives first wins (the other is a deterministic out-of-order skip). Consumer group TRANSFER_FACT_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferArrived

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer picked

      fulfillment-execution completed a TRANSFER_PICK task (consumed fact).

      Message IDtransferPicked
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferPicked fact (consumed).

      Examples

    • #1Transfer dispatched

      fulfillment-execution completed a TRANSFER_DISPATCH task (consumed fact).

      Message IDtransferDispatched
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferDispatched fact (consumed).

      Examples

    • #2Transfer arrived

      fulfillment-execution completed a TRANSFER_ARRIVAL task (consumed fact, reserved).

      Message IDtransferArrived
      allOf

      CloudEvents 1.0 envelope of fulfillment-execution's TransferArrived fact (consumed, RESERVED — scan-driven receiving may bypass it; TransferReceiptStaged drives the same transition).

      Examples

  • RECEIVE warehouse.inventory.events

    inventory-storage's integration stream. network-inventory-planning consumes only the two transfer-allocation replies, the allocation release fact (ADR 0022) and the two destination facts; every other type is ignored.

    Drive the saga IN_TRANSIT → ARRIVED (scan-driven receiving).

    inventory-storage's destination receipt fact: the received stock was staged at the destination. Same transition as the reserved TransferArrived fact. The variance is informational. Consumer group TRANSFER_REPLY_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferReceiptStaged

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer stock allocated

      inventory-storage allocated origin stock for a transfer line (consumed reply).

      Message IDtransferStockAllocated
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

      Examples

    • #1Transfer stock allocation rejected

      inventory-storage refused a transfer-line allocation (consumed reply).

      Message IDtransferStockAllocationRejected
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

      Examples

    • #2Transfer stock allocation released

      inventory-storage resolved the origin hold of a cancelled transfer (consumed reply).

      Message IDtransferStockAllocationReleased
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

      Examples

    • #3Transfer receipt staged

      inventory-storage staged a transfer receipt at the destination (consumed fact).

      Message IDtransferReceiptStaged
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

      Examples

    • #4Transfer stock stowed

      inventory-storage stowed transferred stock at the destination (consumed fact).

      Message IDtransferStockStowed
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

      Examples

  • RECEIVE warehouse.inventory.events

    inventory-storage's integration stream. network-inventory-planning consumes only the two transfer-allocation replies, the allocation release fact (ADR 0022) and the two destination facts; every other type is ignored.

    Drive the saga ARRIVED → RECEIVED (terminal).

    inventory-storage's destination stow fact: the received stock was stowed into destination bins. RECEIVED is terminal; the stow allocations are persisted on the aggregate. Consumer group TRANSFER_REPLY_CONSUMER_GROUP (env-configured).

    Operation IDreceiveTransferStockStowed

    Available only on servers:

    Accepts one of the following messages:

    • #0Transfer stock allocated

      inventory-storage allocated origin stock for a transfer line (consumed reply).

      Message IDtransferStockAllocated
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

      Examples

    • #1Transfer stock allocation rejected

      inventory-storage refused a transfer-line allocation (consumed reply).

      Message IDtransferStockAllocationRejected
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

      Examples

    • #2Transfer stock allocation released

      inventory-storage resolved the origin hold of a cancelled transfer (consumed reply).

      Message IDtransferStockAllocationReleased
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

      Examples

    • #3Transfer receipt staged

      inventory-storage staged a transfer receipt at the destination (consumed fact).

      Message IDtransferReceiptStaged
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

      Examples

    • #4Transfer stock stowed

      inventory-storage stowed transferred stock at the destination (consumed fact).

      Message IDtransferStockStowed
      allOf

      CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

      Examples

  • RECEIVE warehouse.network-inventory-planning.analytics

    This context's dedicated analytics stream (ADR 0007): saga-health occurrences only, never OLTP commands. Consumed by this context's own nip-projector. Published through the same transactional outbox as the integration events, on separate rows with their own topic, so the integration contract and the health signal evolve independently.

    Project a saga transition into the analytical database (nip-projector).

    Consumed by cmd/nip-projector (group ANALYTICS_CONSUMER_GROUP). The payload is validated (transfer_id must equal the subject, to is required, age_seconds is required and not negative); a violation or a database constraint rejection is dead-lettered to warehouse.network-inventory-planning.analytics.dlq, an unknown type is skipped, anything else is retried.

    Operation IDreceiveTransferStateAdvanced

    Available only on servers:

    Accepts the following message:

    Transfer state advanced

    One saga state transition, as a health-analytics occurrence (published).

    Message IDtransferStateAdvanced
    allOf

    CloudEvents 1.0 envelope of this context's TransferStateAdvanced analytics occurrence (ADR 0007, published via the transactional outbox in the same transaction as the transition).

    Examples

  • RECEIVE warehouse.network-inventory-planning.analytics

    This context's dedicated analytics stream (ADR 0007): saga-health occurrences only, never OLTP commands. Consumed by this context's own nip-projector. Published through the same transactional outbox as the integration events, on separate rows with their own topic, so the integration contract and the health signal evolve independently.

    Project a stuck-transfer detection into the analytical database (nip-projector).

    Consumed by cmd/nip-projector, same rules as receiveTransferStateAdvanced.

    Operation IDreceiveTransferStuckDetected

    Available only on servers:

    Accepts the following message:

    Transfer stuck detected

    A non-terminal transfer aged past its per-state threshold (published, observe-only).

    Message IDtransferStuckDetected
    allOf

    CloudEvents 1.0 envelope of this context's TransferStuckDetected analytics occurrence (ADR 0007, published by the bounded observe-only health ticker).

    Examples

  • RECEIVE warehouse.network-inventory-planning.analytics

    This context's dedicated analytics stream (ADR 0007): saga-health occurrences only, never OLTP commands. Consumed by this context's own nip-projector. Published through the same transactional outbox as the integration events, on separate rows with their own topic, so the integration contract and the health signal evolve independently.

    Project a rebalance run into the analytical database (nip-projector).

    Consumed by cmd/nip-projector, same rules as receiveTransferStateAdvanced.

    Operation IDreceiveRebalanceRunCompleted

    Available only on servers:

    Accepts the following message:

    Rebalance run completed

    One scheduled (observe-only) rebalance pass (published).

    Message IDrebalanceRunCompleted
    allOf

    CloudEvents 1.0 envelope of this context's RebalanceRunCompleted analytics occurrence (ADR 0007, one per scheduled observe-only rebalance pass).

    Examples

  • RECEIVE warehouse.product-master.events

    product-master's integration stream (the ProductMasterTopic constant in internal/adapters/inbound/kafka/pack_level_consumer.go). network-inventory-planning consumes only ProductPackLevelDeclared and ProductPackLevelRetired into its local pack_levels view (ADR 0017, case-multiple transfers) and ignores every other type.

    Keep the local pack_levels view current (a pack level declared).

    Upsert the (sku, level) pack level with its GTIN, units_per_pack and effective_from, last writer wins on version, in ONE transaction with the processed-event claim (consumer pack-level-consumer). A malformed payload or an unparsable effective_from is dead-lettered to warehouse.product-master.events.dlq; only infrastructure failures are retried. Consumer group PACK_LEVEL_CONSUMER_GROUP (env-configured; unset = the consumer does not start).

    Operation IDreceiveProductPackLevelDeclared

    Available only on servers:

    Accepts the following message:

    Product pack level declared

    product-master declared or revised a pack level of a SKU (consumed).

    Message IDproductPackLevelDeclared
    allOf

    CloudEvents 1.0 envelope of product-master's ProductPackLevelDeclared (fields as product-master's apis/asyncapi.yaml; this service reads sku, level, gtin, units_per_pack, effective_from, version).

    Examples

  • RECEIVE warehouse.product-master.events

    product-master's integration stream (the ProductMasterTopic constant in internal/adapters/inbound/kafka/pack_level_consumer.go). network-inventory-planning consumes only ProductPackLevelDeclared and ProductPackLevelRetired into its local pack_levels view (ADR 0017, case-multiple transfers) and ignores every other type.

    Keep the local pack_levels view current (a pack level retired).

    Mark the (sku, level) pack level retired as of effective_to, last writer wins on version, in the same transaction shape as the declared handler. Consumer group PACK_LEVEL_CONSUMER_GROUP.

    Operation IDreceiveProductPackLevelRetired

    Available only on servers:

    Accepts the following message:

    Product pack level retired

    product-master retired a pack level of a SKU (consumed).

    Message IDproductPackLevelRetired
    allOf

    CloudEvents 1.0 envelope of product-master's ProductPackLevelRetired (this service reads sku, level, gtin, effective_to, version).

    Examples

Messages

  • #1Product pack level declared

    product-master declared or revised a pack level of a SKU (consumed).

    Message IDproductPackLevelDeclared
    allOf

    CloudEvents 1.0 envelope of product-master's ProductPackLevelDeclared (fields as product-master's apis/asyncapi.yaml; this service reads sku, level, gtin, units_per_pack, effective_from, version).

  • #2Product pack level retired

    product-master retired a pack level of a SKU (consumed).

    Message IDproductPackLevelRetired
    allOf

    CloudEvents 1.0 envelope of product-master's ProductPackLevelRetired (this service reads sku, level, gtin, effective_to, version).

  • #3Site capability changed

    A site's transfer capability state changed (consumed).

    Message IDsiteCapabilityChanged
    allOf

    CloudEvents 1.0 envelope of facility-layout's SiteCapabilityChanged.

  • #4Site/SKU demand changed

    One source order line's site demand changed (consumed).

    Message IDsiteSkuDemandChanged
    allOf

    CloudEvents 1.0 envelope of order-management's SiteSkuDemandChanged.

  • #5Capacity plan published

    A capacity plan was published (consumed).

    Message IDcapacityPlanPublished
    allOf

    CloudEvents 1.0 envelope of warehouse-planning's CapacityPlanPublished (v1 payload + additive site_id).

  • #6Transfer plan approved

    An operator approved an advisory proposal into a transfer plan (published).

    Message IDtransferPlanApproved
    allOf

    CloudEvents 1.0 envelope of this context's TransferPlanApproved (published via the transactional outbox).

  • #7Transfer allocation requested

    Command inventory-storage to allocate origin stock for a transfer line (published).

    Message IDtransferAllocationRequested
    allOf

    CloudEvents 1.0 envelope of this context's TransferAllocationRequested COMMAND (published via the transactional outbox). The data payload is EXACTLY inventory-storage's consumed contract — five fields, no more.

  • #8Transfer allocation release requested

    Command inventory-storage to resolve the origin hold of a cancelled transfer (published).

    Message IDtransferAllocationReleaseRequested
    allOf

    CloudEvents 1.0 envelope of this context's TransferAllocationReleaseRequested COMMAND (published via the transactional outbox, ADR 0022). The data payload is EXACTLY inventory-storage's consumed contract.

  • #9Transfer stock allocated

    inventory-storage allocated origin stock for a transfer line (consumed reply).

    Message IDtransferStockAllocated
    allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

  • #10Transfer stock allocation rejected

    inventory-storage refused a transfer-line allocation (consumed reply).

    Message IDtransferStockAllocationRejected
    allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

  • #11Transfer stock allocation released

    inventory-storage resolved the origin hold of a cancelled transfer (consumed reply).

    Message IDtransferStockAllocationReleased
    allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

  • #12Work demand released

    One leg of an approved transfer released for warehouse work (published).

    Message IDworkDemandReleased
    allOf

    CloudEvents 1.0 envelope of this context's WorkDemandReleased COMMAND (published via the transactional outbox, ADR 0005). The data payload is EXACTLY WES's (wes-work-planning) consumed contract, mirrored read-only from its apis/asyncapi.yaml — every data field is required by the producer.

  • #13Transfer picked

    fulfillment-execution completed a TRANSFER_PICK task (consumed fact).

    Message IDtransferPicked
    allOf

    CloudEvents 1.0 envelope of fulfillment-execution's TransferPicked fact (consumed).

  • #14Transfer dispatched

    fulfillment-execution completed a TRANSFER_DISPATCH task (consumed fact).

    Message IDtransferDispatched
    allOf

    CloudEvents 1.0 envelope of fulfillment-execution's TransferDispatched fact (consumed).

  • #15Transfer arrived

    fulfillment-execution completed a TRANSFER_ARRIVAL task (consumed fact, reserved).

    Message IDtransferArrived
    allOf

    CloudEvents 1.0 envelope of fulfillment-execution's TransferArrived fact (consumed, RESERVED — scan-driven receiving may bypass it; TransferReceiptStaged drives the same transition).

  • #16Transfer receipt staged

    inventory-storage staged a transfer receipt at the destination (consumed fact).

    Message IDtransferReceiptStaged
    allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

  • #17Transfer stock stowed

    inventory-storage stowed transferred stock at the destination (consumed fact).

    Message IDtransferStockStowed
    allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

  • #18Transfer state advanced

    One saga state transition, as a health-analytics occurrence (published).

    Message IDtransferStateAdvanced
    allOf

    CloudEvents 1.0 envelope of this context's TransferStateAdvanced analytics occurrence (ADR 0007, published via the transactional outbox in the same transaction as the transition).

  • #19Transfer stuck detected

    A non-terminal transfer aged past its per-state threshold (published, observe-only).

    Message IDtransferStuckDetected
    allOf

    CloudEvents 1.0 envelope of this context's TransferStuckDetected analytics occurrence (ADR 0007, published by the bounded observe-only health ticker).

  • #20Rebalance run completed

    One scheduled (observe-only) rebalance pass (published).

    Message IDrebalanceRunCompleted
    allOf

    CloudEvents 1.0 envelope of this context's RebalanceRunCompleted analytics occurrence (ADR 0007, one per scheduled observe-only rebalance pass).

Schemas

  • allOf

    CloudEvents 1.0 envelope of product-master's ProductPackLevelDeclared (fields as product-master's apis/asyncapi.yaml; this service reads sku, level, gtin, units_per_pack, effective_from, version).

  • allOf

    CloudEvents 1.0 envelope of product-master's ProductPackLevelRetired (this service reads sku, level, gtin, effective_to, version).

  • object
  • allOf

    CloudEvents 1.0 envelope of facility-layout's SiteCapabilityChanged.

  • allOf

    CloudEvents 1.0 envelope of order-management's SiteSkuDemandChanged.

  • allOf

    CloudEvents 1.0 envelope of warehouse-planning's CapacityPlanPublished (v1 payload + additive site_id).

  • allOf

    CloudEvents 1.0 envelope of this context's TransferPlanApproved (published via the transactional outbox).

  • allOf

    CloudEvents 1.0 envelope of this context's TransferAllocationRequested COMMAND (published via the transactional outbox). The data payload is EXACTLY inventory-storage's consumed contract — five fields, no more.

  • allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocated reply (consumed).

  • allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationRejected reply (consumed).

  • allOf

    CloudEvents 1.0 envelope of this context's TransferAllocationReleaseRequested COMMAND (published via the transactional outbox, ADR 0022). The data payload is EXACTLY inventory-storage's consumed contract.

  • allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockAllocationReleased reply (consumed).

  • allOf

    CloudEvents 1.0 envelope of this context's WorkDemandReleased COMMAND (published via the transactional outbox, ADR 0005). The data payload is EXACTLY WES's (wes-work-planning) consumed contract, mirrored read-only from its apis/asyncapi.yaml — every data field is required by the producer.

  • object

    The payload every fulfillment-execution transfer fact carries, mirrored read-only from fulfillment-execution's TransferFactData. The optional fields are omitted when the release carried none.

  • allOf

    CloudEvents 1.0 envelope of fulfillment-execution's TransferPicked fact (consumed).

  • allOf

    CloudEvents 1.0 envelope of fulfillment-execution's TransferDispatched fact (consumed).

  • allOf

    CloudEvents 1.0 envelope of fulfillment-execution's TransferArrived fact (consumed, RESERVED — scan-driven receiving may bypass it; TransferReceiptStaged drives the same transition).

  • allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferReceiptStaged destination fact (consumed).

  • allOf

    CloudEvents 1.0 envelope of inventory-storage's TransferStockStowed destination fact (consumed).

  • allOf

    CloudEvents 1.0 envelope of this context's TransferStateAdvanced analytics occurrence (ADR 0007, published via the transactional outbox in the same transaction as the transition).

  • allOf

    CloudEvents 1.0 envelope of this context's TransferStuckDetected analytics occurrence (ADR 0007, published by the bounded observe-only health ticker).

  • allOf

    CloudEvents 1.0 envelope of this context's RebalanceRunCompleted analytics occurrence (ADR 0007, one per scheduled observe-only rebalance pass).