Skip to content
CAI
Software that uses CAICheck a score

j5ik2o/cqrs-es-example-rs

58.5

Adequate · 8 November 2026

8.6k

lines of production code

Rust

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 58 files: “wip”.

(repo-wide) · medium confidence · unverified

10 commits (2 fixes) modifying applications/read-model-updater/bin

A change to existing behaviour in applications/read-model-updater/bin — 10 commits (2 fixs), 2 files: “build: update aws-sdk version”; “feat: add RMU recovery SQS worker ops and monitoring (\#605)”; “feat: switch rs rmu to aggregate head streams”; and 7 more (refs \#605, \#603).

applications/read-model-updater/bin · medium confidence · unverified

10 commits (2 fixes) modifying modules/command/processor

A change to existing behaviour in modules/command/processor — 10 commits (2 fixs), 3 files: “refactor: command processor”; “fix: edit\_message”; “docs: fix”; and 5 more (refs \#599, \#557).

modules/command/processor · medium confidence · unverified

12 commits (2 fixes) modifying modules/command/interface-adaptor-if

A change to existing behaviour in modules/command/interface-adaptor-if — 12 commits (2 fixs), 3 files: “feat: switch rs rmu to aggregate head streams”; “wip”; “refactor”; and 9 more (refs \#603, \#557).

modules/command/interface-adaptor-if · medium confidence · unverified

13 commits (2 fixes) modifying applications/read-api-server

A change to existing behaviour in applications/read-api-server — 13 commits (2 fixs), 6 files: “chore(deps): Update docker/dockerfile Docker tag to v1.7”; “refactor”; “chore(deps): Update docker/dockerfile Docker tag to v1.28 (\#569)”; and 9 more (refs \#569).

applications/read-api-server · medium confidence · unverified

16 commits (2 fixes) modifying modules/command/interface-adaptor-impl/src

A change to existing behaviour in modules/command/interface-adaptor-impl/src — 16 commits (2 fixs), 4 files: “refactor: command processor”; “refactor”; “feat: add event-store-adapter-rs”; and 9 more (refs \#603, \#557).

modules/command/interface-adaptor-impl/src · medium confidence · unverified

166 commits (10 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 166 commits (10 fixs), 14 files: “Update .gitignore”; “chore(deps): Update dependency helm to v3.14.4”; “channelを変更”; and 124 more (refs \#605, \#568, \#587, \#562, \#567, …).

(repo-wide) · low confidence · unverified

18 commits (3 fixes) modifying applications/write-api-server

A change to existing behaviour in applications/write-api-server — 18 commits (3 fixs), 4 files: “chore(deps): Update docker/dockerfile Docker tag to v1.7”; “build: update aws-sdk version”; “refactor”; and 14 more (refs \#569, \#557).

applications/write-api-server · medium confidence · unverified

2 commits (0 fixes) modifying modules/infrastructure

A change to existing behaviour in modules/infrastructure — 2 commits, 3 files: “wip”; “ディレクトリ整理”.

modules/infrastructure · medium confidence · unverified

2 commits (0 fixes) modifying tools/deploy/charts/dynamodb

A change to existing behaviour in tools/deploy/charts/dynamodb — 2 commits, 16 files: “wip”; “chore(deps): update amazon/dynamodb-local docker tag to v1.22.0”.

tools/deploy/charts/dynamodb · medium confidence · unverified

2 commits (1 fix) modifying applications/write-api-server/bin

A change to existing behaviour in applications/write-api-server/bin — 2 commits (1 fix), 1 file: “refactor: command processor”; “fix: remove group-chat-controller”.

applications/write-api-server/bin · medium confidence · unverified

21 commits (5 fixes) modifying modules/command/interface-adaptor-impl/src/gateways

A change to existing behaviour in modules/command/interface-adaptor-impl/src/gateways — 21 commits (5 fixs), 3 files: “chore: reformat”; “feat: switch rs rmu to aggregate head streams”; “fix: reformat”; and 16 more (refs \#599, \#603, \#557).

modules/command/interface-adaptor-impl/src/gateways · medium confidence · unverified

23 commits (6 fixes) modifying applications/read-model-updater

A change to existing behaviour in applications/read-model-updater — 23 commits (6 fixs), 7 files: “chore(deps): Update docker/dockerfile Docker tag to v1.7”; “feat: add RMU recovery SQS worker ops and monitoring (\#605)”; “feat: enable local lambda deployment via localstack”; and 20 more (refs \#605, \#569, \#603).

applications/read-model-updater · medium confidence · unverified

24 commits (8 fixes) modifying modules/command/domain

A change to existing behaviour in modules/command/domain — 24 commits (8 fixs), 18 files: “fix: edit\_message”; “fix: reformat”; “fix: add impl and test”; and 18 more (refs \#599, \#557).

modules/command/domain · medium confidence · unverified

29 commits (0 fixes) modifying tools/deploy/helmfile.d

A change to existing behaviour in tools/deploy/helmfile.d — 29 commits, 18 files: “chore(deps): Update Helm release localstack to v0.6.6”; “chore(deps): Update Helm release mysql to v9.18.2”; “chore(deps): Update Helm release mysql to v9.17.0”; and 26 more.

tools/deploy/helmfile.d · medium confidence · unverified

39 commits (4 fixes) modifying tools/scripts

A change to existing behaviour in tools/scripts — 39 commits (4 fixs), 32 files: “Update .gitignore”; “Refineryの導入(sqlx migrateがDockerで使いづらかったので)”; “モジュール名変更に伴う修正”; and 34 more (refs \#603, \#602).

tools/scripts · medium confidence · unverified

4 commits (0 fixes) modifying tools/deploy/terraform

A change to existing behaviour in tools/deploy/terraform — 4 commits, 69 files: “feat: add RMU recovery SQS worker ops and monitoring (\#605)”; “feat: switch rs rmu to aggregate head streams”; “wip”; and 1 more (refs \#605, \#603).

tools/deploy/terraform · medium confidence · unverified

4 commits (1 fix) modifying tools/dynamodb-setup

A change to existing behaviour in tools/dynamodb-setup — 4 commits (1 fix), 3 files: “Update .gitignore”; “feat: switch rs rmu to aggregate head streams”; “fix: Dockerfiles”; and 1 more.

tools/dynamodb-setup · medium confidence · unverified

5 commits (1 fix) modifying modules/rmu

A change to existing behaviour in modules/rmu — 5 commits (1 fix), 11 files: “feat: add RMU recovery SQS worker ops and monitoring (\#605)”; “feat: switch rs rmu to aggregate head streams”; “feat: adapt rs write api to ESA v5 envelope api (\#599)”; and 2 more (refs \#605, \#599, \#603).

modules/rmu · medium confidence · unverified

6 commits (0 fixes) modifying tools/refinery

A change to existing behaviour in tools/refinery — 6 commits, 7 files: “feat: switch rs rmu to aggregate head streams”; “refactor”; “wip”; and 1 more (refs \#603).

tools/refinery · medium confidence · unverified

7 commits (2 fixes) modifying modules/command/interface-adaptor-impl/src/graphql

A change to existing behaviour in modules/command/interface-adaptor-impl/src/graphql — 7 commits (2 fixs), 3 files: “refactor: command processor”; “fix: edit\_message”; “feat: adapt rs write api to ESA v5 envelope api (\#599)”; and 4 more (refs \#599, \#557).

modules/command/interface-adaptor-impl/src/graphql · medium confidence · unverified

Fixes

22 commits (13 fixes) fixing modules/query

A fix in modules/query — 22 commits (13 fixs), 13 files: “refactor”; “fix: tests”; “fix: add clone() calling”; and 17 more (refs \#601).

modules/query · medium confidence · unverified

7 commits (4 fixes) fixing tools/e2e-test

A fix in tools/e2e-test — 7 commits (4 fixs), 5 files: “feat: switch rs rmu to aggregate head streams”; “fix: Dockerfiles”; “fix: bug”; and 4 more (refs \#602).

tools/e2e-test · medium confidence · unverified

Test coverage

1 commit adding/updating tests in applications/read-api-server/tests; 23 commits adding/updating tests in modules/command/interface-adaptor-impl/tests/gateways; 33 commits adding/updating tests in modules/command/interface-adaptor-impl/tests; 4 commits adding/updating tests in applications/read-model-updater/tests.

Dependencies

410 commits updating dependencies (12 manifests)

A dependency / build maintenance change in (dependencies) — 410 commits (10 fixs), 12 files: “chore(deps): Update Rust crate serde\_json to v1.0.117”; “chore(deps): Update Rust crate event-store-adapter-rs to 0.2.38”; “chore(deps): Update Rust crate event-store-adapter-rs to 1.1.2”; and 379 more (refs \#540, \#572, \#527, \#605, \#556, …).

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

Lenses

  • Code Health 74 → 78 (+3.8)
  • Architecture 89 → 92 (+3.0)
  • Maturity 61 → 79 (+17.9)
  • Readiness 68 → 62 (-5.6)
  • Security 40 → 40 (+0.3)
  • Domain Modelling 100 → 100 (+0.0)
  • Event Sourcing 100 → 100 (+0.0)
  • Performance 100 → 100 (+0.0)

Resolved (66)

  • Duplicate health check endpoint name across distinct service modules. While technically separate services, exposing identical method names for the same operational concern (health check) without a shared trait or common module suggests copy-paste implementation rather than shared infrastructure.
  • Duplicate method name with different semantic intent. Both modules expose a load_app_config method, but they load configuration for entirely different subsystems (Read API vs. Read Model Updater). This creates ambiguity for consumers who might expect a shared config loading strategy or interface.
  • Duplicated block (10 lines × 2) (modules/command/interface-adaptor-impl/src/gateways/group_chat_read_model_dao_impl.rs)
  • Duplicated block (11 lines × 2) (modules/command/interface-adaptor-impl/src/gateways/group_chat_read_model_dao_impl.rs)
  • Further orphaned files (smaller)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • Inconsistent GraphQL schema creation entry points. The command interface requires a specific repository implementation, while the query interface requires a raw DB pool. This forces different wiring strategies for GraphQL servers.
  • Inconsistent factory method signatures for router creation. One takes a specific repository implementation, the other takes a database pool. This reflects the underlying architectural split but presents an inconsistent API surface for setting up HTTP servers across the project.
  • Low vulnerability: [GHSA redacted] (Cargo.lock)
  • Low vulnerability: [GHSA redacted] (Cargo.lock)
  • Low vulnerability: [GHSA redacted] (Cargo.lock)
  • Low vulnerability: [GHSA redacted] (Cargo.lock)
  • Low vulnerability: [GHSA redacted] (Cargo.lock)
  • Medium CVE: [GHSA redacted] (Cargo.lock)
  • Medium CVE: [GHSA redacted] (Cargo.lock)
  • …and 46 more

New (27)

  • Critical IaC: AWS-0104 (tools/deploy/terraform/lambda.tf)
  • Duplicated block (5 lines × 2) (applications/read-model-updater/src/lib.rs)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High IaC: AWS-0095 (tools/deploy/terraform/lambda.tf)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • Low IaC: AWS-0025 (tools/deploy/terraform/event-sourcing/main.tf)
  • Low IaC: AWS-0124 (tools/deploy/terraform/lambda.tf)
  • Medium IaC: AWS-0024 (tools/deploy/terraform/event-sourcing/main.tf)
  • Medium IaC: CKV_TF_1 (tools/deploy/terraform/lambda.tf)
  • Medium IaC: CKV_TF_2 (tools/deploy/terraform/lambda.tf)
  • Medium advisory (unmaintained): RUSTSEC-2025-0134 (Cargo.lock)
  • Medium advisory (unmaintained): RUSTSEC-2025-0134 (Cargo.lock)
  • Medium advisory (unmaintained): RUSTSEC-2026-0440 (Cargo.lock)
  • Medium vulnerability: [GHSA redacted] (Cargo.lock)
  • Medium vulnerability: RUSTSEC-2026-0418 (Cargo.lock)
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • Members sharing a duplicated core (5 members, 50+ identical tokens) (modules/command/processor/src/group_chat_command_processor.rs)
  • …and 7 more

Changes since last survey

  • 48 commits — 48 feature/other, 0 fixes

By area

  • (root) — 38 commits
  • .github/workflows — 2 commits
  • modules/command — 2 commits
  • applications/read-api-server — 1 commit
  • applications/read-model-updater — 1 commit
  • modules/query — 1 commit
  • modules/rmu — 1 commit
  • tools/deploy — 1 commit
  • tools/e2e-test — 1 commit

Notable commits

  • change: Disable Renovate bot by setting enabled to false
  • change: chore(deps): Update Rust crate anyhow to v1.0.104 (#545)
  • change: chore(deps): Update Rust crate async-trait to v0.1.92 (#552)
  • change: chore(deps): Update Rust crate aws-sdk-dynamodbstreams to v1.122.0 (#572)
  • change: chore(deps): Update Rust crate aws_lambda_events to 0.18.0 (#571)
  • change: chore(deps): Update Rust crate backtrace to v0.3.77 (#553)
  • change: chore(deps): Update Rust crate backtrace to v0.3.77 (#563)
  • change: chore(deps): Update Rust crate chrono to v0.4.45 (#554)
  • change: chore(deps): Update Rust crate config to 0.15.0 (#573)
  • change: chore(deps): Update Rust crate config to v0.15.27 (#584)
  • change: chore(deps): Update Rust crate downcast-rs to v2
  • change: chore(deps): Update Rust crate env_logger to v0.11.11 (#564)
  • change: chore(deps): Update Rust crate itertools to 0.15.0 (#574)
  • change: chore(deps): Update Rust crate log to v0.4.35 (#555)
  • change: chore(deps): Update Rust crate mime to v0.3.18 (#556)
  • change: chore(deps): Update Rust crate once_cell to v1.21.4 (#575)
  • change: chore(deps): Update Rust crate openssl to v0.10.82 (#558)
  • change: chore(deps): Update Rust crate redis to 0.32.0 (#576)
  • change: chore(deps): Update Rust crate redis to v1
  • change: chore(deps): Update Rust crate refinery to 0.10.0 (#577)
  • …and 28 more

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

Survey your own repository

j5ik2o/cqrs-es-example-rs 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 0f1ea051871c6932a07132aec7f4f6c6b6316410 — 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.