fix(process): preserve unknown filesystem absence in partial captures

Separate exhausted path enumeration from hash coverage and preserve known
effects outside incomplete roots or unfollowed symlink subtrees. Return
explicit unknown effects through capture Evidence and comparison workflows.

Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
This commit is contained in:
Ysopwnable
2026-10-09 12:09:24 +00:00
committed by GitHub
parent 4578647c59
commit c8544b1574
11 changed files with 402 additions and 29 deletions
@@ -226,7 +226,8 @@ itWithCaptureCapability(
let snapshotCalls = 0;
const captureSnapshot: typeof snapshotRoots = async () => {
snapshotCalls += 1;
if (snapshotCalls === 1) return { files: [], truncated: false };
if (snapshotCalls === 1)
return { files: [], truncated: false, completeRoots: [] };
throw new Error("fixture final snapshot failure");
};
const cleanupHost: ProcessCaptureCleanupHost = {