@webpieces/rules-config 0.4.592 → 0.4.593
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.593",
|
|
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",
|
|
@@ -191,15 +191,25 @@ flow are not interchangeable.
|
|
|
191
191
|
5. **`pnpm wp-finish-upsert-pr`** — STAGE ③: requires stage ②'s receipt, your `review.json` (its `title`
|
|
192
192
|
becomes the PR title) and every reviewer's verdict, then pushes and creates/updates the PR. It re-runs
|
|
193
193
|
the build gate ONLY if HEAD moved since stage ②, so the three stages still cost one build.
|
|
194
|
-
6. **`pnpm wp-
|
|
195
|
-
|
|
194
|
+
6. **`pnpm wp-land-pr`** — squash-merge THIS branch's already-posted PR into main **with the compact
|
|
195
|
+
risk/flags commit body** stage ③ rendered, then archive the pre-squash tip and reap the landed
|
|
196
|
+
worktree. Use it INSTEAD of a bare `gh pr merge` or the GitHub Merge button, because neither can write
|
|
197
|
+
that body: a UI merge takes its subject from the repo's `squash_merge_commit_title` and its body from
|
|
198
|
+
`squash_merge_commit_message`, and on `PR_BODY` that pastes the ENTIRE dashboard — risk table, hash
|
|
199
|
+
points, gate token — into `git log`. Only an explicit `gh pr merge --subject --body-file` avoids it,
|
|
200
|
+
which is what this command is. It is NOT gated on `pr-gate.mergeMode`: running it IS the intent to
|
|
201
|
+
merge, so a `mergeMode: NONE` repo keeps its "a human decides when" policy and still gets a readable
|
|
202
|
+
history. It runs no build gate and re-renders nothing — the bytes that land are the bytes stage ③
|
|
203
|
+
produced.
|
|
204
|
+
7. **`pnpm wp-cleanup`** — delete the local branches that are provably dead (merged PR, squash-merge
|
|
205
|
+
backup of a merged branch, or no commits of their own). Run it after the merge lands, or any time the
|
|
196
206
|
branch cap blocks you. It takes no arguments and needs no judgement call from you: it recomputes the
|
|
197
207
|
verdicts itself, deletes one branch per command, spares anything a human should rule on, and logs
|
|
198
208
|
every deletion with its pre-delete SHA plus a `recover=` command in
|
|
199
209
|
`.webpieces/logs/branch-mutations.log`. **Use this instead of `git branch -D`.**
|
|
200
|
-
|
|
210
|
+
8. **`pnpm wp-push-dev`** — publish a **disposable copy** of this branch so a shared dev environment can
|
|
201
211
|
build it. No PR, no build gate, and your feature branch is never moved. See below.
|
|
202
|
-
|
|
212
|
+
9. **`pnpm wp-finish-push-dev`** — finalize a dev composition after you resolved its conflicts. Only
|
|
203
213
|
needed on the conflict path; a clean `pnpm wp-push-dev --resolve` finalizes itself.
|
|
204
214
|
|
|
205
215
|
## Publishing to the shared dev server (no PR, nothing lands on main)
|