@pi-unipi/milestone 0.1.2 → 0.1.4
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/hooks.ts +3 -7
- package/package.json +1 -1
package/hooks.ts
CHANGED
|
@@ -199,13 +199,9 @@ export function registerSessionEndHook(pi: ExtensionAPI): void {
|
|
|
199
199
|
|
|
200
200
|
const completions = extractNewCompletions(filePath, baseline);
|
|
201
201
|
for (const { text, phase } of completions) {
|
|
202
|
-
// Try exact match update
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
console.warn(
|
|
206
|
-
`[milestone] Could not auto-update "${text}" in phase "${phase}" — no exact match found`,
|
|
207
|
-
);
|
|
208
|
-
}
|
|
202
|
+
// Try exact match update — silently skip items that don't match
|
|
203
|
+
// milestones (e.g. internal spec checklists with " — covered in Task N" suffixes)
|
|
204
|
+
updateItemStatus(milestonesPath, phase, text, true);
|
|
209
205
|
}
|
|
210
206
|
}
|
|
211
207
|
});
|