Repository navigation
feat: an operation may declare stateResetPointers for the state-reset check - #191
Merged
Merged
Conversation
… check The state-reset pre-flight check compares the transport fields and the value at each listed pointer of the pruned body, so a target whose answer varies run to run no longer fails it on text that is not fixture state. Absent, the whole projection is compared as before. compile refuses an entry a volatile pointer covers or the response descriptor does not declare. Claude-Session: https://claude.ai/code/session_01SNiqo5ZRjRdXvC4yb3trhk
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 39 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
⛔ Files ignored due to path filters (3)
📒 Files selected for processing (13)
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. Comment |
Merged
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.
Replaces #189, rebased onto main.
An operation may declare
stateResetPointersto identify response pointers describing fixture state for thestate-resetpre-flight check.When declared, the check compares transport status, exit code, tool error flag, and listed pointers after pruning
volatilePointers.Targets with variable outputs pass the check when fixture state matches.
When omitted, the check compares the whole projection as before.
Existing contracts keep their behavior.
An empty list compares transport fields alone.
Pointers reaching nothing read as absent, so one-sided presence counts as a difference.
Non-JSON bodies are compared whole.
Wildcards are refused.
Sensitivity and manifestation witnesses continue reading the whole projection.
The field is optional in the schema without bumping
EVAL_CONTRACT_SCHEMA_VERSION.Absence selects the full comparison, keeping contracts strict.
Schema tests exempt this key from the convention that every declared key is required.