@su-record/vibe 2.4.70 → 2.4.71

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.
@@ -305,6 +305,54 @@ node -e "import('@su-record/vibe/orchestrator').then(o => o.research('passkey au
305
305
 
306
306
  ### 4. Write SPEC Document (PTCF Structure)
307
307
 
308
+ #### 4.0 Large Scope Detection & Auto-Split (MANDATORY)
309
+
310
+ **🚨 CRITICAL: Automatically split SPEC when scope is large**
311
+
312
+ **❌ DO NOT ask user for confirmation - auto-split silently**
313
+
314
+ **Detection criteria (ANY triggers split):**
315
+
316
+ | Criteria | Threshold |
317
+ |----------|-----------|
318
+ | Phases | 5+ phases |
319
+ | Files to create | 15+ files |
320
+ | Platforms | 2+ platforms |
321
+ | Major features | 4+ distinct features |
322
+
323
+ **Auto-split output:**
324
+
325
+ ```
326
+ .claude/vibe/specs/{feature-name}/
327
+ ├── _index.md # Master SPEC
328
+ ├── phase-1-setup.md
329
+ ├── phase-2-core.md
330
+ └── ...
331
+ ```
332
+
333
+ **Master SPEC (`_index.md`):**
334
+
335
+ ```markdown
336
+ # SPEC: {feature-name} (Master)
337
+
338
+ ## Overview
339
+ - Total phases: N
340
+ - Dependencies: [list]
341
+
342
+ ## Sub-SPECs
343
+
344
+ | Order | SPEC File | Status |
345
+ |-------|-----------|--------|
346
+ | 1 | phase-1-setup.md | ⬜ |
347
+ | 2 | phase-2-core.md | ⬜ |
348
+
349
+ ## Shared Context
350
+ - Tech Stack: [all phases]
351
+ - Constraints: [all phases]
352
+ ```
353
+
354
+ **Small scope (default):**
355
+
308
356
  Create `.claude/vibe/specs/{feature-name}.md`:
309
357
 
310
358
  ```markdown
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "2.4.70",
3
+ "version": "2.4.71",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework with 35+ integrated tools",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",