Prevent context rot over long trajectories by summarizing completed sub-tasks and pruning stale tool outputs.
{
"active_goal": "Deploy containerized service",
"completed_steps": ["audit_vhost", "verify_php_profile"],
"next_action": "enable_rewrite_rules"
}