-
Notifications
You must be signed in to change notification settings - Fork 800
MAINT: AdversarialConversationManager - unify adversarial-chat context, schema, and multimodal feedback #2053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rlundeen2
wants to merge
22
commits into
microsoft:main
Choose a base branch
from
rlundeen2:rlundeen2/unify-red-team-attack-schema
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3009289
Unify adversarial-chat JSON schema across Crescendo, TAP, and PAIR
rlundeen2 34cab33
Drop redundant inline JSON schema from Crescendo prompts
rlundeen2 6bb0b8d
Add end-to-end test that adversarial-chat schema reaches the target
rlundeen2 37963ed
Merge commit 'refs/pull/2039/head' of https://github.com/microsoft/Py…
rlundeen2 caef853
WIP: AdversarialConversationManager redesign + config
rlundeen2 613d7d3
Merge remote-tracking branch 'origin/main' into rlundeen2/unify-red-t…
rlundeen2 7ca360f
Merge main: fold modality routing into AdversarialConversationManager
Copilot f229ffa
Refactor adversarial feedback branching into a Python helper
Copilot 6913064
Refine AdversarialConversationManager: schema-driven parsing, naming,…
Copilot 92de3d1
Unify Crescendo/TAP/PAIR on the shared adversarial-chat parser
Copilot 7a124ff
Complete seed_prompt->first_message rename in factory tests
Copilot e934889
Make image-generation adversarial prompts reference seed images, not …
Copilot d0132a3
Merge main into rlundeen2/unify-red-team-attack-schema
Copilot 451ddaa
Merge branch 'main' into rlundeen2/unify-red-team-attack-schema
romanlutz 05c2995
Manager owns full adversarial contract; migrate red_teaming + schema-…
Copilot c166127
Route Crescendo and TAP through the adversarial conversation manager
Copilot 83f1f2c
Update schema-forwarding tests for the manager-owned adversarial send
Copilot 87d5584
Add cross-attack regression test for camelCase adversarial replies
Copilot a25c22a
Delegate TAP seed path to AdversarialConversationManager
Copilot afb257a
Fold SimulatedConversation next-message onto AdversarialConversationM…
Copilot 727825a
Move adversarial-prompt resolution into the manager via resolve_config
Copilot 544edc5
Add adversarial-input media-forwarding parity tests for Crescendo and…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
460 changes: 460 additions & 0 deletions
460
pyrit/executor/attack/component/adversarial_conversation_manager.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.