@jwilger/pi-development-system 0.73.0 → 0.74.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jwilger/pi-development-system",
3
- "version": "0.73.0",
3
+ "version": "0.74.1",
4
4
  "description": "A pi extension package representing a seasoned approach to software development using a full AI SDLC.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -74,7 +74,6 @@ const readItem = async (root: string, id: string): Promise<TrackerResult<WorkIte
74
74
  };
75
75
 
76
76
  const itemIds = async (root: string): Promise<string[]> => {
77
- if ((await refuseSymlink(root, itemsDir(root))) !== undefined) return [];
78
77
  try {
79
78
  const files = await readdir(itemsDir(root));
80
79
  return files.flatMap((f) =>
@@ -87,6 +86,8 @@ const itemIds = async (root: string): Promise<string[]> => {
87
86
  };
88
87
 
89
88
  const readAll = async (root: string): Promise<TrackerResult<WorkItem[]>> => {
89
+ const link = await refuseSymlink(root, itemsDir(root));
90
+ if (link !== undefined) return trackerError(link);
90
91
  const items: WorkItem[] = [];
91
92
  for (const id of (await itemIds(root)).toSorted(byCodeUnit)) {
92
93
  const item = await readItem(root, id);