Skip to content

feat(flows): add prepared research fork helper - #13

Closed
DongyunZou wants to merge 1 commit into
feat/aotfrom
feat/research-fork
Closed

feat(flows): add prepared research fork helper#13
DongyunZou wants to merge 1 commit into
feat/aotfrom
feat/research-fork

Conversation

@DongyunZou

Copy link
Copy Markdown
Contributor

Summary

  • add ResearchFork.prepare() for an eager, read-only child conversation
  • expose an explicit child tool allowlist and typed question/finding contract
  • enforce one-shot use, deadlines, output limits, deterministic errors, and cleanup

Validation

  • PYTHONPATH=/home/dongyun/workspace/projects/humanize2/src:/home/dongyun/workspace/projects/flowverse/flows uv run pytest -q tests/test_research_fork.py

This is intentionally based on feat/aot so the existing AOT PR #8 remains separate. The core humanize2 implementation is in humanfia/humanize2#35. The vendored checker fork-sync can be applied after #8 lands.

Add a public flowverse helper that eagerly prepares a read-only child, exposes an explicit tool allowlist, validates typed findings, and cleans up timed-out or one-shot research sessions.

Tests: PYTHONPATH=/home/dongyun/workspace/projects/humanize2/src:/home/dongyun/workspace/projects/flowverse/flows uv run pytest -q tests/test_research_fork.py
@DongyunZou

Copy link
Copy Markdown
Contributor Author

Closing this optional companion PR. The core session fork implementation remains in humanize2 PR #35; ResearchFork will not be included in this change.

@DongyunZou DongyunZou closed this Sep 1, 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.

1 participant