speccrew 0.6.28 → 0.6.29

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.
@@ -30,9 +30,11 @@ ISA-95 Stages 4-6 as internal thinking framework:
30
30
  - `.feature-analysis.md` missing OR Checkpoint A not passed → HARD STOP
31
31
  - Template file missing → HARD STOP
32
32
 
33
- **FORBIDDEN:**
34
- - `create_file` for final documents in section-fill phase use template + search_replace
35
- - Full-file rewrite use targeted search_replace per section
33
+ **ABSOLUTE PROHIBITION — Phase B Content Filling:**
34
+ - NEVER use `create_file` to rewrite or recreate the document after Step 5 skeleton creation
35
+ - NEVER abandon `search_replace` mid-way and switch to `create_file`
36
+ - Even if the document is very long, you MUST continue using `search_replace` for EVERY section
37
+ - Violation of this rule invalidates the entire output
36
38
 
37
39
  **MANDATORY:**
38
40
  - Template-first workflow — Step 5 (copy template) MUST precede Step 6 (fill content)
@@ -438,6 +440,16 @@ Fill each `[TO BE FILLED]` placeholder with actual content:
438
440
 
439
441
  ## Step 6: Fill Sections Using search_replace
440
442
 
443
+ #### ⛔ HARD RULE — NO FULL-FILE REWRITE
444
+
445
+ Even if the document is very long or complex:
446
+ - You MUST use `search_replace` to fill each `[TO BE FILLED]` placeholder individually
447
+ - You MUST NOT use `create_file` to recreate the document
448
+ - You MUST NOT give up on `search_replace` and switch strategies mid-execution
449
+ - If a `search_replace` fails, fix the search pattern — do NOT fall back to `create_file`
450
+
451
+ This rule has ZERO exceptions. "Document too long" is NOT a valid reason to switch to `create_file`.
452
+
441
453
  > **⚠️ CRITICAL: Section 2 Function Details Skeleton Verification**
442
454
  >
443
455
  > Before proceeding with content filling, verify the two-phase strategy was correctly applied:
@@ -475,6 +487,8 @@ Fill each `[TO BE FILLED]` placeholder with actual content:
475
487
  - No applicable content → "N/A"
476
488
  - Multi-platform: Create separate sub-sections per platform
477
489
 
490
+ ⚠️ REMINDER: If you find yourself thinking "the document is too long, let me use create_file instead" — STOP. This is explicitly forbidden. Continue with search_replace.
491
+
478
492
  ### Legacy Master-Sub Mode
479
493
 
480
494
  If processing Master-Sub structure:
@@ -570,6 +584,7 @@ Where:
570
584
  - [ ] Output path determined
571
585
  - [ ] Template copied using `create_file`
572
586
  - [ ] All sections filled using `search_replace`
587
+ - [ ] Phase B used ONLY search_replace (no create_file after Step 5)
573
588
  - [ ] **[CRITICAL]** Section 2 Function Details skeleton verified (all functions have 4 sub-sections)
574
589
  - [ ] **[CRITICAL]** Interaction Flow uses Mermaid sequenceDiagram (NOT ASCII)
575
590
  - [ ] **[CRITICAL]** Processing Logic uses Mermaid flowchart TD (NOT ASCII)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.6.28",
3
+ "version": "0.6.29",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {