Skip to content
CAI
Software that uses CAICheck a score

andrewwebber/cqrs

51.4

Adequate · 8 November 2026

1.8k

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

Add RabbitMQ-based command and event buses

The RabbitMQ integration now provides a CommandBus and EventBus for the CQRS framework, enabling reliable publishing and receiving of commands and versioned events over RabbitMQ. The implementation includes automatic reconnection with exponential backoff, ensuring that transient connection failures do not cause message loss. Additionally, Prometheus metrics are exposed to track published and failed commands and events, allowing for better observability of the message bus.

rabbit · high confidence

Introduce CQRS and Event Sourcing framework with in-memory and RabbitMQ support

The repository now provides a Go-based CQRS and Event Sourcing framework. It introduces core abstractions for commands, events, and their dispatching, along with in-memory implementations for testing. The framework supports publishing commands via a command bus and handling events via an event bus, with specific implementations for RabbitMQ and in-memory transport. Additionally, it includes an in-memory event stream repository and a type registry for event handling.

(repo-wide) · high confidence

Behavioural changes

Refactored Couchbase event sourcing provider to support multiple providers sharing a bucket

The Couchbase event sourcing provider has been refactored to allow multiple providers to share the same Couchbase bucket by introducing a configurable prefix for all event keys. The repository now accepts connection string, pool name, bucket name, and a prefix as parameters, replacing the previous hardcoded configuration. Additionally, integration events are now stored with a correlation ID index, enabling efficient retrieval of all integration events associated with a specific correlation ID.

couchbase · high confidence

Test coverage

Added automated test and linting script; Removed example test file.

Dependencies

Initial Go module and dependency setup

Added go.mod and go.sum files to define the Go module github.com/andrewwebber/cqrs and its dependencies. This introduces support for Couchbase, Prometheus metrics, RabbitMQ (AMQP), UUID generation, and testing utilities, establishing the project's external package requirements.

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

Lenses

  • Code Health 82 → 82 (+0.0)
  • Architecture 100 → 98 (-2.3)
  • Maturity 44 → 44 (+0.0)
  • Readiness 35 → 35 (+0.0)
  • Security 91 → 92 (+0.7)

New (1)

  • High interface indirection

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

Survey your own repository

andrewwebber/cqrs 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 f93db1fb98bf308be8e359e8e6c460848a6ee609 — 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.