nukadoko 0.1.0 → 0.3.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.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +417 -0
  3. data/README.ja.md +62 -7
  4. data/README.md +19 -5
  5. data/exe/nuka +8 -0
  6. data/lib/nukadoko/aria_snapshot.rb +1008 -0
  7. data/lib/nukadoko/aria_tree.rb +150 -0
  8. data/lib/nukadoko/base.rb +294 -0
  9. data/lib/nukadoko/check.rb +669 -22
  10. data/lib/nukadoko/claim_check.rb +177 -0
  11. data/lib/nukadoko/claim_check_run.rb +293 -0
  12. data/lib/nukadoko/claim_line.rb +381 -0
  13. data/lib/nukadoko/claim_rules.rb +519 -0
  14. data/lib/nukadoko/claim_sides.rb +469 -0
  15. data/lib/nukadoko/claims.rb +576 -37
  16. data/lib/nukadoko/cli.rb +814 -22
  17. data/lib/nukadoko/codes.json +947 -0
  18. data/lib/nukadoko/codes.rb +19 -0
  19. data/lib/nukadoko/command.rb +214 -12
  20. data/lib/nukadoko/criteria.rb +172 -0
  21. data/lib/nukadoko/definition.rb +33 -41
  22. data/lib/nukadoko/env_check.rb +88 -0
  23. data/lib/nukadoko/features.rb +80 -10
  24. data/lib/nukadoko/fixtures.rb +329 -11
  25. data/lib/nukadoko/http_recording.rb +68 -0
  26. data/lib/nukadoko/init.rb +129 -0
  27. data/lib/nukadoko/js_json.rb +274 -0
  28. data/lib/nukadoko/js_pattern.rb +531 -0
  29. data/lib/nukadoko/judge.rb +221 -0
  30. data/lib/nukadoko/judgment_file.rb +78 -0
  31. data/lib/nukadoko/judgments.rb +256 -0
  32. data/lib/nukadoko/literal.rb +129 -0
  33. data/lib/nukadoko/measured.rb +105 -0
  34. data/lib/nukadoko/order.rb +84 -0
  35. data/lib/nukadoko/parts.rb +43 -22
  36. data/lib/nukadoko/pattern.rb +73 -3
  37. data/lib/nukadoko/poll.rb +21 -8
  38. data/lib/nukadoko/program.rb +105 -17
  39. data/lib/nukadoko/project_files.rb +17 -0
  40. data/lib/nukadoko/project_fixtures.rb +17 -2
  41. data/lib/nukadoko/project_program.rb +119 -0
  42. data/lib/nukadoko/report_allure.rb +751 -0
  43. data/lib/nukadoko/report_messages.rb +167 -0
  44. data/lib/nukadoko/report_run.rb +169 -0
  45. data/lib/nukadoko/run.rb +898 -91
  46. data/lib/nukadoko/run_record.rb +535 -0
  47. data/lib/nukadoko/scaffold.rb +1015 -0
  48. data/lib/nukadoko/schema.rb +120 -21
  49. data/lib/nukadoko/secrets.rb +375 -0
  50. data/lib/nukadoko/selection.rb +163 -0
  51. data/lib/nukadoko/signature.rb +4 -1
  52. data/lib/nukadoko/skill.rb +36 -0
  53. data/lib/nukadoko/spaces.rb +28 -0
  54. data/lib/nukadoko/step.rb +68 -21
  55. data/lib/nukadoko/summary.rb +662 -0
  56. data/lib/nukadoko/table.rb +34 -2
  57. data/lib/nukadoko/text_fit.rb +179 -0
  58. data/lib/nukadoko/trace.rb +244 -0
  59. data/lib/nukadoko/trace_actions.rb +116 -0
  60. data/lib/nukadoko/tree_passes.rb +122 -0
  61. data/lib/nukadoko/verdict.rb +128 -0
  62. data/lib/nukadoko/version.rb +2 -1
  63. data/lib/nukadoko/vocabulary.rb +6 -0
  64. data/lib/nukadoko/walk.rb +305 -0
  65. data/lib/nukadoko/walk_files.rb +473 -0
  66. data/lib/nukadoko/walk_step.rb +149 -0
  67. data/lib/nukadoko.rb +60 -2
  68. data/llms.txt +297 -0
  69. data/sig/generated/nukadoko/aria_snapshot.rbs +331 -0
  70. data/sig/generated/nukadoko/aria_tree.rbs +142 -0
  71. data/sig/generated/nukadoko/base.rbs +142 -0
  72. data/sig/generated/nukadoko/check.rbs +255 -0
  73. data/sig/generated/nukadoko/claim_check.rbs +118 -0
  74. data/sig/generated/nukadoko/claim_check_run.rbs +88 -0
  75. data/sig/generated/nukadoko/claim_line.rbs +158 -0
  76. data/sig/generated/nukadoko/claim_rules.rbs +172 -0
  77. data/sig/generated/nukadoko/claim_sides.rbs +207 -0
  78. data/sig/generated/nukadoko/claims.rbs +208 -0
  79. data/sig/generated/nukadoko/cli.rbs +182 -0
  80. data/sig/generated/nukadoko/codes.rbs +16 -0
  81. data/sig/generated/nukadoko/command.rbs +109 -0
  82. data/sig/generated/nukadoko/criteria.rbs +83 -0
  83. data/sig/generated/nukadoko/definition.rbs +30 -0
  84. data/sig/generated/nukadoko/env_check.rbs +34 -0
  85. data/sig/generated/nukadoko/features.rbs +101 -0
  86. data/sig/generated/nukadoko/fixtures.rbs +175 -0
  87. data/sig/generated/nukadoko/http_recording.rbs +29 -0
  88. data/sig/generated/nukadoko/init.rbs +64 -0
  89. data/sig/generated/nukadoko/js_json.rbs +109 -0
  90. data/sig/generated/nukadoko/js_pattern.rbs +194 -0
  91. data/sig/generated/nukadoko/judge.rbs +64 -0
  92. data/sig/generated/nukadoko/judgment_file.rbs +39 -0
  93. data/sig/generated/nukadoko/judgments.rbs +120 -0
  94. data/sig/generated/nukadoko/literal.rbs +71 -0
  95. data/sig/generated/nukadoko/measured.rbs +42 -0
  96. data/sig/generated/nukadoko/order.rbs +54 -0
  97. data/sig/generated/nukadoko/parts.rbs +35 -0
  98. data/sig/generated/nukadoko/pattern.rbs +62 -0
  99. data/sig/generated/nukadoko/poll.rbs +41 -0
  100. data/sig/generated/nukadoko/program.rbs +101 -0
  101. data/sig/generated/nukadoko/project_files.rbs +19 -0
  102. data/sig/generated/nukadoko/project_fixtures.rbs +57 -0
  103. data/sig/generated/nukadoko/project_program.rbs +55 -0
  104. data/sig/generated/nukadoko/report_allure.rbs +268 -0
  105. data/sig/generated/nukadoko/report_messages.rbs +68 -0
  106. data/sig/generated/nukadoko/report_run.rbs +102 -0
  107. data/sig/generated/nukadoko/run.rbs +264 -0
  108. data/sig/generated/nukadoko/run_record.rbs +175 -0
  109. data/sig/generated/nukadoko/scaffold.rbs +328 -0
  110. data/sig/generated/nukadoko/schema.rbs +155 -0
  111. data/sig/generated/nukadoko/secrets.rbs +172 -0
  112. data/sig/generated/nukadoko/selection.rbs +73 -0
  113. data/sig/generated/nukadoko/signature.rbs +17 -0
  114. data/sig/generated/nukadoko/skill.rbs +20 -0
  115. data/sig/generated/nukadoko/spaces.rbs +31 -0
  116. data/sig/generated/nukadoko/step.rbs +115 -0
  117. data/sig/generated/nukadoko/summary.rbs +204 -0
  118. data/sig/generated/nukadoko/table.rbs +43 -0
  119. data/sig/generated/nukadoko/text_fit.rbs +70 -0
  120. data/sig/generated/nukadoko/trace.rbs +127 -0
  121. data/sig/generated/nukadoko/trace_actions.rbs +40 -0
  122. data/sig/generated/nukadoko/tree_passes.rbs +48 -0
  123. data/sig/generated/nukadoko/verdict.rbs +56 -0
  124. data/sig/generated/nukadoko/version.rbs +5 -0
  125. data/sig/generated/nukadoko/vocabulary.rbs +25 -0
  126. data/sig/generated/nukadoko/walk.rbs +139 -0
  127. data/sig/generated/nukadoko/walk_files.rbs +189 -0
  128. data/sig/generated/nukadoko/walk_step.rbs +50 -0
  129. data/sig/generated/nukadoko.rbs +26 -0
  130. data/sig/nukadoko.rbs +5 -48
  131. data/skills/nukadoko/SKILL.md +120 -0
  132. data/skills/nukadoko/references/checking-steps.md +200 -0
  133. data/skills/nukadoko/references/diagnosing.md +200 -0
  134. data/skills/nukadoko/references/done.md +99 -0
  135. data/skills/nukadoko/references/evidence.md +124 -0
  136. data/skills/nukadoko/references/examples/cli.md +230 -0
  137. data/skills/nukadoko/references/examples/http-api.md +342 -0
  138. data/skills/nukadoko/references/examples/workflow.md +173 -0
  139. data/skills/nukadoko/references/exploring.md +184 -0
  140. data/skills/nukadoko/references/fixtures.md +198 -0
  141. data/skills/nukadoko/references/from-prose.md +51 -0
  142. data/skills/nukadoko/references/judgments.md +95 -0
  143. data/skills/nukadoko/references/maintenance.md +97 -0
  144. data/skills/nukadoko/references/merge-risk.md +74 -0
  145. data/skills/nukadoko/references/parts.md +152 -0
  146. data/skills/nukadoko/references/perturbed-worlds.md +109 -0
  147. data/skills/nukadoko/references/program.md +200 -0
  148. data/skills/nukadoko/references/reviewing.md +200 -0
  149. data/skills/nukadoko/references/running.md +200 -0
  150. data/skills/nukadoko/references/scenario-rules.md +188 -0
  151. data/skills/nukadoko/references/states.md +66 -0
  152. data/skills/nukadoko/references/step-files.md +200 -0
  153. data/skills/nukadoko/references/verdicts.md +200 -0
  154. data/skills/nukadoko/references/writing-steps.md +200 -0
  155. data/skills/nukadoko/references/writing-the-feature.md +165 -0
  156. data/skills/nukadoko/scripts/claude-code-verdict-hook.mjs +99 -0
  157. data/skills/nukadoko/scripts/merge-risk.jq +56 -0
  158. data/skills/nukadoko-verification/SKILL.md +263 -0
  159. metadata +133 -1
