Platform, harness and docs
payment-provider-simulator
Storefront: Payment Provider Simulator bounded context (e-commerce domain of the retail-network organisation).
Architecture fitness
100%8 / 8 checks
| Function | Axes | Target | Measured | Result |
|---|---|---|---|---|
| Ports-and-adapters layout | atomic · static · triggered · automated | >= 95% of source files inside cmd/ or internal/ (Go) or src/ (TypeScript) | 96% of 103 | pass |
| Domain layer purity | atomic · static · triggered · automated | 0 files under internal/domain importing an adapter or a framework marker | 0 of 5 files | pass |
| Adapter symmetry | atomic · static · triggered · automated | both inbound/ and outbound/ adapters exist under internal/adapters/ | NaN | pass |
| Contract-first APIs | atomic · static · triggered · automated | >= 1 OpenAPI and/or AsyncAPI spec under apis/ (or repo root) | 2 specs (OpenAPI + AsyncAPI) | pass |
| In-repo architecture tests | holistic · static · triggered · automated | >= 1 *_fitness_test.go under internal/architecture/ | 8 files, 28 test functions | pass |
| Decision records | atomic · static · triggered · automated | >= 1 architecture decision record | 5 records | pass |
| Test investment | atomic · static · triggered · automated | >= 0.8 test lines per code line at HEAD | 1.30 test lines per code line | pass |
| CI green | holistic · dynamic · triggered · automated | >= 90% of decided Actions runs green over the last four ISO weeks | 95% green | pass |
Not applicable here: Events, MCP.
Risks
- Every applicable fitness function meets its target in this run.
Evidence
Adapters and binaries
in: http, requestlog · out: clock, ids, kafka, memory, postgres, repocontract, telemetry · cmd: api
API contracts
asyncapi.yaml · openapi.yaml
In-repo fitness tests
28 test functions in 8 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 · no_go_files_at_root_fitness_test.go · outbox_relay_cap_fitness_test.go · runtime_no_memory_fitness_test.go
Test investment
9,081 test lines against 6,998 code lines at HEAD.