Skip to content

learn: retrospective learnings - #589

Open
oss-engineer-bot[bot] wants to merge 1 commit into
mainfrom
ai/learning-distill-pr
Open

oss-engineer-bot[bot] wants to merge 1 commit into
mainfrom
ai/learning-distill-pr

Conversation

@oss-engineer-bot

@oss-engineer-bot oss-engineer-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Daily learning update (distill)

The journal is one new file per run and is never edited. The lessons file is the distilled state, ordered by ID. The only paths this PR changes are one new journal file and the lessons file.

Latest update 2026-12-01. Branch: rebuilt from the default branch after a lessons.md conflict; the PR's new journal files carried over (1).

  • Journal file added: .claude/knowledge/journal/2026-12-01.md
  • Distilled this run: 2026-11-30, 2026-12-01
  • Lessons added: L-0085, L-0086, L-0087, L-0088, L-0089
  • Lessons updated: L-0042
  • Lessons removed: 0
  • Lessons file: 12104 / 24576 bytes

Removed lessons (review each reason)

  • none

Journal entries dropped by the per-file cap

  • Verification and dependencies — Filter captured global-logger output by message in kernel tests

@oss-engineer-bot oss-engineer-bot Bot added the engineer-bot-learning Auto-generated retrospective learning PR label Nov 20, 2026

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

@oss-engineer-bot
oss-engineer-bot Bot force-pushed the ai/learning-distill-pr branch from f0e8bf8 to bcc24c8 Compare November 21, 2026 17:26

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

Verdict: 1 Medium

Docs-only learning update with 1 medium provenance concern. It looks like the branch rebuild dropped the 2026-11-20 journal file but kept the lessons distilled from it.

Comment thread .claude/knowledge/lessons.md Outdated
- L-0020 (1×, #556): Check integer duration values against MinInt64/unit and MaxInt64/unit before multiplication; report overflow with the parameter name.
- L-0060 [phase=review] (1×, #566): Kernel applies case variants of client-only session-conf keys in sorted byte order, so the canonical lowercase key wins; check pinned session.rs before flagging map-order nondeterminism.
- L-0061 (1×, #566): Forwarding a formerly inert option to a backend is a behavior change: label it so in CHANGELOG, explain the effect of existing tuned values, and test set values, not only unset.
- L-0067 (1×, #557): Bound x/oauth2 token fetches with a copied *http.Client with capped Timeout in the context under oauth2.HTTPClient, passing that context to TokenSource; never mutate DefaultClient or the caller's client. AuthStyle auto-detect may double first-fetch time.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium — L-0066, L-0067 and L-0070, plus the L-0041 (#577) and L-0050 (#574) updates, are distilled from a 2026-11-20 journal that isn't in the checkout, so they have no source entry and the journal is no longer the record they were built from. Restore .claude/knowledge/journal/2026-11-20.md in this PR, or drop those lessons and updates until it lands.

🔀 Found by Claude Opus 5.5 · the judge couldn't confirm it

@oss-engineer-bot
oss-engineer-bot Bot force-pushed the ai/learning-distill-pr branch from bcc24c8 to ad934f6 Compare November 24, 2026 17:52

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

Verdict: 1 Nit

Looks good. Only one nit. The four new lessons (L-0072–L-0075) are short and in scope, they don't contradict existing entries, and the distilled-through marker has been moved forward to match.

Other findings

  • ⚪ Nit — L-0072 is the only entry in a new 'HTTP transport' section, while the closely related retry lesson L-0034 sits under 'Native boundaries and lifecycle'. Consider grouping L-0072 with L-0034, or moving L-0034 into the new section, so retry and transport lessons are kept in one place. (Found by Claude Opus 5.5 · the judge disputed it but couldn't back that up, so it's kept)

@oss-engineer-bot
oss-engineer-bot Bot force-pushed the ai/learning-distill-pr branch from ad934f6 to c120151 Compare November 26, 2026 17:25

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

@oss-engineer-bot
oss-engineer-bot Bot force-pushed the ai/learning-distill-pr branch from c120151 to a785d9f Compare November 30, 2026 17:26

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

Verdict: 1 Low

One medium concern: the 2026-11-30 journal and L-0083/L-0084 match each other. But the 2026-11-26 journal behind the other new and updated lessons is missing from the repo.

Comment thread .claude/knowledge/lessons.md Outdated
- L-0020 (1×, #556): Check integer duration values against MinInt64/unit and MaxInt64/unit before multiplication; report overflow with the parameter name.
- L-0060 [phase=review] (1×, #566): Kernel applies case variants of client-only session-conf keys in sorted byte order, so the canonical lowercase key wins; check pinned session.rs before flagging map-order nondeterminism.
- L-0061 (1×, #566): Forwarding a formerly inert option to a backend is a behavior change: label it so in CHANGELOG, explain the effect of existing tuned values, and test set values, not only unset.
- L-0081 (1×, #595): Classify session loss from generic codes (NotFound, InvalidArgument) only with code plus case-insensitive message match; test lookalikes like missing table/statement or SqlError echoing the text.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Low — This PR adds L-0080, L-0081 and L-0082 (#595/#587) and updates L-0027, but the checkout has no journal entry for them. Only 2026-11-18 and 2026-11-30 exist under journal/, and 2026-11-30 covers only #603. These lessons have no source entry to trace back to. Restore the missing journal file, or drop the lessons until it lands.

🔀 Found by Claude Opus 5.5 · confirmed by the judge

Signed-off-by: peco-engineer-bot[bot] <peco-engineer-bot[bot]@users.noreply.github.com>
@oss-engineer-bot
oss-engineer-bot Bot force-pushed the ai/learning-distill-pr branch from a785d9f to 753224f Compare December 1, 2026 17:30

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

Verdict: 1 Medium

One medium concern: two of the new lessons have no source journal entry. The other new and updated lessons match the 2026-12-01 journal and stay in their categories.

- L-0053 (1×, #536): Prove no-storage-egress behavior through a workspace-only CONNECT proxy, asserting complete results and zero blocked attempts.
- L-0054 (2×, #559 #558 #555): Join test goroutines with bounded cleanup and context cancellation. Synchronize with channels and report callback failures without FailNow/Fatal from foreign goroutines.
- L-0055 (1×, #561): Root Go files must remain package dbsql/dbsql_test even behind tags; declare developer tools with the go.mod tool directive.
- L-0088 (1×, #603): Kernel sends its own HTTP (e.g. telemetry) natively; observe it via a test CONNECT proxy with trusted test CA (WithKernelProxy/WithKernelTrustedCerts), not a Go RoundTripper, and assert kernel field values.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium — L-0088 and L-0089 (#603) say they were distilled from a 2026-11-30 journal, but that file is not in the repo or this PR. After the rebuild these lessons have no source entry, and the distilled-through marker skips over the missing day. Restore .claude/knowledge/journal/2026-11-30.md in this PR, or drop L-0088/L-0089 until their source entry lands.

🔀 Found by Claude Opus 5.5 · the judge couldn't confirm it

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineer-bot-learning Auto-generated retrospective learning PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants