# Changelog

## Score

- CAI 53 → 58 (+5.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 53 → 53 (+0.2)
- Architecture 93 → 93 (-0.1)
- Maturity 43 → 67 (+24.6)
- Readiness 74 → 61 (-12.7)
- Security 79 → 64 (-14.2)
- Performance 60 → 60 (+0.0)

## Resolved (16)

- ChatCompletionBodyMaker.handleJsonSchema (cognitive 18) (openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala)
- Duplicated block (11 lines × 2) (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala)
- Duplicated block (24–25 lines × 2) (openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala)
- Duplicated block (9 lines × 2) (openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala)
- JsonFormats.jsonSchemaWrites (cognitive 16) (openai-core/src/main/scala/io/cequence/openaiscala/JsonFormats.scala)
- JsonFormats.jsonSchemaWrites (cyclomatic 17) (openai-core/src/main/scala/io/cequence/openaiscala/JsonFormats.scala)
- Low cohesion: OpenAIAnthropicChatCompletionService (LCOM4 5) (anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala)
- Near-duplicate member pair (59 shared lines) (openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala)
- Outdated: ch.qos.logback:logback-classic
- Outdated: com.typesafe.scala-logging:scala-logging_2.13
- Outdated: net.codingwell:scala-guice_2.13
- Outdated: org.scalactic:scalactic_2.13
- Split anthropic-client
- Split openai-core
- impl.toNonSystemVertexAI (cognitive 16) (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala)
- impl.toNonSystemVertexAI (cyclomatic 16) (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala)

## New (18)

- Boundary-crossing change coupling: NonOpenAIModelId.scala ↔ DecisionProviderSettings.scala (openai-core/src/main/scala/io/cequence/openaiscala/domain/NonOpenAIModelId.scala)
- Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
- Duplicated block (10 lines × 2) (openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala)
- Duplicated block (12–15 lines × 2) (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala)
- Duplicated block (15–18 lines × 2) (google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala)
- Duplicated block (25–26 lines × 2) (openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala)
- Hotspot: google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala)
- Hotspot: openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala (openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala)
- JsonSchemaShape.toJsonSchema (cyclomatic 16) (openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala)
- MethodTooLong: RetryEngine.run (openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala)
- Near-duplicate member pair (81 shared lines) (openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala)
- OpenAIResponsesChatCompletionService.convertMessages (cyclomatic 16) (openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala)
- Projects may be oversized for their cohesion
- RetryEngine.run (cognitive 38) (openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala)
- RetryEngine.run (cyclomatic 32) (openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala)
- TooManyMethods: ChatCompletionSettingsConversions (openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionSettingsConversions.scala)
- impl.toVertexAIContents (cognitive 16) (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala)
- impl.toVertexAIContents (cyclomatic 16) (google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala)

## Changes since last survey

- 28 commits — 27 feature/other, 1 fixes

## By area

- (root) — 8 commits
- openai-core/src — 7 commits
- (repo) — 2 commits
- anthropic-client/src — 2 commits
- openai-examples/src — 2 commits
- typesafe-client/src — 2 commits
- claude-agent-client/src — 1 commit
- docs/graders-api.md — 1 commit
- google-gemini-client/src — 1 commit
- google-vertexai-client/src — 1 commit
- openai-client/src — 1 commit

## Notable commits

- fix: Merge pull request #132 from dajiaohuang/docs/fix-method-and-provider-keys-20261031
- change: 1.7.0: CHANGELOG dated, version 1.7.0 (Maven Central 2026-11-06)
- change: Anthropic OAuth profiles: a bounded token refresh, no waiting under the lock
- change: Decision models: Sarvam Prism and Bespoke Labs' Nimble presets
- change: Derived JSON schemas: Option as required + nullable, AnyOf, enum order, @JsonSchemaIgnore
- change: Docs: the 1.6.1 CHANGELOG, CLAUDE.md, the providers and streaming pages
- change: Docs: the Groq link (wow.groq.com redirects to groq.com)
- change: Failover policy, one retry engine, failover log levels
- change: GPT-6.1 Terra, Mistral's GLM 5.3 Flash / DeepSeek V4.1 Flash, decision model updates
- change: Gemini: drop refused penalties / n, URL context tool
- change: Groq qwen/qwen3.8-27b leaves models-supporting-json-schema
- change: Guardrails check everything a reply releases (security)
- change: Merge pull request #131 from octo-patch: MiniMax-M3.1-Flash model id, example and docs
- change: MiniMax-M3.1-Flash: conversions per MiniMax's docs, wire specs (follow-up to #131)
- change: MiniMax-M3: split its thinking out of the content, none as thinking disabled
- change: Mistral Large 4: reasoning_effort low / medium / high
- change: OpenAI-shaped streams omit provider-executed tool calls (security)
- change: PathSegment: an id is one URL path segment, a bad one fails the call (security)
- change: Reasoning carried between tool rounds: a provider-neutral ReasoningMessage
- change: Release prep: 1.7.0
- …and 8 more
