From 41ebcd35bdb1aab06f5c8739b372e8f9cfb86839 Mon Sep 17 00:00:00 2001 From: "peco-engineer-bot[bot]" Date: Wed, 18 Nov 2026 17:25:53 +0000 Subject: [PATCH] learn: retrospective learnings Signed-off-by: peco-engineer-bot[bot] --- .claude/knowledge/journal/2026-11-18.md | 10 ++++++++++ .claude/knowledge/lessons.md | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .claude/knowledge/journal/2026-11-18.md diff --git a/.claude/knowledge/journal/2026-11-18.md b/.claude/knowledge/journal/2026-11-18.md new file mode 100644 index 00000000..b424ff71 --- /dev/null +++ b/.claude/knowledge/journal/2026-11-18.md @@ -0,0 +1,10 @@ +# Learning journal 2026-11-18 + +### 2026-11-18: Bot workflow and CI — GitHub Actions dot dereference accepts hyphenated property names +**Context:** In PR #620 the seeded lesson L-0060 said hyphenated workflow_dispatch inputs need bracket notation. In PR #621 it was corrected: GitHub Actions expressions allow `-` in property names under dot dereference, so the repo's own `${{ inputs.window-hours }}` is valid. The archived #499 claim that it parses as subtraction was wrong. +**Rule:** Do not flag or rewrite `${{ inputs.some-name }}` as a subtraction bug, because GitHub Actions expressions allow hyphens in dot-dereferenced property names. + +### 2026-11-18: Retrospective / lessons — Check a lesson against nearby code and docs before promoting it to a standing rule +**Context:** In PR #620, archived log entries were distilled into lessons.md, which is now the only learning text injected into both bots' prompts. A reviewer found that L-0060 contradicted the workflow file right next to it and was unsupported, and PR #621 cut it back to the verified part only. +**Rule:** Before promoting an archived or journal observation into lessons.md, check it against the current code and the official docs, and keep only the verified part, because injected lessons drive bot edits and findings. + diff --git a/.claude/knowledge/lessons.md b/.claude/knowledge/lessons.md index ef7a683a..0b3ae3f9 100644 --- a/.claude/knowledge/lessons.md +++ b/.claude/knowledge/lessons.md @@ -1,6 +1,6 @@ # Lessons - + ## Configuration and authentication - L-0001 (3×, #457): Trace option support through DBSQLClient, auth adapters and each transport. Type declarations and class comments do not establish forwarding; shared preparation can precede backend-specific filtering. @@ -77,3 +77,4 @@ - L-0064 (1×, #566): Scrub JFrog and OIDC request credentials inside the model-driven step; modifying GITHUB_ENV does not unset its inherited environment. - L-0065 (1×, #566): Build after installs that omit prepare so generated lib/version.ts exists before tests/type checks. - L-0066 (1×, #566 #562): Serialize branch-editing bot flows with one per-PR concurrency group and restore dependency-setup lockfile rewrites before agent edits. +- L-0067 (1×, #621 #620): GitHub Actions expressions allow hyphens in dot-dereferenced names; do not flag or rewrite `${{ inputs.some-name }}` as subtraction.