This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+12 more
Summary
AI summaryFixed false-positive inheritance lint on subscripted generic bases.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Bugfix | Medium |
Fixes false-positive inheritance lint on subscripted generic bases. Fixes false-positive inheritance lint on subscripted generic bases. Source: llm_adapter@2026-07-20 Confidence: medium |
— |
Full changelog
Fixed
-
The Python inheritance lint false-positived on every subscripted-generic base.
Derivation strips the generic type-param (_strip_type_params, v4.4.36) so a
typed cohort's dominant base isBaseRepository, but_py_positional_bases
compared the rawBaseRepository[Shipment]and never matched, firing
inheritance-convention-violationon every generic repository on every edit --
the enforcement-side twin of the derivation asymmetry v4.4.36/37 fixed. The
lint now strips the subscript with the SAME_strip_type_params, and the base
split is bracket-depth-aware so a multi-arg generic (Generic[T, U]) is not
fractured on its internal comma. A genuinely wrong base still flags. Verified
end-to-end:class VehicleRepository(BaseRepository[Vehicle])in the FastAPI
fixture no longer fires the rule.The bracket-aware comma splitter was de-duplicated in the process: hook_helper
carried an identical_split_top_level; both now share lint_engine's copy so
they cannot drift.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Chameleon
All releases →Beta — feedback welcome: [email protected]