Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: isolate staged repair fixtures from Windows line-ending conversion (#9948)

[._.]/ Adam Eivy3f2ec7b4b374
diff --git a/autofixer/stagedFixes.test.js b/autofixer/stagedFixes.test.js
index e1e83a720e..f0690ac37c 100644
--- a/autofixer/stagedFixes.test.js
+++ b/autofixer/stagedFixes.test.js
@@ -15,6 +15,9 @@ beforeEach(async () => {
repo = join(root, 'repo');
await mkdir(repo);
execFileSync('git', ['init', '-q'], { cwd: repo });
+ // The fixture's exact-byte patch/rollback contract must not inherit the
+ // runner's checkout conversion (core.autocrlf=true on Windows).
+ execFileSync('git', ['config', '--local', 'core.autocrlf', 'false'], { cwd: repo });
await writeFile(join(repo, 'example.txt'), 'old\n');
await mkdir(join(root, 'sessions', id), { recursive: true });
await writeFile(join(root, 'sessions', id, 'metadata.json'), JSON.stringify({