start-vibing 2.0.10 → 2.0.11

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": "start-vibing",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Setup Claude Code agents, skills, and hooks in your project. Smart copy that preserves your custom domains and configurations.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * THIS HOOK BLOCKS TASK COMPLETION IF ANY OF THESE CONDITIONS FAIL:
6
6
  *
7
- * 1. BRANCH CHECK: Must be on 'main' branch (PR must be merged)
7
+ * 1. BRANCH CHECK: Must be on 'main' branch (work must be merged)
8
8
  * 2. GIT TREE CHECK: Working tree must be clean (no uncommitted changes)
9
9
  * 3. CLAUDE.MD CHECK: Must be updated with session changes
10
10
  * 4. CLAUDE.MD STRUCTURE: Must have required sections
@@ -227,51 +227,50 @@ REQUIRED STEPS (execute in order):
227
227
  2. COMMIT with conventional message:
228
228
  git commit -m "feat: description of changes"
229
229
 
230
- 3. PUSH to remote:
231
- git push -u origin ${currentBranch}
230
+ 3. SWITCH to main:
231
+ git checkout main
232
232
 
233
- 4. CREATE Pull Request:
234
- gh pr create --title "Title" --body "$(cat <<'EOF'
235
- ## Summary
236
- - What was changed
233
+ 4. MERGE branch:
234
+ git merge ${currentBranch}
237
235
 
238
- ## Test plan
239
- - How to verify
236
+ 5. SYNC with remote (if exists):
237
+ git pull origin main --rebase || true
238
+ git push origin main || true
240
239
 
241
- Generated with Claude Code
242
- EOF
243
- )"
244
-
245
- 5. MERGE the PR (auto-delete branch):
246
- gh pr merge --merge --delete-branch
247
-
248
- 6. SWITCH to main and pull:
249
- git checkout main && git pull
240
+ 6. DELETE branch (cleanup):
241
+ git branch -d ${currentBranch}
250
242
 
251
243
  THEN the task can complete. The stop hook will verify main branch + clean tree.
252
244
  ================================================================================`,
253
245
  };
254
246
  }
255
247
 
256
- // Case 2: On feature branch with clean tree - just need to switch
248
+ // Case 2: On feature branch with clean tree - just need to merge
257
249
  if (!isMainBranch && modifiedFiles.length === 0) {
258
250
  return {
259
251
  type: 'NOT_ON_MAIN_BRANCH',
260
252
  message: `Currently on branch '${currentBranch}'. Task completion requires being on 'main'.`,
261
253
  action: `
262
254
  ================================================================================
263
- SWITCH TO MAIN BRANCH
255
+ MERGE TO MAIN BRANCH
264
256
  ================================================================================
265
257
 
266
258
  The working tree is clean but you're on branch '${currentBranch}'.
267
259
 
268
- If your PR was merged:
269
- git checkout main && git pull
260
+ REQUIRED STEPS:
261
+
262
+ 1. SWITCH to main:
263
+ git checkout main
264
+
265
+ 2. MERGE branch:
266
+ git merge ${currentBranch}
267
+
268
+ 3. SYNC with remote (if exists):
269
+ git pull origin main --rebase || true
270
+ git push origin main || true
270
271
 
271
- If you still need to create/merge PR:
272
- gh pr create (if not created)
273
- gh pr merge --merge --delete-branch (to merge)
274
- git checkout main && git pull
272
+ 4. DELETE branch (cleanup):
273
+ git branch -d ${currentBranch}
275
274
 
276
275
  IMPORTANT: Task completion is BLOCKED until you are on 'main' with a clean tree.
277
276
  ================================================================================`,
@@ -305,7 +304,7 @@ REQUIRED STEPS:
305
304
 
306
305
  2. CONTINUE your work on the new branch
307
306
 
308
- 3. When done, create PR to merge back to main
307
+ 3. When done, merge back to main
309
308
 
310
309
  NEVER commit directly to main. The stop hook will BLOCK this.
311
310
  ================================================================================`,