# Changelog

> **This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.**

## Score

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

## Lenses

- Code Health 76 → 76 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 44 → 51 (+7.6)
- Readiness 70 → 70 (+0.0)
- Security 74 → 74 (+0.0)

## Resolved (8)

- High: security finding (details withheld)
- High: security finding (details withheld)
- Inconsistent naming and parameterization for OTP generation. HOTP and TOTP use `.at(...)` with specific inputs (count/time), while the base OTP class uses `.generate_otp(input)`. Additionally, TOTP has a convenience method `.now()` which is not present in HOTP, creating an asymmetry in the API surface for generating the current code.
- Inconsistent verification signatures for the same logical operation. HOTP uses a 'counter' and 'retries' model, while TOTP uses 'drift' parameters and optional time overrides. This forces consumers to write different validation logic for each type despite both being OTP verification.
- Orphaned file (lib/rotp/otp.rb)
- Orphaned file (lib/rotp/totp.rb)
- Workflow token permissions not restricted (.github/workflows/release.yaml)
- Workflow token permissions not restricted (.github/workflows/test.yaml)

## New (5)

- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Off-boarding risk: anonymized user #1
- PR-triggered workflow without a permissions block (.github/workflows/test.yaml)

## Changes since last survey

- 5 commits — 5 feature/other, 0 fixes

## By area

- (root) — 3 commits
- lib/rotp — 1 commit
- spec/lib — 1 commit

## Notable commits

- change: Add Ruby 4.0 to the CI matrix (#155)
- change: chore(main): release 6.4.0 (#159)
- change: ci: publish gems to RubyGems from the release workflow (#157)
- change: ci: publish to RubyGems via trusted publishing (OIDC) (#158)
- change: feat: add skip_default_uri_params option to provisioning URIs
