WMS bounded contexts · Supporting domain

dock-scheduling

Dock Scheduling (WMS-tier Supporting bounded context): inbound and outbound dock door appointments on one calendar per door, door opening hours and closures, ETA risk and no-shows - hexagonal Go, Postgres, REST, Kafka (CloudEvents).

language Go · default branch develop · bounded context dock-scheduling · GitHub ↗ · engineering study ↗

Architecture fitness

100%9 / 9 checks

dock-scheduling: fitness functions that apply to this project
FunctionAxesTargetMeasuredResult
Ports-and-adapters layoutatomic · static · triggered · automated>= 95% of source files inside cmd/ or internal/ (Go) or src/ (TypeScript)96% of 285pass
Domain layer purityatomic · static · triggered · automated0 files under internal/domain importing an adapter or a framework marker0 of 19 filespass
Adapter symmetryatomic · static · triggered · automatedboth inbound/ and outbound/ adapters exist under internal/adapters/NaNpass
Contract-first APIsatomic · static · triggered · automated>= 1 OpenAPI and/or AsyncAPI spec under apis/ (or repo root)3 specs (OpenAPI + AsyncAPI)pass
In-repo architecture testsholistic · static · triggered · automated>= 1 *_fitness_test.go under internal/architecture/10 files, 41 test functionspass
Decision recordsatomic · static · triggered · automated>= 1 architecture decision record14 recordspass
MCP server isolationatomic · static · triggered · automateda separate cmd/mcp binary when the context declares an MCP serverNaNpass
Test investmentatomic · static · triggered · automated>= 0.8 test lines per code line at HEAD1.43 test lines per code linepass
CI greenholistic · dynamic · triggered · automated>= 90% of decided Actions runs green over the last four ISO weeks92% greenpass

Not applicable here: Events.

Risks

  • Every applicable fitness function meets its target in this run.

Evidence

Adapters and binaries

in: http, kafka, mcp · out: analyticsstore, kafka, memory, outbox, postgres, system, telemetry · cmd: api, mcp, projector, relay, reports, sweep

API contracts

asyncapi.yaml · openapi-reports.yaml · openapi.yaml

In-repo fitness tests

41 test functions in 10 files: catalogue_fitness_test.go · events_fitness_test.go · kafka_dlq_shutdown_fitness_test.go · kafka_writer_acks_fitness_test.go · kafka_writer_topic_fitness_test.go · mcp_authority_fitness_test.go · no_go_files_at_root_fitness_test.go · outbox_relay_cap_fitness_test.go · runtime_no_memory_fitness_test.go · standards_fitness_test.go

Test investment

31,168 test lines against 21,813 code lines at HEAD.