Skip to content

Conversation

@jhills20
Copy link
Contributor

Summary

  • add a nest_handoff_history flag to RunConfig and call a new helper that condenses the prior transcript into a developer-role summary when handing off
  • update the default handoff path, docs, and helper library so that the developer summary is produced automatically unless a custom filter overrides it
  • expand the handoff-focused tests to cover the new behavior (including helper unit tests) and update existing expectations

Testing

  • uv run pytest tests/test_extension_filters.py
  • uv run pytest tests/test_agent_runner.py -k handoff
  • uv run pytest tests/test_agent_runner_streamed.py -k handoff

https://chatgpt.com/codex/tasks/task_i_68ff73bda0f4832496f3d1fa9103905f

@seratch seratch added feature:core enhancement New feature or request labels Oct 28, 2025
@seratch seratch requested a review from rm-openai October 28, 2025 04:38
Copy link
Collaborator

@rm-openai rm-openai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of kaz's feedback seems right. In addition, I'd say two major things:

  1. This setting should be on the Handoff object
  2. Since you're updating the default, this is a breaking change, so please update the changelog.

@seratch seratch mentioned this pull request Oct 30, 2025
@seratch seratch added this to the 0.6.x milestone Nov 5, 2025
@jhills20 jhills20 closed this Nov 7, 2025
@jhills20 jhills20 reopened this Nov 8, 2025
Copy link
Contributor Author

@jhills20 jhills20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to Handoff, added handoff history .py file for non extension parts of handoff filter, added changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants