roadmapsmith 0.5.0 → 0.5.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": "roadmapsmith",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Generate, sync, and validate deterministic project roadmaps for agent-driven execution.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -176,8 +176,10 @@ function renderSection5Milestones(model, lines) {
176
176
  lines.push('**What Must Be Stable:**');
177
177
  lines.push('');
178
178
  for (const item of milestone.mustBeStable) {
179
- const id = `prof-ms-${msSlug}-stable-${slugify(item)}`;
180
- lines.push(`- [${checkedState(model, id) ? 'x' : ' '}] \`[P1]\` ${item} <!-- rs:task=${id} -->`);
179
+ const text = typeof item === 'string' ? item : item.text;
180
+ const note = typeof item === 'object' && item.note ? ` — _${item.note}_` : '';
181
+ const id = `prof-ms-${msSlug}-stable-${slugify(text)}`;
182
+ lines.push(`- [${checkedState(model, id) ? 'x' : ' '}] \`[P1]\` ${text}${note} <!-- rs:task=${id} -->`);
181
183
  }
182
184
  lines.push('');
183
185
  }