warehouse-systems fleet · executive briefing

equipment-emulator

Simulated robots and storage, so control software can be tested without hardware
seven capabilitys

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

the short version · read this if nothing else

The emulator lets control teams test against robots and storage today; its next job is to become trustworthy

1

Control teams can drive simulated robots and an AS/RS over MQTT without any hardware.

2

Faults are injected on demand, so the failure paths can be rehearsed, not just the happy path.

3

It is young: unreleased, logs only, and its guides still describe the template it came from.

The ask

Fund a short hardening pass: real guides, ADRs, a first release and stronger tests before teams rely on it.

why it exists

Control software needs equipment to talk to before hardware exists

Stand in for ISA-95 levels 1 and 0 of the WCS tier so the control services (AMR fleet control and asrs-control) can be developed and tested without physical robots or a real storage system. It simulates autonomous mobile robots that speak a documented subset of VDA 5050 v3.0.0 and an automated storage and retrieval system (AS/RS) whose PLC speaks AS/RS telegram protocol v1…

Today

It simulates AMR robots on VDA 5050 v3 and an AS/RS PLC on a telegram protocol, over MQTT, on simulated time.

The catch

It is brand new: no release, no ADRs, template guides still in place, and only part of VDA 5050 is built.

what it does

Robots, storage, faults and fast-forward time in one process

Simulated AMR robots

Robots take VDA 5050 orders and instant actions and report their state over MQTT.

Simulated AS/RS PLC

Store, retrieve and move containers with acknowledged, retransmitted telegrams.

Fault injection on demand

Block a robot, drain its battery, cut it off or fault an aisle, then switch it back.

Scenario setup and inspection

Seed containers, place them at ports and read back robot and storage snapshots.

Simulated time

Run the floor faster than real time; every message carries simulated time.

A world described in YAML

Robots and storage are set up from one file, with no code change.

the shared language

Robots, orders, jobs and telegrams are the words it speaks

THE LANGUAGEOF THE DOMAINRobotOrderAS/RS systemJobTelegramFaultSimulated clockWorld
REST7 operations over 7 paths on :8080
EventsMQTT, not Kafka: 7 channels, 8 message types in…
how it is built

One binary: device models in the middle, MQTT and admin API at the edge

BUILDING BLOCKS · TOP-LEVEL COMPOSITIONGo module: cmd/emulatorcomposition root, proxy, serveloopinternal/adaptersmqtt gateways, vda5050 andtelegram codecs, admin httpinternal/applicationengine: tick, faults, worldinternal/domainrobot, asrs, simclockTECHNOLOGY STACKGo 1.27.4paho MQTT client v1.5.1chi v5.5.0 admin RESTyaml.v3 world filelog/slog JSON logsgodog v0.16.0 BDDtestcontainers-go v0.45.0Mosquitto 2.0.20 in testsarch-go v1.7.0gremlins v0.6.0AsyncAPI 2.6 + OpenAPI 3.0.3Spectral lintDocker alpine 3.24, non-rootHelm chart
how we know it is healthy

Logs and readiness probes are all we can watch today

Structured JSON logs to stdout (log/slog, cmd/emulator/main.go) plus /healthz and /readyz probes; no OpenTelemetry traces or metrics (not evidenced in cmd/ or internal/…

What we watch

  • /readyz answers 200 only when the robot gateway and every AS/RS gateway hold a broker connection, 503 otherwise…
  • While the engine is starting the gateways refuse with the transient ACK reason NOT_READY and do not remember it…

What stops a bad change

  • make check (fmt-check, vet, build, lint, test); make check-all adds coverage, arch-test and bdd
  • PR CI: lint, complexity (gocyclo gate 15), file-length, test with the 90% coverage gate, bdd, integration (testcontainers Mosquitto)…
  • Weekly (Monday 06:00 UTC) mutation over internal/domain and drift jobs open or close a harness:red issue
by the numbers

A small footprint: 2 feature files and no recorded decisions yet

2
BDD feature files
#42 of 47 in the fleet

Ranked against all 47 briefed repositories (dot = one repository, highest on the left).

One-command workflows (make)

helpbuildvetfmtfmt-checklinttestcoverageintegrationbddarch-testmutationmutation-fullvuln
what comes next

Next: honest guides, recorded decisions, a first release

NOW1Replace thetemplate leftoverswith real guidesReplace the scaffoldleftovers: SPEC.md stilldescribeswarehouse-harness-template,.claude/rules/domain-model.mdis an unfilled template,and the committedexecutive/index.html…NEXT2Record thefounding decisionsas ADRsRecord the foundingdecisions as ADRs: thereis no docs/adr/ ondevelop, so the VDA 5050subset, the telegramprotocol shape andsimulated time aredocumented only in…NEXT3Cut the firstrelease to mainWork throughdocs/before-first-release.mdand cut the firstdevelop to main release:there is no main branchyet, so docker-publishand release have neverrunLATER4Raise mutationthresholds toward99/99Raise the mutationthresholds toward thefleet 99/99 standard:.gremlins.yaml setsefficacy 85 and mutantcoverage 96 (measured2026-11-20)LATER5Add BDD scenariosfor the untestedfaultsWiden the BDD featuresbeyond 2 files and 4scenarios: battery,disconnect, cancel andthe telegramretransmission have noscenario (not evidencedin features/)
what could go wrong · and what we do about it

The biggest risk is a green test here that fails on real robots

Only part of VDA 5050 is simulated

Simulation fidelity: only a VDA 5050 subset is built (no edge actions, trajectories, zones, visualization, maps download or pause…

→

The unsupported features are listed in docs/vda5050-subset.md, so teams know what is not covered.

Very young and not yet released

Very young and unreleased: 36 commits on develop between 2026-11-19 and 2026-11-20, no main branch, no release and no ADRs…

→

Work through the before-first-release checklist and cut the first release.

Guides still describe the template

Misleading guides: SPEC.md, .claude/rules/domain-model.md and the committed deck still carry template content…

→

Rewrite SPEC.md, the domain model guide and the deck for this repo.

Logs are the only signal

Logs only: no traces or metrics (not evidenced in cmd/ or internal/), so slow or lost MQTT traffic in a test run is diagnosed from…

→

No mitigation on the roadmap yet: this one needs an owner.

the decision we need

Fund a short hardening pass: real guides, ADRs, a first release and stronger tests before teams rely on it.

WHAT ISIt simulates AMR robots on VDA 5050v3 and an AS/RS PLC on a telegramprotocol, over MQTT, on simulatedtime.THE CATCHIt is brand new: no release, noADRs, template guides still inplace, and only part of VDA 5050 isbuilt.WHAT COULD BEA released, documented emulatorwhose behaviour control teams trust,with its gaps against real robotswritten down.
Why it matters

The emulator lets control teams test against robots and storage today; its next job is to become trustworthy

appendix · for the engineers in the room

The fine print: how it is put together

StylePorts-and-adapters Go simulator: a domain model per device (robot, asrs, simclock), an engine that ticks simulated time and applies faults, and MQTT, protocol codec and admin HTTP adapters…
LayoutGo module: cmd/emulator (composition root, proxy, serve loop) + internal/adapters (mqtt gateways, vda5050 and telegram codecs, admin http) + internal/application (engine: tick, faults…
StorageNo database and no Kafka (charts/equipment-emulator/values.yaml): the simulated world lives in memory and starts fresh on every restart…
Testing32 of 54 Go files are tests; make coverage gates 90% over internal/domain and internal/application; 2 godog feature files with 4 scenarios (blocked robot, unblocked robot, AS/RS no-read…
REST7 operations over 7 paths on :8080: /healthz, /readyz, /robots, /asrs/{asrsId}, /faults, /asrs/{asrsId}/seeds…
Go 1.27.4paho MQTT client v1.5.1chi v5.5.0 admin RESTyaml.v3 world filelog/slog JSON logsgodog v0.16.0 BDDtestcontainers-go v0.45.0Mosquitto 2.0.20 in testsarch-go v1.7.0gremlins v0.6.0AsyncAPI 2.6 + OpenAPI 3.0.3Spectral lint