taskplane 0.5.11 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -767,7 +767,10 @@ export function mergeWave(
|
|
|
767
767
|
const lines = statusResult.stdout.split("\n").filter((l: string) => l.trim());
|
|
768
768
|
const artifactFiles = lines
|
|
769
769
|
.map((l: string) => l.slice(3).trim())
|
|
770
|
-
.filter((f: string) =>
|
|
770
|
+
.filter((f: string) =>
|
|
771
|
+
(f.endsWith(".DONE") || f.endsWith("STATUS.md")) &&
|
|
772
|
+
!f.includes(".worktrees/"), // Never stage worktree internals
|
|
773
|
+
);
|
|
771
774
|
|
|
772
775
|
if (artifactFiles.length > 0) {
|
|
773
776
|
let staged = 0;
|
|
@@ -787,16 +790,11 @@ export function mergeWave(
|
|
|
787
790
|
spawnSync("git", ["commit", "-m", `checkpoint: wave ${waveIndex} task artifacts (.DONE, STATUS.md)`], { cwd: mergeWorkDir });
|
|
788
791
|
execLog("merge", `W${waveIndex}`, `committed ${staged} task artifact(s) to merge worktree`);
|
|
789
792
|
|
|
790
|
-
//
|
|
791
|
-
//
|
|
792
|
-
//
|
|
793
|
-
//
|
|
794
|
-
|
|
795
|
-
if (file.endsWith(".DONE")) {
|
|
796
|
-
const srcPath = join(repoRoot, file);
|
|
797
|
-
try { if (existsSync(srcPath)) unlinkSync(srcPath); } catch { /* best effort */ }
|
|
798
|
-
}
|
|
799
|
-
}
|
|
793
|
+
// Keep both .DONE and STATUS.md in develop's working tree:
|
|
794
|
+
// - STATUS.md: dashboard reads current progress from canonical path
|
|
795
|
+
// - .DONE: harmless untracked files, cleaned up by /orch-integrate stash
|
|
796
|
+
// Previous approach of deleting .DONE caused them to be missing
|
|
797
|
+
// after ff integration (git couldn't reliably restore them).
|
|
800
798
|
}
|
|
801
799
|
}
|
|
802
800
|
}
|