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
|
-
|
|
1972
|
-
|
|
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,
|