# Changelog

## Score

- CAI 55 → 54 (-1.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 62 → 62 (+0.0)
- Architecture 89 → 88 (-1.3)
- Maturity 63 → 63 (+0.0)
- Readiness 59 → 59 (+0.0)
- Security 44 → 41 (-3.4)
- Domain Modelling 100 → 100 (+0.0)

## Resolved (4)

- Ambiguous broadcast API: `Rage.Cable.broadcast` and `Channel.broadcast` appear to do the same thing (broadcasting to a stream), while `Channel.broadcast_to` suggests a different intent (broadcasting to a streamable object). It is unclear if `Channel.broadcast` is a convenience wrapper for `Channel.broadcast_to` or if they serve distinct purposes (e.g., raw stream name vs. resolved streamable).
- Inconsistent argument order: `use` takes `(middleware, args, block)`, while `insert_before` and `insert_after` take `(existing, new_middleware, args, block)`. The position of `args` and `block` relative to the middleware reference changes, which is error-prone for developers.
- Inconsistent handling of connection identification: `Connection.identified_by` takes a list of identifiers (likely for setting up the connection), while `RemoteDisconnect.disconnect` takes a single `identified_by` argument (likely for targeting). The naming `identified_by` as a method on Connection is also confusing compared to standard Rails ActionCable where `identified_by` is a class-level declaration.
- Inconsistent parameter ordering in backend methods: `add_task` has `task` first, while `add_dead_task` has `task_id` first. This inconsistency makes it difficult to write generic backend wrappers or switch implementations.

## Changes since last survey

- 4 commits — 4 feature/other, 0 fixes

## By area

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

## Notable commits

- change: Bump version
- change: Cap read length to the remaining buffer space (#416)
- change: Improve error message when base64 is not available
- change: [Cable] Support passing protocol options when using remote disconnect (#415)
