Frontends and BFFs
warehouse-floor-client
Scan-first PWA for RF guns and station screens: the first-party client for the warehouse floor-execution APIs (claim, complete, pack, stow, shift clock)
Architecture fitness
50%2 / 4 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) | 91% of 85 | fail |
| Decision records | atomic · static · triggered · automated | >= 1 architecture decision record | 1 records | pass |
| Test investment | atomic · static · triggered · automated | >= 0.8 test lines per code line at HEAD | 0.61 test lines per code line | fail |
| CI green | holistic · dynamic · triggered · automated | >= 90% of decided Actions runs green over the last four ISO weeks | 95% green | pass |
Not applicable here: Domain purity, Adapters, Contracts, Events, Arch tests, MCP.
Risks
- 91% of source files sit inside the standard layout (8 outside) — the hexagonal boundary is eroding at the edges.
- 0.61 test lines per code line at HEAD, under the 0.8 target — changes are cheaper than the safety net that guards them.
Evidence
Files outside the standard layout
.opencode/plugins/harness.tsbuild/precacheManifest.tsdocs/docusaurus.config.tsdocs/sidebars.tsdocs/sidebarsAdr.tsdocs/src/pages/index.tsxvite.config.tsvitest.config.ts
Test investment
6,284 test lines against 10,257 code lines at HEAD.