Skip to content

Step-level replay: memoized agent results #8

Description

@Michaelliv

True resume that skips completed agents.

Approach:

  • Hash script body
  • Key agent results by (scriptHash, phase, label)
  • Persist results under workflow-runs//results/.json
  • On resume, runWorkflow short-circuits agent() calls with a memoized result

Requires stable (phase, label) per agent. Document determinism rules accordingly.

Parent: #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    workflowWorkflow runtime

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions