Skip to content
CAI
Software that uses CAICheck a score

Kyorai/cuttlefish

62.9

Weak · 15 November 2026

10k

lines of production code

Erlang

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial release of Cuttlefish configuration management library

This change introduces the Cuttlefish library (version 3.9.1) for managing Erlang application configurations. It provides a parser for sysctl-style \.conf\ files, a schema definition system with support for various data types (such as integers, strings, booleans, durations, and bytesizes), and a generator that produces \app.config\ and \vm.args\ files. The library includes an escript for command-line operations like schema description and configuration validation, and supports features like configuration file inclusion, environment variable substitution, and advanced configuration overlays.

src · high confidence

New Erlang VM configuration schema for scheduler, port, and thread settings

The priv/erlang\_vm.schema file introduces a new configuration mapping layer for Erlang runtime flags, allowing users to control scheduler threads (erlang.schedulers.total/online), async thread pools (erlang.async\_threads), and concurrent ports (erlang.max\_ports). The schema handles version-specific flag differences (e.g., +Q vs ERL\_MAX\_PORTS for R15 vs R16+), enforces value validators (e.g., max 1024 for schedulers, range 1024-134217727 for ports), and computes friendly byte-size values for stack sizes based on the system word size.

priv · high confidence

Behavioural changes

Cuttlefish v3.9.1: Erlang/OTP 29 compatibility

Cuttlefish v3.9.1 updates the library to support Erlang/OTP 29 by replacing deprecated prefix-catch expressions with standard try...catch...end blocks. The CI matrix now covers Erlang 26 through 29, ensuring the library remains compatible with the latest Erlang releases.

(repo-wide) · high confidence

Test coverage

Added basic schema configuration for escript prune test; Added test fixtures for configuration parsing and Unicode handling; Expanded test coverage for configuration schema features.

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

Lenses

  • Code Health 70 → 70 (-0.2)
  • Architecture 100 → 100 (+0.0)
  • Maturity 53 → 55 (+1.6)
  • Readiness 60 → 60 (+0.0)
  • Security 83 → 75 (-8.3)
  • Event Sourcing 100 → 100 (+0.0)

Resolved (3)

  • Hotspot: src/cuttlefish_error.erl (src/cuttlefish_error.erl)
  • No ADRs found
  • Off-boarding risk: anonymized user #1

New (7)

  • Edited copy of a member (10 corresponding lines) (src/conf_parse.erl)
  • Edited copy of a member (5 corresponding lines) (src/conf_parse.erl)
  • Edited copy of a member (5 corresponding lines) (src/cuttlefish_datatypes.erl)
  • Edited copy of a member (6 corresponding lines) (src/cuttlefish_duration_parse.erl)
  • Edited copy of a member (9 corresponding lines) (src/conf_parse.erl)
  • No ADRs found (rebar.config)
  • Off-boarding risk: anonymized user #1

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

Survey your own repository

Kyorai/cuttlefish 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 15 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 c88696aa3907ccc7f749f037762587da11c88772 — 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.65+preprod-3c33c1882dc1.