Skip to content

Add stage handoff context for continuation#6

Merged
huangwei0102 merged 2 commits intozefan-todo-3from
zefan-todo-4
Apr 3, 2026
Merged

Add stage handoff context for continuation#6
huangwei0102 merged 2 commits intozefan-todo-3from
zefan-todo-4

Conversation

@Zefan-Cai
Copy link
Copy Markdown
Collaborator

Summary

This PR isolates TODO 4 from the larger CLI branch: add stage handoff summaries and inject handoff context into continuation prompts on top of zefan-todo-3.

What Changed

  • added handoff/ to the run layout
  • write a stage handoff file when a stage is approved
  • include prior handoff summaries in stage continuation prompt context
  • added focused handoff regression tests in tests/test_stage_handoff.py

Base

  • base branch: zefan-todo-3

Scope

This PR is intentionally limited to TODO 4 only.

Not included here:

  • paper package generation
  • review/dissemination package generation

Validation

  • python -m py_compile main.py src/*.py tests/*.py
  • python -m unittest tests.test_stage_handoff tests.test_operator_recovery tests.test_stage_rollback tests.test_run_manifest tests.test_writing_pipeline -v

@huangwei0102 huangwei0102 merged commit ca4699d into zefan-todo-3 Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants