Skip to content

Commit c098b0a

Browse files
author
peco-engineer-bot[bot]
committed
learn: retrospective learnings
Signed-off-by: peco-engineer-bot[bot] <peco-engineer-bot[bot]@users.noreply.github.com>
1 parent 1fbbe28 commit c098b0a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Learning journal 2026-11-24
2+
3+
### 2026-11-24: Release and packaging — Lock-file-only dependency bumps do not protect library installers
4+
**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.
5+
**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.

‎.claude/knowledge/lessons.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Lessons
22

3-
<!-- distilled-through: 2026-11-18 -->
3+
<!-- distilled-through: 2026-11-24 -->
44

55
## Backend contracts and configuration
66
- 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 @@
5757
- L-0045 (1×, #1004): Recheck capability claims after tool upgrades; replacing version numbers inside old support statements does not validate them.
5858
- L-0046 (1×, #1013): Confirm targeted regression tests fail when their guarded check is removed; inject inputs where earlier sanitization cannot neutralize the case.
5959
- L-0047 (1×, #1045): Secret-bearing CI steps must run Python isolated or from a neutral directory, preventing checkout modules from shadowing trusted imports.
60+
61+
## Release and packaging
62+
- 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.

0 commit comments

Comments
 (0)