Skip to content
CAI
Software that uses CAICheck a score

flashbots/mosaik

55.8

Adequate · 17 November 2026

31.8k

lines of production code

Rust

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

10 commits (0 fixes) modifying src/cli

A change to existing behaviour in src/cli — 10 commits, 3 files: “Progress on Consumers, Producers and Discovery”; “Chore: minor tweaks”; “General: Migrated wire format from bincode to postcard”; and 7 more.

src/cli · medium confidence · unverified

12 commits (0 fixes) modifying src/groups/replay

A change to existing behaviour in src/groups/replay — 12 commits, 3 files: “Collections: further API exploration”; “Groups: StateMachine ApplyContext”; “Chore: Simplified Cargo.toml”; and 9 more.

src/groups/replay · medium confidence · unverified

12 commits (0 fixes) modifying src/macros

A change to existing behaviour in src/macros — 12 commits, 3 files: “Collections: Auth tickets support”; “Collections: Compile-time collection definition”; “Tickets: Streams and groups support tickets authenticators”; and 7 more.

src/macros · medium confidence · unverified

14 commits (0 fixes) modifying examples/tee

A change to existing behaviour in examples/tee — 14 commits, 2 files: “TEE: TDX tickets compression”; “TEE: Reusable TDX alpine builder cleanup”; “TEE: Reusable TDX alpine image builder”; and 11 more.

examples/tee · medium confidence · unverified

16 commits (0 fixes) modifying examples/tee/tdx

A change to existing behaviour in examples/tee/tdx — 16 commits, 1 file: “TEE: TDX tickets compression”; “Docs: tweak tdx SDK example”; “Tickets: More ergonomic ticket names”; and 13 more.

examples/tee/tdx · medium confidence · unverified

2 commits (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 2 commits, 8 files: “Chore: remove actors”; “checkpoint”.

(repo-wide) · medium confidence · unverified

20 commits (0 fixes) modifying src/tee/tdx

A change to existing behaviour in src/tee/tdx — 20 commits, 8 files: “TEE: TDX tickets compression”; “TEE: Reusable TDX alpine builder cleanup”; “TEE: Reusable TDX alpine image builder”; and 17 more.

src/tee/tdx · medium confidence · unverified

21 commits (0 fixes) modifying src/groups/machine

A change to existing behaviour in src/groups/machine — 21 commits, 3 files: “Authenticate stream producers and consumers through tickets. (\#15)”; “Groups: StateMachine ApplyContext”; “Network: RTT based peer filtering and latency probing”; and 18 more (refs \#15).

src/groups/machine · medium confidence · unverified

27 commits (0 fixes) modifying src/groups/group

A change to existing behaviour in src/groups/group — 27 commits, 3 files: “Groups: Bonding protocol works”; “Authenticate stream producers and consumers through tickets. (\#15)”; “Groups: Raft network partition tests”; and 24 more (refs \#15).

src/groups/group · medium confidence · unverified

31 commits (0 fixes) modifying src/groups/bond

A change to existing behaviour in src/groups/bond — 31 commits, 4 files: “Groups: Bonding protocol works”; “Groups: Raft network partition tests”; “Network: RTT based peer filtering and latency probing”; and 27 more.

src/groups/bond · medium confidence · unverified

38 commits (0 fixes) modifying src/groups/raft

A change to existing behaviour in src/groups/raft — 38 commits, 7 files: “Authenticate stream producers and consumers through tickets. (\#15)”; “Groups: Raft network partition tests”; “Groups: State Catchup - naive implementation works”; and 31 more (refs \#15).

src/groups/raft · medium confidence · unverified

4 commits (0 fixes) modifying examples/orderbook

A change to existing behaviour in examples/orderbook — 4 commits, 3 files: “Groups: StateMachine ApplyContext”; “Streams: Re-evaluate subscribe\_if predicate on catalog updates (\#9)”; “Groups: Observer mode in RSM”; and 1 more (refs \#9).

examples/orderbook · medium confidence · unverified

43 commits (0 fixes) modifying src/collections

A change to existing behaviour in src/collections — 43 commits, 10 files: “Collections: Register\<T\>”; “Collections: Set\<T\>”; “Collections: Auth tickets support”; and 38 more.

src/collections · medium confidence · unverified

43 commits (0 fixes) modifying src/primitives

A change to existing behaviour in src/primitives — 43 commits, 10 files: “Groups: Bonding protocol works”; “Progress on Consumers, Producers and Discovery”; “Authenticate stream producers and consumers through tickets. (\#15)”; and 39 more (refs \#15).

src/primitives · medium confidence · unverified

45 commits (0 fixes) modifying src/network

A change to existing behaviour in src/network — 45 commits, 5 files: “Streams: Generalized status info for consumers and producers”; “Groups: Bonding protocol works”; “Progress on Consumers, Producers and Discovery”; and 40 more.

src/network · medium confidence · unverified

46 commits (1 fix) modifying src/streams

A change to existing behaviour in src/streams — 46 commits (1 fix), 9 files: “Streams: Generalized status info for consumers and producers”; “checkpoint”; “Progress on Consumers, Producers and Discovery”; and 36 more.

src/streams · medium confidence · unverified

48 commits (1 fix) modifying src/groups

A change to existing behaviour in src/groups — 48 commits (1 fix), 8 files: “Chore: update readme”; “Collections: Register\<T\>”; “Groups: Bonding protocol works”; and 45 more.

src/groups · medium confidence · unverified

5 commits (0 fixes) modifying actors/pending

A change to existing behaviour in actors/pending — 5 commits, 1 file: “Chore: remove actors”; “checkpoint”; “subscription status semantics”.

actors/pending · medium confidence · unverified

5 commits (0 fixes) modifying src/tee

A change to existing behaviour in src/tee — 5 commits, 1 file: “TEE: automatic building of TDX images”; “Tickets: moving tickets to a top-level submodule”; “TEE: more prep for tee-aware ticket validation”; and 2 more.

src/tee · medium confidence · unverified

57 commits (2 fixes) modifying src

A change to existing behaviour in src — 57 commits (2 fixs), 9 files: “TEE: TDX tickets compression”; “checkpoint”; “Progress on Consumers, Producers and Discovery”; and 49 more (refs \#15, \#6).

src · medium confidence · unverified

58 commits (2 fixes) modifying src/streams/producer

A change to existing behaviour in src/streams/producer — 58 commits (2 fixs), 9 files: “Discovery: Purge stale peers”; “Streams: Generalized status info for consumers and producers”; “Progress on Consumers, Producers and Discovery”; and 51 more.

src/streams/producer · medium confidence · unverified

59 commits (3 fixes) modifying src/streams/consumer

A change to existing behaviour in src/streams/consumer — 59 commits (3 fixs), 4 files: “Discovery: Purge stale peers”; “Streams: Generalized status info for consumers and producers”; “Progress on Consumers, Producers and Discovery”; and 55 more (refs \#9).

src/streams/consumer · medium confidence · unverified

6 commits (0 fixes) modifying actors/canon

A change to existing behaviour in actors/canon — 6 commits, 4 files: “Chore: remove actors”; “checkpoint”; “actors topology readme”.

actors/canon · medium confidence · unverified

7 commits (0 fixes) modifying actors/rpc

A change to existing behaviour in actors/rpc — 7 commits, 1 file: “RPC node devex and workflow”; “producer accumulator semantics”; “checkpoint”; and 2 more.

actors/rpc · medium confidence · unverified

7 commits (0 fixes) modifying src/tee/tdx/builder

A change to existing behaviour in src/tee/tdx/builder — 7 commits, 12 files: “TEE: Reusable TDX alpine builder cleanup”; “TEE: Reusable TDX alpine image builder”; “TDX: Image builders accept extra args and env”; and 4 more.

src/tee/tdx/builder · medium confidence · unverified

7 commits (0 fixes) modifying src/tickets

A change to existing behaviour in src/tickets — 7 commits, 3 files: “Tickets: Built-in JWT tickets validator”; “Tickets: JWT keys derives”; “Tickets: Hardening JWT tickets”; and 4 more.

src/tickets · medium confidence · unverified

88 commits (3 fixes) modifying src/discovery

A change to existing behaviour in src/discovery — 88 commits (3 fixs), 12 files: “Discovery: Purge stale peers”; “Discovery: Fixed delayed startup time with DHT bootstrap”; “Chore: update readme”; and 77 more (refs \#15, \#4, \#6).

src/discovery · medium confidence · unverified

9 commits (0 fixes) modifying examples

A change to existing behaviour in examples — 9 commits, 3 files: “Docs: group-chat example”; “Chore: rename dht bootstrap network builder field”; “Tickets: More ergonomic ticket names”; and 6 more.

examples · medium confidence · unverified

9 commits (0 fixes) modifying src/collections/sync

A change to existing behaviour in src/collections/sync — 9 commits, 4 files: “Groups: StateMachine ApplyContext”; “Collections: Snapshot Sync progress”; “Groups: Departure semantics”; and 6 more.

src/collections/sync · medium confidence · unverified

9 commits (0 fixes) modifying src/tee/tdx/builder/alpine

A change to existing behaviour in src/tee/tdx/builder/alpine — 9 commits, 5 files: “TEE: TDX tickets compression”; “TEE: Reusable TDX alpine builder cleanup”; “TDX: Image builders accept extra args and env”; and 6 more.

src/tee/tdx/builder/alpine · medium confidence · unverified

Test coverage

12 commits adding/updating tests in tests/tickets; 14 commits adding/updating tests in tests/discovery; 18 commits adding/updating tests in tests/streams/producer; 19 commits adding/updating tests in tests; 20 commits adding/updating tests in tests/streams; 22 commits adding/updating tests in tests/streams/consumer; 23 commits adding/updating tests in tests/utils; 29 commits adding/updating tests in tests/collections; 4 commits adding/updating tests in tests/collections/sync; 41 commits adding/updating tests in tests/groups.

Dependencies

107 commits updating dependencies (10 manifests)

A dependency / build maintenance change in (dependencies) — 107 commits (3 fixs), 10 files: “TEE: TDX tickets compression”; “Observability: capture metrics for all subsystems”; “Discovery: Purge stale peers”; and 91 more (refs \#15, \#9).

(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

Baseline

  • First survey — no prior run to compare against. CAI 55.8.

Lenses

  • Code Health 75.6
  • Architecture 90.2
  • Maturity 58.9
  • Readiness 36.9
  • Security 100.0
  • Event-Driven 78.9
  • Event Sourcing 100.0
  • Performance 100.0

Changes since last survey

  • 258 commits — 253 feature/other, 5 fixes

By area

  • src/groups — 48 commits
  • (root) — 44 commits
  • src/streams — 40 commits
  • src/discovery — 26 commits
  • book/src — 22 commits
  • src/collections — 19 commits
  • src/tee — 13 commits
  • (repo) — 7 commits
  • examples/tee — 6 commits
  • docs/src — 3 commits
  • tests/streams — 3 commits
  • tests/tee — 3 commits
  • build/debug — 2 commits
  • examples/orderbook — 2 commits
  • src/network — 2 commits
  • src/primitives — 2 commits
  • src/streams_old — 2 commits
  • tests/collections — 2 commits
  • actors/README.md — 1 commit
  • actors/rpc — 1 commit

Notable commits

  • fix: Add stream status tests and fix consumer receiver
  • fix: Chore: fix crate version conflict
  • fix: Discovery: Fixed delayed startup time with DHT bootstrap
  • fix: fix clippy errors
  • fix: fix unreachable_pub
  • change: Add repository guidelines and docs
  • change: All tests are passing
  • change: Authenticate stream producers and consumers through tickets. (#15)
  • change: Changed default system hash to blake3
  • change: Checkpoint
  • change: Checkpoint
  • change: Checkpoint
  • change: Chore: CODEOWNERS
  • change: Chore: Pedantic clippy
  • change: Chore: Remove old build script
  • change: Chore: Simplified Cargo.toml
  • change: Chore: Update README.md
  • change: Chore: Update Readme
  • change: Chore: Update Readme
  • change: Chore: Update Readme
  • …and 238 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

flashbots/mosaik 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 17 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 88b23b790473ba089e48b5e4b188ee3e0be59f3b — the exact code this score is about.
  • Scored under rubric-2026.11.4 — 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.85+preprod-eba6548ac50f.