This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic. · November 2026
Store and retrieve requests are accepted or refused at once; progress arrives as 5 Kafka events.
The PLC link survives duplicates, lost messages and restarts; its stuck-job limits are written down.
It is brand new: unreleased, logs only, one replica, and nothing consumes its events yet.
Fund the next step: build material-flow-control against it, add telemetry and cut the first release.
asrs-control is the AS/RS controller bounded context of the WCS tier (Generic, plan WCS-02). It owns where each container sits inside the AS/RS (rack positions per aisle), assigns storage positions by velocity zone with double-deep depth rules, schedules store and retrieve jobs one at a time per aisle unit, presents retrieved containers at output ports in request order…
It owns the rack map, queues store and retrieve jobs one per aisle, and drives the PLC over MQTT telegrams.
It is a day old: no release, logs only, template guides in place, and its main consumer is not built yet.
A request is accepted or refused at once; events report what happened next.
Fast movers get fast positions, with double-deep rules respected.
The PLC only gets an aisle's next job after the last one finishes.
Retrieved containers reach each output port in the order they were asked for.
Blocking containers are moved first, and those moves never leave the context.
Every telegram is acknowledged, deduplicated and resent if unanswered.
Structured JSON logs to stdout (log/slog, cmd/api/main.go) plus /healthz and /readyz probes; OpenTelemetry traces and metrics are not wired yet, deferred by ADR 0001 (not evidenced in cmd/ or internal/…
Ranked against all 48 briefed repositories (dot = one repository, highest on the left).
Stuck jobs after lost telegrams (ADR 0002 known limits): a JOB_DONE lost while asrs-control was down longer than about 8 s…
Build the reconciliation ADR 0002 names: check open jobs against unit state or an aisle watchdog.
Very young and unreleased: 42 commits on develop, all on 2026-11-20, no main branch…
Register it in warehouse-infra and cut the first release to main.
Single replica by design: the aisle scheduler is single-writer, so the chart allows exactly one replica and a pod restart pauses every…
No mitigation on the roadmap yet: this one needs an owner.
Logs only: no traces or metrics (deferred by ADR 0001), so a slow aisle, a retransmission storm or outbox lag is diagnosed from logs…
Adopt the fleet OpenTelemetry standard that ADR 0001 deferred.
asrs-control gives the WCS tier a real AS/RS controller; next it needs a consumer, a release and telemetry
| Style | Hexagonal (ports and adapters), enforced by arch-go fitness tests: domain packages import nothing internal, one application Service where every write runs in one aisle unit of work… |
| Layout | cmd/api (composition root: REST, one MQTT link per AS/RS, outbox relay, probes) + internal/domain (layout, storagemap, storagejob, equipment, capacity… |
| Storage | PostgreSQL only (migration 0001: storage_maps, storage_jobs, equipment_units, asrs_capacity, processed_telegrams, outbox_events, idempotency_keys)… |
| Testing | 55 of 118 Go files are tests; 90% coverage gate over internal/domain and internal/application; 1 godog feature file with 10 scenarios (depth rule D2, reshuffle, port order, HELD unit… |
| REST | 7 operations over 7 paths on :8080: /healthz, /readyz, /asrs/{asrsId}, /asrs/{asrsId}/storage-jobs, /asrs/{asrsId}/storage-jobs/{storageJobId}… |