@webpieces/rules-config 0.4.828 → 0.4.830
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.
|
|
3
|
+
"version": "0.4.830",
|
|
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",
|
|
@@ -43,18 +43,25 @@ updates a stale branch and never merges the PR. AI must not run it for a human o
|
|
|
43
43
|
|
|
44
44
|
### Emergency `/hotfix/` branches
|
|
45
45
|
|
|
46
|
-
An exact, case-sensitive `/hotfix/` path segment selects the auditable emergency profile.
|
|
46
|
+
An exact, case-sensitive `/hotfix/` path segment selects the auditable emergency profile. A hotfix
|
|
47
|
+
branch is cut from the exact sha running in production (`git checkout -b <you>/hotfix/<name> <prod-sha>`)
|
|
48
|
+
so that it ships production plus the fix and nothing else. Its whole flow is ONE command:
|
|
47
49
|
|
|
48
50
|
```bash
|
|
49
|
-
pnpm wp-
|
|
50
|
-
#
|
|
51
|
-
pnpm wp-finish-upsert-pr
|
|
51
|
+
pnpm wp-upsert-hotfix-pr
|
|
52
|
+
# summary.json missing? it prints the path and schema and exits — write it, then run it again
|
|
52
53
|
```
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
It requires a clean tree and a meaningful `summary.json`, runs affected `hotfix-ci` (build + tests only;
|
|
56
|
+
red means nothing is pushed), **never merges main into the branch and never rewrites it**, pushes once
|
|
57
|
+
(fast-forward only), and creates or updates the permanently-bannered PR to `main`. It **never enables
|
|
58
|
+
auto-merge**: the PR merges after the hotfix is deployed and verified, with `pnpm wp-land-pr`. Commit
|
|
59
|
+
another fix and re-run it to push again and update the same PR.
|
|
60
|
+
|
|
61
|
+
Do not run or manufacture reviewer verdicts. On a `/hotfix/` branch `wp-start-upsert-pr`,
|
|
62
|
+
`wp-review-upsert-pr` and `wp-finish-upsert-pr` refuse, change nothing, and name `wp-upsert-hotfix-pr` —
|
|
63
|
+
stage ① would merge main in, which is exactly what a hotfix must not ship. Normal branches retain the
|
|
64
|
+
three-stage flow above.
|
|
58
65
|
|
|
59
66
|
The tooling never commits for you (see the golden rule below), so **commit your work first**, then run
|
|
60
67
|
`pnpm wp-start-upsert-pr`. The only reasons to stop *before* posting are: the human explicitly said "don't
|