diff --git a/.claude/knowledge/journal/2026-11-18.md b/.claude/knowledge/journal/2026-11-18.md new file mode 100644 index 00000000..1aa792ca --- /dev/null +++ b/.claude/knowledge/journal/2026-11-18.md @@ -0,0 +1,6 @@ +# Learning journal 2026-11-18 + +### 2026-11-18: Lessons distillation — Merged lessons must keep each case's concrete rule +**Context:** In PR #476's lessons migration, L-0065 merged the #353 rule (identifier filters use eq_ignore_ascii_case) with the #393 rule (table_types filters are case-sensitive) into the vague line "neither HiveServer2 nor blanket case-folding is authoritative". The reviewer flagged that the merged text told neither bot which comparison to use, which made the #353 regression easy to bring back. +**Rule:** When distilling archive rules that point in different directions into one lesson, state each case's concrete instruction explicitly (e.g. identifiers → case-insensitive, table_types → case-sensitive) instead of summarizing them as "neither is authoritative". + diff --git a/.claude/knowledge/lessons.md b/.claude/knowledge/lessons.md index 766b3bd2..637c1121 100644 --- a/.claude/knowledge/lessons.md +++ b/.claude/knowledge/lessons.md @@ -1,6 +1,6 @@ # Lessons - + ## Public API and bindings - L-0001 (4×, #250 #184 #372): Preserve public Rust compatibility: non-exhaustive structs need external builders, public enums need fallback arms, and breaking 1.x type changes require a major release.