WES Work Planning & Release — Domain Events 1.0.0

Asynchronous event contract for the Work Planning & Release bounded context, the core domain of the WES (Warehouse Execution System) subdomain. This service is the "conductor" of the distribution centre: it turns a shift's charge (volume due by each CPT) into a committed plan (rate x heads per process path), releases work continuously and waveless-ly into per-path work pools, and performs flow balancing (Drum-Buffer-Rope, with CPT as the drum) from live buffer telemetry. It sits downstream of WMS planning/inventory and upstream of WCS equipment control.

Message format

Every message this service produces or consumes on Kafka is a CloudEvents 1.0 structured-mode JSON document (mandatory fleet standard, ADR-0027 — there is no flat envelope, no dual-write/dual-read and no envelope toggle): the CloudEvents context attributes and the event-specific data payload travel together in a single JSON body, and every produced Kafka message carries the header content-type: application/cloudevents+json; charset=UTF-8 next to the W3C traceparent/tracestate headers. All of specversion (1.0), id, source (always /warehouse/wes-work-planning), type, subject (the aggregate instance id), time (domain occurred-at, UTC), datacontenttype (application/json) and dataschema (urn:warehouse:wes-work-planning:<events|analytics>:<EventName>:v1) are required. data is described per message below.

type naming convention

The CloudEvents type attribute follows a reverse-DNS dotted convention shared by every bounded context in this program:

com.warehouse.<subdomain>.<bounded-context>.<entity>.<EventName>

All segments are lowercase except the final PascalCase event name, which matches the past-tense domain event name used in the code. For this service the subdomain is wes and the bounded context is work-planning, so for example:

com.warehouse.wes.work-planning.workunit.WorkReleased
com.warehouse.wes.work-planning.workpool.PathCapacityChanged

The entity segment names the aggregate (or aggregate cluster) that raises the event: workpool for the WorkPool aggregate and the flow balancing decisions taken against it, and workunit for the WorkUnit aggregate.

Retired types

ADR-0049 handed the charge forecast and the shift plan to warehouse-planning (its ADR 0023), so these three types are no longer published on either channel and leave this contract:

com.warehouse.wes.work-planning.charge.ChargeForecastReceived
com.warehouse.wes.work-planning.plan.ShiftPlanCommitted
com.warehouse.wes.work-planning.pathplan.PathPlanDriftDetected

Both topics still hold them in their history; a consumer replaying it must ignore them like any unknown type (this service's own analytics projector acknowledges them without projecting).

Catalog completeness vs. what is actually published

This document is the complete catalog of the past-tense domain events declared by this bounded context (see internal/domain/shared/events.go), so that it is a usable reference for the whole domain model. Not every catalogued event is emitted onto Kafka today: the outbound adapter (internal/adapters/outbound/kafka/publisher.go) only sees the events that application use cases actually hand to EventPublisher.Publish. Any message that is not wired to the outbound adapter says so explicitly in its own description. Every raised event is written to the transactional outbox in the same transaction as the aggregate change and relayed to both Kafka topics (ADR-0014); there is no log-only publisher (EVENT_PUBLISHER accepts only kafka, ADR-0044).

What this service consumes from other bounded contexts

Work Planning is unusual in this program in that it is both a producer and a consumer of integration events. Those inbound streams are not part of this channel and are owned by their own bounded contexts; they are listed here only for orientation. Consumers dispatch on these exact CloudEvents type strings (never a short name or suffix match):

com.warehouse.wes.workforce-management.shiftplan.ShiftPlanCommitted
com.warehouse.wms.inventory-storage.reservation.StockReserved
com.warehouse.wms.inventory-storage.reservation.ReservationRevoked
com.warehouse.wes.fulfillment-execution.task.TaskCompleted
com.warehouse.wes.order-management.order.OrderAllocated
com.warehouse.wes.order-management.order.OrderPartiallyAllocated
com.warehouse.wes.network-inventory-planning.workdemand.WorkDemandReleased
com.warehouse.wms.slotting-optimization.slotplan.SlotPlanApproved
com.warehouse.wms.pick-face-replenishment.replenishment.ReplenishmentRequested
com.warehouse.wms.pick-face-replenishment.replenishment.ReplenishmentCancelled
com.warehouse.wms.product-master.product.ProductClassified
com.warehouse.wms.product-master.product.ProductPackLevelDeclared
com.warehouse.wms.product-master.product.ProductPackLevelRetired
com.warehouse.wms.product-master.product.ProductPackLevelMeasured
com.warehouse.wes.process-path-management.processpath.ProcessPathCreated
com.warehouse.wes.process-path-management.processpath.ProcessPathUpdated
com.warehouse.wes.process-path-management.processpath.ProcessPathDeactivated

A message that is not a valid CloudEvents 1.0 event (including the retired flat envelope) is dead-lettered to <topic>.dlq by the main consumer, or skipped with a WARN log by the catalogue and analytics consumers — never parsed as a legacy shape. This service also consumes ShiftPlanCommitted from workforce-management on warehouse.workforce.events (projected into the read-only LaborPlanObserved view, a pure projection: since ADR-0049 this context holds no shift plan of its own), StockReserved and ReservationRevoked from inventory-storage on warehouse.inventory.events (projected into the SKU-keyed UsableInventoryObserved view), TaskCompleted from fulfillment-execution on warehouse.fulfillment.events (fed into the RecordCompletion use case to close the execution feedback loop), OrderAllocated/OrderPartiallyAllocated from order-management on warehouse.order-management.events (fed into the existing EnqueueWorkUnit use case, once per order line — the event-choreography replacement for order-management's former synchronous call to POST /paths/{pathId}/work-units; deliberately fire-and-forget, with no reply event published back), and WorkDemandReleased from network-inventory-planning on warehouse.network-inventory-planning.events (fed into the existing EnqueueWorkUnit use case, one work unit per released transfer demand leg under the deterministic id demand_id — see ADR-0033; also fire-and-forget), and ProductClassified from product-master on warehouse.product-master.events (applied to this context's local classification copy, version-guarded, by a dedicated consumer under PRODUCT_CLASSIFICATION_CONSUMER_GROUP; the copy is what the WorkReleased encoder reads for its hazmat/fragile hints — see ADR-0035), SlotPlanApproved from slotting-optimization on warehouse.slotting-optimization.events (one RELOCATE work unit per move on path RELOCATE, older plans' unreleased moves cancelled — see ADR-0040), ReplenishmentRequested and ReplenishmentCancelled from pick-face-replenishment on warehouse.pick-face-replenishment.events (one REPLENISH work unit per request on path REPLENISH, cancelled while still Pending — see ADR-0042), and ProductPackLevelDeclared, ProductPackLevelRetired and ProductPackLevelMeasured from product-master on warehouse.product-master.events (applied to the local pack-level copy under PACK_VIEW_CONSUMER_GROUP — see ADR-0045). All consumer paths are idempotent under at-least-once redelivery: the CloudEvents id is recorded as processed in the SAME transaction as the event's effect (ADR-0028), so a failed attempt is retried and, once retries are exhausted, dead-lettered to <topic>.dlq — never acknowledged as already processed. A TaskCompleted whose work_unit_id names a work unit this context never planned (e.g. a PACK task fulfillment-execution created during rebin consolidation, which carries the order id) is a deliberate, INFO-logged skip: it is marked processed and neither retried nor dead-lettered. So is a TaskCompleted with a NEW event id for a work unit that is already completed (TaskCompletedAlreadyCompleted, ADR-0043): a stale fact, marked processed, neither retried nor dead-lettered.

  • #work-planning
  • #workpool
  • #workunit

Servers

  • kafka.warehouse-systems.internal:9092kafkaproduction

    Production Kafka cluster shared by every warehouse-systems bounded context. Locally, a broker is available at localhost:9092 via ~/warehouse-systems/docker-compose.kafka.yml.

    Security:
    security.protocol:PLAINTEXT

Operations

  • SUB warehouse.work-planning.events

    The outbound topic owned by the Work Planning & Release bounded context (cloudevents.TopicWorkPlanningEvents in the code). Every domain event this service emits is written here as a CloudEvents 1.0 event with dataschema urn:warehouse:wes-work-planning:events:<EventName>:v1, keyed by the aggregate id (the CloudEvents subject: work unit id for WorkUnit events, path id otherwise).

    Consume domain events emitted by WES Work Planning & Release.

    Subscribe to this channel to receive every past-tense domain event raised by the Work Planning & Release bounded context. Messages are CloudEvents 1.0 structured-mode JSON. Consumers must be idempotent: delivery is at-least-once, and the CloudEvents id attribute is the de-duplication key. Consumers should also ignore type values they do not recognise, since new event types may be added to this channel without a major version bump.

    Operation IDconsumeWorkPlanningEvents

    Available only on servers:

    • #work-planning

    Accepts one of the following messages:

    • #0Work Unit Created

      A new work unit was enqueued into a path's work pool.

      Raised by the WorkUnit aggregate when EnqueueWorkUnit admits a new releasable unit of work (carrying its CPT) into the process path's work pool. The unit is queued, not yet released. Actively published to warehouse.work-planning.events; the published data carries path_id and work_unit_id.

      allOf

      CloudEvent envelope for a newly enqueued work unit.

      • #workunit

      Examples

    • #1Work Released

      The release policy admitted a work unit into active work.

      Raised by the WorkPool aggregate when ReleaseNextWork applies the release policy and admits the highest-priority (earliest-CPT) queued work unit into active work. This is the primary integration event of this bounded context: fulfillment-execution consumes it and turns it into a Task. Actively published to warehouse.work-planning.events. The outbound adapter enriches the data payload with the unit's cpt and ref by reading the WorkUnit repository, since the domain event itself only carries the identifiers. When the released unit carries a known SKU, the adapter also reads that SKU's classification from this context's local copy of product-master's ProductClassified events (ADR-0035; previously a synchronous read from inventory-storage, ADR-0009) and stamps two OPTIONAL derived fields, required_capabilities and fragile, present only when there is a hint to give. It also stamps the OPTIONAL line_no — the order line the unit was made for, stored on the WorkUnit from the OrderAllocated line that created it (ADR-0036) — omitted when unknown. The same line_no rides on the analytics-stream WorkReleased (warehouse.wes.analytics).

      allOf

      CloudEvent envelope for a work unit admitted into active work by the release policy.

      • #workunit

      Examples

    • #2Work Unit Completed

      A released work unit finished.

      Raised by the WorkUnit aggregate when RecordCompletion marks a released unit as done — either from the REST endpoint or from a TaskCompleted event consumed off warehouse.fulfillment.events. The aggregate refuses a double-complete. Actively published to warehouse.work-planning.events; the published data carries path_id and work_unit_id.

      allOf

      CloudEvent envelope for a completed work unit.

      • #workunit

      Examples

    • #3Backlog Threshold Breached

      A path's backlog depth crossed its alarm threshold.

      Raised by the WorkPool aggregate when SampleBacklog observes that the pool's backlog depth has crossed the alarm threshold — the buffer signal that drives flow balancing. Actively published to warehouse.work-planning.events; the published data carries only path_id. Consumers wanting the depth and rate numbers should read the telemetry projection over REST rather than infer them here.

      allOf

      CloudEvent envelope for a backlog alarm threshold breach.

      • #workpool

      Examples

    • #4Rate Deviation Detected

      A path's actual throughput deviated materially from plan.

      Reserved: declared for a future detection rule (ADR 0020 defers it); not emitted today. Decided 2026-10-06: kept declared, neither emitted nor removed. Re-checked 2026-10-12 (gap fix D26): no ADR defines when it is raised, so it stays reserved; the architecture fitness test TestRateDeviationDetectedStaysReserved fails if production code starts raising it without that ADR.

      Raised when a process path's observed throughput diverges materially from the rate committed in its PathPlan — the plan-vs-actual signal for flow balancing. Not yet wired to the outbound Kafka adapter — documented here as part of the domain-event catalog, in-process only today. The event type is declared in internal/domain/shared/events.go and the publisher's payload switch already handles it, but no application use case currently raises it, so nothing is emitted onto the topic. The example below shows the shape it would take once wired.

      allOf

      CloudEvent envelope for a plan-vs-actual rate deviation. Catalog-only today — no use case currently raises this event.

      • #workpool

      Examples

    • #5Path Throttled

      Flow balancing decided to throttle upstream release into a path.

      Raised by RebalanceDecision when a flow-fed pool is over its alarm threshold and the recommendation is to throttle upstream release — the rope in Drum-Buffer-Rope pulling back on a saturated buffer. Actively published to warehouse.work-planning.events; the published data carries only path_id.

      allOf

      CloudEvent envelope for an upstream release throttle decision.

      • #workpool

      Examples

    • #6Labor Reassignment Flagged

      Flow balancing recommended moving labor to relieve a path.

      Raised by RebalanceDecision when a release-fed pool is at its WIP limit with backlog still queued: releasing more work cannot help, so the recommendation is to move heads onto the path instead. Actively published to warehouse.work-planning.events; the published data carries only path_id. Workforce Management is the intended reader.

      allOf

      CloudEvent envelope for a labor reassignment recommendation.

      • #workpool

      Examples

    • #7Path Capacity Changed

      This service reported a process path's remaining admission capacity for a specific CPT cutoff window.

      Raised when SampleBacklog is asked (via the optional cutoffAt query parameter on GET /paths/{pathId}/telemetry, see ADR-0018) to report the path's currently remaining admission capacity, correlated against a CPT cutoff timestamp. This PUBLISHES state this service already tracks on its own WorkPool aggregate (wipLimit minus current WIP) — it introduces no new domain concept or per-CPT capacity bucket. known is false for a FlowFed path (no hard admission ceiling — only an alarm threshold, which is not a capacity figure) or a ReleaseFed path with no WIP limit provisioned; when known is false, remaining_units is always 0. cutoff_at is this service's own native CPT currency (a concrete RFC3339 timestamp), not process-path-management's site-schedule cptId string, which this service has zero dependency on. A future order-management consumer is responsible for correlating cutoff_at against its own cached CPTWindow.CutoffAt (exact match or nearest- window match) to resolve which cptId this figure applies to — see ADR-0018 for the full correlation-by-timestamp design and its accepted imprecision trade-off. Actively published to warehouse.work-planning.events.

      allOf

      CloudEvent envelope for a reported remaining-admission-capacity figure for a process path, correlated against a CPT cutoff timestamp (see ADR-0018).

      • #workpool

      Examples

  • SUB warehouse.wes.analytics

    The internal analytics topic (ADR-0011) feeding this service's own throughput data product (cmd/wes-projector). Same occurrences, same CloudEvents type per occurrence as the integration topic, but the analytics payload shape, identified by dataschema urn:warehouse:wes-work-planning:analytics:<EventName>:v1 (this replaces the retired schema_version field). Keyed by the aggregate id (work unit id or path id), which is also the CloudEvents subject.

    Consume the work-planning analytics stream.

    Subscribe to receive the analytics-shaped CloudEvents for every occurrence in the throughput data product's contract. Delivery is at-least-once; the CloudEvents id is the de-duplication key, and unknown type values must be ignored.

    Operation IDconsumeWorkPlanningAnalytics

    Available only on servers:

    • #work-planning

    Accepts one of the following messages:

    • #0WorkUnitCreated (analytics stream)

      Analytics-shaped WorkUnitCreated occurrence on warehouse.wes.analytics.

      allOf
      • #workunit

      Examples

    • #1WorkReleased (analytics stream)

      Analytics-shaped WorkReleased occurrence on warehouse.wes.analytics.

      allOf
      • #workunit

      Examples

    • #2WorkUnitCompleted (analytics stream)

      Analytics-shaped WorkUnitCompleted occurrence on warehouse.wes.analytics.

      allOf
      • #workunit

      Examples

    • #3BacklogThresholdBreached (analytics stream)

      Analytics-shaped BacklogThresholdBreached occurrence on warehouse.wes.analytics.

      allOf
      • #workpool

      Examples

    • #4RateDeviationDetected (analytics stream)

      Analytics-shaped RateDeviationDetected occurrence on warehouse.wes.analytics.

      Reserved: declared for a future detection rule (ADR 0020 defers it); not emitted today. No ADR defines when a rate deviation is raised, so no use case raises it (an architecture fitness test, TestRateDeviationDetectedStaysReserved, fails if production code starts to). The projector still counts it, so the report's rateDeviationDetected column is always 0 until a rule is decided.

      allOf
      • #workpool

      Examples

    • #5PathThrottled (analytics stream)

      Analytics-shaped PathThrottled occurrence on warehouse.wes.analytics.

      allOf
      • #workpool

      Examples

    • #6LaborReassignmentFlagged (analytics stream)

      Analytics-shaped LaborReassignmentFlagged occurrence on warehouse.wes.analytics.

      allOf
      • #workpool

      Examples

    • #7PathCapacityChanged (analytics stream)

      Analytics-shaped PathCapacityChanged occurrence on warehouse.wes.analytics.

      allOf
      • #workpool

      Examples

  • PUB warehouse.workforce.events

    workforce-management's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation). Read by the main consumer under KAFKA_CONSUMER_GROUP with a warehouse.workforce.events.dlq. Only ShiftPlanCommitted is consumed; every other type is ignored.

    Project workforce-management's ShiftPlanCommitted into the LaborPlanObserved view.

    ObserveLaborPlan upserts the read-only LaborPlanObserved view keyed by path_id (served by GET /paths/{pathId}/labor-plan-view). It is a pure projection: this service holds no plan of its own to reconcile it with (ADR-0049 moved the ADR-0019 drift check to warehouse-planning). The CloudEvents id is claimed in the same transaction as the effect. A message that is not a valid CloudEvent is published raw to the DLQ without retry.

    Operation IDconsumeWorkforceShiftPlanCommitted

    Available only on servers:

    Accepts the following message:

    Shift Plan Committed (consumed)

    workforce-management committed a shift plan for a path.

    CONSUMED from warehouse.workforce.events, read-only mirror of the producer's contract. Not the retired com.warehouse.wes.work-planning.plan.ShiftPlanCommitted this service used to publish (ADR-0049).

    allOf

    Read-only mirror of workforce-management's ShiftPlanCommitted; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning

    Examples

  • PUB warehouse.fulfillment.events

    fulfillment-execution's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation). Read by the main consumer under KAFKA_CONSUMER_GROUP with a warehouse.fulfillment.events.dlq. Only TaskCompleted is consumed.

    Close the execution feedback loop by completing the named work unit.

    ApplyTaskCompleted wraps RecordCompletion for the event's work_unit_id. A work_unit_id this context never planned (for example a PACK task created during rebin consolidation, which carries the order id) is an INFO-logged, processed skip; a NEW event id for an already-completed work unit is a stale fact, marked processed (ADR-0043). Neither is retried or dead-lettered. Any other failure is retried and then dead-lettered.

    Operation IDconsumeTaskCompleted

    Available only on servers:

    Accepts the following message:

    Task Completed (consumed)

    fulfillment-execution finished a task.

    CONSUMED from warehouse.fulfillment.events, read-only mirror of the producer's contract. Drives RecordCompletion for work_unit_id.

    allOf

    Read-only mirror of fulfillment-execution's TaskCompleted; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning

    Examples

  • PUB warehouse.order-management.events

    order-management's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation). Read by the main consumer under KAFKA_CONSUMER_GROUP with a warehouse.order-management.events.dlq. Only OrderAllocated and OrderPartiallyAllocated are consumed (identical payload shape).

    Enqueue one work unit per allocated order line.

    ApplyOrderAllocated feeds each line into EnqueueWorkUnit under the deterministic id <order_id>-line-<line_no> (reference = order id, lineNo = line_no, ADR-0031, ADR-0036). Fire-and-forget: no reply event is published. The CloudEvents id is claimed in the same transaction as the enqueue; a failure is retried and then dead-lettered.

    Operation IDconsumeOrderAllocated

    Available only on servers:

    Accepts one of the following messages:

    • #0Order Allocated (consumed)

      order-management allocated an order; its lines are ready to enqueue.

      CONSUMED from warehouse.order-management.events, read-only mirror of the producer's contract. One work unit is enqueued per line.

      allOf

      Read-only mirror of order-management's OrderAllocated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

      • #work-planning

      Examples

    • #1Order Partially Allocated (consumed)

      order-management partially allocated an order; the allocated lines are ready to enqueue.

      CONSUMED from warehouse.order-management.events, read-only mirror of the producer's contract. Identical payload shape to OrderAllocated; handled identically.

      allOf

      Read-only mirror of order-management's OrderPartiallyAllocated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

      • #work-planning

      Examples

  • PUB warehouse.process-path-management.events

    process-path-management's integration topic, CONSUMED by this service only when PATH_CATALOGUE_SOURCE=kafka (owned by that bounded context; listed here read-only for orientation). Replayed from the earliest offset under a per-process consumer group (NOT KAFKA_CONSUMER_GROUP) into the in-memory process-path catalogue (ADR-0012). With the default PATH_CATALOGUE_SOURCE=file nothing is read from this topic.

    Keep the process-path catalogue current.

    ProcessPathCreated and ProcessPathUpdated upsert a path definition; ProcessPathDeactivated removes it. Invalid CloudEvents are WARN-logged and skipped; unknown types are ignored. No DLQ.

    Operation IDconsumeProcessPathEvents

    Available only on servers:

    Accepts one of the following messages:

    • #0Process Path Created (consumed)

      process-path-management created a process path.

      CONSUMED from warehouse.process-path-management.events only with PATH_CATALOGUE_SOURCE=kafka, read-only mirror of the producer's contract.

      allOf

      Read-only mirror of process-path-management's ProcessPathCreated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

      • #work-planning

      Examples

    • #1Process Path Updated (consumed)

      process-path-management updated a process path.

      CONSUMED from warehouse.process-path-management.events only with PATH_CATALOGUE_SOURCE=kafka, read-only mirror of the producer's contract.

      allOf

      Read-only mirror of process-path-management's ProcessPathUpdated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

      • #work-planning

      Examples

    • #2Process Path Deactivated (consumed)

      process-path-management deactivated a process path.

      CONSUMED from warehouse.process-path-management.events only with PATH_CATALOGUE_SOURCE=kafka, read-only mirror of the producer's contract.

      allOf

      Read-only mirror of process-path-management's ProcessPathDeactivated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

      • #work-planning

      Examples

  • PUB warehouse.network-inventory-planning.events

    network-inventory-planning's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation, mirroring its own apis/asyncapi.yaml). This service consumes only WorkDemandReleased and ignores every other type.

    Consume network-inventory-planning's released transfer work demands.

    Subscribe to receive WorkDemandReleased — one leg of an approved inter-site transfer that the network has released for warehouse execution. Messages are CloudEvents 1.0 structured-mode JSON (dataschema urn:warehouse:network-inventory-planning:events:WorkDemandReleased:v1) keyed by demand_id. Each demand is fed into ApplyWorkDemandReleased and becomes exactly one work unit under the deterministic id demand_id (ADR-0033), so redelivery is idempotent. An unknown path_id or work_kind fails loud and is dead-lettered to <topic>.dlq.

    Operation IDconsumeWorkDemandReleased

    Available only on servers:

    Accepts the following message:

    Work Demand Released (consumed)

    network-inventory-planning released a transfer work demand leg.

    CONSUMED from warehouse.network-inventory-planning.events — this entry mirrors the producer's own contract read-only and is NOT published by this service. One occurrence = one released transfer demand leg. ApplyWorkDemandReleased validates path_id against the process-path catalogue and work_kind against the declared enum, then enqueues exactly one work unit with the deterministic id demand_id and ref = demand_id (ADR-0033). Redelivery of the same CloudEvents id, or a different event carrying a demand_id already in a pool, is a benign no-op.

    allOf

    CloudEvent envelope of network-inventory-planning's released transfer work demand, mirrored read-only from the producer's own contract. This service consumes it; it never publishes it.

    • #work-planning

    Examples

  • PUB warehouse.slotting-optimization.events

    slotting-optimization's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation, mirroring its own apis/asyncapi.yaml). Key = the plan id. This service consumes only SlotPlanApproved and ignores SlotPlanGenerated, SlotPlanRejected and every other type (ADR-0040).

    Consume approved slot plans and plan their moves as RELOCATE work.

    Read under the shared consumer group with its own warehouse.slotting-optimization.events.dlq. Each SlotPlanApproved becomes one RELOCATE work unit per move (id <plan_id>-move-<seq>, seq = 0-based position in moves, ref = plan_id, path RELOCATE whose catalogue intake must admit SLOT_RELOCATION). A move into a slot that another move of the same plan vacates is held out of the pool until that move's unit completes. A newer approved plan for the same site cancels the older plan's not-yet-released units; released work runs to completion; an older or duplicate plan is a no-op. The CloudEvents id is claimed in the same transaction (redelivery is a no-op). A malformed plan, an unknown move kind or an intake without SLOT_RELOCATION is retried and then dead-lettered; a message interrupted by shutdown is never dead-lettered.

    Operation IDconsumeSlotPlanApproved

    Available only on servers:

    Accepts the following message:

    Slot Plan Approved (consumed)

    slotting-optimization approved a slot plan for a site.

    CONSUMED from warehouse.slotting-optimization.events — this entry mirrors the producer's own contract (SlotPlanApprovedEvent) read-only and is NOT published by this service. Only plan_id, site_id, approved_at, supersedes_plan_id and moves are read; assignments is ignored (ADR-0040).

    allOf

    Mirror of slotting-optimization's SlotPlanApprovedEvent (read-only).

    • #work-planning

    Examples

  • PUB warehouse.pick-face-replenishment.events

    pick-face-replenishment's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation, mirroring its own apis/asyncapi.yaml). Key = the request id. This service consumes only ReplenishmentRequested and ReplenishmentCancelled and ignores ReplenishmentCompleted and every other type (ADR-0042).

    Consume replenishment requests and plan them as REPLENISH work.

    A dedicated consumer reads this topic under the stable consumer group REPLENISHMENT_CONSUMER_GROUP (REPLENISHMENT_MODE unset or kafka; permissive/off are boot errors, ADR-0044) with its own warehouse.pick-face-replenishment.events.dlq. Each ReplenishmentRequested becomes exactly ONE REPLENISH work unit (id replenish-<request_id>, ref = request_id, path REPLENISH, released with the additive replenishment object of WorkReleased); a redelivery of the same CloudEvents id, or a second DIFFERENT event for an already-planned request id, is a no-op. ReplenishmentCancelled cancels the request's unit only while it is still Pending (not yet released); released or completed work runs to completion, and a cancellation for an unknown request is a no-op. The CloudEvents id is claimed in the same transaction as the effect. Invalid CloudEvents (including the retired flat envelope) are WARN-logged and skipped; a payload that can never be applied is dead-lettered at once, any other failure is retried and then dead-lettered; a message interrupted by shutdown is never dead-lettered, and the offset is committed only after success.

    Operation IDconsumeReplenishmentEvents

    Available only on servers:

    Accepts one of the following messages:

    • #0Replenishment Requested (consumed)

      pick-face-replenishment asked for stock to be moved to a forward pick face.

      CONSUMED from warehouse.pick-face-replenishment.events — this entry mirrors the producer's own contract (ReplenishmentRequestedEvent) read-only and is NOT published by this service. request_id, site_id, sku, source_bin (the reserve bin, becomes from_bin), forward_bin (the pick face, becomes to_bin), quantity, priority and requested_at are read; policy_min and policy_max are ignored (ADR-0042).

      allOf

      Mirror of pick-face-replenishment's ReplenishmentRequestedEvent (read-only).

      • #work-planning

      Examples

    • #1Replenishment Cancelled (consumed)

      pick-face-replenishment cancelled an open replenishment request.

      CONSUMED from warehouse.pick-face-replenishment.events — this entry mirrors the producer's own contract (ReplenishmentCancelledEvent) read-only and is NOT published by this service. Only request_id is needed to find the unit; reason is carried for logs (ADR-0042).

      allOf

      Mirror of pick-face-replenishment's ReplenishmentCancelledEvent (read-only).

      • #work-planning

      Examples

  • PUB warehouse.product-master.events

    product-master's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation, mirroring its own apis/asyncapi.yaml). Key = the SKU. This service consumes only ProductClassified (ADR-0035) and the pack-level types ProductPackLevelDeclared, ProductPackLevelRetired and ProductPackLevelMeasured into the local PackView (ADR-0045), and ignores every other type on the topic (ProductRegistered, ProductDescriptionChanged, ProductDimensionsDeclared, ProductMeasured). A second consumer reads this topic under the STABLE PACK_VIEW_CONSUMER_GROUP (mandatory; it must differ from PRODUCT_CLASSIFICATION_CONSUMER_GROUP, because a group that already committed past the pack events could never replay them).

    Consume product-master's ProductClassified into the local classification copy.

    A dedicated consumer reads this topic under the stable consumer group PRODUCT_CLASSIFICATION_CONSUMER_GROUP (only with PRODUCT_CLASSIFICATION_MODE=kafka) and keeps one row per SKU in product_classification_copy. It claims the CloudEvents id and applies the classification in ONE transaction, overwriting a stored row only when the incoming version is greater (an equal or older version is a no-op). Invalid CloudEvents and invalid payloads are WARN-logged and skipped; transient failures retry the same message and the offset is committed only after success.

    Operation IDconsumeProductClassified

    Available only on servers:

    Accepts one of the following messages:

    • #0Product Classified (consumed)

      product-master set or replaced a SKU's handling classification.

      CONSUMED from warehouse.product-master.events — this entry mirrors the producer's own contract read-only and is NOT published by this service. A full-state replacement of one SKU's classification at the producer's aggregate version; temperature_class and dot_hazard_class are omitted when unset. Applied to the local product_classification_copy only when version is greater than the stored one (ADR-0035); classification_source is ignored. The WorkReleased encoder maps Hazmat to required_capabilities: ["hazmat"] and Fragile to fragile: true.

      allOf

      CloudEvent envelope of product-master's ProductClassified, mirrored read-only from the producer's own contract. This service consumes it; it never publishes it.

      • #work-planning

      Examples

    • #1ProductPackLevelDeclared (consumed)

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

      CONSUMED from warehouse.product-master.events - this entry mirrors the producer's own contract read-only and is NOT published by this service. Feeds the local PackView (ADR-0045) under the stable PACK_VIEW_CONSUMER_GROUP. Payload pinned by product-master's apis/asyncapi.yaml on develop.

      allOf

      CloudEvent envelope of product-master's ProductPackLevelDeclared, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

      • #work-planning

      Examples

    • #2ProductPackLevelRetired (consumed)

      product-master retired a pack level of a SKU.

      CONSUMED from warehouse.product-master.events - this entry mirrors the producer's own contract read-only and is NOT published by this service. Feeds the local PackView (ADR-0045) under the stable PACK_VIEW_CONSUMER_GROUP. Payload pinned by product-master's apis/asyncapi.yaml on develop.

      allOf

      CloudEvent envelope of product-master's ProductPackLevelRetired, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

      • #work-planning

      Examples

    • #3ProductPackLevelMeasured (consumed)

      product-master measured a pack level of a SKU.

      CONSUMED from warehouse.product-master.events - this entry mirrors the producer's own contract read-only and is NOT published by this service. Feeds the local PackView (ADR-0045) under the stable PACK_VIEW_CONSUMER_GROUP. Payload pinned by product-master's apis/asyncapi.yaml on develop.

      allOf

      CloudEvent envelope of product-master's ProductPackLevelMeasured, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

      • #work-planning

      Examples

  • PUB warehouse.inventory.events

    inventory-storage's integration topic, CONSUMED by this service (owned by that bounded context; listed here read-only for orientation, mirroring its own apis/asyncapi.yaml). Key = the reservation id. This service consumes only StockReserved and ReservationRevoked (the integration payloads; both share one identical data shape) and ignores every other type on the topic.

    Keep the SKU-keyed usable-inventory projection current.

    The shared inbound consumer applies each event to the SKU-keyed UsableInventoryObserved projection: StockReserved decrements the SKU's usable quantity by quantity, ReservationRevoked increments it back. Messages are CloudEvents 1.0 structured-mode JSON (dataschema urn:warehouse:inventory-storage:events:<EventName>:v1). Every other CloudEvents type on the topic is ignored; a message that is not a valid CloudEvent is logged at WARN and skipped.

    Operation IDconsumeInventoryReservationEvents

    Available only on servers:

    Accepts one of the following messages:

    • #0Stock Reserved (consumed)

      inventory-storage bound a SKU's quantity to a demand.

      CONSUMED from warehouse.inventory.events — this entry mirrors the producer's own contract (StockReservedEvent) read-only and is NOT published by this service. sku, quantity and demand_ref are read; the projection decrements usable inventory for the SKU by quantity.

      allOf

      Mirror of inventory-storage's StockReservedEvent, the integration-payload variant (read-only).

      • #work-planning

      Examples

    • #1Reservation Revoked (consumed)

      inventory-storage released a reservation's quantity back to usable.

      CONSUMED from warehouse.inventory.events — this entry mirrors the producer's own contract (ReservationRevokedEvent) read-only and is NOT published by this service. sku, quantity and demand_ref are read; the projection increments usable inventory for the SKU back by quantity. The payload shape is identical to StockReserved's, so one handler applies both.

      allOf

      Mirror of inventory-storage's ReservationRevokedEvent, the integration-payload variant (read-only).

      • #work-planning

      Examples

Messages

  • #1Work Unit Created

    A new work unit was enqueued into a path's work pool.

    Message IDWorkUnitCreated

    Raised by the WorkUnit aggregate when EnqueueWorkUnit admits a new releasable unit of work (carrying its CPT) into the process path's work pool. The unit is queued, not yet released. Actively published to warehouse.work-planning.events; the published data carries path_id and work_unit_id.

    allOf

    CloudEvent envelope for a newly enqueued work unit.

    • #workunit
  • #2Work Demand Released (consumed)

    network-inventory-planning released a transfer work demand leg.

    Message IDWorkDemandReleased

    CONSUMED from warehouse.network-inventory-planning.events — this entry mirrors the producer's own contract read-only and is NOT published by this service. One occurrence = one released transfer demand leg. ApplyWorkDemandReleased validates path_id against the process-path catalogue and work_kind against the declared enum, then enqueues exactly one work unit with the deterministic id demand_id and ref = demand_id (ADR-0033). Redelivery of the same CloudEvents id, or a different event carrying a demand_id already in a pool, is a benign no-op.

    allOf

    CloudEvent envelope of network-inventory-planning's released transfer work demand, mirrored read-only from the producer's own contract. This service consumes it; it never publishes it.

    • #work-planning
  • #3Slot Plan Approved (consumed)

    slotting-optimization approved a slot plan for a site.

    Message IDSlotPlanApproved

    CONSUMED from warehouse.slotting-optimization.events — this entry mirrors the producer's own contract (SlotPlanApprovedEvent) read-only and is NOT published by this service. Only plan_id, site_id, approved_at, supersedes_plan_id and moves are read; assignments is ignored (ADR-0040).

    allOf

    Mirror of slotting-optimization's SlotPlanApprovedEvent (read-only).

    • #work-planning
  • #4Stock Reserved (consumed)

    inventory-storage bound a SKU's quantity to a demand.

    Message IDStockReserved

    CONSUMED from warehouse.inventory.events — this entry mirrors the producer's own contract (StockReservedEvent) read-only and is NOT published by this service. sku, quantity and demand_ref are read; the projection decrements usable inventory for the SKU by quantity.

    allOf

    Mirror of inventory-storage's StockReservedEvent, the integration-payload variant (read-only).

    • #work-planning
  • #5Reservation Revoked (consumed)

    inventory-storage released a reservation's quantity back to usable.

    Message IDReservationRevoked

    CONSUMED from warehouse.inventory.events — this entry mirrors the producer's own contract (ReservationRevokedEvent) read-only and is NOT published by this service. sku, quantity and demand_ref are read; the projection increments usable inventory for the SKU back by quantity. The payload shape is identical to StockReserved's, so one handler applies both.

    allOf

    Mirror of inventory-storage's ReservationRevokedEvent, the integration-payload variant (read-only).

    • #work-planning
  • #6Replenishment Requested (consumed)

    pick-face-replenishment asked for stock to be moved to a forward pick face.

    Message IDReplenishmentRequested

    CONSUMED from warehouse.pick-face-replenishment.events — this entry mirrors the producer's own contract (ReplenishmentRequestedEvent) read-only and is NOT published by this service. request_id, site_id, sku, source_bin (the reserve bin, becomes from_bin), forward_bin (the pick face, becomes to_bin), quantity, priority and requested_at are read; policy_min and policy_max are ignored (ADR-0042).

    allOf

    Mirror of pick-face-replenishment's ReplenishmentRequestedEvent (read-only).

    • #work-planning
  • #7Replenishment Cancelled (consumed)

    pick-face-replenishment cancelled an open replenishment request.

    Message IDReplenishmentCancelled

    CONSUMED from warehouse.pick-face-replenishment.events — this entry mirrors the producer's own contract (ReplenishmentCancelledEvent) read-only and is NOT published by this service. Only request_id is needed to find the unit; reason is carried for logs (ADR-0042).

    allOf

    Mirror of pick-face-replenishment's ReplenishmentCancelledEvent (read-only).

    • #work-planning
  • #8Product Classified (consumed)

    product-master set or replaced a SKU's handling classification.

    Message IDProductClassified

    CONSUMED from warehouse.product-master.events — this entry mirrors the producer's own contract read-only and is NOT published by this service. A full-state replacement of one SKU's classification at the producer's aggregate version; temperature_class and dot_hazard_class are omitted when unset. Applied to the local product_classification_copy only when version is greater than the stored one (ADR-0035); classification_source is ignored. The WorkReleased encoder maps Hazmat to required_capabilities: ["hazmat"] and Fragile to fragile: true.

    allOf

    CloudEvent envelope of product-master's ProductClassified, mirrored read-only from the producer's own contract. This service consumes it; it never publishes it.

    • #work-planning
  • #9Shift Plan Committed (consumed)

    workforce-management committed a shift plan for a path.

    Message IDWorkforceShiftPlanCommitted

    CONSUMED from warehouse.workforce.events, read-only mirror of the producer's contract. Not the retired com.warehouse.wes.work-planning.plan.ShiftPlanCommitted this service used to publish (ADR-0049).

    allOf

    Read-only mirror of workforce-management's ShiftPlanCommitted; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #10Task Completed (consumed)

    fulfillment-execution finished a task.

    Message IDTaskCompleted

    CONSUMED from warehouse.fulfillment.events, read-only mirror of the producer's contract. Drives RecordCompletion for work_unit_id.

    allOf

    Read-only mirror of fulfillment-execution's TaskCompleted; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #11Order Allocated (consumed)

    order-management allocated an order; its lines are ready to enqueue.

    Message IDOrderAllocated

    CONSUMED from warehouse.order-management.events, read-only mirror of the producer's contract. One work unit is enqueued per line.

    allOf

    Read-only mirror of order-management's OrderAllocated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #12Order Partially Allocated (consumed)

    order-management partially allocated an order; the allocated lines are ready to enqueue.

    Message IDOrderPartiallyAllocated

    CONSUMED from warehouse.order-management.events, read-only mirror of the producer's contract. Identical payload shape to OrderAllocated; handled identically.

    allOf

    Read-only mirror of order-management's OrderPartiallyAllocated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #13Process Path Created (consumed)

    process-path-management created a process path.

    Message IDProcessPathCreated

    CONSUMED from warehouse.process-path-management.events only with PATH_CATALOGUE_SOURCE=kafka, read-only mirror of the producer's contract.

    allOf

    Read-only mirror of process-path-management's ProcessPathCreated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #14Process Path Updated (consumed)

    process-path-management updated a process path.

    Message IDProcessPathUpdated

    CONSUMED from warehouse.process-path-management.events only with PATH_CATALOGUE_SOURCE=kafka, read-only mirror of the producer's contract.

    allOf

    Read-only mirror of process-path-management's ProcessPathUpdated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #15Process Path Deactivated (consumed)

    process-path-management deactivated a process path.

    Message IDProcessPathDeactivated

    CONSUMED from warehouse.process-path-management.events only with PATH_CATALOGUE_SOURCE=kafka, read-only mirror of the producer's contract.

    allOf

    Read-only mirror of process-path-management's ProcessPathDeactivated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

    • #work-planning
  • #16Work Released

    The release policy admitted a work unit into active work.

    Message IDWorkReleased

    Raised by the WorkPool aggregate when ReleaseNextWork applies the release policy and admits the highest-priority (earliest-CPT) queued work unit into active work. This is the primary integration event of this bounded context: fulfillment-execution consumes it and turns it into a Task. Actively published to warehouse.work-planning.events. The outbound adapter enriches the data payload with the unit's cpt and ref by reading the WorkUnit repository, since the domain event itself only carries the identifiers. When the released unit carries a known SKU, the adapter also reads that SKU's classification from this context's local copy of product-master's ProductClassified events (ADR-0035; previously a synchronous read from inventory-storage, ADR-0009) and stamps two OPTIONAL derived fields, required_capabilities and fragile, present only when there is a hint to give. It also stamps the OPTIONAL line_no — the order line the unit was made for, stored on the WorkUnit from the OrderAllocated line that created it (ADR-0036) — omitted when unknown. The same line_no rides on the analytics-stream WorkReleased (warehouse.wes.analytics).

    allOf

    CloudEvent envelope for a work unit admitted into active work by the release policy.

    • #workunit
  • #17Work Unit Completed

    A released work unit finished.

    Message IDWorkUnitCompleted

    Raised by the WorkUnit aggregate when RecordCompletion marks a released unit as done — either from the REST endpoint or from a TaskCompleted event consumed off warehouse.fulfillment.events. The aggregate refuses a double-complete. Actively published to warehouse.work-planning.events; the published data carries path_id and work_unit_id.

    allOf

    CloudEvent envelope for a completed work unit.

    • #workunit
  • #18Backlog Threshold Breached

    A path's backlog depth crossed its alarm threshold.

    Message IDBacklogThresholdBreached

    Raised by the WorkPool aggregate when SampleBacklog observes that the pool's backlog depth has crossed the alarm threshold — the buffer signal that drives flow balancing. Actively published to warehouse.work-planning.events; the published data carries only path_id. Consumers wanting the depth and rate numbers should read the telemetry projection over REST rather than infer them here.

    allOf

    CloudEvent envelope for a backlog alarm threshold breach.

    • #workpool
  • #19Rate Deviation Detected

    A path's actual throughput deviated materially from plan.

    Message IDRateDeviationDetected

    Reserved: declared for a future detection rule (ADR 0020 defers it); not emitted today. Decided 2026-10-06: kept declared, neither emitted nor removed. Re-checked 2026-10-12 (gap fix D26): no ADR defines when it is raised, so it stays reserved; the architecture fitness test TestRateDeviationDetectedStaysReserved fails if production code starts raising it without that ADR.

    Raised when a process path's observed throughput diverges materially from the rate committed in its PathPlan — the plan-vs-actual signal for flow balancing. Not yet wired to the outbound Kafka adapter — documented here as part of the domain-event catalog, in-process only today. The event type is declared in internal/domain/shared/events.go and the publisher's payload switch already handles it, but no application use case currently raises it, so nothing is emitted onto the topic. The example below shows the shape it would take once wired.

    allOf

    CloudEvent envelope for a plan-vs-actual rate deviation. Catalog-only today — no use case currently raises this event.

    • #workpool
  • #20Path Throttled

    Flow balancing decided to throttle upstream release into a path.

    Message IDPathThrottled

    Raised by RebalanceDecision when a flow-fed pool is over its alarm threshold and the recommendation is to throttle upstream release — the rope in Drum-Buffer-Rope pulling back on a saturated buffer. Actively published to warehouse.work-planning.events; the published data carries only path_id.

    allOf

    CloudEvent envelope for an upstream release throttle decision.

    • #workpool
  • #21Labor Reassignment Flagged

    Flow balancing recommended moving labor to relieve a path.

    Message IDLaborReassignmentFlagged

    Raised by RebalanceDecision when a release-fed pool is at its WIP limit with backlog still queued: releasing more work cannot help, so the recommendation is to move heads onto the path instead. Actively published to warehouse.work-planning.events; the published data carries only path_id. Workforce Management is the intended reader.

    allOf

    CloudEvent envelope for a labor reassignment recommendation.

    • #workpool
  • #22Path Capacity Changed

    This service reported a process path's remaining admission capacity for a specific CPT cutoff window.

    Message IDPathCapacityChanged

    Raised when SampleBacklog is asked (via the optional cutoffAt query parameter on GET /paths/{pathId}/telemetry, see ADR-0018) to report the path's currently remaining admission capacity, correlated against a CPT cutoff timestamp. This PUBLISHES state this service already tracks on its own WorkPool aggregate (wipLimit minus current WIP) — it introduces no new domain concept or per-CPT capacity bucket. known is false for a FlowFed path (no hard admission ceiling — only an alarm threshold, which is not a capacity figure) or a ReleaseFed path with no WIP limit provisioned; when known is false, remaining_units is always 0. cutoff_at is this service's own native CPT currency (a concrete RFC3339 timestamp), not process-path-management's site-schedule cptId string, which this service has zero dependency on. A future order-management consumer is responsible for correlating cutoff_at against its own cached CPTWindow.CutoffAt (exact match or nearest- window match) to resolve which cptId this figure applies to — see ADR-0018 for the full correlation-by-timestamp design and its accepted imprecision trade-off. Actively published to warehouse.work-planning.events.

    allOf

    CloudEvent envelope for a reported remaining-admission-capacity figure for a process path, correlated against a CPT cutoff timestamp (see ADR-0018).

    • #workpool
  • #23WorkUnitCreated (analytics stream)

    Analytics-shaped WorkUnitCreated occurrence on warehouse.wes.analytics.

    Message IDWorkUnitCreatedAnalytics
    allOf
    • #workunit
  • #24WorkReleased (analytics stream)

    Analytics-shaped WorkReleased occurrence on warehouse.wes.analytics.

    Message IDWorkReleasedAnalytics
    allOf
    • #workunit
  • #25WorkUnitCompleted (analytics stream)

    Analytics-shaped WorkUnitCompleted occurrence on warehouse.wes.analytics.

    Message IDWorkUnitCompletedAnalytics
    allOf
    • #workunit
  • #26BacklogThresholdBreached (analytics stream)

    Analytics-shaped BacklogThresholdBreached occurrence on warehouse.wes.analytics.

    Message IDBacklogThresholdBreachedAnalytics
    allOf
    • #workpool
  • #27RateDeviationDetected (analytics stream)

    Analytics-shaped RateDeviationDetected occurrence on warehouse.wes.analytics.

    Message IDRateDeviationDetectedAnalytics

    Reserved: declared for a future detection rule (ADR 0020 defers it); not emitted today. No ADR defines when a rate deviation is raised, so no use case raises it (an architecture fitness test, TestRateDeviationDetectedStaysReserved, fails if production code starts to). The projector still counts it, so the report's rateDeviationDetected column is always 0 until a rule is decided.

    allOf
    • #workpool
  • #28PathThrottled (analytics stream)

    Analytics-shaped PathThrottled occurrence on warehouse.wes.analytics.

    Message IDPathThrottledAnalytics
    allOf
    • #workpool
  • #29LaborReassignmentFlagged (analytics stream)

    Analytics-shaped LaborReassignmentFlagged occurrence on warehouse.wes.analytics.

    Message IDLaborReassignmentFlaggedAnalytics
    allOf
    • #workpool
  • #30PathCapacityChanged (analytics stream)

    Analytics-shaped PathCapacityChanged occurrence on warehouse.wes.analytics.

    Message IDPathCapacityChangedAnalytics
    allOf
    • #workpool
  • #31ProductPackLevelDeclared (consumed)

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

    Message IDProductPackLevelDeclared

    CONSUMED from warehouse.product-master.events - this entry mirrors the producer's own contract read-only and is NOT published by this service. Feeds the local PackView (ADR-0045) under the stable PACK_VIEW_CONSUMER_GROUP. Payload pinned by product-master's apis/asyncapi.yaml on develop.

    allOf

    CloudEvent envelope of product-master's ProductPackLevelDeclared, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

    • #work-planning
  • #32ProductPackLevelRetired (consumed)

    product-master retired a pack level of a SKU.

    Message IDProductPackLevelRetired

    CONSUMED from warehouse.product-master.events - this entry mirrors the producer's own contract read-only and is NOT published by this service. Feeds the local PackView (ADR-0045) under the stable PACK_VIEW_CONSUMER_GROUP. Payload pinned by product-master's apis/asyncapi.yaml on develop.

    allOf

    CloudEvent envelope of product-master's ProductPackLevelRetired, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

    • #work-planning
  • #33ProductPackLevelMeasured (consumed)

    product-master measured a pack level of a SKU.

    Message IDProductPackLevelMeasured

    CONSUMED from warehouse.product-master.events - this entry mirrors the producer's own contract read-only and is NOT published by this service. Feeds the local PackView (ADR-0045) under the stable PACK_VIEW_CONSUMER_GROUP. Payload pinned by product-master's apis/asyncapi.yaml on develop.

    allOf

    CloudEvent envelope of product-master's ProductPackLevelMeasured, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

    • #work-planning

Schemas

  • object [CloudEvent 1.0 context attributes]

    The CloudEvents 1.0 structured-mode context attributes common to every message this service publishes (integration AND analytics topics). Every attribute below is REQUIRED in this fleet (ADR-0027); there is no other envelope.

  • allOf

    CloudEvent envelope for a newly enqueued work unit.

  • allOf

    CloudEvent envelope of network-inventory-planning's released transfer work demand, mirrored read-only from the producer's own contract. This service consumes it; it never publishes it.

  • allOf

    Mirror of slotting-optimization's SlotPlanApprovedEvent (read-only).

  • allOf

    Mirror of inventory-storage's StockReservedEvent, the integration-payload variant (read-only).

  • allOf

    Mirror of inventory-storage's ReservationRevokedEvent, the integration-payload variant (read-only).

  • allOf

    Mirror of pick-face-replenishment's ReplenishmentRequestedEvent (read-only).

  • allOf

    Mirror of pick-face-replenishment's ReplenishmentCancelledEvent (read-only).

  • allOf

    CloudEvent envelope of product-master's ProductClassified, mirrored read-only from the producer's own contract. This service consumes it; it never publishes it.

  • allOf

    Read-only mirror of workforce-management's ShiftPlanCommitted; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    Read-only mirror of fulfillment-execution's TaskCompleted; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    Read-only mirror of order-management's OrderAllocated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    Read-only mirror of order-management's OrderPartiallyAllocated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    Read-only mirror of process-path-management's ProcessPathCreated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    Read-only mirror of process-path-management's ProcessPathUpdated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    Read-only mirror of process-path-management's ProcessPathDeactivated; this service consumes it and never publishes it. Only the fields this service decodes are listed.

  • allOf

    CloudEvent envelope for a work unit admitted into active work by the release policy.

  • allOf

    CloudEvent envelope for a completed work unit.

  • allOf

    CloudEvent envelope for a backlog alarm threshold breach.

  • allOf

    CloudEvent envelope for a plan-vs-actual rate deviation. Catalog-only today — no use case currently raises this event.

  • allOf

    CloudEvent envelope for an upstream release throttle decision.

  • allOf

    CloudEvent envelope for a labor reassignment recommendation.

  • allOf

    CloudEvent envelope for a reported remaining-admission-capacity figure for a process path, correlated against a CPT cutoff timestamp (see ADR-0018).

  • allOf
  • allOf
  • allOf
  • allOf
  • allOf
  • allOf
  • allOf
  • allOf
  • allOf

    CloudEvent envelope of product-master's ProductPackLevelDeclared, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

  • allOf

    CloudEvent envelope of product-master's ProductPackLevelRetired, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.

  • allOf

    CloudEvent envelope of product-master's ProductPackLevelMeasured, mirrored read-only from the producer's own contract. This service consumes it (ADR-0045); it never publishes it.