RedTeamLLM
Plan correction, memory management, and context-window constraints via the summarize-reason-act loop.
A monolithic ReAct loop fails on long offensive engagements for three compounding reasons. Context overflow loses information. Plan drift buries the objective in noise. Memory loss discards early findings. RedTeamLLM's summarize-reason-act decomposition addresses all three.
Plan correction is the reason step's job, not the model's implicit responsibility. The reason step sees the prior action's outcome and the summarized state, and revises the plan on failure. This is the explicit handling of error compounding that Course 1 Module 1 flags.
Persistent finding memory must be separate from context. Findings recorded at step 5 must still be available at step 50. Memory inside the context window is memory that summarization can destroy.
The three-step decomposition introduces a novel injection surface. Adversarial content that survives the summarize step reaches the planner. More structure means more surfaces — the tradeoff of decomposition that any decomposed offensive harness must audit.