@staff0rd/assist 0.1052.0 → 0.1053.0

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/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.1052.0",
9
+ version: "0.1053.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -40628,19 +40628,22 @@ import { readFileSync as readFileSync54 } from "fs";
40628
40628
 
40629
40629
  // src/commands/review/highLevel/formatSlicingRequest.ts
40630
40630
  var RULES = [
40631
- "Each slice is a single coherent change a reviewer can check in one sitting, smaller than a whole feature.",
40631
+ "Each slice is one behaviour end to end: the code, wiring, config, tests and docs that deliver it, so a reviewer can judge whether that behaviour is right.",
40632
+ "Never split one behaviour by layer or file type: its command, workflow, generated output, tests and docs stay in one slice.",
40633
+ "Split only where the PR does independent things a reviewer could accept or reject separately. Most PRs need one to three slices.",
40634
+ "A refactor or move with no behaviour change gets its own slice.",
40632
40635
  "A hunk may appear in more than one slice.",
40633
- "Tests go in the same slice as the code they test, and get their own slice only when they stand alone.",
40634
40636
  "Generated files such as lockfiles get their own slice unless they belong with a specific change.",
40635
40637
  "List slices in reading order."
40636
40638
  ];
40637
40639
  var MANUAL_TESTING_RULES = [
40638
- "Write PR-wide steps that let a reviewer exercise the change by hand without reading the diff, derived from the hunks.",
40639
- "`setup` lists what to do first: branches to check out, servers or daemons to restart, config to set, data to seed. Keep each entry short.",
40640
- "Each step's `action` says exactly what to run or open: the command, the URL or the page and what to click.",
40640
+ "Write PR-wide steps for only what needs a human: looking at a UI, clicking through a page, judging how something reads or looks, or acting in a system an agent cannot drive.",
40641
+ "Leave out anything an agent could run and check itself: CLI commands with checkable output, test runs, builds, lint, API or HTTP calls, reading files.",
40642
+ "When nothing in the PR needs a human, write `steps: []` and `setup: []`.",
40643
+ "`setup` lists what the reviewer must do first: branches to check out, servers or daemons to restart, config to set, data to seed. Keep each entry short.",
40644
+ "Each step's `action` says exactly what to open and do: the URL or page and what to click or enter.",
40641
40645
  "Each step's `expect` says what the reviewer should see when the change works.",
40642
- "Name repo files by their path from the repo root, and give URLs in full.",
40643
- "When the change has no observable behaviour (refactors, docs, types), write one step saying which existing command or test shows nothing changed."
40646
+ "Name repo files by their path from the repo root, and give URLs in full."
40644
40647
  ];
40645
40648
  var EXAMPLE = {
40646
40649
  slices: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.1052.0",
3
+ "version": "0.1053.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {