Skip to content
CAI
Software that uses CAICheck a score

thangchung/magazine-website-akka

42.7

Weak · 21 September 2026

3.2k

lines of production code

C#

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a .NET-based content management platform built on an Akka.NET actor model, designed to manage the lifecycle of category content from draft to published states. It provides a distributed architecture featuring an API Gateway with GraphQL and REST endpoints, an authentication service, and specialized microservices for handling category data and background process management. The system leverages MongoDB for read models and event sourcing, supported by a shared domain layer and a Bootstrap 4 admin dashboard for user interaction.

Features

Add Category API and GraphQL endpoints to the API Gateway

The API Gateway now exposes a RESTful controller for managing categories (GET, POST, PUT, DELETE) and a GraphQL endpoint for querying categories. The implementation includes a new \CategoryController\ that communicates with Akka.NET actors, a \GraphQLController\ to handle GraphQL requests, and supporting types (\CategoryGraph\, \CategoryType\, \CategoryStatusEnum\) to define the GraphQL schema. Additionally, a \ServiceStatusMiddleware\ is added to provide a health check endpoint at \/\_check\.

src/Cik.Magazine.ApiGateway · high confidence

Add initial benchmark console application

A new console application named Cik.Magazine.Benchmark.Console has been added to the project. It includes a basic benchmark for the CategoryService, a program entry point using BenchmarkDotNet, and configuration files for .NET Framework 4.6.1 with assembly binding redirects for System.Reflection.Metadata and System.Collections.Immutable.

src/Cik.Magazine.Benchmark.Console · medium confidence

Added AggregateRootActor base class for domain aggregates

Introduced a new \AggregateRootActor\ class in the shared domain layer, providing a base implementation for aggregate roots using the Akka.NET actor model. This class handles persistence, event sourcing, snapshotting, and integration with projections and process managers, enabling consistent domain logic implementation across the application.

Cik.Magazine.Shared · high confidence

Added Bootstrap 4 dashboard UI with off-canvas sidebar

Introduced the initial frontend assets for a Bootstrap 4 admin dashboard, including the main \index.html\ template, \styles.css\ for layout and card styling, and \scripts.js\ to handle the off-canvas sidebar toggle. This provides a responsive, mobile-friendly interface featuring a collapsible left sidebar, stat cards, and a top navigation bar.

src/UI · high confidence

The AuthHost now includes a complete IdentityServer4 implementation, providing login, logout, and consent screens for the 'magazine-api' resource. This adds the ability for users to authenticate using local credentials or external providers, and to grant or deny API access permissions through a standard consent interface.

src/Cik.Magazine.AuthHost · high confidence

Added Lighthouse service host and configuration for Akka.NET cluster discovery

Introduced a new Lighthouse Windows service that hosts the Akka.NET actor system for service discovery. The change adds the App.config with HOCON settings for remote TCP transport (port 8090) and cluster seed nodes, alongside C\# classes (LighthouseHostFactory, LighthouseService, Program) that initialize the actor system and manage the Windows service lifecycle using Topshelf. This provides the foundational infrastructure for nodes to discover each other in a cluster.

src/Lighthouse · high confidence

Added shared domain primitives and category message contracts

The shared library now includes foundational domain types such as a DomainException, IEventSink, and base classes for Commands, Events, and Requests that support consistent hashing. It also introduces specific message contracts for the Category aggregate (CreateCategory, UpdateCategory, DeleteCategory, and their corresponding events), a CategoryModel for data transfer, and query request/response structures for category lookups. Additionally, the update provides a SystemClock utility for time abstraction, an IoC container extension for Autofac, and an app.config with assembly binding redirects for System.Collections.Immutable and System.Runtime.InteropServices.RuntimeInformation.

src/Cik.Magazine.Shared · medium confidence

Initial project structure and documentation

The repository was initialized with a complete solution structure for a .NET project using Akka.NET, including an API Gateway, Category Service, Auth Host, Master Service, Email Service, and Process Manager. The setup includes configuration for MongoDB and Lighthouse service discovery, along with documentation on installing Windows services and using GraphQL for queries.

