Keep conversation history on handover

What does this MR do and why?

In order to prevent duplicate work, this MR passes conversation history when handing over.

The changes are behind a newly introduced env variable used as a feature flag and will be introduced as disabled, initially.

Related issues

Resolves #285 (moved)

Screenshots or screen recordings

Before After
Screenshot_2025-03-13_at_17.00.27 Screenshot_2025-03-13_at_17.02.58

Note that the current implementation needs to make a second read file hello.rb because the conversation history was not passed to the executor.

How to set up and validate locally

  1. Add FEATURE_HANDOVER_CONVERSATION_HISTORY=true
  2. Run a workflow
  3. Commands that were executed should not duplicate.
Edited by Halil Coban

Merge request reports

Loading