Skip to content

fix(team): resolve wave validator model - #138

Merged
w0wl0lxd merged 6 commits into
mainfrom
fix/team-validator-model-resolution
Jul 27, 2026
Merged

w0wl0lxd merged 6 commits into
mainfrom
fix/team-validator-model-resolution

Conversation

@w0wl0lxd

Copy link
Copy Markdown
Owner

Summary

  • resolve exact or tier-based validator models before opening validation sessions
  • preserve exact-model precedence and default strong-tier routing
  • cover exact, configured-tier, and default-tier behavior

Context

Recent team runs repeatedly failed wave validation because the literal tier strong was passed as a model spec. Retries then consumed the team agent-call budget without validating completed work.

Validation

  • stylua --check plugins/team/validation.lua plugins/team/tests/spec.lua
  • cargo test -p n00n-lua --test spec team_plugin_spec
  • git diff --check

@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@w0wl0lxd, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 56 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1bdb45ff-9203-460c-b7ec-402242c2f4d6

📥 Commits

Reviewing files that changed from the base of the PR and between 6351b86 and a4d25c2.

📒 Files selected for processing (3)
  • changelog.d/team-wave-validator-model.fixed.md
  • plugins/team/tests/spec.lua
  • plugins/team/validation.lua
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/team-validator-model-resolution

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.

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@w0wl0lxd
w0wl0lxd marked this pull request as ready for review July 27, 2026 06:49
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e969f61270

ℹ️ 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".

Comment on lines +360 to +362
prompt = function()
return "PASS", nil
end,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Return a prompt-result table from validator mocks

When model resolution succeeds and a real validation prompt completes, n00n.agent.session():prompt returns a table whose response is in result.text (n00n-lua/src/api/agent.rs, prompt_result_table), not a string. Both new mocks return "PASS" directly, so the tests conceal that validate_wave subsequently invokes response:match(...) on the real table and crashes every successfully resolved validation. Make the mocks return { text = "PASS", ... } and update the validator to inspect res.text.

Useful? React with 👍 / 👎.

@w0wl0lxd
w0wl0lxd merged commit abae95f into main Jul 27, 2026
29 checks passed
@linear-code

linear-code Bot commented Jul 27, 2026

Copy link
Copy Markdown

N00N-10

w0wl0lxd added a commit that referenced this pull request Jul 27, 2026
Resolve SessionRequest parent_id + steer/control and storage test imports.
@w0wl0lxd
w0wl0lxd deleted the fix/team-validator-model-resolution branch July 27, 2026 08:57
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