@mrciphersmith/keryx 0.4.33 → 0.4.34
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/cli.js
CHANGED
|
@@ -34715,7 +34715,7 @@ var package_default;
|
|
|
34715
34715
|
var init_package = __esm(() => {
|
|
34716
34716
|
package_default = {
|
|
34717
34717
|
name: "@mrciphersmith/keryx",
|
|
34718
|
-
version: "0.4.
|
|
34718
|
+
version: "0.4.34",
|
|
34719
34719
|
description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
34720
34720
|
private: false,
|
|
34721
34721
|
publishConfig: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.34",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,11 +39,11 @@ Canon applies: the Playwright documentation on locators, web-first assertions, f
|
|
|
39
39
|
| Spec mutates or deletes seeded or shared data (Rule 4) | another spec or run reads that data | `major` | data the spec created itself |
|
|
40
40
|
| Exact global count, `.first()` or `.nth(N)` on data the spec does not own (Rule 4) | the environment can hold other rows | `minor`; `major` where a parallel run is shown to change it | a list the spec created in full |
|
|
41
41
|
| Real external host reachable (Rule 5) | a spec calls it, or an unhandled request passes through | `major` | an error path mocked with `page.route` |
|
|
42
|
-
| CSS class or XPath locator where a role, label or test id exists (Rule 2) | always | `minor` | a third-party widget with none of them |
|
|
42
|
+
| CSS class or XPath locator where a role, label or test id exists (Rule 2) | always | `minor` | a third-party widget with none of them; any `getByRole` or `getByLabel` locator, whatever its accessible name (an icon's generated name included) |
|
|
43
43
|
| Deprecated string-selector API (Rule 2) | always | `minor` | — |
|
|
44
44
|
| Screenshot test on a heavy or non-deterministic surface (Rule 6) | the repo has no visual-test setup, or nothing is masked or fixed | `minor` | a stable component with masked regions |
|
|
45
45
|
| Screenshot threshold loosened inside a spec (Rule 6) | always | `info` | — |
|
|
46
46
|
| Smoke tag on a slow or unreliable flow (Rule 7) | always | `minor` | — |
|
|
47
47
|
| Real secret hard-coded in a spec (Rule 3) | the value is a real credential | rated by the real-credential row of `security-baseline.mdc` Review severities | a test-only value (`info`) |
|
|
48
|
-
| Shared test account or a non-test origin inlined in a spec instead of read from env or the setup project (Rule 3) | the value
|
|
48
|
+
| Shared test account or a non-test origin inlined in a spec instead of read from env or the setup project (Rule 3) | the spec uses the inlined value as the account or host, with no env read in front of it | `major` | a placeholder or empty fallback after an env read (`process.env.E2E_USER ?? "operator@example.com"`); a reserved-domain address (`example.com`) typed into a form to drive a failure path |
|
|
49
49
|
| Non-TypeScript spec or a vague test name (Rule 8) | always | `info` | — |
|
|
@@ -28,7 +28,7 @@ Commands: `npm run storybook`, `npm run build-storybook`.
|
|
|
28
28
|
|
|
29
29
|
| Signal | A finding when | Default | Not a finding |
|
|
30
30
|
|---|---|---|---|
|
|
31
|
-
| Missing default or empty story (Rule 2) | the component renders that state | `minor` | a component that cannot be empty |
|
|
31
|
+
| Missing default or empty story (Rule 2) | the component renders that state | `minor` | a component that cannot be empty; a thin wrapper with no state, branch or layout of its own (it renders one child or one formatted value) |
|
|
32
32
|
| Missing loading or error story (Rule 2) | the component has that state (a prop or branch) | `minor` | a component without that state |
|
|
33
33
|
| Missing stress story (Rule 2) | a list, or user text that can be long | `minor` | fixed-length content |
|
|
34
34
|
| A story calls a real API or has another side effect (Rule 3) | always | `minor`; `major` when it writes to a real backend | `fn()` |
|
|
@@ -86,8 +86,8 @@ this pass the class is unreachable for the whole round.
|
|
|
86
86
|
|
|
87
87
|
- Never edit the reviewed tree, not even to revert at once. With `run-tests`, run gates inside
|
|
88
88
|
**scope A** only through `keryx review mutate --spec <mutants.json>` (a scratch copy; the main session writes the file from your `mutant_candidates` to `research-evidence/mutants.json`); without it, run none: list `mutant_candidates` and stop, which is complete.
|
|
89
|
-
-
|
|
90
|
-
|
|
89
|
+
- A gate the diff neither added, changed nor sits downstream of is out of scope, even when its test file is in the diff: do not list it as a `mutant_candidate` or report it as unpinned.
|
|
90
|
+
- Run the **nearest** suite, not the full one. This is not a `test:mutation` sweep — those are slow, opt-in, and answer a different question.
|
|
91
91
|
- Propose, do not cap: `mutant_candidates` in your `REVIEW_RESULT` names a mutant (`id`, `file`, `anchor`, `replacement`,
|
|
92
92
|
optional `kind`: `behavior` (default) or `presentation`, for copy or styling only) for **every changed branch**, code downstream of the diff included.
|
|
93
93
|
Run what your budget allows, previous-round gates first, and say how many you did not reach:
|