Skip to content

Pin runvil-harness with built-in Rust compactor and update chat.md - #43

Merged
vinniefalco merged 1 commit into
cppalliance:masterfrom
vinniefalco:master
Dec 2, 2026
Merged

vinniefalco merged 1 commit into
cppalliance:masterfrom
vinniefalco:master

Conversation

@vinniefalco

@vinniefalco vinniefalco commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Update runvil-harness pin to 018caab4f6acc9db871e8480eb82b9eb55ddc71b and simplify crates/workshop/agents/agents/chat.md to use built-in Rust compaction via pcall(models.loop).

Summary by CodeRabbit

  • Changes
    • Chat conversations are no longer automatically condensed into summaries during processing.
    • Model context-window checks now account for configured limits and flag cases where a selected model has a smaller available window. This may affect how much conversation history can be used for a chat.
    • Chat responses continue to surface unexpected result types as errors.

Update runvil, harness-gateway-client, and plugin-mcp in Cargo.toml and Cargo.lock to commit 018caab4f6acc9db871e8480eb82b9eb55ddc71b. Remove the local Lua compactor from crates/workshop/agents/agents/chat.md and call pcall(models.loop). Update crates/workshop/server/src/agents/broker.rs and crates/workshop/server/src/agents.rs for the optional ModelBinding::context() and closed HarnessDelta enum.
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The PR updates the pinned runvil-harness revision, removes the chat agent’s custom compaction callback, removes a wildcard HarnessDelta match arm, and changes broker context-window checks and test matches.

Changes: Harness integration

Layer / File(s) Summary
Dependency pin and chat loop
Cargo.toml, crates/workshop/agents/agents/chat.md
The three runvil-harness dependencies use a new revision. The chat loop calls models.loop without the removed compaction routine and retains pcall protection.
Harness delta matching
crates/workshop/server/src/agents.rs
The wildcard match arm for HarnessDelta variants other than Text and Reasoning is removed.
Broker context handling and tests
crates/workshop/server/src/agents/broker.rs, crates/workshop/server/src/agents/broker-tests.rs
The broker checks the selected model’s context window when the binding has a context limit. The round and streamed_round helpers explicitly match ToolCalls as the panic case.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Merge Risk: Minimal · up to 64998 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two main changes: the runvil-harness dependency pin and the chat.md update. It states the built-in Rust compactor as the reason for the pin. The changeset pins runvil-harness to a …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two main changes: the runvil-harness dependency pin and the chat.md update. It states the built-in Rust compactor as the reason for the pin. The changeset pins runvil-harness to a new commit and removes the local Lua compactor from chat.md, so the title is related to the main change. It omits the broker and HarnessDelta adjustments, which is expected for a title.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: f7aeaf4e-6035-4a01-8b15-62f9434bf737
Commits

Reviewing files that changed from the base of the PR and between 96208ee and 64998a5.

Files ignored due to path filters: 1

  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 5

  • Cargo.toml
  • crates/workshop/agents/agents/chat.md
  • crates/workshop/server/src/agents.rs
  • crates/workshop/server/src/agents/broker-tests.rs
  • crates/workshop/server/src/agents/broker.rs
Files with no reviewable changes: 1

  • crates/workshop/server/src/agents.rs

Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

@vinniefalco
vinniefalco merged commit 67b9dbd into cppalliance:master Dec 2, 2026
18 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