Skip to content

Fix BUG-7, BUG-8, BUG-9 from demo findings#32

Merged
WellDunDun merged 3 commits intodevfrom
custom/prefix/router-1773068771538
Mar 9, 2026
Merged

Fix BUG-7, BUG-8, BUG-9 from demo findings#32
WellDunDun merged 3 commits intodevfrom
custom/prefix/router-1773068771538

Conversation

@WellDunDun
Copy link
Collaborator

Summary

Fixed three critical bugs in the evolve workflow:

  • BUG-7: eval-set loading now has try/catch with user-facing TUI errors instead of silent exit
  • BUG-8: Cold-start bootstrap allows evolve to work on skills with zero usage history by treating positive eval entries as missed queries
  • BUG-9: Added --out flag to evals CLI as alias for --output

All 285 evolution tests pass including new cold-start bootstrap test.

🤖 Generated with Claude Code

BUG-7: Add try/catch + array validation around eval-set file loading in
evolve() so parse errors surface as user-facing messages instead of
silent exit.

BUG-8: Add cold-start bootstrap — when extractFailurePatterns returns
empty but the eval set has positive entries, treat those positives as
missed queries so evolve can work on skills with zero usage history.

BUG-9: Add --out flag to evals CLI parseArgs as alias for --output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Warning

Rate limit exceeded

@WellDunDun has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 8 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 075be133-d3fc-4cc1-824b-a1b15c222540

📥 Commits

Reviewing files that changed from the base of the PR and between 62b16b0 and ade6b70.

📒 Files selected for processing (4)
  • cli/selftune/eval/hooks-to-evals.ts
  • cli/selftune/evolution/evolve.ts
  • tests/blog-proof/seo-audit-evolve.test.ts
  • tests/evolution/evolve.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch custom/prefix/router-1773068771538

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aedd329c74

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// match but there are zero skill usage records, treat the positive eval
// entries themselves as "missed queries" — they ARE the failure signal.
const positiveEvals = evalSet.filter((e) => e.should_trigger);
if (positiveEvals.length > 0) {

Choose a reason for hiding this comment

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

P1 Badge Restrict cold-start bootstrap to empty usage history

The new cold-start branch now runs whenever failurePatterns is empty and there is at least one positive eval entry, but it never checks that the skill actually has zero prior usage. In normal runs this can happen when a mature skill already triggers correctly on all positives (so extraction returns no misses), and this code will still fabricate a coldstart failure pattern and force proposal generation/deployment from non-failures, which can regress a stable description.

Useful? React with 👍 / 👎.

@WellDunDun WellDunDun merged commit bd764c5 into dev Mar 9, 2026
5 checks passed
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.

1 participant