# Changelog

## Score

- CAI 66 → 66 (+0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 74 → 74 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 50 → 51 (+0.3)
- Readiness 76 → 76 (+0.0)
- Security 97 → 95 (-2.1)
- Performance 85 → 85 (+0.0)

## Resolved (6)

- Confusing callback management API. `failure_callback` takes arguments, `override_failure_callback` sets a block, and `fetch_failure_callback` retrieves it. This mixes invocation, configuration, and retrieval in a non-standard way. Typically, you set a callback once and invoke it, or use a standard observer pattern.
- Duplicate intent for invoking a contract. `call` and `[]` (square bracket access) appear to perform the same operation (invoking the contract logic), which is confusing for API users who must choose between two names for the same action.
- Inconsistent hook naming and presence. `Contracts` and `Invariants` both define `included` and `extended`, but `Core` defines `included`, `extended`, AND `common`. The presence of `common` in `Core` but not in the other modules suggests a potential inconsistency in how module inclusion hooks are exposed or if `common` is a duplicate intent of `included`/`extended` in a different context.
- Inconsistent naming for formatter methods. `hash_contract` and `array_contract` are methods on `Expected` that likely format specific types. The naming is inconsistent with standard Ruby conventions (e.g., `format_hash`, `format_array`) and unclear if they are meant to be called directly or are internal helpers.
- Inconsistent validation method signatures. `Contract.valid?` takes two arguments (arg, contract), while all Builtin contracts (Num, Pos, Int, etc.) take only one (val). This forces users to use different code paths depending on whether they are using a generic Contract object or a specific Builtin type.
- Off-boarding risk: anonymized user #1

## New (2)

- Off-boarding risk: anonymized user #1
- Orphaned file (lib/contracts/formatters.rb)

## Changes since last survey

- 4 commits — 3 feature/other, 1 fixes

## By area

- (repo) — 1 commit
- .github/workflows — 1 commit
- features/basics — 1 commit
- features/builtin_contracts — 1 commit

## Notable commits

- fix: ! Fix cucumber issue
- change: $ Escape not really cucumber Scenarios
- change: Bump ruby/setup-ruby from 1.327.0 to 1.336.0
- change: Merge pull request #318 from egonSchiele/dependabot/github_actions/ruby/setup-ruby-1.335.0