(repo-wide) · high confidence

Introduce Process Manager host service for category status workflows

Added a new Windows service host (ProcessManagerService) and configuration (App.config) for the Magazine Process Manager. The service initializes an Akka.NET actor system, registers the CategoryStatusWorkflow (a persistent state machine for managing category approval states), and configures MongoDB persistence for both the event journal and snapshots. The entry point uses Topshelf and Autofac to run the service as a background process, enabling the system to track and manage the lifecycle of category content from draft to published states.

Cik.Magazine.ProcessManager, src/Cik.Magazine.ProcessManager · high confidence

Introduced category service with MongoDB-backed read model projections

The CategoryService was added to manage category state and synchronize changes to a MongoDB read model. The service creates an Akka.NET actor system that handles category commands (create, update, delete) and dispatches domain events to projection actors (CategoryCreated, CategoryUpdated, CategoryDeleted). These projections write to a MongoDB collection named 'categories' via a NoSQL storage component, enabling efficient read queries for category data.

src/Cik.Magazine.CategoryService · high confidence

Behavioural changes

Added Tenant domain model to MasterService

A new Tenant class has been introduced within the Cik.Magazine.MasterService domain, establishing the foundational structure for tenant management. This change adds the core entity required for the MasterService's initialization and subsequent business logic.

Cik.Magazine.MasterService · medium confidence

Introduce Category aggregate root with saga integration

The CategoryService introduces a new Category aggregate root that manages category state and integrates with the saga process manager. The Category actor registers itself with the 'category-status-broadcaster-group' and forwards commands to registered sagas, enabling the continuation of the category saga workflow.

Cik.Magazine.CategoryService · medium 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

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 43 → 43 (-0.6)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 65 → 64 (-1.2)
  • Architecture 96 → 96 (+0.1)
  • Maturity 59 → 59 (+0.0)
  • Readiness 26 → 29 (+2.8)
  • Security 88 → 75 (-12.6)
  • Domain Modelling 51 (new)
  • Event-Driven 100 (new)
  • Accessibility 49 → 49 (+0.2)
  • Performance 68 → 68 (+0.0)

Resolved (7)

  • Bounded contexts not declared
  • Build status unknown
  • Duplicated block (11 lines × 2) (src/Cik.Magazine.CategoryService/Denomalizer/Projections/ReadModelProjections.cs)
  • No exposed public API
  • early-stage repository — too little history to judge knowledge freshness
  • redundant comment (src/Cik.Magazine.ApiGateway/Controllers/CategoryController.cs)
  • single-maintainer — knowledge-concentration (bus factor) risk

New (15)

  • CommentedOutCode (src/Cik.Magazine.ApiGateway/Startup.cs)
  • CommentedOutCode (src/Cik.Magazine.ApiGateway/Startup.cs)
  • CommentedOutCode (src/Cik.Magazine.CategoryService/CategoryServiceFactory.cs)
  • Documentation: no contributor guidance (README.md)
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (12 lines × 2) (src/Cik.Magazine.CategoryService/Denomalizer/Projections/ReadModelProjections.cs)
  • Duplicated block (14 lines × 3) (src/Cik.Magazine.CategoryService/Denomalizer/NoSQLStorage.cs)
  • Duplicated block (21 lines × 2) (src/Cik.Magazine.ProcessManager/Workflows/CategoryStatusWorkflow.cs)
  • End-of-life runtime: .NET Framework net461
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • WriteOnlyPrivateField (src/Cik.Magazine.EmailService/Program.cs)
  • WriteOnlyPrivateField (src/Cik.Magazine.ProcessManager/ProcessManagerService.cs)
  • misleading comment (src/Cik.Magazine.ApiGateway/Startup.cs)

API surface

  • Unchanged — 8 HTTP endpoints

Architecture

  • Unchanged — 8 containers · 4 contexts · 3 edges

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

Survey your own repository

thangchung/magazine-website-akka 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 c88042fa27b051982f81a73b40646cbb0b9be917 — 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.