@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.
Files changed (2) hide show
  1. package/hooks.ts +3 -7
  2. 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
- const updated = updateItemStatus(milestonesPath, phase, text, true);
204
- if (!updated) {
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/milestone",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Lifecycle layer for project-level goals — MILESTONES.md tracking, session hooks, auto-sync",
5
5
  "type": "module",
6
6
  "license": "MIT",