Skip to content

ci(bot): onboard distilled lessons and cross-review - #476

Merged
vuanhphung merged 4 commits into
mainfrom
vu/bot-learning-cross-review
Nov 17, 2026
Merged

vuanhphung merged 4 commits into
mainfrom
vu/bot-learning-cross-review

Conversation

@vuanhphung

@vuanhphung vuanhphung commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Migrate the daily learning loop to distill mode 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 6014478 for 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-0543 in 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.

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>

@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.

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.

Comment thread .claude/knowledge/learning-log.md Resolved
Comment thread .claude/knowledge/lessons.md Resolved
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>

@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 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'

Comment thread .claude/knowledge/lessons.md Resolved
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>

@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 Terra), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

@vuanhphung
vuanhphung enabled auto-merge November 17, 2026 20:50
@vuanhphung
vuanhphung added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 596379d Nov 17, 2026
22 of 25 checks passed
@vuanhphung
vuanhphung deleted the vu/bot-learning-cross-review branch November 17, 2026 21:36

This branch was previously deployed

1 inactive deployment
azure-prod — 2a2e412d Deployed Nov 17, 2026 by oss-reviewer-bot[bot] via followup #3471
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants