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) => f.endsWith(".DONE") || f.endsWith("STATUS.md"));
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
- // Restore .DONE files only these are untracked and would cause
791
- // "dirty working tree" issues on /orch-integrate.
792
- // Keep STATUS.md modifications in develop's working tree so the
793
- // dashboard can read current progress from the canonical path.
794
- for (const file of artifactFiles) {
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskplane",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "AI agent orchestration for pi — parallel task execution with checkpoint discipline",
5
5
  "keywords": [
6
6
  "pi-package",