speccrew 0.7.12 → 0.7.13

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.
@@ -254,6 +254,14 @@
254
254
  </field>
255
255
  </block>
256
256
 
257
+ <!-- Source Link Path Prefix Rule -->
258
+ <block type="rule" id="R-SRCLINK" level="mandatory" desc="Source link path prefix is FIXED at 6 levels">
259
+ <field name="text">MANDATORY: All source file links in the document MUST use exactly 6 levels of parent directory traversal: ../../../../../../</field>
260
+ <field name="text">The path format is: [View](../../../../../../{relative-path-from-project-root})</field>
261
+ <field name="text">DO NOT compute or modify the path prefix. DO NOT use fewer levels like ../../ or ../../../../</field>
262
+ <field name="text">This is because documents are located at: speccrew-workspace/knowledges/bizs/{platformId}/{module}/{file}.md (6 levels deep from project root)</field>
263
+ </block>
264
+
257
265
  <!-- Ensure Document Output Directory Exists -->
258
266
  <block type="task" id="B14a" action="run-script" desc="Ensure document output directory exists">
259
267
  <field name="command">node -e "require('fs').mkdirSync(require('path').dirname('${documentPath}'), {recursive: true})"</field>
@@ -214,6 +214,14 @@
214
214
  </field>
215
215
  </block>
216
216
 
217
+ <!-- Source Link Path Prefix Rule -->
218
+ <block type="rule" id="R-SRCLINK" level="mandatory" desc="Source link path prefix is FIXED at 6 levels">
219
+ <field name="text">MANDATORY: All source file links in the document MUST use exactly 6 levels of parent directory traversal: ../../../../../../</field>
220
+ <field name="text">The path format is: [View](../../../../../../{relative-path-from-project-root})</field>
221
+ <field name="text">DO NOT compute or modify the path prefix. DO NOT use fewer levels like ../../ or ../../../../</field>
222
+ <field name="text">This is because documents are located at: speccrew-workspace/knowledges/bizs/{platformId}/{module}/{file}.md (6 levels deep from project root)</field>
223
+ </block>
224
+
217
225
  <!-- Ensure Document Output Directory Exists -->
218
226
  <block type="task" id="B5a0" action="run-script" desc="Ensure document output directory exists">
219
227
  <field name="command">node -e "require('fs').mkdirSync(require('path').dirname('${documentPath}'), {recursive: true})"</field>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.7.12",
3
+ "version": "0.7.13",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {