diff --git a/.claude/knowledge/journal/2026-11-24.md b/.claude/knowledge/journal/2026-11-24.md new file mode 100644 index 000000000..b937677b3 --- /dev/null +++ b/.claude/knowledge/journal/2026-11-24.md @@ -0,0 +1,5 @@ +# Learning journal 2026-11-24 + +### 2026-11-24: Release and packaging — Lock-file-only dependency bumps do not protect library installers +**Context:** In the 4.10.0 release PR #1079, the changelog said oauthlib was updated to 4.0.1 for security fixes. A reviewer found that only poetry.lock pinned 4.0.1, while pyproject.toml still allowed oauthlib>=3.1.0, so people installing the package could still get an unpatched version. +**Rule:** Before a changelog claims a security dependency update, raise the minimum version in pyproject.toml, or say the change only affects the lock file, because poetry.lock does not constrain people who install the published package. diff --git a/.claude/knowledge/lessons.md b/.claude/knowledge/lessons.md index 3f64682d5..050b4fd80 100644 --- a/.claude/knowledge/lessons.md +++ b/.claude/knowledge/lessons.md @@ -1,6 +1,6 @@ # Lessons - + ## Backend contracts and configuration - L-0001 (1×, log:2026-08-13): When changing cursor.description type_code strings, update every downstream conversion branch that matches them. @@ -57,3 +57,6 @@ - L-0045 (1×, #1004): Recheck capability claims after tool upgrades; replacing version numbers inside old support statements does not validate them. - L-0046 (1×, #1013): Confirm targeted regression tests fail when their guarded check is removed; inject inputs where earlier sanitization cannot neutralize the case. - L-0047 (1×, #1045): Secret-bearing CI steps must run Python isolated or from a neutral directory, preventing checkout modules from shadowing trusted imports. + +## Release and packaging +- L-0049 (1×, #1079): poetry.lock does not constrain installers of the published package: before a changelog claims a security dependency update, raise the pyproject.toml minimum or state the change is lock-file only.