# Changelog

## Score

- CAI 71 → 71 (-0.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 65 → 65 (+0.0)
- Architecture 99 → 99 (+0.0)
- Maturity 73 → 76 (+3.0)
- Readiness 73 → 73 (+0.1)
- Security 83 → 75 (-8.3)

## Resolved (9)

- Duplicate intent between `ProviderServerRunner` and `ProviderStateServlet`. Both classes expose methods to add setup/teardown states with identical signatures. It is unclear why both exist and when to use one over the other, suggesting a potential architectural duplication.
- Duplicated block (5 lines × 2) (lib/pact/consumer/grpc_interaction_builder.rb)
- Inconsistent constructor signatures for Consumer vs Provider PactConfig. The Consumer config requires `consumer_name` and `provider_name` as positional arguments, while the Provider config only requires `provider_name` (and omits `consumer_name`). This forces different initialization patterns for symmetric concepts.
- Inconsistent method names for generating the interaction JSON representation. Most builders use `interaction_json()`, but `MessageInteractionBuilder` uses `build_interaction_json()`. This is a minor naming inconsistency that breaks the pattern.
- Inconsistent naming and argument structure for defining responses. HTTP builders use `will_respond_with` with explicit HTTP components, while gRPC and Sync Message builders use `will_respond_with` with a generic hash. This mirrors the request inconsistency and breaks the symmetry between request and response definition patterns in the same builder types.
- Inconsistent naming and argument structure for setting request/response payloads across interaction builders. HTTP builders use `with_request` with explicit HTTP components, while gRPC and Sync Message builders use `with_request` with a generic hash. Message builders use `with_json_contents` or `with_proto_contents`. This creates a fragmented API where the same logical step (defining the request) has different names and argument shapes depending on the transport.
- Off-boarding risk: anonymized user #1
- Outdated: rubocop
- Outdated: rubocop-performance

## New (3)

- MessageInteractionBuilder.validate! (cognitive 16) (lib/pact/consumer/message_interaction_builder.rb)
- Off-boarding risk: anonymized user #1
- Repeated repair: lib/pact/consumer/message_interaction_builder.rb (lib/pact/consumer/message_interaction_builder.rb)

## Changes since last survey

- 9 commits — 7 feature/other, 2 fixes

## By area

- .github/workflows — 6 commits
- (root) — 2 commits
- lib/pact — 1 commit

## Notable commits

- fix: fix: remove pact bin for cli no longer packaged in v2
- fix: fix: support plugin message contents without a transport
- change: chore(ci): install avro plugin
- change: chore(deps): update dependency ruby to v4.0.8 (#433)
- change: chore(deps): update dependency ruby to v4.0.9 (#434)
- change: chore(deps): update pact-foundation/pact-cli digest to 27100e9 (#429)
- change: chore(deps): update pact-foundation/pact-cli digest to 575a793 (#432)
- change: chore(deps): update pact-foundation/pact-cli digest to d3f8b44 (#428)
- change: chore(release): version 2.1.2
