@webpieces/rules-config 0.4.973 → 0.4.975

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": "@webpieces/rules-config",
3
- "version": "0.4.973",
3
+ "version": "0.4.975",
4
4
  "description": "Shared webpieces.config.json loader. Single source of truth for validation rule configuration consumed by @webpieces/ai-hook-rules, @webpieces/code-rules, and @webpieces/nx-webpieces-rules.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -19,9 +19,9 @@
19
19
  "inversify": "7.10.4",
20
20
  "reflect-metadata": "0.2.2",
21
21
  "minimatch": "10.0.1",
22
- "@webpieces/tooling-common": "0.4.973",
23
- "@webpieces/repo-workflow-core": "0.4.973",
24
- "@webpieces/rules-sdk": "0.4.973"
22
+ "@webpieces/tooling-common": "0.4.975",
23
+ "@webpieces/repo-workflow-core": "0.4.975",
24
+ "@webpieces/rules-sdk": "0.4.975"
25
25
  },
26
26
  "author": "Dean Hiller",
27
27
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "access": "public"
35
35
  },
36
36
  "devDependencies": {
37
- "@webpieces/tooling-testkit": "0.4.973"
37
+ "@webpieces/tooling-testkit": "0.4.975"
38
38
  },
39
39
  "types": "./src/index.d.ts",
40
40
  "bin": {
@@ -76,6 +76,14 @@ its holder killed. Every command the refresher runs is bounded by a timeout. Com
76
76
  `main` (`pnpm wp-sync-main`, the `wp-*` PR flow) fetch for themselves, so the interval never makes
77
77
  a gate decision stale.
78
78
 
79
+ **A branch the cache has never seen skips the interval, not the lock** (#1377). The interval
80
+ applies only while the judged branch already has an entry in the status file. A branch created
81
+ after the last refresh goes straight to the exclusive create, so the next refresh covers it
82
+ instead of its guards failing open (`no-sync-cache`) for up to 10 minutes. Still one refresher at
83
+ a time per clone, and one extra refresh per NEW branch, not per call: a refresh records every
84
+ worktree's branch. A detached HEAD (never recorded) and any branch after a FAILED refresh keep
85
+ the interval, so neither can launch a refresh on every call.
86
+
79
87
  ## Table — one table, ordered, first match wins
80
88
 
81
89
  **Tools:** `B` Bash · `R` Read · `E` Write/Edit