Skip to content

Long-running PentesterFlow sessions can exceed context limits, forcing compaction. When this happens, execution state is not reliably preserved. #6

@PNP-MA

Description

@PNP-MA

Feature Request: Persistent Task Checkpoints Across Context Compaction

Problem

Long-running PentesterFlow sessions can exceed context limits, forcing compaction. When this happens, execution state is not reliably preserved.

Requested Feature

Add automatic task checkpoints that survive:

  • Context compaction
  • Agent restarts
  • Session continuation
  • Long autonomous runs

Suggested Implementation

Store structured checkpoints containing:

  • Objective
  • Plan
  • Current progress
  • Completed tasks
  • Pending tasks
  • Findings
  • Evidence
  • File references
  • Tool outputs

The agent should automatically reload the latest checkpoint after compaction and continue execution without requiring manual intervention.

Benefits

  • Reduced duplicate work
  • Better autonomous operation
  • More reliable long-running assessments
  • Improved user experience
  • Lower token consumption from repeated analysis

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions