# Changelog

## Score

- CAI 65 → 67 (+2.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 74 → 74 (+0.0)
- Architecture 99 → 99 (+0.0)
- Maturity 55 → 60 (+4.9)
- Readiness 66 → 67 (+0.1)
- Security 87 → 82 (-4.9)

## Resolved (7)

- Ambiguous method overloading/usage. `parse` exists as both a constructor-like initializer taking a string and a no-arg method. This suggests `parse(string)` might be a factory or setter, while `parse()` is the execution step, but the naming is identical, causing confusion about whether calling `parse` with args replaces the buffer or parses immediately.
- Confusingly similar naming for distinct concepts. `type()` likely returns the Kubernetes Kind (e.g., 'Deployment'), while `kubectl_resource_type()` likely returns the API resource name (e.g., 'deployments'). Similarly, `group()` returns the API group. These are semantically distinct but named similarly, risking confusion about which returns the plural resource name vs the Kind string.
- Inconsistent exception handling semantics. The `!` suffix in Ruby typically indicates a method that raises exceptions on failure, while the non-`!` version might return a boolean or nil. Without documentation, it is unclear if `validate_config_files` is a 'soft' check and `validate_config_files!` is a 'hard' check, or if they are redundant aliases with different error handling. This creates a cognitive load for API users to remember which variant to use.
- Off-boarding risk: anonymized user #1
- Orphaned file (lib/krane/kubeclient_builder.rb)
- Outdated: ruby-prof
- Outdated: statsd-instrument

## New (2)

- Further sole-owners (lower concentration)
- Off-boarding risk: anonymized user #1

## Changes since last survey

- 2 commits — 0 feature/other, 2 fixes

## By area

- (repo) — 1 commit
- (root) — 1 commit

## Notable commits

- fix: Merge pull request #993 from Shopify/bugfix/validate-empty-context-kube-config
- fix: fix: validate that contexts exists before trying to build client
