Frontends and BFFs

warehouse-ui-kit

Shared design tokens + React component library for the warehouse-systems micro-frontend console (StatusPill, Timeline, Card, DataTable, KpiStat, LaunchTile, AppShell)

language Python · default branch develop · not a registered context · GitHub ↗ · engineering study ↗

Architecture fitness

33%1 / 3 checks

warehouse-ui-kit: 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)84% of 19fail
Test investmentatomic · static · triggered · automated>= 0.8 test lines per code line at HEAD0.34 test lines per code linefail
CI greenholistic · dynamic · triggered · automated>= 90% of decided Actions runs green over the last four ISO weeks95% greenpass

Not applicable here: Domain purity, Adapters, Contracts, Events, Arch tests, ADRs, MCP.

Risks

  • 84% of source files sit inside the standard layout (3 outside) — the hexagonal boundary is eroding at the edges.
  • 0.34 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.ts
  • vite.config.ts
  • vitest.config.ts

Test investment

1,732 test lines against 5,078 code lines at HEAD.