Executive summary
NoahDuongMaster/vibe-code-stack-for-ceos scores 57 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Maturity, which scores 50 and is rated Adequate. Its Architecture documentation dimension scores 2 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to resolve the 1 No ADRs found finding(s) in ADR Quality and to resolve the 1 Leaked secret finding(s) in Secret Scanning, and if Maturity rose to 70, the score would rise from 57 to about 62.
41 findings are critical: 26 in Dependency Vulnerabilities, eight in Static Analysis (SAST), four in IaC & Container Security, two in Page structure and one in Secret Scanning.
Watchdog couldn't measure 10 dimensions in this code, among them Code Coverage, Test Reliability and Documentation Quality, so they are left out of the score. The product code is 11,981 lines, which would take an estimated 0.2 person-years, around €22,000, to rebuild.
If Maturity rose from 50 to 70, the lowest score rated Strong, the score would rise from 57 to about 62.
New since the last survey: 50 findings
- Secret Scanning · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Large Files · apps/admin/src/screens/dashboard/ui/market-dashboard.tsx: 514 lines of code apps/admin/src/screens/dashboard/ui/market-dashboard.tsx
- Test Coverage · No test reaches this file apps/admin/src/screens/users/ui/users-table.tsx
- Test Coverage · No test reaches this file apps/admin/src/widgets/app-shell/ui/app-shell.tsx
- Test Coverage · No test reaches this file apps/dapp/src/features/sign-in/ui/login-form.tsx
- Test Coverage · No test reaches this file apps/dapp/src/screens/not-found/ui/not-found-page.tsx
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/errors/error-page.tsx
- Test Coverage · No test reaches this file apps/admin/src/screens/login/ui/login-form.tsx
- Test Coverage · No test reaches this file apps/admin/src/screens/users/ui/user-form.tsx
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/errors/global-error-page.tsx
- Test Coverage · No test reaches this file apps/dapp/src/shared/ui/toaster.tsx
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/metadata/app-metadata.ts
- Test Coverage · No test reaches this file apps/admin/src/screens/dashboard/ui/dashboard-page.tsx
- Test Coverage · No test reaches this file apps/admin/src/bootstrap/router/router.tsx
- Test Coverage · No test reaches this file apps/dapp/src/screens/account/ui/account-session.tsx
- Test Coverage · No test reaches this file apps/dapp/src/screens/home/ui/home-page.tsx
- Test Coverage · No test reaches this file apps/admin/src/bootstrap/router/route-error.tsx
- Test Coverage · No test reaches this file apps/dapp/src/screens/sign-in/ui/sign-in-page.tsx
- Test Coverage · No test reaches this file apps/admin/src/screens/login/ui/login-page.tsx
- Test Coverage · No test reaches this file apps/admin/src/screens/users/ui/users-page.tsx
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/providers/devtools.tsx
- Test Coverage · No test reaches this file apps/admin/src/shared/model/ui.store.ts
- Test Coverage · No test reaches this file apps/admin/src/screens/not-found/ui/not-found-page.tsx
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/providers/query-provider.tsx
- Test Coverage · No test reaches this file apps/dapp/src/shared/ui/page-loader.tsx
- Test Coverage · No test reaches this file apps/admin/src/screens/dashboard/ui/health-status.tsx
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/providers/web-vitals.tsx
- Test Coverage · No test reaches this file apps/dapp/src/screens/account/ui/account-page.tsx
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/metadata/manifest.ts
- Test Coverage · No test reaches this file apps/admin/src/bootstrap/providers/session-events.tsx
- Test Coverage · No test reaches this file apps/admin/src/shared/lib/sentry/sentry.ts
- Test Coverage · No test reaches this file apps/dapp/src/bootstrap/instrumentation/instrumentation.client.ts
- Exception handling · Swallowed exception (empty catch) apps/dapp/src/features/sign-in/ui/login-form.tsx
- Outbound HTTP resilience · Outbound HTTP without resilience services/trading-rpc/src/features/market-data/infra/coingecko/coingecko-market-data.adapter.ts
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/landing/src/shared/styles/global.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/dapp/src/shared/ui/page-loader.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/dapp/src/screens/home/ui/market-dashboard.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/admin/src/screens/dashboard/ui/market-dashboard.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/admin/src/screens/dashboard/ui/market-dashboard.tsx
Fixed since the last survey: 19 findings
- Dependency Vulnerabilities · Critical vulnerability: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High vulnerability: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Test Coverage · No test reaches this file services/admin-rpc/src/platform/fastify/logger-options.ts
- Test Coverage · No test reaches this file apps/landing/src/shared/seo/create-robots-response.ts
- Test Coverage · No test reaches this file apps/landing/src/screens/home/model/tech-stack.ts
- Test Coverage · No test reaches this file apps/dapp/proxy.ts
- Test Coverage · No test reaches this file services/admin-rpc/scripts/copy-proto-assets.ts
- Test Coverage · No test reaches this file services/trading-rpc/scripts/copy-proto-assets.ts
- Test Coverage · No test reaches this file apps/landing/astro/pages/robots.txt.ts
- Test Coverage · No test reaches this file apps/dapp/app/api/health/route.ts
- Test Coverage · No test reaches this file apps/dapp/app/api/mock/route.ts
- Test Coverage · No test reaches this file apps/landing/src/shared/styles/index.ts
- Slice cohesion · Cross-slice coupling: market-data → coin-information services/trading-rpc/src/features/market-data/adapters/grpc/trading.grpc.controller.ts
Rebuild cost: about €22,000 · Estimate
| Cost to rebuild | €7,400 to €37,000, for 124 to 394 hours of work, about 0.2 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 57. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 11,981 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 apps.dapp.src.screens.home.ui | 2 scripts | 3 services.admin-rpc.src.features.authentication.domain.authentication_port | 4 services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe | 5 services.admin-rpc.src.features.coin-information.application.get-markets_port | 6 services.admin-rpc.src.features.coin-information.domain.trading-market-data_port | 7 services.admin-rpc.src.infra.rpc-transport | 8 services.api-gateway.src.features.access-control.application.authorize-gateway-request_use-case | 9 services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy | 10 services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port | 11 services.api-gateway.src.shared.logging.gateway-logger_port | 12 services.trading-rpc.src.features.market-data.domain.quote-currency | 13 services.admin-rpc.src.config.runtime-config | 14 services.admin-rpc.src.features.authentication.application.login_port | 15 services.admin-rpc.src.features.authentication.authentication_module | 16 services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter | 17 services.admin-rpc.src.features.authentication.infra.jwt | 18 services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller | 19 services.admin-rpc.src.features.coin-information.application.get-markets_use-case | 20 services.admin-rpc.src.features.coin-information.infra.grpc | 21 services.api-gateway.src.features.rate-limiting.domain.token-bucket | 22 services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port | 23 services.api-gateway.src.features.rpc-routing.infra.cloudflare | 24 services.trading-rpc.src.features.market-data.domain.market-data-provider_port | 25 services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port | 26 services.admin-rpc.src.adapters.http_adapter | 27 services.admin-rpc.src.features.authentication.application.login_use-case | 28 services.admin-rpc.src.features.authentication.infra.configured | 29 services.api-gateway.src.adapters.http.gateway-request-scope | 30 services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do | 31 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port | 32 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port | 33 services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port | 34 services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller | 35 services.trading-rpc.src.features.market-data.application.get-markets_use-case | 36 services.trading-rpc.src.features.market-data.infra.coingecko | 37 services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository | 38 services.api-gateway.src.adapters.cloudflare.gateway-bindings | 39 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case | 40 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 apps.dapp.src.screens.home.ui | ||||||||||||||||||||||||||||||||||||||||
| 2 scripts | ||||||||||||||||||||||||||||||||||||||||
| 3 services.admin-rpc.src.features.authentication.domain.authentication_port | ||||||||||||||||||||||||||||||||||||||||
| 4 services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe | ||||||||||||||||||||||||||||||||||||||||
| 5 services.admin-rpc.src.features.coin-information.application.get-markets_port | ||||||||||||||||||||||||||||||||||||||||
| 6 services.admin-rpc.src.features.coin-information.domain.trading-market-data_port | ||||||||||||||||||||||||||||||||||||||||
| 7 services.admin-rpc.src.infra.rpc-transport | ||||||||||||||||||||||||||||||||||||||||
| 8 services.api-gateway.src.features.access-control.application.authorize-gateway-request_use-case | ||||||||||||||||||||||||||||||||||||||||
| 9 services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy | ||||||||||||||||||||||||||||||||||||||||
| 10 services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port | ||||||||||||||||||||||||||||||||||||||||
| 11 services.api-gateway.src.shared.logging.gateway-logger_port | ||||||||||||||||||||||||||||||||||||||||
| 12 services.trading-rpc.src.features.market-data.domain.quote-currency | ||||||||||||||||||||||||||||||||||||||||
| 13 services.admin-rpc.src.config.runtime-config | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 services.admin-rpc.src.features.authentication.application.login_port | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 services.admin-rpc.src.features.authentication.authentication_module | 2 | |||||||||||||||||||||||||||||||||||||||
| 16 services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 services.admin-rpc.src.features.authentication.infra.jwt | 2 | |||||||||||||||||||||||||||||||||||||||
| 18 services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 services.admin-rpc.src.features.coin-information.application.get-markets_use-case | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 services.admin-rpc.src.features.coin-information.infra.grpc | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 services.api-gateway.src.features.rate-limiting.domain.token-bucket | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 services.api-gateway.src.features.rpc-routing.infra.cloudflare | 3 | |||||||||||||||||||||||||||||||||||||||
| 24 services.trading-rpc.src.features.market-data.domain.market-data-provider_port | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 services.admin-rpc.src.adapters.http_adapter | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 services.admin-rpc.src.features.authentication.application.login_use-case | 2 | 3 | ||||||||||||||||||||||||||||||||||||||
| 28 services.admin-rpc.src.features.authentication.infra.configured | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 services.api-gateway.src.adapters.http.gateway-request-scope | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 services.trading-rpc.src.features.market-data.application.get-markets_use-case | 3 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 services.trading-rpc.src.features.market-data.infra.coingecko | 2 | |||||||||||||||||||||||||||||||||||||||
| 37 services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 services.api-gateway.src.adapters.cloudflare.gateway-bindings | 1 | |||||||||||||||||||||||||||||||||||||||
| 39 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case | 2 | 1 | 1 |
13→7 services.admin-rpc.src.config.runtime-config uses services.admin-rpc.src.infra.rpc-transport✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.config.runtime-config uses a type in services.admin-rpc.src.infra.rpc-transport.
- The types involved
services.admin-rpc.src.config.runtime-config.TRuntimeConfig→services.admin-rpc.src.infra.rpc-transport.RpcTransport
- Direction
- services.admin-rpc.src.config.runtime-config uses services.admin-rpc.src.infra.rpc-transport, so a change to services.admin-rpc.src.infra.rpc-transport can break services.admin-rpc.src.config.runtime-config, while a change to services.admin-rpc.src.config.runtime-config can't break services.admin-rpc.src.infra.rpc-transport.
- Position
- Below the diagonal: services.admin-rpc.src.config.runtime-config uses a module listed above it, which is the healthy direction.
14→3 services.admin-rpc.src.features.authentication.application.login_port uses services.admin-rpc.src.features.authentication.domain.authentication_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.authentication.application.login_port uses a type in services.admin-rpc.src.features.authentication.domain.authentication_port.
- The types involved
services.admin-rpc.src.features.authentication.application.login_port.TLoginResult→services.admin-rpc.src.features.authentication.domain.authentication_port.TAdminIdentity
- Direction
- services.admin-rpc.src.features.authentication.application.login_port uses services.admin-rpc.src.features.authentication.domain.authentication_port, so a change to services.admin-rpc.src.features.authentication.domain.authentication_port can break services.admin-rpc.src.features.authentication.application.login_port, while a change to services.admin-rpc.src.features.authentication.application.login_port can't break services.admin-rpc.src.features.authentication.domain.authentication_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.application.login_port uses a module listed above it, which is the healthy direction.
15→3 services.admin-rpc.src.features.authentication.authentication_module uses services.admin-rpc.src.features.authentication.domain.authentication_port✕
- Connections
- 2 pairs of types, where a type in services.admin-rpc.src.features.authentication.authentication_module uses a type in services.admin-rpc.src.features.authentication.domain.authentication_port.
- The types involved
services.admin-rpc.src.features.authentication.authentication_module.TAuthenticationModuleOptions→services.admin-rpc.src.features.authentication.domain.authentication_port.AccessTokenIssuerservices.admin-rpc.src.features.authentication.authentication_module.TAuthenticationModuleOptions→services.admin-rpc.src.features.authentication.domain.authentication_port.CredentialVerifier
- Direction
- services.admin-rpc.src.features.authentication.authentication_module uses services.admin-rpc.src.features.authentication.domain.authentication_port, so a change to services.admin-rpc.src.features.authentication.domain.authentication_port can break services.admin-rpc.src.features.authentication.authentication_module, while a change to services.admin-rpc.src.features.authentication.authentication_module can't break services.admin-rpc.src.features.authentication.domain.authentication_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.authentication_module uses a module listed above it, which is the healthy direction.
16→3 services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter uses services.admin-rpc.src.features.authentication.domain.authentication_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter uses a type in services.admin-rpc.src.features.authentication.domain.authentication_port.
- The types involved
services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter.TConfiguredCredentialVerifierOptions→services.admin-rpc.src.features.authentication.domain.authentication_port.TAdminIdentity
- Direction
- services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter uses services.admin-rpc.src.features.authentication.domain.authentication_port, so a change to services.admin-rpc.src.features.authentication.domain.authentication_port can break services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter, while a change to services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter can't break services.admin-rpc.src.features.authentication.domain.authentication_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter uses a module listed above it, which is the healthy direction.
17→3 services.admin-rpc.src.features.authentication.infra.jwt uses services.admin-rpc.src.features.authentication.domain.authentication_port✕
- Connections
- 2 pairs of types, where a type in services.admin-rpc.src.features.authentication.infra.jwt uses a type in services.admin-rpc.src.features.authentication.domain.authentication_port.
- The types involved
services.admin-rpc.src.features.authentication.infra.jwt.jwt-access-token-issuer.adapter→services.admin-rpc.src.features.authentication.domain.authentication_port.AccessTokenIssuerservices.admin-rpc.src.features.authentication.infra.jwt.jwt-access-token-issuer.adapter→services.admin-rpc.src.features.authentication.domain.authentication_port.TAdminIdentity
- Direction
- services.admin-rpc.src.features.authentication.infra.jwt uses services.admin-rpc.src.features.authentication.domain.authentication_port, so a change to services.admin-rpc.src.features.authentication.domain.authentication_port can break services.admin-rpc.src.features.authentication.infra.jwt, while a change to services.admin-rpc.src.features.authentication.infra.jwt can't break services.admin-rpc.src.features.authentication.domain.authentication_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.infra.jwt uses a module listed above it, which is the healthy direction.
18→4 services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses a type in services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe.
- The types involved
services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller.AdminGrpcController→services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe.TGetMarketsGrpcRequest
- Direction
- services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe, so a change to services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe can break services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller, while a change to services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller can't break services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe.
- Position
- Below the diagonal: services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses a module listed above it, which is the healthy direction.
18→5 services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses services.admin-rpc.src.features.coin-information.application.get-markets_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses a type in services.admin-rpc.src.features.coin-information.application.get-markets_port.
- The types involved
services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller.AdminGrpcController→services.admin-rpc.src.features.coin-information.application.get-markets_port.GetMarkets
- Direction
- services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses services.admin-rpc.src.features.coin-information.application.get-markets_port, so a change to services.admin-rpc.src.features.coin-information.application.get-markets_port can break services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller, while a change to services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller can't break services.admin-rpc.src.features.coin-information.application.get-markets_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller uses a module listed above it, which is the healthy direction.
19→5 services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses services.admin-rpc.src.features.coin-information.application.get-markets_port✕
- Connections
- 3 pairs of types, where a type in services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses a type in services.admin-rpc.src.features.coin-information.application.get-markets_port.
- The types involved
services.admin-rpc.src.features.coin-information.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.application.get-markets_port.GetMarketsservices.admin-rpc.src.features.coin-information.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.application.get-markets_port.TGetMarketsInputservices.admin-rpc.src.features.coin-information.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.application.get-markets_port.TGetMarketsResult
- Direction
- services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses services.admin-rpc.src.features.coin-information.application.get-markets_port, so a change to services.admin-rpc.src.features.coin-information.application.get-markets_port can break services.admin-rpc.src.features.coin-information.application.get-markets_use-case, while a change to services.admin-rpc.src.features.coin-information.application.get-markets_use-case can't break services.admin-rpc.src.features.coin-information.application.get-markets_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses a module listed above it, which is the healthy direction.
19→6 services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses services.admin-rpc.src.features.coin-information.domain.trading-market-data_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses a type in services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.
- The types involved
services.admin-rpc.src.features.coin-information.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.TradingMarketData
- Direction
- services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses services.admin-rpc.src.features.coin-information.domain.trading-market-data_port, so a change to services.admin-rpc.src.features.coin-information.domain.trading-market-data_port can break services.admin-rpc.src.features.coin-information.application.get-markets_use-case, while a change to services.admin-rpc.src.features.coin-information.application.get-markets_use-case can't break services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.coin-information.application.get-markets_use-case uses a module listed above it, which is the healthy direction.
20→6 services.admin-rpc.src.features.coin-information.infra.grpc uses services.admin-rpc.src.features.coin-information.domain.trading-market-data_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.coin-information.infra.grpc uses a type in services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.
- The types involved
services.admin-rpc.src.features.coin-information.infra.grpc.trading-rpc-market-data.adapter→services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.TradingMarketData
- Direction
- services.admin-rpc.src.features.coin-information.infra.grpc uses services.admin-rpc.src.features.coin-information.domain.trading-market-data_port, so a change to services.admin-rpc.src.features.coin-information.domain.trading-market-data_port can break services.admin-rpc.src.features.coin-information.infra.grpc, while a change to services.admin-rpc.src.features.coin-information.infra.grpc can't break services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.coin-information.infra.grpc uses a module listed above it, which is the healthy direction.
21→9 services.api-gateway.src.features.rate-limiting.domain.token-bucket uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket uses a type in services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- The types involved
services.api-gateway.src.features.rate-limiting.domain.token-bucket.TokenBucket→services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.RateLimitPolicy
- Direction
- services.api-gateway.src.features.rate-limiting.domain.token-bucket uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy, so a change to services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy can break services.api-gateway.src.features.rate-limiting.domain.token-bucket, while a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket can't break services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.domain.token-bucket uses a module listed above it, which is the healthy direction.
22→10 services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port uses services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port uses a type in services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.
- The types involved
services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port.RouteRpcRequest→services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.GatewayRpcRequest
- Direction
- services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port uses services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port, so a change to services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port can break services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port, while a change to services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port can't break services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.
- Position
- Below the diagonal: services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port uses a module listed above it, which is the healthy direction.
23→10 services.api-gateway.src.features.rpc-routing.infra.cloudflare uses services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port✕
- Connections
- 3 pairs of types, where a type in services.api-gateway.src.features.rpc-routing.infra.cloudflare uses a type in services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.
- The types involved
services.api-gateway.src.features.rpc-routing.infra.cloudflare.cloudflare-admin-rpc.adapter→services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.GatewayRpcEndpointservices.api-gateway.src.features.rpc-routing.infra.cloudflare.cloudflare-rpc.adapter→services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.GatewayRpcEndpointservices.api-gateway.src.features.rpc-routing.infra.cloudflare.cloudflare-trading-rpc.adapter→services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.GatewayRpcEndpoint
- Direction
- services.api-gateway.src.features.rpc-routing.infra.cloudflare uses services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port, so a change to services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port can break services.api-gateway.src.features.rpc-routing.infra.cloudflare, while a change to services.api-gateway.src.features.rpc-routing.infra.cloudflare can't break services.api-gateway.src.features.rpc-routing.application.gateway-rpc-endpoint_port.
- Position
- Below the diagonal: services.api-gateway.src.features.rpc-routing.infra.cloudflare uses a module listed above it, which is the healthy direction.
24→12 services.trading-rpc.src.features.market-data.domain.market-data-provider_port uses services.trading-rpc.src.features.market-data.domain.quote-currency✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.domain.market-data-provider_port uses a type in services.trading-rpc.src.features.market-data.domain.quote-currency.
- The types involved
services.trading-rpc.src.features.market-data.domain.market-data-provider_port.MarketDataQuery→services.trading-rpc.src.features.market-data.domain.quote-currency.QuoteCurrency
- Direction
- services.trading-rpc.src.features.market-data.domain.market-data-provider_port uses services.trading-rpc.src.features.market-data.domain.quote-currency, so a change to services.trading-rpc.src.features.market-data.domain.quote-currency can break services.trading-rpc.src.features.market-data.domain.market-data-provider_port, while a change to services.trading-rpc.src.features.market-data.domain.market-data-provider_port can't break services.trading-rpc.src.features.market-data.domain.quote-currency.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.domain.market-data-provider_port uses a module listed above it, which is the healthy direction.
25→12 services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port uses services.trading-rpc.src.features.market-data.domain.quote-currency✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port uses a type in services.trading-rpc.src.features.market-data.domain.quote-currency.
- The types involved
services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.MarketSnapshotRepository→services.trading-rpc.src.features.market-data.domain.quote-currency.QuoteCurrency
- Direction
- services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port uses services.trading-rpc.src.features.market-data.domain.quote-currency, so a change to services.trading-rpc.src.features.market-data.domain.quote-currency can break services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port, while a change to services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port can't break services.trading-rpc.src.features.market-data.domain.quote-currency.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port uses a module listed above it, which is the healthy direction.
26→6 services.admin-rpc.src.adapters.http_adapter uses services.admin-rpc.src.features.coin-information.domain.trading-market-data_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.adapters.http_adapter uses a type in services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.
- The types involved
services.admin-rpc.src.adapters.http_adapter.TServerOptions→services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.TradingMarketData
- Direction
- services.admin-rpc.src.adapters.http_adapter uses services.admin-rpc.src.features.coin-information.domain.trading-market-data_port, so a change to services.admin-rpc.src.features.coin-information.domain.trading-market-data_port can break services.admin-rpc.src.adapters.http_adapter, while a change to services.admin-rpc.src.adapters.http_adapter can't break services.admin-rpc.src.features.coin-information.domain.trading-market-data_port.
- Position
- Below the diagonal: services.admin-rpc.src.adapters.http_adapter uses a module listed above it, which is the healthy direction.
26→15 services.admin-rpc.src.adapters.http_adapter uses services.admin-rpc.src.features.authentication.authentication_module✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.adapters.http_adapter uses a type in services.admin-rpc.src.features.authentication.authentication_module.
- The types involved
services.admin-rpc.src.adapters.http_adapter.TServerOptions→services.admin-rpc.src.features.authentication.authentication_module.TAuthenticationModuleOptions
- Direction
- services.admin-rpc.src.adapters.http_adapter uses services.admin-rpc.src.features.authentication.authentication_module, so a change to services.admin-rpc.src.features.authentication.authentication_module can break services.admin-rpc.src.adapters.http_adapter, while a change to services.admin-rpc.src.adapters.http_adapter can't break services.admin-rpc.src.features.authentication.authentication_module.
- Position
- Below the diagonal: services.admin-rpc.src.adapters.http_adapter uses a module listed above it, which is the healthy direction.
27→3 services.admin-rpc.src.features.authentication.application.login_use-case uses services.admin-rpc.src.features.authentication.domain.authentication_port✕
- Connections
- 2 pairs of types, where a type in services.admin-rpc.src.features.authentication.application.login_use-case uses a type in services.admin-rpc.src.features.authentication.domain.authentication_port.
- The types involved
services.admin-rpc.src.features.authentication.application.login_use-case.LoginUseCase→services.admin-rpc.src.features.authentication.domain.authentication_port.AccessTokenIssuerservices.admin-rpc.src.features.authentication.application.login_use-case.LoginUseCase→services.admin-rpc.src.features.authentication.domain.authentication_port.CredentialVerifier
- Direction
- services.admin-rpc.src.features.authentication.application.login_use-case uses services.admin-rpc.src.features.authentication.domain.authentication_port, so a change to services.admin-rpc.src.features.authentication.domain.authentication_port can break services.admin-rpc.src.features.authentication.application.login_use-case, while a change to services.admin-rpc.src.features.authentication.application.login_use-case can't break services.admin-rpc.src.features.authentication.domain.authentication_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.application.login_use-case uses a module listed above it, which is the healthy direction.
27→14 services.admin-rpc.src.features.authentication.application.login_use-case uses services.admin-rpc.src.features.authentication.application.login_port✕
- Connections
- 3 pairs of types, where a type in services.admin-rpc.src.features.authentication.application.login_use-case uses a type in services.admin-rpc.src.features.authentication.application.login_port.
- The types involved
services.admin-rpc.src.features.authentication.application.login_use-case.LoginUseCase→services.admin-rpc.src.features.authentication.application.login_port.Loginservices.admin-rpc.src.features.authentication.application.login_use-case.LoginUseCase→services.admin-rpc.src.features.authentication.application.login_port.TLoginInputservices.admin-rpc.src.features.authentication.application.login_use-case.LoginUseCase→services.admin-rpc.src.features.authentication.application.login_port.TLoginResult
- Direction
- services.admin-rpc.src.features.authentication.application.login_use-case uses services.admin-rpc.src.features.authentication.application.login_port, so a change to services.admin-rpc.src.features.authentication.application.login_port can break services.admin-rpc.src.features.authentication.application.login_use-case, while a change to services.admin-rpc.src.features.authentication.application.login_use-case can't break services.admin-rpc.src.features.authentication.application.login_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.application.login_use-case uses a module listed above it, which is the healthy direction.
28→3 services.admin-rpc.src.features.authentication.infra.configured uses services.admin-rpc.src.features.authentication.domain.authentication_port✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.authentication.infra.configured uses a type in services.admin-rpc.src.features.authentication.domain.authentication_port.
- The types involved
services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier.adapter→services.admin-rpc.src.features.authentication.domain.authentication_port.CredentialVerifier
- Direction
- services.admin-rpc.src.features.authentication.infra.configured uses services.admin-rpc.src.features.authentication.domain.authentication_port, so a change to services.admin-rpc.src.features.authentication.domain.authentication_port can break services.admin-rpc.src.features.authentication.infra.configured, while a change to services.admin-rpc.src.features.authentication.infra.configured can't break services.admin-rpc.src.features.authentication.domain.authentication_port.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.infra.configured uses a module listed above it, which is the healthy direction.
28→16 services.admin-rpc.src.features.authentication.infra.configured uses services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter✕
- Connections
- 1 pair of types, where a type in services.admin-rpc.src.features.authentication.infra.configured uses a type in services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter.
- The types involved
services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier.adapter→services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter.TConfiguredCredentialVerifierOptions
- Direction
- services.admin-rpc.src.features.authentication.infra.configured uses services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter, so a change to services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter can break services.admin-rpc.src.features.authentication.infra.configured, while a change to services.admin-rpc.src.features.authentication.infra.configured can't break services.admin-rpc.src.features.authentication.infra.configured.configured-credential-verifier_adapter.
- Position
- Below the diagonal: services.admin-rpc.src.features.authentication.infra.configured uses a module listed above it, which is the healthy direction.
29→11 services.api-gateway.src.adapters.http.gateway-request-scope uses services.api-gateway.src.shared.logging.gateway-logger_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.adapters.http.gateway-request-scope uses a type in services.api-gateway.src.shared.logging.gateway-logger_port.
- The types involved
services.api-gateway.src.adapters.http.gateway-request-scope.GatewayRequestScope→services.api-gateway.src.shared.logging.gateway-logger_port.GatewayLogger
- Direction
- services.api-gateway.src.adapters.http.gateway-request-scope uses services.api-gateway.src.shared.logging.gateway-logger_port, so a change to services.api-gateway.src.shared.logging.gateway-logger_port can break services.api-gateway.src.adapters.http.gateway-request-scope, while a change to services.api-gateway.src.adapters.http.gateway-request-scope can't break services.api-gateway.src.shared.logging.gateway-logger_port.
- Position
- Below the diagonal: services.api-gateway.src.adapters.http.gateway-request-scope uses a module listed above it, which is the healthy direction.
29→22 services.api-gateway.src.adapters.http.gateway-request-scope uses services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.adapters.http.gateway-request-scope uses a type in services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port.
- The types involved
services.api-gateway.src.adapters.http.gateway-request-scope.GatewayRequestScope→services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port.RouteRpcRequest
- Direction
- services.api-gateway.src.adapters.http.gateway-request-scope uses services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port, so a change to services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port can break services.api-gateway.src.adapters.http.gateway-request-scope, while a change to services.api-gateway.src.adapters.http.gateway-request-scope can't break services.api-gateway.src.features.rpc-routing.application.route-rpc-request_port.
- Position
- Below the diagonal: services.api-gateway.src.adapters.http.gateway-request-scope uses a module listed above it, which is the healthy direction.
30→9 services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses a type in services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- The types involved
services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do.RateLimiterDO→services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.RateLimitPolicyPrimitives
- Direction
- services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy, so a change to services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy can break services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do, while a change to services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do can't break services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses a module listed above it, which is the healthy direction.
30→21 services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses services.api-gateway.src.features.rate-limiting.domain.token-bucket✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- The types involved
services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do.RateLimiterDO→services.api-gateway.src.features.rate-limiting.domain.token-bucket.RateLimitDecision
- Direction
- services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses services.api-gateway.src.features.rate-limiting.domain.token-bucket, so a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket can break services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do, while a change to services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do can't break services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do uses a module listed above it, which is the healthy direction.
31→9 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses a type in services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- The types involved
services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port.ConsumeRateLimitTokenCommand→services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.RateLimitPolicyPrimitives
- Direction
- services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy, so a change to services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy can break services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port, while a change to services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port can't break services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses a module listed above it, which is the healthy direction.
31→21 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses services.api-gateway.src.features.rate-limiting.domain.token-bucket✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- The types involved
services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port.ConsumeRateLimitToken→services.api-gateway.src.features.rate-limiting.domain.token-bucket.RateLimitDecision
- Direction
- services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses services.api-gateway.src.features.rate-limiting.domain.token-bucket, so a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket can break services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port, while a change to services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port can't break services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port uses a module listed above it, which is the healthy direction.
32→9 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses a type in services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- The types involved
services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port.RateLimiter→services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.RateLimitPolicy
- Direction
- services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy, so a change to services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy can break services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port, while a change to services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port can't break services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses a module listed above it, which is the healthy direction.
32→21 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses services.api-gateway.src.features.rate-limiting.domain.token-bucket✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- The types involved
services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port.RateLimiter→services.api-gateway.src.features.rate-limiting.domain.token-bucket.RateLimitDecision
- Direction
- services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses services.api-gateway.src.features.rate-limiting.domain.token-bucket, so a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket can break services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port, while a change to services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port can't break services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port uses a module listed above it, which is the healthy direction.
33→21 services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port uses services.api-gateway.src.features.rate-limiting.domain.token-bucket✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port uses a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- The types involved
services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port.TokenBucketRepository→services.api-gateway.src.features.rate-limiting.domain.token-bucket.TokenBucketSnapshot
- Direction
- services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port uses services.api-gateway.src.features.rate-limiting.domain.token-bucket, so a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket can break services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port, while a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port can't break services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port uses a module listed above it, which is the healthy direction.
34→4 services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses a type in services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe.
- The types involved
services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller.TradingGrpcController→services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe.TGetMarketsGrpcRequest
- Direction
- services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe, so a change to services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe can break services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller, while a change to services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller can't break services.admin-rpc.src.features.coin-information.adapters.grpc.get-markets_grpc_pipe.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses a module listed above it, which is the healthy direction.
34→5 services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses services.admin-rpc.src.features.coin-information.application.get-markets_port✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses a type in services.admin-rpc.src.features.coin-information.application.get-markets_port.
- The types involved
services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller.TradingGrpcController→services.admin-rpc.src.features.coin-information.application.get-markets_port.GetMarkets
- Direction
- services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses services.admin-rpc.src.features.coin-information.application.get-markets_port, so a change to services.admin-rpc.src.features.coin-information.application.get-markets_port can break services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller, while a change to services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller can't break services.admin-rpc.src.features.coin-information.application.get-markets_port.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses a module listed above it, which is the healthy direction.
34→18 services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses a type in services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller.
- The types involved
services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller.TradingGrpcController→services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller.TGetMarketsGrpcResponse
- Direction
- services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller, so a change to services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller can break services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller, while a change to services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller can't break services.admin-rpc.src.features.coin-information.adapters.grpc.admin_grpc_controller.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.adapters.grpc.trading_grpc_controller uses a module listed above it, which is the healthy direction.
35→5 services.trading-rpc.src.features.market-data.application.get-markets_use-case uses services.admin-rpc.src.features.coin-information.application.get-markets_port✕
- Connections
- 3 pairs of types, where a type in services.trading-rpc.src.features.market-data.application.get-markets_use-case uses a type in services.admin-rpc.src.features.coin-information.application.get-markets_port.
- The types involved
services.trading-rpc.src.features.market-data.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.application.get-markets_port.GetMarketsservices.trading-rpc.src.features.market-data.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.application.get-markets_port.TGetMarketsInputservices.trading-rpc.src.features.market-data.application.get-markets_use-case.GetMarketsUseCase→services.admin-rpc.src.features.coin-information.application.get-markets_port.TGetMarketsResult
- Direction
- services.trading-rpc.src.features.market-data.application.get-markets_use-case uses services.admin-rpc.src.features.coin-information.application.get-markets_port, so a change to services.admin-rpc.src.features.coin-information.application.get-markets_port can break services.trading-rpc.src.features.market-data.application.get-markets_use-case, while a change to services.trading-rpc.src.features.market-data.application.get-markets_use-case can't break services.admin-rpc.src.features.coin-information.application.get-markets_port.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.application.get-markets_use-case uses a module listed above it, which is the healthy direction.
35→24 services.trading-rpc.src.features.market-data.application.get-markets_use-case uses services.trading-rpc.src.features.market-data.domain.market-data-provider_port✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.application.get-markets_use-case uses a type in services.trading-rpc.src.features.market-data.domain.market-data-provider_port.
- The types involved
services.trading-rpc.src.features.market-data.application.get-markets_use-case.GetMarketsUseCase→services.trading-rpc.src.features.market-data.domain.market-data-provider_port.MarketDataProvider
- Direction
- services.trading-rpc.src.features.market-data.application.get-markets_use-case uses services.trading-rpc.src.features.market-data.domain.market-data-provider_port, so a change to services.trading-rpc.src.features.market-data.domain.market-data-provider_port can break services.trading-rpc.src.features.market-data.application.get-markets_use-case, while a change to services.trading-rpc.src.features.market-data.application.get-markets_use-case can't break services.trading-rpc.src.features.market-data.domain.market-data-provider_port.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.application.get-markets_use-case uses a module listed above it, which is the healthy direction.
35→25 services.trading-rpc.src.features.market-data.application.get-markets_use-case uses services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.application.get-markets_use-case uses a type in services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.
- The types involved
services.trading-rpc.src.features.market-data.application.get-markets_use-case.GetMarketsUseCase→services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.MarketSnapshotRepository
- Direction
- services.trading-rpc.src.features.market-data.application.get-markets_use-case uses services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port, so a change to services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port can break services.trading-rpc.src.features.market-data.application.get-markets_use-case, while a change to services.trading-rpc.src.features.market-data.application.get-markets_use-case can't break services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.application.get-markets_use-case uses a module listed above it, which is the healthy direction.
36→24 services.trading-rpc.src.features.market-data.infra.coingecko uses services.trading-rpc.src.features.market-data.domain.market-data-provider_port✕
- Connections
- 2 pairs of types, where a type in services.trading-rpc.src.features.market-data.infra.coingecko uses a type in services.trading-rpc.src.features.market-data.domain.market-data-provider_port.
- The types involved
services.trading-rpc.src.features.market-data.infra.coingecko.coingecko-market-data.adapter→services.trading-rpc.src.features.market-data.domain.market-data-provider_port.MarketDataProviderservices.trading-rpc.src.features.market-data.infra.coingecko.coingecko-market-data.adapter→services.trading-rpc.src.features.market-data.domain.market-data-provider_port.MarketDataQuery
- Direction
- services.trading-rpc.src.features.market-data.infra.coingecko uses services.trading-rpc.src.features.market-data.domain.market-data-provider_port, so a change to services.trading-rpc.src.features.market-data.domain.market-data-provider_port can break services.trading-rpc.src.features.market-data.infra.coingecko, while a change to services.trading-rpc.src.features.market-data.infra.coingecko can't break services.trading-rpc.src.features.market-data.domain.market-data-provider_port.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.infra.coingecko uses a module listed above it, which is the healthy direction.
37→12 services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses services.trading-rpc.src.features.market-data.domain.quote-currency✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses a type in services.trading-rpc.src.features.market-data.domain.quote-currency.
- The types involved
services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository.DrizzleMarketSnapshotRepository→services.trading-rpc.src.features.market-data.domain.quote-currency.QuoteCurrency
- Direction
- services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses services.trading-rpc.src.features.market-data.domain.quote-currency, so a change to services.trading-rpc.src.features.market-data.domain.quote-currency can break services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository, while a change to services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository can't break services.trading-rpc.src.features.market-data.domain.quote-currency.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses a module listed above it, which is the healthy direction.
37→25 services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port✕
- Connections
- 1 pair of types, where a type in services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses a type in services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.
- The types involved
services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository.DrizzleMarketSnapshotRepository→services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.MarketSnapshotRepository
- Direction
- services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port, so a change to services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port can break services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository, while a change to services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository can't break services.trading-rpc.src.features.market-data.domain.market-snapshot_repository_port.
- Position
- Below the diagonal: services.trading-rpc.src.features.market-data.infra.postgres.drizzle-market-snapshot_repository uses a module listed above it, which is the healthy direction.
38→30 services.api-gateway.src.adapters.cloudflare.gateway-bindings uses services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.adapters.cloudflare.gateway-bindings uses a type in services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do.
- The types involved
services.api-gateway.src.adapters.cloudflare.gateway-bindings.TGatewayBindings→services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do.RateLimiterDO
- Direction
- services.api-gateway.src.adapters.cloudflare.gateway-bindings uses services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do, so a change to services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do can break services.api-gateway.src.adapters.cloudflare.gateway-bindings, while a change to services.api-gateway.src.adapters.cloudflare.gateway-bindings can't break services.api-gateway.src.features.rate-limiting.adapters.cloudflare.rate-limiter_do.
- Position
- Below the diagonal: services.api-gateway.src.adapters.cloudflare.gateway-bindings uses a module listed above it, which is the healthy direction.
39→21 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses services.api-gateway.src.features.rate-limiting.domain.token-bucket✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- The types involved
services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case.ConsumeRateLimitTokenUseCase→services.api-gateway.src.features.rate-limiting.domain.token-bucket.RateLimitDecision
- Direction
- services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses services.api-gateway.src.features.rate-limiting.domain.token-bucket, so a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket can break services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case, while a change to services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case can't break services.api-gateway.src.features.rate-limiting.domain.token-bucket.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses a module listed above it, which is the healthy direction.
39→31 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses a type in services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port.
- The types involved
services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case.ConsumeRateLimitTokenUseCase→services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port.ConsumeRateLimitToken
- Direction
- services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port, so a change to services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port can break services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case, while a change to services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case can't break services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_port.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses a module listed above it, which is the healthy direction.
39→33 services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses a type in services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port.
- The types involved
services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case.ConsumeRateLimitTokenUseCase→services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port.TokenBucketRepository
- Direction
- services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port, so a change to services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port can break services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case, while a change to services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case can't break services.api-gateway.src.features.rate-limiting.domain.token-bucket_repository_port.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.consume-rate-limit-token.consume-rate-limit-token_use-case uses a module listed above it, which is the healthy direction.
40→9 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy✕
- Connections
- 2 pairs of types, where a type in services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses a type in services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- The types involved
services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case.EnforceRateLimitUseCase→services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.RateLimitPolicyservices.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case.TPathRateLimitOverride→services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.RateLimitPolicy
- Direction
- services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy, so a change to services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy can break services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case, while a change to services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case can't break services.api-gateway.src.features.rate-limiting.domain.rate-limit-policy.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses a module listed above it, which is the healthy direction.
40→11 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses services.api-gateway.src.shared.logging.gateway-logger_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses a type in services.api-gateway.src.shared.logging.gateway-logger_port.
- The types involved
services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case.EnforceRateLimitUseCase→services.api-gateway.src.shared.logging.gateway-logger_port.GatewayLogger
- Direction
- services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses services.api-gateway.src.shared.logging.gateway-logger_port, so a change to services.api-gateway.src.shared.logging.gateway-logger_port can break services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case, while a change to services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case can't break services.api-gateway.src.shared.logging.gateway-logger_port.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses a module listed above it, which is the healthy direction.
40→32 services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port✕
- Connections
- 1 pair of types, where a type in services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses a type in services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port.
- The types involved
services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case.EnforceRateLimitUseCase→services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port.RateLimiter
- Direction
- services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port, so a change to services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port can break services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case, while a change to services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case can't break services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.rate-limiter_port.
- Position
- Below the diagonal: services.api-gateway.src.features.rate-limiting.application.enforce-rate-limit.enforce-rate-limit_use-case uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 39 | High / Critical |
| A02:2025 — Security Misconfiguration | 29 | High / Critical |
| A05:2025 — Injection | 13 | High / Critical |
| A07:2025 — Authentication Failures | 1 | High / Critical |
Roadmap
Begin by resolving the leaked secret in REDACTED and addressing the missing architecture decision records to ensure critical design choices are documented. Next, update the README files to accurately reflect the current repository structure and remove references to non-existent paths. Finally, clean up the dependency lock file by replacing the three deprecated packages to maintain system hygiene.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +5.9 pts | Low | ADR Quality |
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +3.2 pts | Low | Secret Scanning |
| Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (3). | +3.0 pts | Low | Dependency Hygiene |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +4.7 pts | Medium | Architecture documentation |
| Reconcile the README with reality: README.md names `infra/docker/secrets/cloudflare-tunnel-token`, but no file or folder `infra/docker/secrets/cloudflare-tunnel-token` exists; infra/docker/README.md names `infra/docker/secrets/cloudflare-api-token`, but no file or folder `infra/docker/secrets/cloudflare-api-token` exists; infra/docker/README.md names `_SUCCESS.json`, but no file or folder `_SUCCESS.json` exists; services/api-gateway/src/features/README.md names `.handler.ts`, but no file or folder `.handler.ts` exists. | +4.7 pts | Medium | Documentation accuracy |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing. | +1.9 pts | Medium | Security & performance tooling |
| Bound every outbound call: pass `signal: AbortSignal.timeout(ms)` to `fetch`, set `timeout` on the axios instance (`axios.create({ timeout })`), and add retries with back-off (`axios-retry`, `p-retry`) and a breaker (`opossum`, `cockatiel`) around dependencies that fail. | +1.9 pts | Medium | Outbound HTTP resilience |
| Add a README to the 9 of 9 project(s) that lack one — worth up to 2 pts. | +1.7 pts | Medium | Documentation (README) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 2.0 | Slop | IaC & Container Security: Critical IaC: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.3 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.5 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 6.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 7.2 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: High IaC: REDACTED |
| scripts/check-backend-architecture.ts | 7.4 | Mixed | Cyclomatic Complexity: check-backend-architecture.checkBackendArchitecture (cyclomatic 41) |
| apps/dapp/src/screens/home/model/market-gravity.simulation.ts | 7.8 | Mixed | Cyclomatic Complexity: market-gravity.simulation.step (cyclomatic 20) |
| apps/dapp/src/screens/home/ui/market-dashboard.tsx | 7.8 | Mixed | Cyclomatic Complexity: market-dashboard.MarketDashboard (cyclomatic 19) |
| apps/admin/src/screens/dashboard/ui/market-dashboard.tsx | 7.8 | Mixed | God Classes: FunctionTooLong: market-dashboard.MarketsTable |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 84 of 86 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 86 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 249 of 306 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the dependency install for apps/admin/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. Coverage is excluded from the score rather than counted as a near-zero. This is OUR limitation, not a defect in the repo. In the meantime, commit (or publish into the working tree) the lcov/Cobertura report your CI produces and the real number is read on the next scan. You can widen what we reach: optional: commit the lcov/Cobertura report your CI produces, and the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT MEASURED: the JavaScript/TypeScript suite could not be re-run in the analyzer sandbox — the dependency install for apps/admin/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repo — it is excluded from the score.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in apps/admin/ was NOT MEASURED: the dependency install for apps/admin/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in apps/dapp/ was NOT MEASURED: the dependency install for apps/dapp/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the node:test suite in apps/landing/ was NOT MEASURED: the dependency install for apps/landing/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in packages/api-client/ was NOT MEASURED: the dependency install for packages/api-client/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in packages/api-core/ was NOT MEASURED: the dependency install for packages/api-core/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in services/admin-rpc/ was NOT MEASURED: the dependency install for services/admin-rpc/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in services/api-gateway/ was NOT MEASURED: the dependency install for services/api-gateway/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the vitest suite in services/trading-rpc/ was NOT MEASURED: the dependency install for services/trading-rpc/ failed in the analyzer sandbox ([ERROR] Run `mise setup` instead of `pnpm install`.), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (5 contributor(s) across 215 commit(s) sampled, automation and bot accounts excluded). One of them holds 83% of the history; the other 4 hold 4.2% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D19 Documentation Quality — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published REDACTED's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `apps/dapp/src/screens/home/ui/market-bubble.tsx`, `apps/landing/src/screens/home/model/feature-overview.ts`, `apps/landing/src/screens/home/model/tech-stack.ts`, `apps/landing/src/shared/config/site.ts`, `services/admin-rpc/src/platform/fastify/logger-options.ts`, … (+1 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- D34 Knowledge Freshness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. File-level freshness contradicts repo activity: 34 commits in the last 90 days, yet 26 of 45 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 17 — an image could not be built) — olve: node:22-slim@sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3: failed to resolve source metadata for docker.io/library/node:22-slim@sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3": Forbidden; runtime evidence skipped.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'drizzle-orm' is imported (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'drizzle-orm' is imported (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'drizzle-orm' is imported (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'drizzle-orm' is imported (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- R4 Test Coverage — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 33 further occurrence(s) are not listed individually; the score already reflects all 73.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
3 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was check-backend-architecture.checkBackendArchitecture at 41.
What to do
- Bring the 3 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with check-backend-architecture.checkBackendArchitecture (cyclomatic 41), market-gravity.simulation.step (cyclomatic 20), market-dashboard.MarketDashboard (cyclomatic 19). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 3 together lifts Cyclomatic Complexity from 8.7 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
3 method(s) exceeded the cognitive complexity threshold of 15; the worst was check-backend-architecture.checkBackendArchitecture at 58.
What to do
- Bring the 3 bodies over 15 down to 15 or less in Cognitive Complexity — start with check-backend-architecture.checkBackendArchitecture (cognitive 58), market-gravity.simulation.step (cognitive 47), market-dashboard.MarketDashboard (cognitive 21). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 3 together lifts Cognitive Complexity from 8.3 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
6 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 6 FunctionTooLong finding(s) in God Classes — start with market-dashboard.tsx (2), market-table.tsx, users-table.tsx. — One of this dimension's main actionable groups (6 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D5 · Coupling
9 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence, with abstractness counted on 8 of the 9 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 3 classes have LCOM4 above 3.
D9 · Test Distribution
364 test methods: 346 unit, 0 integration, 0 BDD, 18 e2e. The JavaScript/TypeScript suite contributes 364 `it`/`test` case(s) across 95 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 364 tests.
D12 · Dependency Hygiene
43 outdated direct production npm dependency(ies) of 52 graded, 0 pinning defect(s), across 10 REDACTED (10 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 0 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (3). — One of this dimension's main actionable groups (3 recommendation-level).
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 52 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 52 production dependency(ies) this repository's committed lockfile resolves, across 10 product REDACTED manifest(s). Its 107 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: scripts/check-backend-architecture.ts (2×41=82); apps/dapp/src/screens/home/ui/market-dashboard.tsx (4×19=76)
What to do
- Resolve the 2 Hotspot finding(s) in Churn × Complexity Hotspots — start with check-backend-architecture.ts, market-dashboard.tsx. — One of this dimension's main actionable groups (2 warning-level).
D17 · Explicit Debt
0 deducted task-comment markers across 11953 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (8 contexts).
D26 · Project Cohesion
0 of 10 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
13 finding(s): 0 critical, 8 high, 5 medium, 0 low. semgrep hit a parse error in 11 file(s) — `apps/dapp/src/__test__/screens/home/ui/market-gravity-world.test.tsx` (line 53), `apps/dapp/src/screens/home/ui/market-bubble.tsx` (line 18), `apps/landing/src/screens/home/model/feature-overview.ts` (line 38), `apps/landing/src/screens/home/model/tech-stack.ts` (line 15), `apps/landing/src/shared/config/site.ts` (line 18), … (+6 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 2 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
35 finding(s): 4 critical, 22 high, 9 medium, 0 low.
What to do
- Resolve the 21 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (17), REDACTED (4). — One of this dimension's main actionable groups (21 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
D31 · IaC & Container Security
38 finding(s): 2 critical, 3 high, 22 medium, 11 low.
What to do
- Resolve the 20 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (11), REDACTED (4), REDACTED (3). — One of this dimension's main actionable groups (20 warning-level).
- Resolve the 3 High IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Critical IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
AC2 · Forms & labels
AC3 · Page structure
- A page with no <title> gives no name in the tab, history or screen-reader page list. Declare it the way this router does — Next App Router `export const metadata = { title }`, React Router/Remix `export function meta`, TanStack Start `head`, or a Helmet/Head component. (×2) — apps/dapp/app/layout.tsx:37, apps/dapp/src/bootstrap/errors/global-error-page.tsx:19
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×3) — apps/dapp/app/layout.tsx:37, apps/dapp/src/bootstrap/errors/global-error-page.tsx:19, apps/landing/src/widgets/site-shell/ui/site-shell.astro:47
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- `.btn` moves (`transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — apps/landing/src/shared/styles/global.css:100
- `css-in-js object` moves (`animationName: 'spin'`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — apps/dapp/src/shared/ui/page-loader.tsx:22
- `css-in-js object` moves (`animation: 'terminalReveal 520ms cubic-bezier(0.16, 1, 0.3, 1) both'`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — apps/dapp/src/screens/home/ui/market-dashboard.tsx:40
- `css-in-js object` moves (`animation: 'fadeIn 1.5s ease-in-out infinite alternate'`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:118
- `css-in-js object` moves (`animation: isFetching ? 'spin' : undefined`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:518
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — your Biome config enables no a11y rules and there's no axe/pa11y/Lighthouse in tests or CI. Start by turning on Biome's own a11y rule group to catch issues at author time. What was searched, so you can tell an absence from a miss: the 57 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain you already use: enable Biome's a11y rule group in your biome.json `linter.rules` (it is off whenever `recommended` is false and the group is unlisted), then assert with vitest-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
AX7 · Slice cohesion
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own.
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add a README to the 9 of 9 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- README.md names `infra/docker/secrets/cloudflare-tunnel-token`, but no file or folder `infra/docker/secrets/cloudflare-tunnel-token` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:412
- infra/docker/README.md names `infra/docker/secrets/cloudflare-api-token`, but no file or folder `infra/docker/secrets/cloudflare-api-token` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — infra/docker/README.md:251
- infra/docker/README.md names `_SUCCESS.json`, but no file or folder `_SUCCESS.json` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — infra/docker/README.md:289
- services/api-gateway/src/features/README.md names `.handler.ts`, but no file or folder `.handler.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — services/api-gateway/src/features/README.md:197
What to do
- Reconcile the README with reality: README.md names `infra/docker/secrets/cloudflare-tunnel-token`, but no file or folder `infra/docker/secrets/cloudflare-tunnel-token` exists; infra/docker/README.md names `infra/docker/secrets/cloudflare-api-token`, but no file or folder `infra/docker/secrets/cloudflare-api-token` exists; infra/docker/README.md names `_SUCCESS.json`, but no file or folder `_SUCCESS.json` exists; services/api-gateway/src/features/README.md names `.handler.ts`, but no file or folder `.handler.ts` exists.
P1 · CI/CD gates
P2 · Observability
- `apps/dapp/src/shared/lib/logger/logger.ts` reports through `console.*` at line 23 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — apps/dapp/src/shared/lib/logger/logger.ts:23
- `services/api-gateway/src/adapters/http/gateway-error-handler.ts` reports through `console.*` at line 42 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — services/api-gateway/src/adapters/http/gateway-error-handler.ts:42
- `services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts` reports through `console.*` at line 61 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts:61
- `services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts` reports through `console.*` at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts:64
- `services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts` reports through `console.*` at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts:67
What to do
- Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
- Add OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) so requests are traceable across the system, not just health-probable.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 27312 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P5 · DR & Backup
What to do
- Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
P6 · Release Hygiene
P7 · Outbound HTTP resilience
- `fetcher(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — services/trading-rpc/src/features/market-data/infra/coingecko/coingecko-market-data.adapter.ts:83
What to do
- Bound every outbound call: pass `signal: AbortSignal.timeout(ms)` to `fetch`, set `timeout` on the axios instance (`axios.create({ timeout })`), and add retries with back-off (`axios-retry`, `p-retry`) and a breaker (`opossum`, `cockatiel`) around dependencies that fail.
P8 · Schema migrations
PF3 · Async & latency hygiene
- `readFileSync` in `callback to resolveRuntimeEnvironment` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — services/admin-rpc/src/index.ts:56, services/trading-rpc/src/index.ts:66
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
R1 · Type Safety
R10 · Code Duplication
- 29 duplicated blocks under services/ have copies in at least two of the sibling directories admin-rpc, api-gateway, trading-rpc — 15 of them are reported below, and 14 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 29 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 29 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 29 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — services/admin-rpc/src/adapters/http.adapter.ts:1
- 9 duplicated blocks under apps/ have copies in at least two of the sibling directories admin, dapp, landing — 5 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 9 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 9 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 9 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — apps/admin/eslint.config.ts:29
- services/admin-rpc/src/adapters/http.adapter.ts:1 · services/trading-rpc/src/adapters/http.adapter.ts:1 — these 2 files are line-for-line copies of one another — 79 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — services/admin-rpc/src/adapters/http.adapter.ts:1
- services/admin-rpc/src/config/runtime-config.ts:4 · services/trading-rpc/src/config/runtime-config.ts:4 — the two spans are one implementation copied and then locally edited — 473 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — services/admin-rpc/src/config/runtime-config.ts:4
- services/admin-rpc/src/index.ts:13 · services/trading-rpc/src/index.ts:21 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — services/admin-rpc/src/index.ts:13
- apps/admin/eslint.config.ts:29 · apps/dapp/eslint.config.ts:35 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — apps/admin/eslint.config.ts:29
- apps/admin/src/screens/dashboard/model/market.formatters.ts:1 · apps/dapp/src/screens/home/model/market.formatters.ts:1 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — apps/admin/src/screens/dashboard/model/market.formatters.ts:1
- apps/admin/src/screens/dashboard/model/market.mapper.ts:14 · apps/dapp/src/screens/home/model/market.mapper.ts:29 — the two spans are one implementation copied and then locally edited — 240 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — apps/admin/src/screens/dashboard/model/market.mapper.ts:14
- services/admin-rpc/src/features/coin-information/adapters/connect/admin-service.routes.ts:19 · services/trading-rpc/src/features/market-data/adapters/connect/trading-service.routes.ts:21 — the two spans are one implementation copied and then locally edited — 187 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — services/admin-rpc/src/features/coin-information/adapters/connect/admin-service.routes.ts:19
- services/admin-rpc/src/index.ts:86 · services/trading-rpc/src/index.ts:86 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — services/admin-rpc/src/index.ts:86
- apps/admin/src/screens/dashboard/model/market.schema.ts:7 · apps/dapp/src/screens/home/model/market.schema.ts:4 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS — bindings the module declares and exports — rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER — the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration — one binding per distinct thing, differing precisely in the thing each one names — the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited. — apps/admin/src/screens/dashboard/model/market.schema.ts:7
- apps/admin/src/screens/login/ui/login-form.tsx:14 · apps/admin/src/screens/users/ui/user-form.tsx:13 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — apps/admin/src/screens/login/ui/login-form.tsx:14
- services/admin-rpc/src/platform/nest/request-logging.interceptor.ts:14 · services/trading-rpc/src/platform/nest/request-logging.interceptor.ts:14 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — services/admin-rpc/src/platform/nest/request-logging.interceptor.ts:14
- apps/admin/eslint.config.ts:34 · apps/dapp/eslint.config.ts:40 · apps/landing/eslint.config.ts:28 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — apps/admin/eslint.config.ts:34
- services/admin-rpc/scripts/check-architecture.ts:8 · services/trading-rpc/scripts/check-architecture.ts:8 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — services/admin-rpc/scripts/check-architecture.ts:8
- services/admin-rpc/src/features/authentication/adapters/grpc/auth.grpc-exception.filter.ts:12 · services/admin-rpc/src/features/coin-information/adapters/grpc/admin.grpc-exception.filter.ts:12 · services/trading-rpc/src/features/market-data/adapters/grpc/trading.grpc-exception.filter.ts:12 — the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — services/admin-rpc/src/features/authentication/adapters/grpc/auth.grpc-exception.filter.ts:12
- services/admin-rpc/src/config/runtime-environment.ts:5 · services/trading-rpc/src/config/runtime-environment.ts:4 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — services/admin-rpc/src/config/runtime-environment.ts:5
- services/admin-rpc/src/infra/grpc-protocol.ts:11 · services/trading-rpc/src/infra/grpc-protocol.ts:9 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — services/admin-rpc/src/infra/grpc-protocol.ts:11
- apps/admin/src/widgets/app-shell/ui/app-shell.tsx:139 · apps/admin/src/widgets/app-shell/ui/app-shell.tsx:183 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — apps/admin/src/widgets/app-shell/ui/app-shell.tsx:139
- services/admin-rpc/src/features/coin-information/adapters/get-markets.schema.ts:3 · services/trading-rpc/src/features/market-data/adapters/get-markets.schema.ts:3 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS — bindings the module declares and exports — rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER — the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration — one binding per distinct thing, differing precisely in the thing each one names — the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited. — services/admin-rpc/src/features/coin-information/adapters/get-markets.schema.ts:3
- services/admin-rpc/src/features/coin-information/adapters/grpc/admin.grpc.controller.ts:12 · services/trading-rpc/src/features/market-data/adapters/grpc/trading.grpc.controller.ts:12 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — services/admin-rpc/src/features/coin-information/adapters/grpc/admin.grpc.controller.ts:12
- services/admin-rpc/src/infra/rpc-transport.ts:1 · services/trading-rpc/src/infra/rpc-transport.ts:1 — the two spans are one implementation copied and then locally edited — 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — services/admin-rpc/src/infra/rpc-transport.ts:1
- apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:401 · apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:412 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:401
- apps/dapp/src/screens/home/model/market-gravity.simulation.ts:103 · apps/dapp/src/screens/home/model/market-gravity.simulation.ts:140 — the two spans are one implementation copied and then locally edited — 88 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — apps/dapp/src/screens/home/model/market-gravity.simulation.ts:103
- services/admin-rpc/scripts/check-architecture.ts:2 · services/api-gateway/scripts/check-architecture.ts:2 · services/trading-rpc/scripts/check-architecture.ts:2 — the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — services/admin-rpc/scripts/check-architecture.ts:2
- services/trading-rpc/src/features/market-data/domain/coin-id.ts:12 · services/trading-rpc/src/features/market-data/domain/quote-currency.ts:6 — the two spans are one implementation copied and then locally edited — 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — services/trading-rpc/src/features/market-data/domain/coin-id.ts:12
- scripts/check-backend-architecture.ts:142 · scripts/check-backend-architecture.ts:311 — the two spans are one implementation copied and then locally edited — 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — scripts/check-backend-architecture.ts:142
- apps/dapp/src/screens/home/ui/market-state.tsx:82 · apps/dapp/src/screens/home/ui/market-state.tsx:132 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — apps/dapp/src/screens/home/ui/market-state.tsx:82
- packages/api-client/src/index.ts:20 · packages/api-client/src/index.ts:29 · packages/api-client/src/index.ts:38 · packages/api-client/src/index.ts:47 — all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/api-client/src/index.ts:20
- services/admin-rpc/scripts/copy-proto-assets.ts:4 · services/trading-rpc/scripts/copy-proto-assets.ts:4 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — services/admin-rpc/scripts/copy-proto-assets.ts:4
- apps/admin/src/screens/dashboard/model/market.schema.ts:10 · apps/dapp/src/screens/home/model/market.schema.ts:7 · services/admin-rpc/src/features/coin-information/infra/grpc/trading-rpc-market-data.adapter.ts:13 — the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — apps/admin/src/screens/dashboard/model/market.schema.ts:10
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- packages/api-core/scripts/check-architecture.ts:2 reaches into another package with a relative path (../../../scripts/check-backend-architecture.ts) — import the package by name instead. — packages/api-core/scripts/check-architecture.ts:2
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
- (anonymous) has cyclomatic complexity 41 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — scripts/check-backend-architecture.ts:230
- (anonymous) has cyclomatic complexity 20 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — apps/dapp/src/screens/home/model/market-gravity.simulation.ts:86
- MarketDashboard has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — apps/dapp/src/screens/home/ui/market-dashboard.tsx:58
- createServer has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — services/admin-rpc/src/adapters/http.adapter.ts:49, services/trading-rpc/src/adapters/http.adapter.ts:60
- (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — services/trading-rpc/src/config/runtime-config.ts:72
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — services/admin-rpc/src/config/runtime-config.ts:81
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — scripts/smoke-deployment.ts:92
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- apps/admin/src/screens/dashboard/ui/market-dashboard.tsx has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- services/trading-rpc/src/features/market-data/infra/postgres/drizzle-migrations.test.ts:4 imports './migrations/', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing. — services/trading-rpc/src/features/market-data/infra/postgres/drizzle-migrations.test.ts:4
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×39) — apps/admin/src/screens/users/ui/users-table.tsx:1, apps/admin/src/widgets/app-shell/ui/app-shell.tsx:1, scripts/smoke-deployment.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
- This repository declares test tooling, and the ✓ above records that declaration — but services/trading-rpc/src/features/market-data/infra/postgres/drizzle-migrations.test.ts cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) — each one is reported with its failing import under Test Coverage — then the declared script exercises what it claims to. — services/trading-rpc/src/features/market-data/infra/postgres/drizzle-migrations.test.ts:4
R7 · Dead Code
- Unreachable from the 89 application, 41 tooling and 105 test entry point(s) detected in this repo. Gate removals on `pnpm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (89 application, 41 tooling, 105 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×9) — apps/landing/src/screens/home/model/feature-overview.ts, apps/landing/src/screens/home/model/tech-stack.ts, services/trading-rpc/scripts/copy-proto-assets.ts, …
- no import path from any entry point (89 application, 41 tooling, 105 test roots considered), but 2 in-repo import(s) from 1 other file(s) do name it (apps/landing/src/shared/config/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — apps/landing/src/shared/config/site.ts
- no import path from any entry point (89 application, 41 tooling, 105 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (apps/landing/src/shared/seo/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — apps/landing/src/shared/seo/create-robots-response.ts
- no import path from any entry point (89 application, 41 tooling, 105 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (apps/landing/astro/pages/robots.txt.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — apps/landing/src/shared/seo/index.ts
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/bootstrap/errors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/bootstrap/errors/index.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — apps/dapp/src/bootstrap/errors/error-page.tsx:10, apps/dapp/src/bootstrap/errors/global-error-page.tsx:7
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/bootstrap/instrumentation/index.client.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/bootstrap/instrumentation/index.client.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/bootstrap/instrumentation/instrumentation.client.ts:21
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/bootstrap/instrumentation/index.server.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/bootstrap/instrumentation/index.server.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — apps/dapp/src/bootstrap/instrumentation/instrumentation.server.ts:4, apps/dapp/src/bootstrap/instrumentation/instrumentation.server.ts:14
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/bootstrap/metadata/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/bootstrap/metadata/index.ts in the same commit, or the barrel will import a name that no longer exists. (×3) — apps/dapp/src/bootstrap/metadata/manifest.ts:4, apps/dapp/src/bootstrap/metadata/robots.ts:4, apps/dapp/src/bootstrap/metadata/sitemap.ts:4
- Nothing imports this binding — it is safe to review for removal. (×2) — apps/dapp/src/bootstrap/proxy/proxy.ts:108, services/api-gateway/src/adapters/http/gateway-app.ts:73
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/bootstrap/routes/index.server.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/bootstrap/routes/index.server.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — apps/dapp/src/bootstrap/routes/get-current-session-route.ts:4, apps/dapp/src/bootstrap/routes/get-health-route.ts:6
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/screens/account/index.server.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/screens/account/index.server.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/screens/account/ui/account-page.tsx:10
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/screens/home/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/screens/home/index.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/screens/home/ui/home-page.tsx:41
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/screens/not-found/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/screens/not-found/index.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/screens/not-found/ui/not-found-page.tsx:10
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/screens/sign-in/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/screens/sign-in/index.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/screens/sign-in/ui/sign-in-page.tsx:10
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/shared/lib/logger/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/shared/lib/logger/index.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/shared/lib/logger/logger.ts:30
- Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dapp/src/shared/ui/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in apps/dapp/src/shared/ui/index.ts in the same commit, or the barrel will import a name that no longer exists. — apps/dapp/src/shared/ui/page-loader.tsx:4
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×2)
- Declared in packages/protocol/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
- Only test files import it (first: services/trading-rpc/src/adapters/http.adapter.test.ts:6) — move it to devDependencies. — services/trading-rpc/package.json:24
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
S1 · Web-Security Posture
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
- `JSON.stringify(data).replace(/</g,'\\u003c')` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — REDACTED:14
What to do
- Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — apps/dapp/src/features/sign-in/ui/login-form.tsx:61
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X4 · Structured logging
X5 · Nullable reference types
- 10/11 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 85% | Strong | Solid. |
| Architecture | 93% | Exemplary | Solid. |
| Maturity | 50% | Adequate — gated by M2, M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 55% | Adequate — gated by P3, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 74% | Adequate — gated by D29, D30, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Accessibility | 61% | Adequate | Acceptable, with room to improve. |
| Performance | 70% | Strong | Solid. |
Unscored — 3 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 6 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X10 Duplicated predicate — 6 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
- X7 Silent fallback defaults — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through 'drizzle-orm' (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
- C4 Data Retention — Not assessed: this repository stores data through 'drizzle-orm' (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
- C5 Data-Subject Rights — Not assessed: this repository stores data through 'drizzle-orm' (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
Not included — 47 check(s) not relevant to this codebase
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AX1 Captive dependencies — Not applicable: NestJS makes a provider that injects a request-scoped one request-scoped itself (scope bubbles up the injection chain), and gives every consumer its own transient instance by contract.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 17 — an image could not be built) — olve: node:22-slim@sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3: failed to resolve source metadata for docker.io/library/node:22-slim@sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3": Forbidden; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: this repository stores data through 'drizzle-orm' (services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.ts:7) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so the absence of a personal-data field here is not evidence that none is stored, and encryption at rest is not scored over a subject that could not be established.
- D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D19 Documentation Quality — LLM evaluation failed
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.mjs,.ts,.tsx), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 6 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — JavaScript/TypeScript suite
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage --coverage.reporter=lcovonly`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a REDACTED, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R5 Dependency Freshness — uses a pnpm lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 41 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Document without a <title> apps/dapp/app/layout.tsx:37
- Document without a <title> apps/dapp/src/bootstrap/errors/global-error-page.tsx:19
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 166 finding(s)
- No test reaches this file apps/admin/src/screens/users/ui/users-table.tsx:1
- No test reaches this file apps/admin/src/widgets/app-shell/ui/app-shell.tsx:1
- No test reaches this file scripts/smoke-deployment.ts:1
- No test reaches this file apps/dapp/src/features/sign-in/ui/login-form.tsx:1
- No test reaches this file apps/dapp/src/screens/not-found/ui/not-found-page.tsx:1
- No test reaches this file services/admin-rpc/src/index.ts:1
- No test reaches this file apps/dapp/src/bootstrap/errors/error-page.tsx:1
- No test reaches this file apps/admin/src/screens/login/ui/login-form.tsx:1
- No test reaches this file apps/admin/src/screens/users/ui/user-form.tsx:1
- No test reaches this file apps/dapp/src/bootstrap/errors/global-error-page.tsx:1
- No test reaches this file apps/dapp/src/shared/ui/toaster.tsx:1
- No test reaches this file apps/dapp/src/bootstrap/metadata/app-metadata.ts:1
- No test reaches this file apps/admin/src/screens/dashboard/ui/dashboard-page.tsx:1
- No test reaches this file apps/admin/src/bootstrap/router/router.tsx:1
- No test reaches this file apps/dapp/src/screens/account/ui/account-session.tsx:1
- No test reaches this file apps/dapp/src/screens/home/ui/home-page.tsx:1
- No test reaches this file apps/dapp/app/layout.tsx:1
- No test reaches this file apps/admin/src/bootstrap/router/route-error.tsx:1
- No test reaches this file apps/dapp/src/screens/sign-in/ui/sign-in-page.tsx:1
- No test reaches this file apps/admin/src/screens/login/ui/login-page.tsx:1
- No test reaches this file apps/admin/src/screens/users/ui/users-page.tsx:1
- No test reaches this file apps/landing/src/screens/home/model/feature-overview.ts:1
- No test reaches this file apps/dapp/src/bootstrap/providers/devtools.tsx:1
- No test reaches this file apps/admin/src/shared/model/ui.store.ts:1
- No test reaches this file apps/admin/src/screens/not-found/ui/not-found-page.tsx:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- FunctionTooLong: market-table.MarketTable apps/dapp/src/screens/home/ui/market-table.tsx:145
- FunctionTooLong: users-table.UsersTable apps/admin/src/screens/users/ui/users-table.tsx:65
- FunctionTooLong: check-backend-architecture.checkBackendArchitecture scripts/check-backend-architecture.ts:216
- FunctionTooLong: not-found-page.NotFoundPage apps/dapp/src/screens/not-found/ui/not-found-page.tsx:10
- FunctionTooLong: market-dashboard.MarketsTable apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:325
- FunctionTooLong: market-dashboard.MarketOverview apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:178
- Workspace package's tests never run by CI apps/admin/package.json:14
- Workspace package's tests never run by CI packages/api-client/package.json:11
- Workspace package's tests never run by CI packages/api-core/package.json:13
- Workspace package's tests never run by CI REDACTED:13
- Workspace package's tests never run by CI REDACTED:14
- Workspace package's tests never run by CI services/trading-rpc/package.json:17
- Animation without a prefers-reduced-motion guard apps/landing/src/shared/styles/global.css:100
- Animation without a prefers-reduced-motion guard apps/dapp/src/shared/ui/page-loader.tsx:22
- Animation without a prefers-reduced-motion guard apps/dapp/src/screens/home/ui/market-dashboard.tsx:40
- Animation without a prefers-reduced-motion guard apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:118
- Animation without a prefers-reduced-motion guard apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:518
- Dead file (~1 LoC) apps/landing/src/screens/home/index.ts
- Dead file (~1 LoC) apps/landing/src/screens/not-found/index.ts
- Dead file (~1 LoC) apps/landing/src/shared/seo/index.ts
- Dead file (~1 LoC) apps/landing/src/shared/styles/index.ts
- Dead file (~1 LoC) apps/landing/src/widgets/site-shell/index.ts
- Page without a main landmark apps/dapp/app/layout.tsx:37
- Page without a main landmark apps/dapp/src/bootstrap/errors/global-error-page.tsx:19
- Page without a main landmark apps/landing/src/widgets/site-shell/ui/site-shell.astro:47
- Duplicated block (15 lines × 2 locations) apps/admin/src/widgets/app-shell/ui/app-shell.tsx:139
- Duplicated block (15 lines × 2 locations) services/admin-rpc/src/features/coin-information/adapters/get-markets.schema.ts:3
- Duplicated block (15 lines × 2 locations) services/admin-rpc/src/features/coin-information/adapters/grpc/admin.grpc.controller.ts:12
- Hotspot: scripts/check-backend-architecture.ts scripts/check-backend-architecture.ts:216
- Hotspot: apps/dapp/src/screens/home/ui/market-dashboard.tsx apps/dapp/src/screens/home/ui/market-dashboard.tsx:58
- REDACTED
- REDACTED
- Sync-over-async blocking services/admin-rpc/src/index.ts:56
- Sync-over-async blocking services/trading-rpc/src/index.ts:66
- Duplicated block (24 lines × 2 locations) apps/admin/src/screens/login/ui/login-form.tsx:14
- Duplicated block (24 lines × 2 locations) services/admin-rpc/src/platform/nest/request-logging.interceptor.ts:14
- Duplicated block (17 lines × 2 locations) services/admin-rpc/src/config/runtime-environment.ts:5
- Duplicated block (17 lines × 2 locations) services/admin-rpc/src/infra/grpc-protocol.ts:11
- Complex function createServer (cyclomatic 12, cognitive 11) services/admin-rpc/src/adapters/http.adapter.ts:49
- Complex function createServer (cyclomatic 12, cognitive 11) services/trading-rpc/src/adapters/http.adapter.ts:60
- Accessibility enforcement below the top rung
- check-backend-architecture.checkBackendArchitecture (cyclomatic 41) scripts/check-backend-architecture.ts:216
- market-gravity.simulation.step (cyclomatic 20) apps/dapp/src/screens/home/model/market-gravity.simulation.ts:82
- market-dashboard.MarketDashboard (cyclomatic 19) apps/dapp/src/screens/home/ui/market-dashboard.tsx:58
- check-backend-architecture.checkBackendArchitecture (cognitive 58) scripts/check-backend-architecture.ts:216
- market-gravity.simulation.step (cognitive 47) apps/dapp/src/screens/home/model/market-gravity.simulation.ts:82
- market-dashboard.MarketDashboard (cognitive 21) apps/dapp/src/screens/home/ui/market-dashboard.tsx:58
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Off the main sequence: @packages/api-core
- Outbound HTTP without resilience services/trading-rpc/src/features/market-data/infra/coingecko/coingecko-market-data.adapter.ts:83
- Duplication concentrated across 3 sibling directories (29 clone groups) services/admin-rpc/src/adapters/http.adapter.ts:1
- Duplication concentrated across 3 sibling directories (9 clone groups) apps/admin/eslint.config.ts:29
- Wholesale file copy (79 identical lines × 2 files) services/admin-rpc/src/adapters/http.adapter.ts:1
- Duplicated block with local edits (72 matched lines × 2 locations) services/admin-rpc/src/config/runtime-config.ts:4
- Duplicated block (51 lines × 2 locations) services/admin-rpc/src/index.ts:13
- Duplicated block (46 lines × 2 locations) apps/admin/eslint.config.ts:29
- Duplicated block (43 lines × 2 locations) apps/admin/src/screens/dashboard/model/market.formatters.ts:1
- Duplicated block with local edits (41 matched lines × 2 locations) apps/admin/src/screens/dashboard/model/market.mapper.ts:14
- Duplicated block with local edits (39 matched lines × 2 locations) services/admin-rpc/src/features/coin-information/adapters/connect/admin-service.routes.ts:19
- Duplicated block (33 lines × 2 locations) services/admin-rpc/src/index.ts:86
- Duplicated block (26 lines × 2 locations) apps/admin/src/screens/dashboard/model/market.schema.ts:7
- Duplicated block (23 lines × 3 locations) apps/admin/eslint.config.ts:34
- Duplicated block (20 lines × 2 locations) services/admin-rpc/scripts/check-architecture.ts:8
- Duplicated block (18 lines × 3 locations) services/admin-rpc/src/features/authentication/adapters/grpc/auth.grpc-exception.filter.ts:12
- Duplicated block with local edits (12 matched lines × 2 locations) services/admin-rpc/src/infra/rpc-transport.ts:1
- Duplicated block (11 lines × 2 locations) apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:401
- Duplicated block with local edits (11 matched lines × 2 locations) apps/dapp/src/screens/home/model/market-gravity.simulation.ts:103
- Duplicated block (11 lines × 3 locations) services/admin-rpc/scripts/check-architecture.ts:2
- Duplicated block with local edits (10 matched lines × 2 locations) services/trading-rpc/src/features/market-data/domain/coin-id.ts:12
- Duplicated block with local edits (8 matched lines × 2 locations) scripts/check-backend-architecture.ts:142
- Duplicated block (7 lines × 2 locations) apps/dapp/src/screens/home/ui/market-state.tsx:82
- Duplicated block (6 lines × 4 locations) packages/api-client/src/index.ts:20
- Duplicated block (6 lines × 2 locations) services/admin-rpc/scripts/copy-proto-assets.ts:4
- Duplicated block (5 lines × 3 locations) apps/admin/src/screens/dashboard/model/market.schema.ts:10
- Boundary violation [package:relative-cross-package] packages/api-core/scripts/check-architecture.ts:2
- Complex function (anonymous) (cyclomatic 41, cognitive 57) scripts/check-backend-architecture.ts:230
- Complex function (anonymous) (cyclomatic 20, cognitive 47) apps/dapp/src/screens/home/model/market-gravity.simulation.ts:86
- Complex function MarketDashboard (cyclomatic 17, cognitive 16) apps/dapp/src/screens/home/ui/market-dashboard.tsx:58
- Complex function (anonymous) (cyclomatic 12, cognitive 11) services/trading-rpc/src/config/runtime-config.ts:72
- Complex function (anonymous) (cyclomatic 11, cognitive 10) services/admin-rpc/src/config/runtime-config.ts:81
- Complex function (anonymous) (cyclomatic 11, cognitive 9) scripts/smoke-deployment.ts:92
- apps/admin/src/screens/dashboard/ui/market-dashboard.tsx: 514 lines of code apps/admin/src/screens/dashboard/ui/market-dashboard.tsx:1
- This test file cannot be loaded services/trading-rpc/src/features/market-data/infra/postgres/drizzle-migrations.test.ts:4
- The declared test suite includes a file that cannot be loaded services/trading-rpc/src/features/market-data/infra/postgres/drizzle-migrations.test.ts:4
- Dead file (~38 LoC) apps/landing/src/screens/home/model/feature-overview.ts
- Dead file (~22 LoC) apps/landing/src/shared/config/site.ts
- Dead file (~17 LoC) apps/landing/src/shared/seo/create-robots-response.ts
- Dead file (~15 LoC) apps/landing/src/screens/home/model/tech-stack.ts
- Dead file (~10 LoC) services/trading-rpc/scripts/copy-proto-assets.ts
- Dead file (~4 LoC) apps/landing/astro/pages/robots.txt.ts
- Dead file (~2 LoC) apps/landing/src/shared/config/index.ts
- Unused dependency '@tanstack/react-table'
- Unused dependency 'date-fns'
- Unused dependency '@bufbuild/protoc-gen-es'
- Untrusted text written into markup unescaped REDACTED:14
- Swallowed exception (empty catch) apps/dapp/src/features/sign-in/ui/login-form.tsx:61
Minor — 56 finding(s)
- Duplicated predicate apps/admin/src/screens/login/api/login.api.ts:20
- Duplicated predicate apps/admin/src/screens/dashboard/model/market.mapper.ts:60
- Duplicated predicate apps/admin/src/screens/dashboard/model/market.mapper.ts:56
- Duplicated predicate services/admin-rpc/src/infra/rpc-transport.ts:8
- Duplicated predicate services/admin-rpc/src/infra/rpc-transport.ts:7
- Duplicated predicate services/admin-rpc/src/platform/fastify/request-log-bindings.ts:17
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Console output used as the logging channel apps/dapp/src/shared/lib/logger/logger.ts:23
- Console output used as the logging channel services/api-gateway/src/adapters/http/gateway-error-handler.ts:42
- Console output used as the logging channel services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts:61
- Console output used as the logging channel services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts:64
- Console output used as the logging channel services/api-gateway/src/shared/logging/console-gateway-logger.adapter.ts:67
- Mock-dominated test: should activate pointer repulsion only while the canvas pointer is present apps/dapp/src/__test__/screens/home/ui/market-gravity-world.test.tsx:160
- Mock-dominated test: should apply generated Drizzle migrations during Nest bootstrap services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.test.ts:48
- Mock-dominated test: should skip Drizzle when there are no snapshots to save services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.test.ts:149
- Mock-dominated test: should drain its node-postgres pool during Nest shutdown services/trading-rpc/src/features/market-data/infra/postgres/drizzle-market-snapshot.repository.test.ts:163
- README/code drift README.md:412
- README/code drift infra/docker/README.md:251
- README/code drift infra/docker/README.md:289
- README/code drift services/api-gateway/src/features/README.md:197
- Deprecated: @esbuild-kit/core-utils REDACTED:1294
- Deprecated: @esbuild-kit/esm-loader REDACTED:1298
- Deprecated: tsconfck REDACTED:7162
- No named authorization policies
- No ADRs found
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No SAST
- Unused export 'ErrorPage' apps/dapp/src/bootstrap/errors/error-page.tsx:10
- Unused export 'GlobalErrorPage' apps/dapp/src/bootstrap/errors/global-error-page.tsx:7
- Unused export 'onRouterTransitionStart' apps/dapp/src/bootstrap/instrumentation/instrumentation.client.ts:21
- Unused export 'register' apps/dapp/src/bootstrap/instrumentation/instrumentation.server.ts:4
- Unused export 'onRequestError' apps/dapp/src/bootstrap/instrumentation/instrumentation.server.ts:14
- Unused export 'createManifest' apps/dapp/src/bootstrap/metadata/manifest.ts:4
- Unused export 'createRobots' apps/dapp/src/bootstrap/metadata/robots.ts:4
- Unused export 'createSitemap' apps/dapp/src/bootstrap/metadata/sitemap.ts:4
- Unused export 'config' apps/dapp/src/bootstrap/proxy/proxy.ts:108
- Unused export 'getCurrentSession' apps/dapp/src/bootstrap/routes/get-current-session-route.ts:4
- Unused export 'getHealth' apps/dapp/src/bootstrap/routes/get-health-route.ts:6
- Unused export 'AccountPage' apps/dapp/src/screens/account/ui/account-page.tsx:10
- Unused export 'HomePage' apps/dapp/src/screens/home/ui/home-page.tsx:41
- Unused export 'NotFoundPage' apps/dapp/src/screens/not-found/ui/not-found-page.tsx:10
- Unused export 'SignInPage' apps/dapp/src/screens/sign-in/ui/sign-in-page.tsx:10
- Unused export 'createTaggedLogger' apps/dapp/src/shared/lib/logger/logger.ts:30
- Unused export 'PageLoader' apps/dapp/src/shared/ui/page-loader.tsx:4
- Unused export 'GatewayApp' services/api-gateway/src/adapters/http/gateway-app.ts:73
- Test-only dependency '@connectrpc/connect-node' in production deps services/trading-rpc/package.json:24
- Strict null checking is not enabled everywhere the repository type-checks
- Silent fallback default in catch apps/dapp/src/shared/lib/url/url.ts:10
Minor — 43 finding(s)
- Outdated (npm): @ark-ui/react
- Outdated (npm): @astrojs/sitemap
- Outdated (npm): @bufbuild/protobuf
- Outdated (npm): @connectrpc/connect
- Outdated (npm): @connectrpc/connect-fastify
- Outdated (npm): @connectrpc/connect-node
- Outdated (npm): @connectrpc/connect-web
- Outdated (npm): @fastify/cors
- Outdated (npm): @fastify/rate-limit
- Outdated (npm): @grpc/grpc-js
- Outdated (npm): @hookform/resolvers
- Outdated (npm): @nestjs/common
- Outdated (npm): @nestjs/core
- Outdated (npm): @nestjs/microservices
- Outdated (npm): @nestjs/platform-fastify
- Outdated (npm): @react-three/drei
- Outdated (npm): @react-three/fiber
- Outdated (npm): @sentry/astro
- Outdated (npm): @sentry/nextjs
- Outdated (npm): @sentry/node
- Outdated (npm): @sentry/react
- Outdated (npm): @tanstack/react-query
- Outdated (npm): @tanstack/react-table
- Outdated (npm): astro
- Outdated (npm): camelcase-keys
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-7259bbd9b563429f94c86dfe361b9414/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-7259bbd9b563429f94c86dfe361b9414/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 13 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 35 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 38 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 6 file(s) — `apps/dapp/src/screens/home/ui/market-bubble.tsx`, `apps/landing/src/screens/home/model/feature-overview.ts`, `apps/landing/src/screens/home/model/tech-stack.ts`, `apps/landing/src/shared/config/site.ts`, `services/admin-rpc/src/platform/fastify/logger-options.ts`, … (+1 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |