Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Conversation

@stared
Copy link
Contributor

@stared stared commented Aug 18, 2025

No description provided.

stared and others added 3 commits August 18, 2025 17:17
- Add robust turn plan extraction with _get_turn_plan() helper method
- Fix KeyError when accessing plan["turn_plans"] with missing or empty data
- Remove "Continue to next attempt?" prompts for automatic execution
- Make infinite mode truly infinite with no user prompts
- Maintain keyboard interrupt handling for user control

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add --learn-from CLI parameter (default: 1, 0=none, N=last N sessions)
- Add SessionManager.get_recent_sessions() and extract_successful_patterns()
- Integrate learning context into InteractiveRedTeamV2 and ExploitAgent
- Enhance attack planning with successful patterns from past sessions
- Include successful prompt examples in turn generation
- Update mode 3 to leverage actual learning data instead of hardcoded goals
- Show learning statistics and patterns being used for transparency

The system now learns from previous successful attacks, incorporating:
- Successful strategies and their frequency
- Conversation patterns from successful attempts
- Similar prompt examples for each turn type
- Success rates and pattern insights

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Use session start_time instead of current time when saving sessions
to ensure consistent filenames throughout the session lifecycle.

Previously:
- Session creation: uses start_time
- Session saving: uses current time (inconsistent)

Now:
- Session creation: uses start_time
- Session saving: uses start_time (consistent)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@jakozaur jakozaur merged commit bb4f368 into main Aug 19, 2025
2 checks passed
@jakozaur jakozaur deleted the migdal branch August 19, 2025 21:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants