@wipcomputer/wip-ai-devops-toolbox 1.9.68 → 1.9.69-alpha.1
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 +4 -0
- package/package.json +1 -1
- package/tools/wip-branch-guard/guard.mjs +5 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -136,6 +136,8 @@ const ALLOWED_BASH_PATTERNS = [
|
|
|
136
136
|
/\brm\s+.*\.(openclaw|ldm)\/extensions\//, // cleaning deployed extensions (managed by ldm install, not source code)
|
|
137
137
|
/\bclaude\s+mcp\b/, // MCP registration, not repo files
|
|
138
138
|
/\bmkdir\s+.*\.worktrees\b/, // creating .worktrees/ directory is part of the process
|
|
139
|
+
/\brm\s+.*\.trash-approved-to-rm/, // Parker's approved-for-deletion folder (only Parker moves files here, agents only rm)
|
|
140
|
+
/\brm\s+.*\/_trash\//, // agent trash directories (agents can mv here and rm here)
|
|
139
141
|
];
|
|
140
142
|
|
|
141
143
|
// Workflow steps for error messages (#213)
|
|
@@ -320,7 +322,9 @@ Use the proper workflow: edit files in a worktree, commit, push, PR.`);
|
|
|
320
322
|
// Block npm install -g right after a release (#73)
|
|
321
323
|
// wip-release writes ~/.ldm/state/.last-release on completion.
|
|
322
324
|
// If a release happened < 5 minutes ago, block install unless user explicitly said "install".
|
|
323
|
-
|
|
325
|
+
// Exception: prerelease installs (@alpha, @beta) skip the cooldown. The cooldown exists
|
|
326
|
+
// to enforce dogfooding stable releases. Prerelease installs ARE the dogfooding.
|
|
327
|
+
if (/\bnpm\s+install\s+-g\b/.test(cmd) && !/@(alpha|beta)\b/.test(cmd)) {
|
|
324
328
|
try {
|
|
325
329
|
const releasePath = join(process.env.HOME || '', '.ldm', 'state', '.last-release');
|
|
326
330
|
if (existsSync(releasePath)) {
|