Skip to content
CAI
Software that uses CAICheck a score

puomhicipo/PlainBridge

47.4

Weak · 8 November 2026

7.9k

lines of production code

C#

with TypeScript

6

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added application-layer features for Host, Server, and User management

The PlainBridge.Api.Application module now includes a complete set of commands and queries for managing Host Applications, Server Applications, and Users. This adds the ability to create, read, update, delete, and change the state of Host and Server applications, as well as create, update, and change passwords for Users. These features are implemented using a command/query handler pattern and integrate with the database context and identity services.

(repo-wide) · high confidence

Initial Angular UI scaffolding with authentication and API response handling

The PlainBridge.Web.UI project has been initialized as an Angular application, providing the foundational structure for the web interface. This includes an authentication system using session storage tokens and an AuthGuard to protect routes, an AuthInterceptor to attach tokens to HTTP requests, and a centralized ApiResponseService that standardizes API responses (ResultDto) and automatically displays toast notifications based on result codes. The UI features a dashboard displaying counts for host and server applications, a layout with navigation, and Cypress end-to-end tests covering critical flows like authentication, data loading, and password changes.

src/PlainBridge.Web · high confidence

Initial implementation of Host Applications management and shared application infrastructure

This change introduces the core application layer and the Host Applications feature to the web interface. The backend now includes a shared application infrastructure with a custom Mediator pattern (supporting request handlers and pipeline behaviors), DTOs for host applications and HTTP interactions, domain entities with base configurations, and custom exception handling. On the frontend, users can now manage host applications through a new list view (with filtering, sorting, pagination, and optimistic status toggling) and a form for creating, editing, and viewing details, all wired up via new Angular routing and module configurations.

(repo-wide) · high confidence

Initial project structure and documentation

The repository has been initialized with a complete distributed application structure for PlainBridge, including a .NET Aspire AppHost, IdentityServer, API, Server, Client, and Angular Web UI projects. This change adds essential project scaffolding files such as the solution file (PlainBridge.slnx), .dockerignore, CLAUDE.md developer guide, and MIT LICENSE, along with comprehensive README documentation describing the architecture, prerequisites, and setup instructions. Note that sensitive artifacts like cookies.txt and headers.txt are also included in this initial commit.

(repo-wide) · high confidence

New IdentityServer endpoint for user management and authentication

The PlainBridge.IdentityServer.EndPoint module now provides a complete identity service layer, including Razor Pages for user login, registration, and logout, alongside REST endpoints for creating, updating, and changing user passwords. This change introduces Duende IdentityServer configuration with in-memory storage for identity resources, API scopes, and clients (including a BFF client), and registers ASP.NET Identity with an in-memory database for user persistence. The service layer implements user creation with claim assignment, updates, and password changes, while a centralized error handler maps application exceptions to standardized JSON responses. Also in this area: 1 commit (0 fixes) modifying src/PlainBridge.Client, src/PlainBridge.IdentityServer.

src/PlainBridge.IdentityServer · medium confidence · unverified

Behavioural changes

4 commits (1 fix) modifying src/PlainBridge.AppHost

A change to existing behaviour in src/PlainBridge.AppHost — 4 commits (1 fix), 4 files: “Implemented OTEL with elasticsearch”; “Set icon to services in aspire”; “Fixed a bug in running angular”; and 1 more.

src/PlainBridge.AppHost · medium confidence · unverified

API project restructured with new authentication, caching, and endpoint layers

The PlainBridge.Api project has been restructured into distinct layers (ApiEndPoint, Application, Domain, Infrastructure) to improve organization and maintainability. The ApiEndPoint layer now implements a modular endpoint system using an IEndpoint interface for automatic discovery and registration of API routes, including new endpoints for HostApplication, ServerApplication, User management, and Login. Authentication has been enhanced with a hybrid approach using JWT Bearer tokens and OpenID Connect (OIDC) via Duende BFF, with token caching managed through a hybrid cache (Redis-backed distributed cache with local memory cache). The application now supports HTTP/3 when not running in a container, and includes comprehensive error handling via a centralized ErrorHandler that maps exceptions to appropriate HTTP status codes and standardized response formats.

src/PlainBridge.Api · high confidence

Test coverage

Added integration tests for distributed application components; Added unit tests for Host, Server, and User application use cases.

Dependencies

Upgrade to .NET 10 and Angular 22

The project has been upgraded to target .NET 10.0, replacing the previous .NET 9.0 runtime. This includes updates to core Microsoft libraries such as Entity Framework Core (10.0.8), ASP.NET Core components (10.0.8/10.0.9), and Microsoft.Extensions packages. Additionally, the Angular web UI has been upgraded from version 20 to version 22.0.0, along with associated tooling like the Angular CLI and build tools. Several Aspire packages have also been updated to version 13.x. Also in this area: 1 commit updating dependencies (6 manifests); 2 commits updating dependencies (18 manifests); Updated Aspire and Microsoft packages; removed Serilog dependencies; Upgrade .NET 10 dependencies and restructure Aspire AppHost.

