Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
spec(refresh-barrier): point resume-needs-exact-target at adoptsHead, where the guard now lives
garrytanc5da9e55f677
diff --git a/spec/tla/refresh-barrier/mutants.json b/spec/tla/refresh-barrier/mutants.jsonindex c46fd43f3b..69479aef72 100644--- a/spec/tla/refresh-barrier/mutants.json+++ b/spec/tla/refresh-barrier/mutants.json@@ -482,8 +482,8 @@"edits": [{"file": "src/core/persistence/worktree-refresh.ts",- "before": "&& head !== null && (head === row.target_head || await isAncestor(git, root, row.target_head, head))\n && await isAncestor(git, root, row.old_head, row.target_head)",- "after": "&& head !== null && (head === row.target_head || (row.state === 'recovery_required' && await isAncestor(git, root, row.target_head, head)))\n && await isAncestor(git, root, row.old_head, row.target_head)"+ "before": "return head !== null && (head === row.target_head || await isAncestor(git, root, row.target_head, head)) && await isAncestor(git, root, row.old_head, row.target_head)",+ "after": "return head !== null && (head === row.target_head || (row.state === 'recovery_required' && await isAncestor(git, root, row.target_head, head))) && await isAncestor(git, root, row.old_head, row.target_head)"}],"tests": [