Skip to content
CAI
Software that uses CAICheck a score

yinebebt/hexagonal-architecture

67.9

Adequate · 8 November 2026

992

lines of production code

Go

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

New HTML templates have been added to render a video gallery interface. The index.html template displays a grid of video cards using Bootstrap styling, embedding a header and footer. Each card contains an iframe for video playback, along with the video's title and description. The header includes the Bootstrap CSS framework, and the footer displays a configurable message.

internal/adapter/templates · high confidence

Application entry point with multi-adapter support and Swagger documentation

The application now initializes a Gin-based HTTP server that exposes REST endpoints under /v1, a GraphQL endpoint with a playground at /v1/graphql, and interactive Swagger documentation at /v1/swagger. The server supports configurable database backends (SQLite or PostgreSQL) via command-line flags and includes graceful shutdown handling along with custom logging to app.log.

cmd · high confidence

New GraphQL API for video management

A new GraphQL driving adapter has been added to expose video operations via an HTTP endpoint. Users can now query for a list of all videos or retrieve a specific video by ID. The API also supports mutations to create, update, and delete videos, including associating a director (person) with each video. A playground interface is enabled for interactive API exploration.

internal/adapter/graphql · high confidence

Video domain core implementation with service and repository contracts

The internal/core package now defines the complete video domain logic, including the Video and Person entity models, the VideoRepository and VideoService interface contracts, and the concrete service implementation that enforces business rules (such as title/URL validation and ID requirements for updates). This change establishes the core behavioral layer for video operations, supported by integration tests that verify save, find, update, and delete workflows against the repository.

internal/core · high confidence

Video repository now supports PostgreSQL alongside SQLite

The video repository adapter now includes a new implementation using the PostgreSQL database via the pgx driver, in addition to the existing SQLite support. This allows the application to persist video data and associated director information in PostgreSQL, providing an alternative to the default SQLite storage for production or testing environments.

internal/adapter/repository · high confidence

Dependencies

Initial Go module setup with Gin, GraphQL, and PostgreSQL drivers

The project initializes its Go module dependencies, introducing the Gin web framework (v1.9.1) for HTTP routing, GraphQL libraries (v0.8.1 and handler v0.2.4) for API support, and the Jackc PostgreSQL driver (v4.18.3) for database connectivity. The manifest also includes SQLite support (v1.14.22), Swagger documentation tools (v1.16.3), and testing utilities (v1.9.0).

(dependencies) · high confidence

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

How this codebase got here

Score

  • CAI 70 → 68 (-1.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 99 → 99 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 65 → 65 (+0.0)
  • Readiness 67 → 61 (-5.3)
  • Security 94 → 98 (+3.6)

New (2)

  • High interface indirection
  • Scattered collaborators

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • (root) — 1 commit

Notable commits

  • change: docs: correct README intro to match the code

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

Survey your own repository

yinebebt/hexagonal-architecture 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 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit c3ddb2da2b51a11071d787fee61d6a2928b520f0 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.