@@ -0,0 +1,947 @@
1
+ {
2
+ "additional-feature-dir-missing": {
3
+ "severity": "error",
4
+ "description": "An entry in additionalFeatureDirs does not exist on disk.",
5
+ "fix": "Create the directory, or remove the entry from additionalFeatureDirs in the config file."
6
+ },
7
+ "alias-key-mismatch": {
8
+ "severity": "error",
9
+ "description": "A step has more than one pattern, and the patterns bind different sets of keys.",
10
+ "fix": "Edit the step's patterns so that each one captures the same set of keys."
11
+ },
12
+ "ambiguous-step": {
13
+ "severity": "error",
14
+ "description": "A line in a feature file matches more than one step definition.",
15
+ "fix": "Reword the feature line, or edit one of the matching patterns, so that exactly one step matches. nuka steps lists each pattern."
16
+ },
17
+ "args-not-object": {
18
+ "severity": "error",
19
+ "description": "A step has a pattern, but its args schema is not a z.object, so there is no key to check that pattern's captures against.",
20
+ "fix": "Declare the step's args as a z.object whose keys the pattern captures fill."
21
+ },
22
+ "base-feature-unparsed": {
23
+ "severity": "warning",
24
+ "description": "Under nuka run --base, the base's copy of a feature file does not parse, so its criteria were not compared with head's and each counts as new.",
25
+ "fix": "Nothing needs changing at head. Each criterion of the file is judged as new, so its base cell has to show a Then failing; to compare them with the base, name a base whose copy of the file parses."
26
+ },
27
+ "base-features-at-root": {
28
+ "severity": "refused",
29
+ "description": "nuka run --base needs the scenarios and their steps in a directory of their own, and featuresDir is the project root, where the program's code is too.",
30
+ "fix": "Move the feature files and the step files into a directory of their own, such as features/, and set featuresDir to it."
31
+ },
32
+ "base-git-failed": {
33
+ "severity": "refused",
34
+ "description": "nuka run --base could not ask git what it needs, or could not check the base out into the run's directory: git is missing, or a git command failed.",
35
+ "fix": "Run the git command the message names to see its error, or install git."
36
+ },
37
+ "base-outside-git": {
38
+ "severity": "refused",
39
+ "description": "nuka run --base compares with a git commit, and the project is not inside a git repository.",
40
+ "fix": "Run nuka run --base inside the git repository that holds the project, or run without --base."
41
+ },
42
+ "base-ref-unknown": {
43
+ "severity": "refused",
44
+ "description": "nuka run --base names a ref that is no commit in the project's repository.",
45
+ "fix": "Name a branch, tag, or commit the repository holds, such as the pull request's base."
46
+ },
47
+ "base-shallow": {
48
+ "severity": "refused",
49
+ "description": "nuka run --base names a ref that this shallow clone does not hold, because it holds only part of the history.",
50
+ "fix": "Fetch the base first with the command the refusal names, or fetch-depth: 0 on actions/checkout."
51
+ },
52
+ "capture-type-mismatch": {
53
+ "severity": "error",
54
+ "description": "A pattern captures a key with a built-in type whose JS value is a number, string, or bigint, but the args schema declares that key as a different primitive (number, string, boolean, or bigint) and does not coerce the captured value.",
55
+ "fix": "Make the capture type and the args field type agree: change the {key:type} in the pattern, or declare the field with z.coerce."
56
+ },
57
+ "check-errors": {
58
+ "severity": "refused",
59
+ "description": "nuka run did not start, because nuka check reports errors for the selected scenarios.",
60
+ "fix": "Correct each error the findings name, or pass --no-check to run anyway."
61
+ },
62
+ "claim-args-dropped": {
63
+ "severity": "error",
64
+ "description": "A claim reads a path into a value an earlier step returned, that step's returns schema may hold the path, and the claim step's own args schema declares the value through an object schema that does not declare a key on the path and keeps no key it does not declare: a z.object drops the key when it parses the args, and a z.strictObject refuses it. The run leaves a claim unjudged when its args schema changed the value it reads, and breaks one whose value is undefined, so the claim never holds, whatever the behaviour is. Also reported for a lacks-field claim, or a where claim that selects by one, whose field the args object drops: that claim never breaks, and that where never leaves an item out. Only a key under the from key is checked; an args schema that may keep the key (z.looseObject, a catchall, a union, a transform, or a default or a catch on the path) is taken to keep it.",
65
+ "fix": "Declare the value in the claim step's args with the producing step's own schema (such as user: signUp.returns.shape.user), or with z.looseObject, so args keeps the key the claim reads."
66
+ },
67
+ "claim-aria-snapshot-names-nothing": {
68
+ "severity": "error",
69
+ "description": "A fits-aria-snapshot claim's expected value is a sentence key the line fills, through its docstring or a {word}, {string}, or anonymous capture, with an ARIA snapshot that names no node: only comments, an empty text, a /children line, or nothing at all. Every page holds such a tree, so it states nothing, and nuka run breaks the claim on every page, --no-check included.",
70
+ "fix": "State in the expected ARIA snapshot (the docstring or the capture) at least one node the page must show: a role with its name in double quotes, a text, or a /url, as the browser's ARIA snapshot prints it."
71
+ },
72
+ "claim-aria-snapshot-unreadable": {
73
+ "severity": "error",
74
+ "description": "A fits-aria-snapshot claim's expected value is a sentence key the line fills, through its docstring or a {word}, {string}, or anonymous capture, with a text that does not read as an ARIA snapshot, or that states what nukadoko does not judge: a name or a text between slashes, the [active] state, a prop that would describe no node, or a plain text that YAML reads as a number, a boolean, or null. The claim would break whatever the page shows, so the finding names the line of the expected snapshot and how to write it.",
75
+ "fix": "Write the line of the expected ARIA snapshot the finding names as the browser's ARIA snapshot prints it: a YAML list, each item starting with \"- \", a name in double quotes, and a text that YAML reads as something else in quotes."
76
+ },
77
+ "claim-compares-itself": {
78
+ "severity": "error",
79
+ "description": "A claim's actual value and its expected value resolve to the same place: the same path of the same earlier line's result, or the same observe path, with a view and an at counted as steps of the path. Such a claim holds whatever the behaviour is. Also reported for a claim step whose observe receives a from value that an expected from reads, or one that holds it or that it holds, so observe could return the expected value as the actual one, and for one whose observe receives another from key that holds, or sits inside, the from value an actual reads when that claim's expected value is { observe }, so observe could return the actual value as the expected one. observe never receives the expected key itself, nor the actual from key of a claim whose expected value is { observe }. nuka run and nuka do break such a claim at run time too, so --no-check does not let it hold.",
80
+ "fix": "Take the expected value from the sentence (a capture, the docstring, or the table), or from another step's result, so the two sides can differ. For observe, take the key the finding names out of from, so observe does not receive it, or fill it from another step's result."
81
+ },
82
+ "claim-expected-transformed": {
83
+ "severity": "error",
84
+ "description": "A claim step names an args key as its expected value, and a pattern fills that key with a parameter type that config.parameterTypes or a compat defineParameterType registered with a transformer. The transformer rewrites the line's text before the claim reads it, so code would decide what the claim compares while the record labels the value as the sentence's. Under --no-check, nuka run leaves a claim that compares with such a key unjudged, so the run agrees with the check.",
85
+ "fix": "Capture the key with a type that has no transformer, such as {key:string}, and declare expected_view (text, lines, json, or comma-list) on the claim if the text needs one."
86
+ },
87
+ "claim-field-stripped": {
88
+ "severity": "error",
89
+ "description": "A lacks-field claim reads a value an earlier step returned, and that step's returns schema declares the value as an object that does not declare the field and keeps no key it does not declare: a z.object, which drops such a key when it parses the result, or a z.strictObject, which refuses it. The field is never there, so the claim never breaks, whatever the behaviour is. Also reported for a where claim that selects the items lacking such a field, which then never leaves an item out. Only a field the claim names as a literal, or that the line fills through a {word}, {string}, or anonymous capture, is checked; a schema that may keep the key (z.looseObject, a catchall, a union, a transform, or a default or a catch anywhere on the path, whose own value skips the schema at every depth below it) is taken to keep it. Under --no-check, nuka run and nuka do judge such a claim on what the step returned, as the producing step's record names the keys its returns dropped (returns_dropped): unjudged when the step returned the field, and held when it did not. Through a z.strictObject, the producing step fails when its result holds the field.",
90
+ "fix": "Declare the field in the producing step's returns as optional (such as password: z.unknown().optional()), so a result that holds it keeps it and one without it still parses, or declare that object with z.looseObject, which keeps the keys it does not declare."
91
+ },
92
+ "claim-judged-early": {
93
+ "severity": "failed",
94
+ "description": "A claim on a count of execution events was judged before every line it counts had arrived: the world's stop counted every line of the producer's trace, and the whole count judges the claim otherwise, so its cell is broke and proves nothing.",
95
+ "fix": "Have the program write a request's line after the work inside it, and run work that outlives the request as a job, which a reading waits for (docs/execution-events.md \"Inside first\")."
96
+ },
97
+ "claim-kind-unknown": {
98
+ "severity": "error",
99
+ "description": "An is-a claim's expected value is a plain string args key, read as it is or with expected_view text, and the line fills it through a {word}, {string}, or anonymous capture with a name that is none of the kinds is-a names, so the claim always breaks on that line. defineStep refuses a literal that names no kind; only the line says what a capture holds, so this half is the check's.",
100
+ "fix": "Write one of the kinds is-a names in the line (string, text, number, integer, boolean, list, array, object, null, uuid, date, timestamp, or url), or compare with another claim if the line states something else."
101
+ },
102
+ "claim-not-an-array": {
103
+ "severity": "error",
104
+ "description": "A claim counts the items of a value an earlier step returned, or an each claim reads each of its items, and that step's returns schema parses the value as something that is never an array: a string, a number, a boolean, an object, or a union, literal, or enum of only such values. count and each read an array alone, so the claim never holds, whatever the behaviour is. Only a value read with no view is checked, through the parsing wrappers (optional, nullable, readonly); a schema that may parse to an array (z.unknown, a transform, a default or a catch, whose own value skips the schema) is taken to be one.",
105
+ "fix": "Read the value through a view that makes an array (lines, comma-list, or json), point the claim at the array the step returns, or return the value as an array from the producing step."
106
+ },
107
+ "claim-path-unknown": {
108
+ "severity": "error",
109
+ "description": "A claim reads a path into a value an earlier step returned, and that step's returns schema has nothing at the path, so the value is undefined and the claim always breaks.",
110
+ "fix": "Correct the path to one the producing step's returns declares, or add the key to that step's returns."
111
+ },
112
+ "claim-poll-unstated": {
113
+ "severity": "error",
114
+ "description": "A claim step's observe reaches a browser page and the step does not state poll. A page between two renders can show any state for one frame, so the step has to say whether it reads once or until the claims hold.",
115
+ "fix": "Add poll: { timeout_ms } to read until every claim holds on two consecutive readings, or poll: false to read once."
116
+ },
117
+ "claim-sentence-unread": {
118
+ "severity": "error",
119
+ "description": "A claim step with no observe is bound to a line whose docstring or table fills an args key, and no claim reads that key (as an actual, an expected value, or in where), so nothing checks the value the line states. defineStep refuses a pattern capture no claim reads; only the line says whether a docstring or a table fills a key, so this half is the check's, and nuka run breaks the step's claims for it too.",
120
+ "fix": "Compare a claim with the key (expected: \"<key>\"), or take the docstring or table off the line."
121
+ },
122
+ "claims-outside-then": {
123
+ "severity": "error",
124
+ "description": "A claim step is bound in Given or When position, or on a * line, which Gherkin gives no position. Only a Then judges, so a broken claim there would read as a setup that broke instead of a criterion that failed.",
125
+ "fix": "Move the line to Then position, or bind a step that runs (defineStep with run) at this line."
126
+ },
127
+ "compat-step-not-runnable": {
128
+ "severity": "refused",
129
+ "description": "nuka do names a compat step, which has no typed contract to run alone.",
130
+ "fix": "Promote the step to defineStep to run it with nuka do."
131
+ },
132
+ "condition-tag-malformed": {
133
+ "severity": "error",
134
+ "description": "A tag starts with @with: or @without: but does not read as @with:<condition>, @with:<condition>=<value>, or @without:<condition>, so it names no condition. @with:<condition>=true and =false are malformed too: a value written as text is not the boolean the program declares.",
135
+ "fix": "Rewrite the tag as @with:<condition>, @with:<condition>=<value>, or @without:<condition>; a condition name holds letters, digits, \"_\", \".\", or \"-\", a value holds no whitespace and no \"@\", and a boolean is @with:<condition> or @without:<condition>."
136
+ },
137
+ "condition-unknown": {
138
+ "severity": "error",
139
+ "description": "A condition tag names a condition that no environment in the program in nukadoko.config.ts declares under conditions, so no environment sets it up.",
140
+ "fix": "Declare the condition under the conditions of the environments that set it up in the program in nukadoko.config.ts, or remove the tag."
141
+ },
142
+ "condition-unmet": {
143
+ "severity": "error",
144
+ "description": "No environment the run selects meets every condition a scenario's tags name, so the scenario has no required cell and nothing shows that it holds.",
145
+ "fix": "Add an environment whose conditions meet the scenario's tags, name one with --env, or correct the tags."
146
+ },
147
+ "config-exists": {
148
+ "severity": "refused",
149
+ "description": "nuka init found a config file, and writes nothing over it.",
150
+ "fix": "Edit the config file that exists, or delete it to start again."
151
+ },
152
+ "config-in-parent": {
153
+ "severity": "refused",
154
+ "description": "There is no config file here, and one exists in a parent directory, so a file written here is not one that config reads.",
155
+ "fix": "Run the command from the directory that holds the config file."
156
+ },
157
+ "config-invalid": {
158
+ "severity": "refused",
159
+ "description": "The config file did not load: it does not import, it has no default export, or a field is wrong.",
160
+ "fix": "Correct the config file as the message says."
161
+ },
162
+ "config-key-removed": {
163
+ "severity": "refused",
164
+ "description": "The config file sets a key that an earlier release removed.",
165
+ "fix": "Remove the key from the config file, and do what the message names in its place."
166
+ },
167
+ "config-missing": {
168
+ "severity": "warning",
169
+ "description": "There is no config file in the directory nuka runs in, so the defaults apply.",
170
+ "fix": "Run nuka from the directory that holds the config file, or run nuka init to write one."
171
+ },
172
+ "contract-unreadable": {
173
+ "severity": "failed",
174
+ "description": "nuka steps --json or nuka describe could not read part of a step's contract: its needs, a from entry, or an args or returns schema that JSON Schema cannot represent. The rest is printed, and the command exits 1.",
175
+ "fix": "Correct what the message names in the step file; a schema JSON Schema cannot represent, such as z.date(), still runs, and only its published contract is missing."
176
+ },
177
+ "criteria-unchanged": {
178
+ "severity": "note",
179
+ "description": "nuka verdict found that, under --base, no criterion of the newest run is new or changed: the run shows the criteria that were there still hold, and says nothing of what the change was for.",
180
+ "fix": "No change is necessary for a change that needs no criterion of its own, such as a refactor. A change of behaviour gets a scenario that says what it does."
181
+ },
182
+ "criterion-moved": {
183
+ "severity": "failed",
184
+ "description": "Under nuka run --base, an unchanged criterion passes at head, its mapping or its tags changed since the base, and the old world, head's code under the base's feature files and mapping, did not pass it or could not run it: the approved sentence no longer holds under the steps it was approved with.",
185
+ "fix": "Restore what the changed step, helper, or tag did, so the base's steps still pass on head's code, or correct what kept the old world from running, which the message names; a sentence that should now mean something else is edited, which makes it a changed criterion to prove."
186
+ },
187
+ "criterion-unproven": {
188
+ "severity": "failed",
189
+ "description": "Under nuka run --base, a new or changed criterion passes at head, and nothing shows a Then failing where its behaviour is absent: its base cells passed, broke, were flaky, failed in fewer than --proof-runs runs, or did not run, and no control proves it.",
190
+ "fix": "Make a Then claim what the change added, so that it fails on the base's code; tag the scenario @held when the base already has the behaviour; or correct what kept its base cell from running, which the message names."
191
+ },
192
+ "criterion-without-required-cell": {
193
+ "severity": "failed",
194
+ "description": "A row of the verdict table has no required cell: no environment the run started meets every condition its scenario's tags name, so the row is failed and nothing ran that shows it holds. Only a run under --no-check reaches it; nuka check reports the scenario as condition-unmet.",
195
+ "fix": "Add an environment whose conditions meet the scenario's tags, run one that does with --env, or correct the tags."
196
+ },
197
+ "done-callback-arity": {
198
+ "severity": "error",
199
+ "description": "A compat hook or a matched compat step declares more parameters than nukadoko passes, which cucumber-js reads as a done() callback.",
200
+ "fix": "Remove the done callback parameter, and return a promise from the function instead."
201
+ },
202
+ "duplicate-capture-key": {
203
+ "severity": "error",
204
+ "description": "A pattern captures the same key more than once. One args field holds one value, so the pattern is refused instead of dropping a value.",
205
+ "fix": "Rename one of the captures, so that each key occurs once in the pattern."
206
+ },
207
+ "duplicate-pattern": {
208
+ "severity": "error",
209
+ "description": "Two or more patterns, once capture names are stripped, normalize to the same text, so one step text could match more than one step.",
210
+ "fix": "Reword one of the patterns, so that the two texts differ when the capture names are removed."
211
+ },
212
+ "duplicate-step": {
213
+ "severity": "refused",
214
+ "description": "Two step files register the same typed step name, or two registrations have the same compat pattern.",
215
+ "fix": "Rename or remove one of the two definitions the message names."
216
+ },
217
+ "duplicate-world": {
218
+ "severity": "refused",
219
+ "description": "defineWorld is called more than once in the step files.",
220
+ "fix": "Keep one defineWorld call, and remove the others."
221
+ },
222
+ "env-file-missing": {
223
+ "severity": "warning",
224
+ "description": "A configured envFile does not exist on disk, so nothing in it is ever loaded.",
225
+ "fix": "Create the file, or remove it from envFiles in the config file."
226
+ },
227
+ "env-file-skipped-line": {
228
+ "severity": "warning",
229
+ "description": "A line in a configured envFile is not a blank line, a comment, or a binding, so nothing on it was loaded.",
230
+ "fix": "Rewrite the line as KEY=value, or start it with # to make it a comment."
231
+ },
232
+ "env-file-unreadable": {
233
+ "severity": "refused",
234
+ "description": "A configured envFiles path is on disk and could not be read: a directory, or a file without read permission. The run stops before any step runs.",
235
+ "fix": "Make the file readable, replace the directory with a file, or remove the path from envFiles."
236
+ },
237
+ "environment-env-file-missing": {
238
+ "severity": "warning",
239
+ "description": "An entry in one environment's own envFiles does not exist on disk.",
240
+ "fix": "Create the file, or remove it from that environment's envFiles in the program in nukadoko.config.ts."
241
+ },
242
+ "events-inlet-missing": {
243
+ "severity": "error",
244
+ "description": "A step's events counts execution events, and a world the run would serve names no {events} in its program, so the program has no file to write them to and each claim on the count is unjudged there (inlet-unnamed).",
245
+ "fix": "Set the variable the program reads to {events} under env in the program, such as EXECUTION_EVENTS: \"{events}\", and have the program append its execution events to that file."
246
+ },
247
+ "events-late": {
248
+ "severity": "note",
249
+ "description": "nuka do found lines of the program's execution events that carry the step's trace id and arrived after the step ended, when the world stopped. They are in events-late.jsonl beside the step record, and are not in its observed.events.",
250
+ "fix": "No change is necessary. A job the step enqueued that performed after the step ended writes its lines then; observed.events.open names a job that had not performed."
251
+ },
252
+ "events-producer-ambiguous": {
253
+ "severity": "error",
254
+ "description": "A step's events names more than one candidate step in of, and more than one of them runs earlier in the scenario, so the run cannot choose whose execution events to count and each claim on the count is unjudged.",
255
+ "fix": "Remove or move lines so that exactly one of the candidate steps runs before the line that counts their events."
256
+ },
257
+ "events-producer-missing": {
258
+ "severity": "error",
259
+ "description": "A step's events counts the execution events of a step that no earlier line in the scenario runs, so each claim on the count is unjudged (producer-not-run).",
260
+ "fix": "Put a line that runs the step earlier in the scenario, or list the step an earlier line runs in that key's of."
261
+ },
262
+ "events-unread": {
263
+ "severity": "warning",
264
+ "description": "A step's events counts execution events, and a world the run would start is one nukadoko does not serve (a url, or a project whose config has no program), so it reads no execution events there and each claim on the count is unjudged (world-unread).",
265
+ "fix": "Run those scenarios in a world nukadoko serves, with {events} in env, or select one with --env."
266
+ },
267
+ "expects-tag-malformed": {
268
+ "severity": "error",
269
+ "description": "A tag starts with @expects: but does not read as @expects:status=<500-599>, @expects:error=<class>, or @expects:page-error=<name>: an unknown kind, no value, a status outside 500 to 599, or a value with whitespace or \"@\". It accepts nothing, so under nuka run --no-check the failure it meant stays unexpected and its cell is broke.",
270
+ "fix": "Rewrite the tag as @expects:status=<500-599>, @expects:error=<class>, or @expects:page-error=<name>, one status, class, or name per tag; the unexpected-failure finding of a run spells the tag for what it saw."
271
+ },
272
+ "expects-unread": {
273
+ "severity": "warning",
274
+ "description": "An @expects:error= tag accepts an unhandled error the program reports in its execution events, and no world the run would start reads them (the program names no {events}, the world runs at a url, or there is no program), so the tag can never match.",
275
+ "fix": "Name {events} in env of the program in nukadoko.config.ts for a world the run starts, such as env: { EXECUTION_EVENTS: \"{events}\" }, and have the program append its execution events there, or remove the tag."
276
+ },
277
+ "expects-unseen": {
278
+ "severity": "note",
279
+ "description": "A scenario whose every execution passed carries an @expects: tag that matched nothing: the run saw every response, page error, or execution event of that kind in each execution, and none was the failure the tag accepts. A tag left in place accepts that failure in every later run.",
280
+ "fix": "Remove the tag when the failure it accepts no longer happens. When the failure is meant to happen, make the scenario cause it, so the tag names what the scenario does."
281
+ },
282
+ "fail-on-note-with-targets": {
283
+ "severity": "refused",
284
+ "description": "nuka check with targets was given a --fail-on note code, and a check with targets computes no notes, so the gate could never fire.",
285
+ "fix": "Run nuka check without targets to gate on a note, or leave the note out of --fail-on."
286
+ },
287
+ "fail-on-unknown-code": {
288
+ "severity": "refused",
289
+ "description": "--fail-on names a code that a nuka check report never contains.",
290
+ "fix": "Name an error, warning, or note code that nuka check --codes lists."
291
+ },
292
+ "feature-parse-error": {
293
+ "severity": "error",
294
+ "description": "A .feature file could not be parsed, so nothing in it was checked.",
295
+ "fix": "Correct the Gherkin at the line that the message names, then run nuka check on the file again."
296
+ },
297
+ "features-dir-missing": {
298
+ "severity": "error",
299
+ "description": "The configured featuresDir does not exist on disk, so no feature or step file under it can load.",
300
+ "fix": "Create the featuresDir directory, or correct featuresDir in the config file."
301
+ },
302
+ "file-edited": {
303
+ "severity": "refused",
304
+ "description": "The file nuka scaffold would replace is not what scaffold wrote, so --replace leaves it.",
305
+ "fix": "Edit the file by hand, or delete it and run nuka scaffold again."
306
+ },
307
+ "file-exists": {
308
+ "severity": "refused",
309
+ "description": "The file nuka scaffold would write exists.",
310
+ "fix": "Pass --replace if scaffold wrote the file and nobody edited it, or delete the file."
311
+ },
312
+ "files-producer-ambiguous": {
313
+ "severity": "error",
314
+ "description": "A step's files names more than one candidate step in of, and more than one of them runs earlier in the scenario, so the run cannot choose whose files to read and each claim on the list is unjudged.",
315
+ "fix": "Remove or move lines so that exactly one of the candidate steps runs before the line that reads their files."
316
+ },
317
+ "files-producer-missing": {
318
+ "severity": "error",
319
+ "description": "A step's files reads the files the commands of a step changed, and no earlier line in the scenario runs that step, so each claim on the list is unjudged.",
320
+ "fix": "Put a line that runs the step earlier in the scenario, or list the step an earlier line runs in that key's of."
321
+ },
322
+ "fixture-cycle": {
323
+ "severity": "error",
324
+ "description": "config.fixtures definitions depend on each other in a cycle, so none of them can ever resolve.",
325
+ "fix": "Remove one dependency from the cycle in config.fixtures."
326
+ },
327
+ "fixture-scope-violation": {
328
+ "severity": "error",
329
+ "description": "A config.fixtures definition scoped to run once per process depends on one scoped to run once per scenario.",
330
+ "fix": "Scope the dependent fixture per scenario, or scope the fixture that it depends on per process."
331
+ },
332
+ "fixture-structural-violation": {
333
+ "severity": "error",
334
+ "description": "A step's run(), or a config.fixtures definition's own function, is not a plain object-destructuring parameter, or destructures a fixture name nukadoko does not know. A fixture that destructures call is the same finding: call is only available inside a step's run().",
335
+ "fix": "Give the function one object-destructuring parameter that names only known fixtures. The message names the name that is not known."
336
+ },
337
+ "fixture-teardown-failed": {
338
+ "severity": "warning",
339
+ "description": "A fixture's teardown threw after its scenario or the run finished.",
340
+ "fix": "Correct the teardown code of the fixture the message names."
341
+ },
342
+ "fixture-unused": {
343
+ "severity": "note",
344
+ "description": "No typed step requires a config.fixtures definition, directly or through another fixture.",
345
+ "fix": "Remove the fixture from config.fixtures, or keep it for nuka do."
346
+ },
347
+ "from-order-check-suppressed": {
348
+ "severity": "warning",
349
+ "description": "A step's from names a producer that no earlier line runs, but a line before it matches no step and may be meant to run that producer, so the from-order-violation findings that line could explain are held back until it matches a step.",
350
+ "fix": "Reword the undefined line to match the producer's pattern if it is meant to run that producer. Otherwise fix the undefined-step finding first, then run nuka check again."
351
+ },
352
+ "from-order-violation": {
353
+ "severity": "error",
354
+ "description": "A step declares from for a key, and the step or steps it names have not run earlier in the same scenario, or (when the key names more than one candidate) more than one candidate has.",
355
+ "fix": "Put a line that runs one producer step earlier in the scenario, or list the step an earlier line runs as another candidate for the key in from. When more than one candidate ran earlier, keep only one."
356
+ },
357
+ "from-structural-violation": {
358
+ "severity": "error",
359
+ "description": "A step's from names a value that is not a registered step, or is otherwise structurally malformed.",
360
+ "fix": "Make each from entry name a step that a step file registers, and a key that step's returns declares."
361
+ },
362
+ "from-unused": {
363
+ "severity": "note",
364
+ "description": "A step's from declaration never supplies a value, because every feature line that binds the step fills that key with a pattern capture.",
365
+ "fix": "Remove the from entry for the key, or keep it for nuka do --use."
366
+ },
367
+ "hook-failed": {
368
+ "severity": "failed",
369
+ "description": "A BeforeAll or AfterAll hook threw, so the run is red.",
370
+ "fix": "Correct the hook the message names."
371
+ },
372
+ "intent-not-happening": {
373
+ "severity": "failed",
374
+ "description": "Under nuka run --base, a row of the change's INTENT.md aimed at a compared criterion, by its target, and that criterion did not do what the row says: a count did not go from before to after, a value did not, or what the row says does not change did. docs/intent.md is the format.",
375
+ "fix": "Make the change do what the row says there, or narrow the row's target if the row means less."
376
+ },
377
+ "intent-unintended": {
378
+ "severity": "failed",
379
+ "description": "Under nuka run --base, the change declares its intent in INTENT.md, and an unchanged criterion did something at head that it did not do at the base, which no row of the intent declares. The summary's \"base → head\" lists the difference.",
380
+ "fix": "Declare the difference with a row in INTENT.md if the change means it, or change the code back if it does not."
381
+ },
382
+ "intent-unread": {
383
+ "severity": "failed",
384
+ "description": "Under nuka run --base, the change's INTENT.md holds a row, or a table, that cannot be read as an intent, or git did not answer what the run asked of the file. A row that cannot be read declares nothing, so the run fails rather than judge less than the file says.",
385
+ "fix": "Write the row as docs/intent.md describes, so each difference the change means is declared."
386
+ },
387
+ "invalid-arguments": {
388
+ "severity": "refused",
389
+ "description": "The command line names an unknown command or flag, or leaves out a required one.",
390
+ "fix": "Correct the command line; the command's --help lists its flags."
391
+ },
392
+ "invalid-capture-key": {
393
+ "severity": "error",
394
+ "description": "A pattern capture's name is not a valid identifier: a capture key must start with a letter or underscore and contain only letters, digits, and underscores.",
395
+ "fix": "Rename the capture: a letter or an underscore first, then only letters, digits, and underscores."
396
+ },
397
+ "invalid-step-definition": {
398
+ "severity": "refused",
399
+ "description": "A step file calls defineStep with a definition nukadoko cannot register.",
400
+ "fix": "Correct the defineStep call the message names."
401
+ },
402
+ "invalid-value": {
403
+ "severity": "refused",
404
+ "description": "A flag has a value the command cannot use.",
405
+ "fix": "Correct the flag's value as the message says."
406
+ },
407
+ "judgment-misses": {
408
+ "severity": "failed",
409
+ "description": "A criterion's Then asks for a judgment, and the committed judgment that cites the value this run read says the value does not meet the sentence. The criterion fails until the value changes, and the judgment of the new value says it meets.",
410
+ "fix": "Change the program until the value meets the sentence, run the criterion again, and have a judge who did not write the change judge the new value with nuka judge."
411
+ },
412
+ "judgment-pending": {
413
+ "severity": "failed",
414
+ "description": "A criterion's Then asks for a judgment (a judged-as claim), the run read the value, and no committed judgment cites that claim yet. nukadoko compares nothing for such a claim, so nothing shows the criterion holds until a reader judges the value.",
415
+ "fix": "Have a judge who did not write the change read the value with nuka judge <file>:<line> --run <run>, then record it with --meets or --misses, --by, and --because, commit the judgment file, and run again."
416
+ },
417
+ "judgment-refused": {
418
+ "severity": "refused",
419
+ "description": "nuka judge cannot record the judgment: the target names no criterion of the run, the criterion did not pass or asks for no judgment, a value is in no recorded channel, the step record and run.json disagree about a value, or the flags do not say meets or misses, by whom, and why.",
420
+ "fix": "Run the criterion, read what nuka judge <file>:<line> prints, and record with exactly one of --meets and --misses, and with --by and --because."
421
+ },
422
+ "judgment-stale": {
423
+ "severity": "failed",
424
+ "description": "A criterion's Then asks for a judgment, and the committed judgments of its claim cite other values than the one this run read: the value changed since it was judged, so no judgment covers what ran.",
425
+ "fix": "Have a judge who did not write the change read the new value with nuka judge <file>:<line> --run <run> and record a judgment of it; a value that changes on every run (a time, an id) means the claim reads too much, so narrow it with at."
426
+ },
427
+ "judgment-uncitable": {
428
+ "severity": "failed",
429
+ "description": "A criterion's Then asks for a judgment of a value that no channel nukadoko recorded holds (measured: none): a value step code wrote or worked out. A judgment cites only a value the tool measured, so none can cite this one.",
430
+ "fix": "Read the value whole from a channel the step record holds (a response body, a process's output, a file) and narrow it with view and at, or return the locator or page from observe so nukadoko takes its ARIA snapshot."
431
+ },
432
+ "judgments-not-compared": {
433
+ "severity": "warning",
434
+ "description": "Under nuka run --base, git did not answer when the run compared the judgment files with the base, so the summary lists no changed judgment.",
435
+ "fix": "Run the git command the message names to see its error; the verdicts and the judgments themselves are not affected."
436
+ },
437
+ "judgments-unread": {
438
+ "severity": "failed",
439
+ "description": "A judgment file under judgments/ does not parse or lacks a field, so the criteria of its feature file read as judged by nothing.",
440
+ "fix": "Repair the file the message names by hand, or remove it and judge its criteria again with nuka judge."
441
+ },
442
+ "line-not-supported": {
443
+ "severity": "refused",
444
+ "description": "A target has a :line suffix, and the command reads whole files: nuka check analyzes every scenario in a file.",
445
+ "fix": "Remove the :line suffix from the target."
446
+ },
447
+ "line-on-directory": {
448
+ "severity": "refused",
449
+ "description": "A target names a directory with a :line suffix, and a line selects a scenario in one file only.",
450
+ "fix": "Remove the :line suffix from the directory, or name a feature file."
451
+ },
452
+ "markdown-target": {
453
+ "severity": "refused",
454
+ "description": "A target names a Markdown file: Markdown oaths were removed, and scenarios live in .feature files only.",
455
+ "fix": "Write the scenarios of the file as Gherkin in a .feature file, and name that file."
456
+ },
457
+ "mcp-transport-unmeasured": {
458
+ "severity": "note",
459
+ "description": "A config fixture or a typed step connects an MCP client to a transport it builds inside the connect call, so measureMcp never wraps it and the client's calls reach no step record.",
460
+ "fix": "Pass the transport through measureMcp (from nukadoko): client.connect(measureMcp(new StdioClientTransport(...)))."
461
+ },
462
+ "no-feature-files": {
463
+ "severity": "refused",
464
+ "description": "A target directory holds no feature file, so nothing can run.",
465
+ "fix": "Add a feature file under the directory, or name another target."
466
+ },
467
+ "no-scenario-at-line": {
468
+ "severity": "refused",
469
+ "description": "A target's :line is not the line a scenario or an Examples row starts on.",
470
+ "fix": "Name the line that a scenario or an Examples row starts on."
471
+ },
472
+ "no-step-files-found": {
473
+ "severity": "error",
474
+ "description": "featuresDir exists, but no .ts/.mts/.js/.mjs step file was found while scanning it, so no step can ever be registered.",
475
+ "fix": "Add a step file under featuresDir. nuka scaffold writes one."
476
+ },
477
+ "nothing-selected": {
478
+ "severity": "failed",
479
+ "description": "nuka run selected no scenario: its targets hold none, or --env leaves out every one they hold, so nothing ran and nothing was checked. The run writes no run directory.",
480
+ "fix": "Name a target that holds a scenario, or run in an environment that meets the scenarios' tags."
481
+ },
482
+ "outline-does-not-run": {
483
+ "severity": "error",
484
+ "description": "A scenario outline has no Examples row that will run, so the boundary the feature names is absent from the run.",
485
+ "fix": "Add an Examples row for each case that must run, or remove the empty Examples table."
486
+ },
487
+ "outline-rows-share-name": {
488
+ "severity": "warning",
489
+ "description": "A scenario outline has more than one Examples row, and its name holds no <column> of its Examples, so every row is reported under the same name.",
490
+ "fix": "Add an Examples column to the outline's name, such as <column>, so that each row has its own name."
491
+ },
492
+ "package-type-missing": {
493
+ "severity": "note",
494
+ "description": "A package.json with no \"type\" field governs a .ts or .js file nukadoko loads, so Node parses the file twice and prints a MODULE_TYPELESS_PACKAGE_JSON warning on every load.",
495
+ "fix": "Add \"type\": \"module\" to the package.json, or rename the files to .mts if the project's own .js files are CommonJS."
496
+ },
497
+ "page-override-unowned": {
498
+ "severity": "error",
499
+ "description": "A config.fixtures definition overrides page, but owns none of page, context, and pageAs.",
500
+ "fix": "Make the fixture that overrides page own page, context, or pageAs, or remove the override."
501
+ },
502
+ "parameter-type-collision": {
503
+ "severity": "refused",
504
+ "description": "A parameter type has the name of a built-in type or of another registered type.",
505
+ "fix": "Rename the parameter type, or remove one of the two registrations."
506
+ },
507
+ "parameter-type-invalid": {
508
+ "severity": "error",
509
+ "description": "A custom parameter type takes the name of a built-in type, two parameter types share the same name (from config.parameterTypes or a compat defineParameterType call), or a type sets preferForRegexpMatch on a regexp that another type, built-in or custom, already prefers.",
510
+ "fix": "Rename the parameter type, or remove the second registration or the second preferForRegexpMatch."
511
+ },
512
+ "parameter-type-unused": {
513
+ "severity": "note",
514
+ "description": "No typed or compat pattern names a config.parameterTypes entry.",
515
+ "fix": "Remove the entry from config.parameterTypes, or use it in a pattern."
516
+ },
517
+ "part-cycle": {
518
+ "severity": "error",
519
+ "description": "A step's parts form a cycle: the step reaches itself, directly or through other steps' own parts.",
520
+ "fix": "Remove one part from the chain, so that no step reaches itself."
521
+ },
522
+ "part-mutates-contradiction": {
523
+ "severity": "error",
524
+ "description": "A step declares mutates: false, but declares a part that declares mutates: true.",
525
+ "fix": "Declare mutates: true on the step, or remove the part that declares mutates: true."
526
+ },
527
+ "part-structural-violation": {
528
+ "severity": "error",
529
+ "description": "A step's parts names a value that is not a registered step, or is otherwise structurally malformed.",
530
+ "fix": "Make each parts entry a step that a step file registers."
531
+ },
532
+ "pattern-error": {
533
+ "severity": "error",
534
+ "description": "A step's pattern could not be parsed, for a reason other than an unnamed, invalid, or unterminated capture.",
535
+ "fix": "Correct the pattern at the position that the message names."
536
+ },
537
+ "pattern-syntax-error": {
538
+ "severity": "error",
539
+ "description": "A pattern failed to build into a cucumber expression, for a reason cucumber-expressions itself reports (not an unknown parameter type).",
540
+ "fix": "Correct the pattern at the position that the message names. Escape a literal ( ) or / as \\( \\) or \\/."
541
+ },
542
+ "pattern-unbound": {
543
+ "severity": "note",
544
+ "description": "A typed step has a pattern, and no feature line resolves to that step alone.",
545
+ "fix": "Write a feature line that matches the pattern, or remove the pattern if only nuka do runs the step."
546
+ },
547
+ "pause-answered": {
548
+ "severity": "refused",
549
+ "description": "nuka step names a pause that was already answered the other way, so this answer changes nothing.",
550
+ "fix": "Run nuka step wait --walk <n> to see where the walk stands, and answer the pause it shows."
551
+ },
552
+ "pause-not-current": {
553
+ "severity": "refused",
554
+ "description": "nuka step answers a pause that is not the one the walk waits at: the walk has not reached it yet, has moved past it without that answer, or ended without reaching it.",
555
+ "fix": "Run nuka step wait --walk <n> to see the pause the walk waits at, and answer that pause."
556
+ },
557
+ "playwright-missing": {
558
+ "severity": "error",
559
+ "description": "A feature line binds a step whose fixtures build page, context, pageAs, or request, and playwright does not resolve from the installed nukadoko, so the step would fail when it runs; or a step file imports playwright, playwright-core, or @playwright/test, itself or through another project file that the message names, which the project has not installed, so the file does not import. A step is reported once, at the first line that binds it.",
560
+ "fix": "Install the package that the message names in the project, at the version that the message names."
561
+ },
562
+ "program-exited": {
563
+ "severity": "warning",
564
+ "description": "The program a world served exited while the scenarios still ran, so the requests after that found nothing listening.",
565
+ "fix": "Read the world's program.log, which the message names, for why the program exited."
566
+ },
567
+ "program-file-moved": {
568
+ "severity": "refused",
569
+ "description": "The project root holds a program file (nukadoko.program.ts, .mts, or .rb), which an earlier release read and this one does not: the program is part of the config now.",
570
+ "fix": "Move what the program file describes into the config as its program (program: () => ({ ... }) in nukadoko.config.ts, program: -> { { ... } } in nukadoko.config.rb), and delete the program file; CHANGELOG.md, under \"The program moves into the config\", shows the move."
571
+ },
572
+ "program-list-unread": {
573
+ "severity": "warning",
574
+ "description": "A command under lists in the program in nukadoko.config.ts failed, passed its limit, or printed a line that is not one entry of its list, so that world's list was not read and nothing of it counts.",
575
+ "fix": "Correct the command the message names, or what it prints: one JSON object per line, in the shape docs/spec.md \"Lists\" gives for its kind. Its stderr is in the world's program.log."
576
+ },
577
+ "program-log-late": {
578
+ "severity": "note",
579
+ "description": "nuka do found lines of the program's log that carry the step's trace id and arrived after the step ended, when the world stopped. They are in program-log-late.txt beside the step record, and are not in its observed.program_log.",
580
+ "fix": "No change is necessary. When it happens on every call, the program may buffer its output on a pipe; if so, set STDOUT.sync = true in Ruby, or PYTHONUNBUFFERED=1 for Python."
581
+ },
582
+ "program-placeholder-unfilled": {
583
+ "severity": "error",
584
+ "description": "A command or an env value in the program in nukadoko.config.ts names a placeholder a world that nuka run with the same --env flags would start has no value for: {port} or {url} in a world with neither serve nor url, {condition.<name>} in one whose environment does not declare that condition, or anything but {root} in a build command.",
585
+ "fix": "Remove the placeholder from the field the message names, or give the world what fills it: serve or url for {port} or {url}, the condition under its environment's conditions for {condition.<name>}; in a build command, write only {root}, or move the command to prepare."
586
+ },
587
+ "program-start-failed": {
588
+ "severity": "failed",
589
+ "description": "The program in nukadoko.config.ts did not start for a world: a build or prepare command failed or did not finish within its timeout_ms, the server did not answer its ready path in time, or setup or the url function threw or did not finish within its timeout_ms. The world's scenarios did not run.",
590
+ "fix": "Correct what the message names; the end of the world's program.log is in the message, and the whole file is in the world's directory."
591
+ },
592
+ "proof-run-incomplete": {
593
+ "severity": "warning",
594
+ "description": "Under --concurrency, a proof round could not record a control's run: a BeforeAll or AfterAll hook failed in the worker the round started, or the worker exited without a record. Each control cell the round was given reads broke with the reason and proves nothing, so its row reads as one no control proves: held without --base, and under --base the base world runs for it.",
595
+ "fix": "Correct what the message names, such as the hook; the control proves on the next run."
596
+ },
597
+ "read-only-environment": {
598
+ "severity": "refused",
599
+ "description": "A step that declares mutates: true targets an environment whose policy is read-only.",
600
+ "fix": "Run the step against an environment that allows writes, or declare mutates: false if it only reads."
601
+ },
602
+ "record-unmatched": {
603
+ "severity": "warning",
604
+ "description": "A worker reported a record that matches no selected scenario, so nuka report cannot render it.",
605
+ "fix": "Run again without changing feature files while the run is in progress."
606
+ },
607
+ "removed-command": {
608
+ "severity": "refused",
609
+ "description": "The command line names a command that an earlier release removed.",
610
+ "fix": "Use what the message names in its place."
611
+ },
612
+ "removed-flag": {
613
+ "severity": "refused",
614
+ "description": "The command line names a flag that an earlier release removed.",
615
+ "fix": "Use what the message names in its place."
616
+ },
617
+ "repeated-scenario-prefix": {
618
+ "severity": "note",
619
+ "description": "Scenarios in this run open with the same steps, before the first When, with the same docstrings and tables. The note reports the measured repetition, and names a process-scope fixture only when every shared step declares mutates: false.",
620
+ "fix": "No change is necessary. A Background can hold the shared steps. A process-scope fixture fits only an opening whose steps all declare mutates: false."
621
+ },
622
+ "report-incomplete": {
623
+ "severity": "failed",
624
+ "description": "nuka report left out part of the run it renders: a scenario, a step record, or an attachment it could not read or map. The rest is written, and the report exits 1.",
625
+ "fix": "Correct what the message names, such as a step record removed from the run directory, and run nuka report again."
626
+ },
627
+ "report-out-invalid": {
628
+ "severity": "refused",
629
+ "description": "nuka report --out names a place the render cannot write: a directory where a file goes, a file where a directory goes, a FIFO or another special file, a dangling symbolic link, a path under a regular file, the Allure history file, or a markdown or messages file the file system refuses to write.",
630
+ "fix": "Name a regular file for markdown and messages, or a directory for allure, under a directory that exists or can be created."
631
+ },
632
+ "retention-failed": {
633
+ "severity": "warning",
634
+ "description": "The run finished, and removing old run directories under retention failed.",
635
+ "fix": "Correct what the message names, such as a directory's permissions; the next run tries again."
636
+ },
637
+ "run-failed": {
638
+ "severity": "failed",
639
+ "description": "nuka verdict found that the newest run failed, and its run.json holds no failed finding that says why.",
640
+ "fix": "Read the run summary that the do line renders for why the run failed."
641
+ },
642
+ "run-incomplete": {
643
+ "severity": "failed",
644
+ "description": "A signal or a worker that exited early stopped the run before every scenario had a record.",
645
+ "fix": "Run the scenarios again; the message names what stopped the run."
646
+ },
647
+ "run-invalid": {
648
+ "severity": "refused",
649
+ "description": "The run directory's run.json does not parse, has another schema version, or lacks a field nuka report reads.",
650
+ "fix": "Render a run directory that nuka run of this release wrote, unedited; the message names what is wrong."
651
+ },
652
+ "run-missing": {
653
+ "severity": "failed",
654
+ "description": "nuka verdict found no run that ended in this project, so nothing judged the working tree.",
655
+ "fix": "Run the criteria the change touches with nuka run, under --base with the commit the change started from, and read the verdict table before nuka verdict."
656
+ },
657
+ "run-not-found": {
658
+ "severity": "refused",
659
+ "description": "nuka report found no run to render: the directory it names holds no run.json, or the state directory holds no run that ended.",
660
+ "fix": "Name a run directory that holds a run.json, or run nuka run first."
661
+ },
662
+ "run-partial": {
663
+ "severity": "failed",
664
+ "description": "nuka verdict found that the newest run left out scenarios of the files it named, with a :line target or --tag, or was a walk (nuka run --step), whose world was open to anything between steps. Such a run is for debugging or exploring, and does not judge the criteria.",
665
+ "fix": "Run the feature files again without :line, --tag, or --step."
666
+ },
667
+ "run-result-not-written": {
668
+ "severity": "failed",
669
+ "description": "The run finished, and run.json could not be written, so the run fails: it has no record for a later command to read.",
670
+ "fix": "Correct what the message names, such as the state directory's permissions."
671
+ },
672
+ "run-sources-invalid": {
673
+ "severity": "refused",
674
+ "description": "The run directory's sources.json does not parse, lacks a field, or has another schema version.",
675
+ "fix": "Render a run directory that nuka run of this release wrote, unedited; the message names what is wrong."
676
+ },
677
+ "run-sources-missing": {
678
+ "severity": "refused",
679
+ "description": "The run directory holds no sources.json, the feature text nuka report --format allure and messages parse the run's scenarios from. A run an earlier release wrote has none.",
680
+ "fix": "Run the scenarios again with this release, and render that run."
681
+ },
682
+ "run-sources-not-written": {
683
+ "severity": "failed",
684
+ "description": "The run finished, and sources.json, the feature text nuka report renders the run from, could not be written, so the run fails.",
685
+ "fix": "Correct what the message names, such as the state directory's permissions, and run again."
686
+ },
687
+ "run-stale": {
688
+ "severity": "failed",
689
+ "description": "nuka verdict found that the newest run judged another working tree than the one there is now: a tracked file, or an untracked file .gitignore does not leave out, changed after it started, or it recorded no working tree id. Its verdicts say nothing about the change since.",
690
+ "fix": "Run the criteria again on the tree as it is. When every run leaves the tree changed, a step or the program writes a file git counts: add that file to .gitignore."
691
+ },
692
+ "run-without-base": {
693
+ "severity": "note",
694
+ "description": "nuka verdict found that the newest run had no --base, so no row of its table says which criteria are new or changed, and a new criterion that passes without the change was not caught as unproven.",
695
+ "fix": "No change is necessary. Run with --base and the commit the change started from to have new and changed criteria proven against it."
696
+ },
697
+ "scenario-failed": {
698
+ "severity": "failed",
699
+ "description": "A scenario ran and failed; its step lines and its record say which step and why.",
700
+ "fix": "Correct the step or the code under test that the error names."
701
+ },
702
+ "scenario-without-then": {
703
+ "severity": "warning",
704
+ "description": "A scenario judges no claim, so it passes whenever its steps run without an error: it has steps of its own and no Then step, in it or in its Background (a scenario of only * lines included, since a * line has no position), or each of its Then lines binds a step that is not a claim step, such as a compat step.",
705
+ "fix": "Add a Then line that binds a claim step (defineStep with claims) and checks the outcome the scenario is for."
706
+ },
707
+ "schema-field-undescribed": {
708
+ "severity": "note",
709
+ "description": "A field of a typed step's args or returns schema has no .describe(), so an agent choosing a step cannot read what it means.",
710
+ "fix": "Add a .describe() that says what the field means to each field that the message names."
711
+ },
712
+ "secrets-public-key-unknown": {
713
+ "severity": "warning",
714
+ "description": "A secrets.public entry names a key that no envFile defines.",
715
+ "fix": "Define the key in an envFile, or remove it from secrets.public."
716
+ },
717
+ "secrets-redact-key-too-short": {
718
+ "severity": "warning",
719
+ "description": "A secrets.redact key's value is shorter than the minimum length build-secret-set.ts will actually redact, so it never gets redacted.",
720
+ "fix": "Use a longer value for the key, or remove the key from secrets.redact."
721
+ },
722
+ "secrets-redact-key-unknown": {
723
+ "severity": "warning",
724
+ "description": "A secrets.redact entry names a key that no envFile defines.",
725
+ "fix": "Define the key in an envFile, or remove it from secrets.redact."
726
+ },
727
+ "serial-tag-on-scenario": {
728
+ "severity": "error",
729
+ "description": "A @nukadoko:serial tag is on a Scenario/Scenario Outline line; nuka run --concurrency only reads it from the Feature line, so it has no effect there.",
730
+ "fix": "Move @nukadoko:serial to the Feature line."
731
+ },
732
+ "show-requests-failed": {
733
+ "severity": "warning",
734
+ "description": "showRequests could not draw a request on its page, so no requests trace was written. http.jsonl still has every request.",
735
+ "fix": "Correct what the message names, such as a browser that is not installed (npx playwright install chromium), or turn showRequests off."
736
+ },
737
+ "state-missing": {
738
+ "severity": "error",
739
+ "description": "A step requires a state, and by what the steps of the earlier lines declare, the line can only be reached with that state not held: no step gives it, no earlier line gives it to that holder, or the last line that touched it ends it. nuka run refuses the scenario before any of its steps runs, --no-check included.",
740
+ "fix": "Put a line that runs a step whose gives names the state before the line that requires it, or move the line that ends it below that line. When the step of an earlier line gives the state without saying so, add the state to that step's gives."
741
+ },
742
+ "state-shape-mismatch": {
743
+ "severity": "error",
744
+ "description": "Steps name one state in two shapes, some with the args key that tells its holders apart ([state, key]) and some with the name alone, so no line that requires it is judged.",
745
+ "fix": "Write the state the same way in every step: with a key in each requires, gives, and ends entry, or with the name alone in all of them."
746
+ },
747
+ "step-args-invalid": {
748
+ "severity": "refused",
749
+ "description": "nuka do has no --args, or --args is not valid JSON.",
750
+ "fix": "Pass --args as a JSON object with the keys that nuka describe <step> lists."
751
+ },
752
+ "step-description-todo": {
753
+ "severity": "note",
754
+ "description": "A typed step's description is still the placeholder nuka scaffold wrote.",
755
+ "fix": "Replace the description with one sentence that says what the step does."
756
+ },
757
+ "step-file-import-failed": {
758
+ "severity": "error",
759
+ "description": "A step file under featuresDir failed to import, so any step it defines never reaches the vocabulary.",
760
+ "fix": "Correct the import or the error that the message names in the file, then run nuka check again."
761
+ },
762
+ "step-file-unsupported-extension": {
763
+ "severity": "error",
764
+ "description": "Discovery found a .cjs or .cts step file; nukadoko is ESM-only and never imports it.",
765
+ "fix": "Write the file as an ES module with a .ts, .mts, .js, or .mjs extension."
766
+ },
767
+ "step-inputs-invalid": {
768
+ "severity": "refused",
769
+ "description": "nuka do cannot run the step as given: a from key, a fixture, or a --use record does not fit.",
770
+ "fix": "Correct the step or the flags as the message says."
771
+ },
772
+ "step-needs-one-scenario": {
773
+ "severity": "refused",
774
+ "description": "nuka run --step walks one execution of one scenario, and the run selects more than that: several scenarios, several environments, --repeat above 1, --base, or a scenario whose conditions do not hold in its environment.",
775
+ "fix": "Name one scenario with <file>:<line>, one environment with --env, and leave out --repeat and --base."
776
+ },
777
+ "step-option-ignored": {
778
+ "severity": "warning",
779
+ "description": "A defineStep call passes a key that defineStep does not read, such as rationale, which was removed, so the key has no effect and its value is shown nowhere.",
780
+ "fix": "Delete the key from the defineStep call. Move rationale text into a comment above defineStep first."
781
+ },
782
+ "step-record-unreadable": {
783
+ "severity": "warning",
784
+ "description": "A step wrote a step record that could not be read back, so run.json and the summary have no declaration or measurement for it.",
785
+ "fix": "Correct what the message names, such as a full disk or a process that removed the run directory during the run."
786
+ },
787
+ "summary-not-written": {
788
+ "severity": "warning",
789
+ "description": "The run finished, and a summary file could not be written.",
790
+ "fix": "Correct what the message names, such as the summary path's directory."
791
+ },
792
+ "table-docstring-key-mismatch": {
793
+ "severity": "error",
794
+ "description": "A step's table or docstring is attached to a line, but zero, or more than one, of its args keys is left unconsumed by pattern captures (exactly one must be left for the attachment to fill), or the one key it fills is of a type the attachment can never satisfy (a table is string[][], a docstring is a string).",
795
+ "fix": "Leave exactly one args key that no capture fills, typed string[][] for a table or string for a docstring, or remove the attachment from the line."
796
+ },
797
+ "target-not-found": {
798
+ "severity": "refused",
799
+ "description": "A target names a file or a directory that does not exist.",
800
+ "fix": "Name a file or a directory that exists."
801
+ },
802
+ "target-unreadable": {
803
+ "severity": "refused",
804
+ "description": "A target exists, and nukadoko could not read it.",
805
+ "fix": "Make the file readable, or name another target."
806
+ },
807
+ "then-compat-step": {
808
+ "severity": "warning",
809
+ "description": "A compat step is bound in Then position. A compat step cannot declare claims, so nukadoko cannot see what it judges.",
810
+ "fix": "Move the step to defineStep with claims, or move the line out of Then position."
811
+ },
812
+ "then-without-claims": {
813
+ "severity": "error",
814
+ "description": "A typed step that runs is bound in Then position. A Then judges through claims; a step that only reads or records a value belongs in a Given or When.",
815
+ "fix": "Bind a claim step (defineStep with claims) at this line, or move the line to Given or When."
816
+ },
817
+ "trace-version-unknown": {
818
+ "severity": "warning",
819
+ "description": "A Playwright trace has a version nukadoko cannot read, so its actions are not in the step record.",
820
+ "fix": "Install the Playwright version nukadoko is tested against."
821
+ },
822
+ "tracked-secret-looking-key": {
823
+ "severity": "warning",
824
+ "description": "An envFile tracked by git defines a key that looks like a secret by name, but that key is not in secrets.redact.",
825
+ "fix": "Add the key to secrets.redact, or move it to an envFile that git does not track."
826
+ },
827
+ "undeclared-write": {
828
+ "severity": "note",
829
+ "description": "A step that declares mutates: false has, in its trace, a write the program committed to a table that holds state: the execution events say the step changed what a later step may read, and its declaration says it did not. A write to a table the program's tables list marks as bookkeeping or infrastructure is not one, and neither is a write that rolled back or whose commit state no line decides.",
830
+ "fix": "Declare mutates: true on the step when it is meant to write, or stop the write in the program when it is not; a table that holds bookkeeping or infrastructure is marked so in the program's tables list (docs/spec.md \"Lists\")."
831
+ },
832
+ "undefined-step": {
833
+ "severity": "error",
834
+ "description": "No step definition matches a line in a feature file.",
835
+ "fix": "Run nuka scaffold --feature with the feature file to write a stub for each undefined line, or reword the line to match a step that exists."
836
+ },
837
+ "undefined-step-check-suppressed": {
838
+ "severity": "warning",
839
+ "description": "A step file failed to import, or a line would match a step whose pattern has an unregistered parameter type, so the undefined-step finding that cause could explain is held back until it is fixed.",
840
+ "fix": "Fix the step-file-import-failed or playwright-missing finding, or the pattern error, that held it back, then run nuka check again."
841
+ },
842
+ "unexpected-error": {
843
+ "severity": "refused",
844
+ "description": "The command stopped on an error that has no code of its own.",
845
+ "fix": "Read the message; it is the error the command stopped on."
846
+ },
847
+ "unexpected-failure": {
848
+ "severity": "failed",
849
+ "description": "A scenario's steps passed and the program failed underneath one of them in a way no @expects: tag of the scenario names: a response with a status from 500 to 599, an error the page threw that nothing caught, or an error the program reported in its execution events with handled: false. Its cell is broke, so the claims that held prove nothing about the criterion.",
850
+ "fix": "Fix what failed in the program. A scenario that causes the failure on purpose names it with a tag on its Scenario line, such as @expects:status=503, @expects:error=<class>, or @expects:page-error=<name>; the finding's fix: line spells the tag."
851
+ },
852
+ "unfillable-required-key": {
853
+ "severity": "error",
854
+ "description": "A step's args key is required, but nothing on this line (no pattern capture, no table/docstring attachment, and no declared from) can ever fill it.",
855
+ "fix": "Capture the key in the pattern, attach a table or a docstring, declare from for the key, or make the key optional."
856
+ },
857
+ "unknown-capture-key": {
858
+ "severity": "error",
859
+ "description": "A pattern captures a key that is not a key of the step's args schema.",
860
+ "fix": "Rename the capture to a key of the args schema, or add the key to the schema."
861
+ },
862
+ "unknown-environment": {
863
+ "severity": "refused",
864
+ "description": "--env names an environment that the program in nukadoko.config.ts does not define.",
865
+ "fix": "Pass default or an environment the program in nukadoko.config.ts defines, or add it to environments there."
866
+ },
867
+ "unknown-parameter-type": {
868
+ "severity": "error",
869
+ "description": "A pattern names a parameter type this project has not registered, such as {custom} with no matching config.parameterTypes entry.",
870
+ "fix": "Register the type in config.parameterTypes, or use a built-in type such as {key:string}."
871
+ },
872
+ "unknown-step": {
873
+ "severity": "refused",
874
+ "description": "The command names a step that is not in the vocabulary.",
875
+ "fix": "Name a step that nuka steps lists."
876
+ },
877
+ "unnamed-capture": {
878
+ "severity": "error",
879
+ "description": "A step's pattern has a capture with no name, such as {int} instead of {key:int}; every capture must name the args key it fills.",
880
+ "fix": "Name the capture after the args key that it fills, as {key:type}."
881
+ },
882
+ "unsupported-hook-tag-expression": {
883
+ "severity": "error",
884
+ "description": "A compat hook's tag expression could not be parsed, so nukadoko cannot tell which scenarios it applies to.",
885
+ "fix": "Rewrite the hook's tags as a tag expression that nukadoko parses, such as @a and not @b."
886
+ },
887
+ "unterminated-capture": {
888
+ "severity": "error",
889
+ "description": "A pattern has an opening { with no matching closing }, so the pattern cannot be parsed.",
890
+ "fix": "Close the capture with }, or escape a literal { as \\{."
891
+ },
892
+ "version-probe-failed": {
893
+ "severity": "warning",
894
+ "description": "The environment's version probe did not answer, so the records have no target version.",
895
+ "fix": "Correct the environment's version setting in the program in nukadoko.config.ts, or the endpoint it names."
896
+ },
897
+ "walk-failed": {
898
+ "severity": "failed",
899
+ "description": "nuka step found the walk paused after a step that failed, or after a step whose AfterStep hook failed: the scenario is failed, and the pause names which of them failed and its message. The walk still waits for its answer, and nothing is left to stop.",
900
+ "fix": "Show the person the failure and the pause's views, answer next when they have seen it, and read the step record for the cause."
901
+ },
902
+ "walk-gone": {
903
+ "severity": "failed",
904
+ "description": "nuka step found a walk whose nuka run --step process ended without recording how: it was killed, or it crashed, so its world, its browser, and its fixtures may not have been torn down.",
905
+ "fix": "Stop what the walk left running, if anything, and start the walk again with the command the finding names."
906
+ },
907
+ "walk-in-progress": {
908
+ "severity": "refused",
909
+ "description": "nuka run --step found another walk in progress in this project: one walk at a time, since nuka step answers the walk the state directory names.",
910
+ "fix": "Finish the walk in progress with nuka step, or stop its nuka run --step process, then start this one."
911
+ },
912
+ "walk-not-current": {
913
+ "severity": "refused",
914
+ "description": "nuka step names a walk that is not the walk in this project: a later walk replaced it, or no walk with that number started yet. An answer names its walk so that it cannot move a walk the person was not shown.",
915
+ "fix": "Run the nuka step wait the finding names, show the person the pause it prints, and answer with that walk's number."
916
+ },
917
+ "walk-not-found": {
918
+ "severity": "refused",
919
+ "description": "nuka step found no walk to answer or wait for: no nuka run --step recorded one, or the walk an answer is for was replaced by a later one.",
920
+ "fix": "Start a walk with nuka run <feature>:<line> --step, then run nuka step wait."
921
+ },
922
+ "walk-run-kept": {
923
+ "severity": "note",
924
+ "description": "nuka clean kept a run directory because a walk (nuka run --step) that is live writes there, and nuka step answers its pauses through it. While a walk is starting, every run directory with no run.json is kept, since its run may have made one already.",
925
+ "fix": "Run nuka clean again once the walk ended; nuka step wait --walk <n> reports when it does."
926
+ },
927
+ "walk-stopped": {
928
+ "severity": "failed",
929
+ "description": "A walk (nuka run --step) was stopped at a pause with nuka step stop, so the steps after it did not run and nothing shows the scenario holds. The scenario is stopped, not failed, and its row is red.",
930
+ "fix": "Run the scenario without --step, or walk it to its last step, for a run that shows it holds."
931
+ },
932
+ "worker-output-unreadable": {
933
+ "severity": "warning",
934
+ "description": "A worker, under --concurrency or in a tree of nuka run --base, wrote a line on its stdout that is not one of its messages.",
935
+ "fix": "Remove the code that writes to process.stdout from the step files or the code they import."
936
+ },
937
+ "working-tree-unknown": {
938
+ "severity": "note",
939
+ "description": "nuka verdict could not get a git tree id for the working tree: outside a repository, before its first commit, or a git call failed. Whether the newest run judged this tree is unknown, so the verdict is that run's own table.",
940
+ "fix": "No change is necessary. In a git repository with a commit, nuka verdict compares the tree with the one the run judged."
941
+ },
942
+ "world-setup-failed": {
943
+ "severity": "warning",
944
+ "description": "A compat World could not be set up for a scenario.",
945
+ "fix": "Correct the World class or the defineWorld call the message names."
946
+ }
947
+ }