Skip to content
CAI
Software that uses CAICheck a score

th3hunt/cloud-native-hexagonal-node

47.1

Weak · 21 September 2026

623

lines of production code

JavaScript

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added RabbitMQ broker integration for processing incoming commands

The application now supports RabbitMQ as a message broker. A new \RabbitConnector\ class in \config/rabbitmq.js\ manages persistent connections, automatic reconnection, and error handling for RabbitMQ. The \src/broker/index.js\ file introduces a \Broker\ class that consumes messages from the 'hexagonal.input' queue, deserializes JSON payloads, and routes 'CreateOrder' commands to the command bus. This enables asynchronous order creation via message queues.

config, src/broker · high confidence

Initial HTTP server scaffold with health check and order creation endpoint

The HTTP server has been introduced, providing a new Koa-based server that includes a /health check endpoint and an /api/orders POST endpoint for placing orders. The server integrates a JSON body parser, Helmet for security headers in production, and a global error handler that maps errors to appropriate HTTP status codes and logs server errors to stderr.

src/http-server · high confidence

Initial project scaffolding and tooling setup

The repository was initialized with a comprehensive set of configuration files and infrastructure definitions to support development, testing, and deployment. This includes build tooling (Babel, ESLint, Prettier, JSDoc), process management (PM2, Dockerfile, docker-compose.yml), and environment configuration (.env.sample, docker-compose.env.sample). The README was updated to reflect the new project name and provide instructions for getting started with the various development scripts.

(repo-wide) · high confidence

Initialize application entry point and logging infrastructure

The application now starts via src/index.js, which bootstraps the HTTP server, connects to a RabbitMQ broker, and initializes a command bus. A new src/logger.js module provides structured logging using the Pino library, which is automatically disabled in test environments.

src · high confidence

New CLI command to place a pizza order

A new CLI entry point (src/cli/index.js) has been added, introducing a 'createOrder' command that accepts pizza type, size, and quantity options. When executed, it builds a CreateOrderCommand and sends it through a CommandBus, allowing users to place pizza orders directly from the command line.

src/cli · medium confidence

Scaffold domain core components for order creation

Introduced the foundational domain layer for processing pizza orders. This includes a CommandBus to route commands to their respective handlers, a Registry for dependency injection, and constants for pizza types and sizes. The specific 'CreateOrder' feature is now supported via a new command, handler, and associated error class, along with helper functions for pricing and ETA calculation. The Order model and a placeholder repository interface are also added to support the new workflow.

src/domain · high confidence

Behavioural changes

Jest configuration for unit tests

A new Jest configuration file (jest/config.unit.js) has been added to support unit testing. This configuration sets up the test environment for Node.js, defines file extensions and test matching patterns, and configures coverage reporting to generate HTML and text reports in the 'reports/unit' directory.

jest · high confidence

Test coverage

Added initial unit test suite for sanity checks

A new unit test file, sanity.unit.js, has been added to the project's test suite. This file contains a basic sanity check verifying that 1 + 1 equals 2, serving as a foundational test to ensure the testing environment is correctly configured and functional.

src/\\tests\\_ · high confidence_

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 47 → 47 (+0.2)
  • Rubric changed (rubric-2026.08.18 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 47 → 47 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 67 → 63 (-3.7)
  • Readiness 32 → 37 (+5.6)
  • Security 80 → 66 (-13.7)

Resolved (58)

  • Coverage not included — suite not readable by the collector
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • …and 38 more

New (95)

  • Coverage not measured — JavaScript/TypeScript suite
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • …and 75 more

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

th3hunt/cloud-native-hexagonal-node was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 21 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 8c15a53ec388b2a77bd4156b6ff25378f8dbbde9 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-28e75b8e3254.