taskplane 0.24.13 → 0.24.14

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.
@@ -1968,8 +1968,15 @@ export function buildExecutionUnit(
1968
1968
  const segmentId = task.task.activeSegmentId ?? null;
1969
1969
  const id = segmentId ?? task.taskId;
1970
1970
 
1971
- const packet = task.task.packetTaskPath
1972
- ? resolvePacketPaths(task.task.packetTaskPath)
1971
+ // Use absolute packetTaskPath ONLY when the packet home repo differs from
1972
+ // the execution repo (cross-repo segment). When they're the same repo,
1973
+ // resolve packet paths inside the worktree so .DONE, STATUS.md etc. are
1974
+ // written to the worktree (not the original repo outside the worktree).
1975
+ const useAbsolutePacketPath = task.task.packetTaskPath
1976
+ && packetHomeRepoId !== executionRepoId;
1977
+
1978
+ const packet = useAbsolutePacketPath
1979
+ ? resolvePacketPaths(task.task.packetTaskPath!)
1973
1980
  : {
1974
1981
  promptPath: resolved.taskFolderResolved + "/PROMPT.md",
1975
1982
  statusPath: resolved.statusPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskplane",
3
- "version": "0.24.13",
3
+ "version": "0.24.14",
4
4
  "description": "AI agent orchestration for pi — parallel task execution with checkpoint discipline",
5
5
  "keywords": [
6
6
  "pi-package",