@webpieces/rules-config 0.4.592 → 0.4.594
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.594",
|
|
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,27 @@ 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 gated commit
|
|
195
|
+
body, then archive the pre-squash tip and reap the landed worktree. It runs no build gate and
|
|
196
|
+
re-renders nothing — the bytes that land are the bytes stage ③ produced. NOT gated on
|
|
197
|
+
`pr-gate.mergeMode`: running it IS the intent to merge, so it works on a `mergeMode: NONE` repo whose
|
|
198
|
+
policy is "a human decides when".
|
|
199
|
+
|
|
200
|
+
**The commit body is the PR DESCRIPTION**, which stage ③ writes as one compact string (PR link, risk,
|
|
201
|
+
non-green flags, short summary, build-command footer) and reuses verbatim as its `--body-file`. The
|
|
202
|
+
full dashboard and the reviewer output live in the PR's 1st and 2nd comments so they stay out of
|
|
203
|
+
`git log`. So with `squash_merge_commit_title: PR_TITLE` and `squash_merge_commit_message: PR_BODY` set
|
|
204
|
+
on the repo, this command, a bare `gh pr merge`, and the GitHub Merge button all produce identical
|
|
205
|
+
history — prefer this one for the archiving and worktree cleanup, not because the others are wrong.
|
|
206
|
+
7. **`pnpm wp-cleanup`** — delete the local branches that are provably dead (merged PR, squash-merge
|
|
207
|
+
backup of a merged branch, or no commits of their own). Run it after the merge lands, or any time the
|
|
196
208
|
branch cap blocks you. It takes no arguments and needs no judgement call from you: it recomputes the
|
|
197
209
|
verdicts itself, deletes one branch per command, spares anything a human should rule on, and logs
|
|
198
210
|
every deletion with its pre-delete SHA plus a `recover=` command in
|
|
199
211
|
`.webpieces/logs/branch-mutations.log`. **Use this instead of `git branch -D`.**
|
|
200
|
-
|
|
212
|
+
8. **`pnpm wp-push-dev`** — publish a **disposable copy** of this branch so a shared dev environment can
|
|
201
213
|
build it. No PR, no build gate, and your feature branch is never moved. See below.
|
|
202
|
-
|
|
214
|
+
9. **`pnpm wp-finish-push-dev`** — finalize a dev composition after you resolved its conflicts. Only
|
|
203
215
|
needed on the conflict path; a clean `pnpm wp-push-dev --resolve` finalizes itself.
|
|
204
216
|
|
|
205
217
|
## Publishing to the shared dev server (no PR, nothing lands on main)
|