Repository navigation
working model - #1144
Closed
AAgnihotry wants to merge 1 commit into
Closed
working model#1144AAgnihotry wants to merge 1 commit into
AAgnihotry wants to merge 1 commit into
Conversation
apetraru-uipath
added a commit
that referenced
this pull request
Oct 13, 2026
…low-code does [AL-599] #1144 (AL-611) gave the low-code resolvers a three-way answer: None says nothing about files (text-only scope, or a payload that cannot be scanned), [] means files apply and none were found, a list names the files. With #1939 the service now sends an explicit [] on the wire, which lets a Files-only guardrail pass without a provider call. referenced_attachments and discover_attachments returned [] when the payload could not be scanned, so on a Files-scoped guardrail a broken payload would have passed without its text being judged. They now return None in that case. The decorator evaluator passes an explicit [] through when discovery found nothing, and BuiltInGuardrailValidator.run treats attachments=None as "say nothing" (bare call) and [] as "files apply, none found" (explicit [] only when the scope explicitly includes files). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.