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

fix: preserve published repair and normalize Windows checkout assertions

[._.]/ Adam Eivy4044e04d056b
diff --cc server/services/heldCheckoutRecovery.test.js
index 1abe1bff39,65b0a71c36..285eebbfc9
--- a/server/services/heldCheckoutRecovery.test.js
+++ b/server/services/heldCheckoutRecovery.test.js
@@@ -103,9 -114,9 +114,11 @@@ describe.skipIf(SKIP_HEAVY_INTEGRATION)
return { path, release: { path: gitPath, head, branch, locked: true, lockReason } };
}
-- const registered = async (path) => (await execGit(['worktree', 'list', '--porcelain'], repo)).stdout.includes(`worktree ${path}`);
++ // Git emits forward slashes on Windows even when the fixture uses native paths.
++ const registered = async (path) => (await execGit(['worktree', 'list', '--porcelain'], repo)).stdout
++ .split(/\r?\n/).includes(`worktree ${path.replaceAll('\\', '/')}`);
const lockText = async (path) => (await execGit(['worktree', 'list', '--porcelain'], repo)).stdout
-- .split('\n\n').find(block => block.startsWith(`worktree ${path}\n`))?.match(/^locked ?(.*)$/m)?.[1] ?? null;
++ .split(/\r?\n\r?\n/).find(block => block.split(/\r?\n/)[0] === `worktree ${path.replaceAll('\\', '/')}`)?.match(/^locked ?(.*)$/m)?.[1] ?? null;
/** The operator confirms a row the last sweep persisted. */
async function retire(release, opts = {}) {
await recordBranchReconcileOutcome('app-1', { status: 'incomplete', remaining: [{ ...release, reason: 'worktree-locked' }] });