(dependencies) · medium confidence · unverified

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

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 46 → 47 (+1.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 69 → 69 (+0.2)
  • Architecture 83 → 83 (+0.3)
  • Maturity 50 → 77 (+27.0)
  • Readiness 50 → 50 (+0.0)
  • Security 49 → 48 (-0.8)
  • Domain Modelling 59 → 49 (-9.8)
  • Event-Driven 74 → 78 (+4.9)
  • Accessibility 39 → 41 (+2.0)
  • Performance 100 → 100 (+0.0)

Resolved (31)

  • Boundary-crossing change coupling: LoginEndpoint.cs ↔ AppHost.cs (src/PlainBridge.Api/src/PlainBridge.Api.ApiEndPoint/Endpoints/LoginEndpoint.cs)
  • Change coupling: CacheManagement.cs ↔ ServerApplicationService.cs (src/PlainBridge.Server/src/PlainBridge.Server.Application/Management/Cache/CacheManagement.cs)
  • Cross-context type HostApplication (HostAggregate → UserAggregate) (src/PlainBridge.Api/src/PlainBridge.Api.Domain/UserAggregate/User.cs)
  • Cross-context type ServerApplication (ServerAggregate → UserAggregate) (src/PlainBridge.Api/src/PlainBridge.Api.Domain/UserAggregate/User.cs)
  • Cross-context type User (UserAggregate → HostAggregate) (src/PlainBridge.Api/src/PlainBridge.Api.Domain/HostAggregate/HostApplication.cs)
  • Cross-context type User (UserAggregate → ServerAggregate) (src/PlainBridge.Api/src/PlainBridge.Api.Domain/ServerAggregate/ServerApplication.cs)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Inconsistent spelling of the word 'Everything' in test method names. Some tests use 'EveryThing' (capital T) while others use 'EveryThin' (missing 'g'). This appears to be a typo in one instance and a casing inconsistency in others, rather than a deliberate naming convention.
  • Low CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Low CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: MessagePack 2.5.302 (tests/PlainBridge.Tests/PlainBridge.Tests.csproj)
  • Medium: security finding (details withheld)
  • Typo in the type name 'ApiApplcationUnitTestRunFixture'. The word 'Application' is misspelled as 'Applcation' in the type name itself. While this is a type name consistency issue, it affects all usages of this type.
  • XML-doc coverage: PlainBridge.Api.ApiEndPoint (src/PlainBridge.Api/src/PlainBridge.Api.ApiEndPoint/PlainBridge.Api.ApiEndPoint.csproj)
  • XML-doc coverage: PlainBridge.Api.Application (src/PlainBridge.Api/src/PlainBridge.Api.Application/PlainBridge.Api.Application.csproj)
  • …and 11 more

New (32)

  • CommentedOutCode (src/PlainBridge.AppHost/PlainBridge.AppHost.AppHost/AppHost.cs)
  • CommentedOutCode (src/PlainBridge.AppHost/PlainBridge.AppHost.AppHost/AppHost.cs)
  • Duplicated block (17 lines × 2) (src/PlainBridge.Api/src/PlainBridge.Api.ApiEndPoint/Program.cs)
  • Flaky test: PlainBridge.Tests::PlainBridge.Tests.Client.ClientTests.PlainBridge.Tests.Client.ClientTests.SendARequestToClientProject_WhenEveryThingIsOk_ShouldReturnData (tests/PlainBridge.Tests/Client/ClientTests.cs)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • High CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • Medium CVE: [GHSA redacted] (src/PlainBridge.Web/src/PlainBridge.Web.UI/package-lock.json)
  • doc comments repeat the names (src/PlainBridge.IdentityServer/src/PlainBridge.IdentityServer.EndPoint/Pages/Telemetry.cs)
  • doc comments repeat the names (src/PlainBridge.Shared/src/PlainBridge.Shared.Domain/Base/BaseEntity.cs)
  • redundant comment (src/PlainBridge.Api/src/PlainBridge.Api.ApiEndPoint/DependencyResolver.cs)
  • redundant comment (src/PlainBridge.Api/src/PlainBridge.Api.ApiEndPoint/Endpoints/UserEndpoint.cs)
  • redundant comment (src/PlainBridge.Api/src/PlainBridge.Api.Application/DependencyResolver.cs)
  • redundant comment (src/PlainBridge.Api/src/PlainBridge.Api.Infrastructure/DependencyResolver.cs)
  • redundant comment (src/PlainBridge.Client/src/PlainBridge.Client.ApiEndPoint/DependencyResolver.cs)
  • redundant comment (src/PlainBridge.Client/src/PlainBridge.Client.ApiEndPoint/Program.cs)
  • …and 12 more

Changes since last survey

  • 5 commits — 4 feature/other, 1 fixes

By area

  • src/PlainBridge.AppHost — 3 commits
  • src/PlainBridge.Client — 1 commit
  • src/PlainBridge.IdentityServer — 1 commit

Notable commits

  • fix: Fixed a bug in running angular.
  • change: Implemented OTEL with elasticsearch
  • change: Set icon to services in aspire.
  • change: Updated packages.
  • change: Upgradet packages. Worked on implementing browser login in client.

API surface

  • Unchanged — 22 HTTP endpoints

Architecture

  • Unchanged — 8 containers · 4 contexts · 7 edges

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

Survey your own repository

puomhicipo/PlainBridge 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 00cb6bdeb3292ebce033c18b655fcbefcfe4bf49 — 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.