@wipcomputer/wip-ai-devops-toolbox 1.9.71-alpha.1 → 1.9.71-alpha.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.71-alpha.2 (2026-04-03)
4
+
5
+ Guard: allow bootstrap in zero-commit repos
6
+
3
7
  ## 1.9.71-alpha.1 (2026-04-01)
4
8
 
5
9
  File guard: allow harness memory writes, guard v1.9.69
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-ai-devops-toolbox",
3
- "version": "1.9.71-alpha.1",
3
+ "version": "1.9.71-alpha.2",
4
4
  "type": "module",
5
5
  "description": "The complete AI DevOps toolkit for AI-assisted development teams.",
6
6
  "license": "MIT",
@@ -413,6 +413,14 @@ This is a warning, not a block. If you need to create it here, retry.`);
413
413
  process.exit(0);
414
414
  }
415
415
 
416
+ // Allow everything in repos with zero commits (bootstrap)
417
+ try {
418
+ const hasCommits = execSync('git rev-parse HEAD', { cwd: repoDir, stdio: 'pipe' });
419
+ } catch {
420
+ // No commits yet. Allow the first commit so the repo can be bootstrapped.
421
+ process.exit(0);
422
+ }
423
+
416
424
  if (branch !== 'main' && branch !== 'master' && worktree) {
417
425
  // On a branch AND in a worktree. Correct workflow. Allow.
418
426
  process.exit(0);