Skip to content

Document untrusted output marking as optional - #9

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

vinniefalco merged 1 commit into
cppalliance:masterfrom
vinniefalco:master

Conversation

@vinniefalco

@vinniefalco vinniefalco commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Marks \ToolOutput::untrusted\ and \RV_RESULT_UNTRUSTED\ as optional API hooks that shipped Packs currently do not use, and regenerates
unvil_plugin.h.

Summary by CodeRabbit

  • Documentation
    • Clarified that untrusted-result marking is optional and available to Hosts and Packs that opt in.
    • Documented that shipped Packs currently return trusted results.
    • Updated descriptions of untrusted results across the plugin documentation; the system-level descriptions no longer state that the Host always marks such text before a model reads it.

Mark `ToolOutput::untrusted` and `RV_RESULT_UNTRUSTED` as optional API hooks that shipped Packs currently do not use. Regenerate `runvil_plugin.h` to match `runvil-plugin-sys`.
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Documentation for untrusted tool results now describes marking as optional for opted-in Hosts and Packs. It also states that shipped Packs currently return trusted results.

Changes: Untrusted result documentation

Layer / File(s) Summary
Untrusted result API comments
crates/runvil-plugin-sdk/src/tool.rs, crates/runvil-plugin-sys/include/runvil_plugin.h, crates/runvil-plugin-sys/src/lib.rs
The comments describe untrusted marking as optional and note that shipped Packs use trusted results. The Rust comments retain conditional Host marking; the C header comment removes that claim.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: Minimal · up to 5b584

This is a documentation-only change that clarifies untrusted-result marking as optional and notes that shipped Packs currently return trusted results. It has no runtime impact and is safe to merge.

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 "Document untrusted output marking as optional" matches the main change. The PR rewrites the docs for ToolOutput::untrusted and RV_RESULT_UNTRUSTED so they describe untrusted marking as opti…
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 "Document untrusted output marking as optional" matches the main change. The PR rewrites the docs for ToolOutput::untrusted and RV_RESULT_UNTRUSTED so they describe untrusted marking as optional, available to Hosts and Packs that opt in, and not used by shipped Packs, which return trusted results. The title is specific and concise, and it names the primary change.

  • 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: 6163d2a8-6e12-4b8a-83d0-576dcc097bda
Commits

Reviewing files that changed from the base of the PR and between 626bd54 and 5b58496.

Files selected for processing: 3

  • crates/runvil-plugin-sdk/src/tool.rs
  • crates/runvil-plugin-sys/include/runvil_plugin.h
  • crates/runvil-plugin-sys/src/lib.rs

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

@vinniefalco
vinniefalco merged commit 5100041 into cppalliance:master Dec 3, 2026
8 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