Repository navigation
ci(bot): onboard distilled lessons and cross-review - #476
Conversation
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
There was a problem hiding this comment.
Verdict: 1 Medium · 1 Low
The workflow and config changes look sound, with one medium concern: the "frozen, not injected" archive is still being injected into bot prompts. Running the reviewer from base/dispatch-ref source and reading the validated same-repo PR head in a separate checkout is a correct hardening step.
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Terra), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Low
Looks good, with 1 low concern. Splitting the trusted checkout from a read-only checkout of the PR head, and validating that the PR is open and not from a fork, tightens the reviewer workflow. The config migration and archive preservation look consistent.
This overview is Claude Opus 5.5's initial take; some of its points were set aside by the cross-check judge — see the findings below.
🔀 1 finding considered and dismissed by the judge
- 🟡 Medium
.github/actions/bot-prelude/action.yml:35— A PR that changes this pin is reviewed using the base checkout's previous pin, so the normal PR-triggered job cannot validate the proposed engine before merge.
Judge's evidence:default: '60144783c5c3e4c242df9f1f5a0f25cd71cf5f4c'
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Migrate the daily learning loop to
distillmode with learning-PR auto-merge disabled. Preserve all 169 rules from pending #251 in a frozen archive and seed 95 distilled lessons (18.2 KB). Future learning uses a fresh rolling branch.Pin the bot engine to
6014478for two independent reviewers and a judge. Manual reviews inspect the resolved PR head in a separate checkout while running trusted workflow code. Use the engine retrospective prompt.Validation: 139 engine tests, config/routing/archive checks, reviewer input checks, and actionlint passed. A read-only November 16 retrospective found two merged PRs and no duplicate events. Review feedback corrected metadata guidance and lesson provenance; the archive-exclusion concern was verified against the pinned engine. The final cross-review found no issues, and all three review threads are resolved.
Formatting, Clippy, DCO, unit/doc tests, C ABI smoke, ADBC, rustls build, and Linux/macOS/Windows symbol checks pass. Security Scan fails on
chrono 0.4.45/RUSTSEC-2026-0543in the four unchanged Cargo lockfiles; this PR changes no dependencies.After merge, dispatch the learning workflow once and review its first journal/lessons PR. The preserved snapshot of #251 is
9006e324; check for newer entries before retiring that legacy PR.