What the pre-fold harvest needs to know about the dispatch it is rescuing
(#184): which files the dispatch was allowed to touch, and who to commit
as. For an implementer the surface is the task's file_contact_surface;
for every other role it is harvestPathspecs — the role's own artifacts
(#182), the same scope the shared-checkout harvest-commit used before #406
gave those roles a worktree of their own. Optional on foldTaskBranch so a
caller with no dispatch context (the tests' direct fold) still folds — it
simply harvests nothing.
What the pre-fold harvest needs to know about the dispatch it is rescuing (#184): which files the dispatch was allowed to touch, and who to commit as. For an implementer the surface is the task's
file_contact_surface; for every other role it isharvestPathspecs— the role's own artifacts (#182), the same scope the shared-checkout harvest-commit used before #406 gave those roles a worktree of their own. Optional onfoldTaskBranchso a caller with no dispatch context (the tests' direct fold) still folds — it simply harvests nothing.