Project-2 baseline
This commit is contained in:
@@ -652,6 +652,13 @@ if (gitRepo) {
|
||||
git('read-tree HEAD', { env: indexEnv });
|
||||
git('add -A', { env: indexEnv });
|
||||
patch = git('diff --cached --binary --full-index HEAD', diffOpts);
|
||||
if (patch) {
|
||||
console.error(
|
||||
'Warning: no turn checkpoint was found, so snapshot.patch holds every change in the ' +
|
||||
'working tree, including edits the agent made during the captured turn. Check it ' +
|
||||
'and remove those before converting the snapshot to a task.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user