@yagni-app/code-staging 1.2.15-staging.2586.1 → 1.2.15-staging.2594.1

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.
@@ -301,10 +301,17 @@ export function qaStepsMessage(source, skills, change = "", otherRepositories =
301
301
  : undefined;
302
302
  const lines = [
303
303
  "The build is done. Now write the QA steps for this change: what a tester does, step by step, to check it works, " +
304
- "on the screens and flows it touches, with what they should see at each step, and the edge cases worth a look. " +
304
+ "on the screens and flows it touches, with what they should see at each step. " +
305
305
  "Write for a person who has not read the code. Plain steps, no command output, no secret or environment value, " +
306
306
  "no mention of anyone. You can read files, and search and list them; you cannot run commands or change anything. " +
307
307
  "The change is below; read the files it touches as you need.",
308
+ "How to write them (where a skill you follow gives a format, its format governs; these rules apply where it is silent, and always to your own words):",
309
+ "- Fit the length to the change: the fewest steps that test it. A small change gets a few steps. For an ordinary change, about 10 steps and about 1,500 characters at most; shorter is better.",
310
+ "- Each step is what the tester does in the application and what they should see: the screen, the action, the expected result. No section of prerequisites unless the tester truly needs one thing set up first, and then one line; no list of what they need.",
311
+ "- If the change has nothing to test in the running application (documentation, comments, an internal refactor with no change in behaviour), say so in one sentence and give at most three checks, or none.",
312
+ "- Edge cases: only ones specific to this change where a tester could plausibly see a different result; at most three, and none is fine. No generic ones.",
313
+ "- Never judge the change: do not say whether the code or the wording is correct, and do not reassure. Only say what to do and what should be seen.",
314
+ "- No pass-criteria section that restates the steps.",
308
315
  ];
309
316
  if (named) {
310
317
  lines.push(`Use the repository's ${named.name} skill to write them: read ${named.path} and follow it.`, `Start your last message with the line "written-by: skill ${named.name}".`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yagni-app/code-staging",
3
- "version": "1.2.15-staging.2586.1",
3
+ "version": "1.2.15-staging.2594.1",
4
4
  "description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
@@ -58,5 +58,5 @@
58
58
  "turndown": "^7.2.4",
59
59
  "typebox": "^1.3.15"
60
60
  },
61
- "yagniSourceSha": "4b2f473572f62fe53941f6276206f34fa2a3816a"
61
+ "yagniSourceSha": "25126ec6429f90ed337088607a80c80d827a653b"
62
62
  }