spec-controller 0.1.232 → 0.1.234
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 +193 -186
- package/dist/spec-reconciliation.schema.json +11 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -82,15 +82,163 @@ var init_exitCode = __esm({
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
+
// src/messages.en.json
|
|
86
|
+
var messages_en_default;
|
|
87
|
+
var init_messages_en = __esm({
|
|
88
|
+
"src/messages.en.json"() {
|
|
89
|
+
messages_en_default = {
|
|
90
|
+
"format-names-stored-run-manifest": "A --format output names {formatPath}, which is this stored run's own {manifestPath}. Give the report a path outside {runDir}.",
|
|
91
|
+
"stored-run-reads-its-manifest": "A file this stored run reads is its own {manifestPath}: {inputPath} is {inputSubject}. Give the store a root outside the files the run reads.",
|
|
92
|
+
"see-commands-and-modifiers": "Run 'spec-controller --help' to see the commands and host modifiers this version accepts.",
|
|
93
|
+
"see-modifiers": "Run 'spec-controller --help' to see the host modifiers this version accepts.",
|
|
94
|
+
"see-flags": "Run ''{scope} --help' to see the flags this version accepts.",
|
|
95
|
+
"see-flags-and-values": "Run ''{scope} --help' to see the flags this version accepts and the values they take.",
|
|
96
|
+
"see-arguments": "Run ''{scope} --help' to see what this version accepts.",
|
|
97
|
+
"no-command-after-modifiers": "No command followed the host modifiers given ({modifiers}), so nothing ran: a host modifier needs a command after it, or --help.",
|
|
98
|
+
"modifier-took-command": "The {modifier} host modifier took ''{command}'', a command, as its value, and left no command to run.",
|
|
99
|
+
"give-modifier-its-own-value": "Give {modifier} its own value, as in 'spec-controller {modifier} {arg} {command} \u2026'.",
|
|
100
|
+
"flag-before-command": "The {flag} flag was given before the command. Before the command, spec-controller takes only its host modifiers ({modifiers}); a command's own flags go after it, as in 'spec-controller <command> {flag}''.",
|
|
101
|
+
"unknown-command": 'unknown command "{command}".',
|
|
102
|
+
"modifiers-not-taken": "''{command}'' takes no host modifier, and was given {modifiers}: it answers a query and keeps no run.",
|
|
103
|
+
"run-without-modifiers": "Run 'spec-controller {command} \u2026' without them.",
|
|
104
|
+
"missing-value": "The {flag} flag of ''{scope}'' needs a value \u2014 {flag} {arg} \u2014 and was given none.",
|
|
105
|
+
"given-twice": "The {flag} flag of ''{scope}'' was given more than once, and is read once: give it once.",
|
|
106
|
+
"equals-form": "The {token} form is not read by ''{scope}'': a flag and its value are two arguments, as in ''{spelling}''.",
|
|
107
|
+
"takes-no-value": "The {flag} flag of ''{scope}'' takes no value, and was given one: ''{value}''.",
|
|
108
|
+
"extra-argument": "The argument ''{token}'' is more than ''{scope}'' takes: it takes {takes} once, and its flags.",
|
|
109
|
+
"not-a-flag": "The argument ''{token}'' is not a flag, nor the value of the flag before it: ''{scope}'' takes only flags and their values.",
|
|
110
|
+
"misplaced-modifier": "The {modifier} flag is a host modifier: it goes before the command, as in 'spec-controller {modifier} <value> {command} \u2026', never after it.",
|
|
111
|
+
"unknown-flag": "Unknown flag {flag} for ''{scope}'' \u2014 this is spec-controller {toolVersion}, and that flag is not in its {command} scope.",
|
|
112
|
+
"pin-drifted": "If this version is pinned, the pin and the tree it is reading have drifted apart: bump the pin to a version whose ''{command}'' accepts {flag}.",
|
|
113
|
+
"otherwise-see-flags": "Otherwise run ''{scope} --help' to see the flags this version accepts.",
|
|
114
|
+
"retired-flag": "Retired flag {flag} for ''{scope}'' \u2014 retired in spec-controller {retiredIn}, and no later version accepts it (this is spec-controller {toolVersion}).",
|
|
115
|
+
"do-not-pin-retired": "Do not pin an earlier version to get it back: that restores the route it was retired with.",
|
|
116
|
+
"re-render-not-stored": "'balance --render-from-json' re-renders a saved report to stdout and keeps no run, and was given {modifiers}: a re-render is not stored.",
|
|
117
|
+
"re-render-without": "{count, plural, one {Run 'spec-controller balance --render-from-json <path>' without it.} other {Run 'spec-controller balance --render-from-json <path>' without them.}}",
|
|
118
|
+
"run-id-without-store": "--run-id names a stored run, and was given ''{runId}'' with no --store, so no run is kept under it.",
|
|
119
|
+
"keep-run-under-name": "To keep the run under that name, give --store <root> as well; otherwise run ''{command}'' without --run-id.",
|
|
120
|
+
"legacy-json-removed": "The --json <path> flag has been removed. Use --format json:<path> to write the JSON report to a file (e.g. --format json:spec-reconciliation.json).",
|
|
121
|
+
"re-render-reads-only": "--render-from-json re-renders a saved report and reads only --strict and --exit-zero beside it; {ignored} would be ignored. Remove it, or run balance without --render-from-json.",
|
|
122
|
+
"unknown-format": "Unknown --format {formats}. Supported formats are {supported} (e.g. --format md, --format json:report.json).",
|
|
123
|
+
"more-than-one-to-stdout": "More than one output routes to stdout ({formats}); at most one may. Give one of them a :<path> to write it to a file instead (e.g. --format json:report.json).",
|
|
124
|
+
"outputs-share-file": "Two outputs name the same file: {first} and {second}. Give each output a file of its own.",
|
|
125
|
+
"output-overwrites-input": "An output would overwrite a file this run reads: {output} is {subject}, {path}. Give the report a file of its own.",
|
|
126
|
+
"output-overwrites-stored-run": "A --format output names {path}, a file of the earlier stored run in {runDir}. Give the report a path outside that run's directory.",
|
|
127
|
+
"unknown-part-refused": "unknown part \u2014 no feature file's header carries {part}.\nThe parts this corpus's feature files carry: {parts}.",
|
|
128
|
+
"no-parts-carried": "none",
|
|
129
|
+
"no-feature-part-given": "no feature part was given: 'spec-controller allocate <FFF>' takes one, a feature file's header code.",
|
|
130
|
+
"not-a-feature-part": "''{part}'' is not a feature part: two to five characters, each A-Z or 0-9.",
|
|
131
|
+
"default-corpus-feature-file": "a feature file of the corpus read by default",
|
|
132
|
+
"flagged-corpus-feature-file": "a feature file of the --features corpus",
|
|
133
|
+
"default-ci-workflow": "a CI workflow read by default",
|
|
134
|
+
"flagged-ci-workflow": "the --ci workflow",
|
|
135
|
+
"flagged-ci-folder-workflow": "a workflow of the --ci folder",
|
|
136
|
+
"format-on-standard-output": "{fmt} on standard output",
|
|
137
|
+
"coded-usage-error": "spec-controller {command}: usage error [{code}] \u2014 {message}",
|
|
138
|
+
"coded-host-usage-error": "spec-controller: usage error [{code}] \u2014 {message}",
|
|
139
|
+
history: "the repository's history",
|
|
140
|
+
repository: "the repository",
|
|
141
|
+
tree: "the tree",
|
|
142
|
+
"tree-directory": "a directory in the tree",
|
|
143
|
+
"tree-file": "a file in the tree",
|
|
144
|
+
"feature-file": "a feature file",
|
|
145
|
+
"feature-corpus": "the feature corpus",
|
|
146
|
+
"working-directory": "the working directory",
|
|
147
|
+
"working-directory-unreadable": "{subject} could not be read ({reason})",
|
|
148
|
+
"could-not-be-read": "{subject} could not be read: {path} ({reason})",
|
|
149
|
+
"git-exited": "git {command} exited {status}: {said}",
|
|
150
|
+
"feature-corpus-directory-missing": "The feature corpus directory does not exist: {directory}",
|
|
151
|
+
"stored-run-directory-not-created": "The stored run's directory could not be created: {path} ({reason})",
|
|
152
|
+
"input-path-missing": "The {flag} path does not exist: {path}",
|
|
153
|
+
"flagged-file": "The {flag} file",
|
|
154
|
+
"flagged-report": "The {flag} report",
|
|
155
|
+
"flagged-record": "The {flag} record",
|
|
156
|
+
"flagged-manifest": "The {flag} manifest",
|
|
157
|
+
"flagged-saved-report": "The {flag} saved report",
|
|
158
|
+
"flagged-corpus": "The {flag} corpus",
|
|
159
|
+
"flagged-workflows": "The {flag} workflows",
|
|
160
|
+
"default-package-json": "The package.json read by default",
|
|
161
|
+
"default-feature-corpus": "The feature corpus read by default",
|
|
162
|
+
"default-ci-workflows": "The CI workflows read by default",
|
|
163
|
+
"vitest-report-shape": "the Vitest JSON reporter writes",
|
|
164
|
+
"junit-report-shape": "of the JUnit XML report pytest --junitxml writes",
|
|
165
|
+
"jest-report-shape": "of the JSON report jest --json writes",
|
|
166
|
+
"junit-xml-report-shape": "of a JUnit XML report",
|
|
167
|
+
"rspec-report-shape": "of the JSON report rspec --format json writes",
|
|
168
|
+
"cucumber-report-shape": "the Cucumber JSON formatter writes",
|
|
169
|
+
"ci-step-record-shape": "of a CI run's record of its steps",
|
|
170
|
+
"package-manifest-shape": "of a package.json manifest",
|
|
171
|
+
"not-valid-json": "{subject} is not valid JSON: {path} ({reason})",
|
|
172
|
+
"not-valid-json-in-shape": "{subject} is not valid JSON, so not in the shape {shape}: {path} ({reason})",
|
|
173
|
+
"not-valid-xml": "{subject} is not valid XML, so not in the shape {shape}: {path} ({reason})",
|
|
174
|
+
"xml-fault-at-line": "{fault} at line {line}",
|
|
175
|
+
"not-in-shape": "{subject} is not in the shape {shape}: {path} ({fault})",
|
|
176
|
+
"not-a-saved-reconciliation": "{subject} is not a saved reconciliation: {path} ({fault}). Run balance again to save one.",
|
|
177
|
+
"not-renderable-as-saved": "{subject} could not be rendered as a saved reconciliation: {path} ({reason})",
|
|
178
|
+
"corpus-file-unparseable": "{corpus} contains a feature file that could not be parsed: {file}\n{message}",
|
|
179
|
+
"workflow-not-yaml": "{workflows} contain a workflow that is not valid YAML: {file}\n{message}",
|
|
180
|
+
"report-not-written": "The {format} report could not be written: {path} ({reason})",
|
|
181
|
+
"unexpected-error": "spec-controller stopped on an unexpected error [unexpected-error], and gives no verdict: {name}: {firstLine}",
|
|
182
|
+
"unexpected-error-after-verdict": "spec-controller hit an unexpected error [unexpected-error-after-verdict] after its verdict: {name}: {firstLine}",
|
|
183
|
+
"shape-kind-list": "a list",
|
|
184
|
+
"shape-kind-object": "an object",
|
|
185
|
+
"shape-kind-of-type": "a {type}",
|
|
186
|
+
"shape-top-level": "the top level",
|
|
187
|
+
"shape-wrong-kind": "{where} is {found}, not {expected}",
|
|
188
|
+
"shape-field-missing": "{path} is missing",
|
|
189
|
+
"help-title": "spec-controller \u2014 reconcile scenarios against observed evidence",
|
|
190
|
+
"help-usage": "Usage:",
|
|
191
|
+
"help-commands": "Commands:",
|
|
192
|
+
"help-host-modifiers": "Host modifiers (before the command):",
|
|
193
|
+
"help-options": "Options:",
|
|
194
|
+
"help-arguments": "Arguments:",
|
|
195
|
+
"help-pointer": "Full flags, examples, and CI wiring: docs/user-guide.md.",
|
|
196
|
+
"help-flag": "Show this help and exit.",
|
|
197
|
+
"store-modifier": "Store the run: write <root>/<target>/<run-id>/ with the reconciliation outputs + a run.yaml manifest. Required to store; there is no default (a default would write inside the repo).",
|
|
198
|
+
"run-id-modifier": "Name the stored run (default: an ISO-8601 UTC timestamp). Read only with --store: given without it, the run is refused, since no run would be kept under the name.",
|
|
199
|
+
"balance-summary": "Reconcile Gherkin scenarios against test/CI evidence and emit the Evidence Reconciliation (Markdown to stdout by default).",
|
|
200
|
+
"features-flag": "Directory of Gherkin .feature files \u2014 the scenarios, and the `@`-tags naming what each must prove (@unit, @integration, @fitness, \u2026).",
|
|
201
|
+
"vitest-flag": "A Vitest JSON report \u2014 runtime test evidence.",
|
|
202
|
+
"pytest-flag": "A pytest JUnit XML report (pytest --junitxml) \u2014 runtime unit test evidence.",
|
|
203
|
+
"jest-flag": "A Jest JSON report (jest --json --outputFile) \u2014 runtime unit test evidence.",
|
|
204
|
+
"junit-flag": "A JUnit XML report from any test runner that writes one, such as gotestsum --junitfile, or a directory of them, such as Maven Surefire's \u2014 runtime unit test evidence.",
|
|
205
|
+
"rspec-flag": "An RSpec JSON report (rspec --format json --out) \u2014 runtime unit test evidence.",
|
|
206
|
+
"cucumber-flag": "A Cucumber JSON report \u2014 runtime test evidence.",
|
|
207
|
+
"ci-flag": "Your CI workflows \u2014 a file, or a directory of them (default .github/workflows). Where a fitness function you have not converted is found running over the real source, and where a check step's `id:` supplies the @SCN its result cites.",
|
|
208
|
+
"package-json-flag": "The target's package.json \u2014 its `scripts`, and its specController.runners, specController.notChecks and specController.deferralTags. A fitness function is named by its @fitness scenario and the CI step whose id: is that scenario's @SCN; no manifest key names one.",
|
|
209
|
+
"ci-steps-flag": "The CI run's own record of what each of its steps did \u2014 your pipeline's `toJSON(steps)` dump, evidence for the converted fitness functions. Omit it if you have converted none.",
|
|
210
|
+
"target-flag": "A name recorded verbatim in the report's provenance (which project this run reconciled).",
|
|
211
|
+
"source-sha-flag": "Override the git commit SHA recorded in provenance (defaults to the resolved HEAD).",
|
|
212
|
+
"format-flag": "Where to send output (md or json, optionally :<path> to write to a file). Repeatable.",
|
|
213
|
+
"render-from-json-flag": "Re-render Markdown from a previously saved Evidence Reconciliation JSON \u2014 no reconcile, no live inputs.",
|
|
214
|
+
"strict-flag": "Fail the run (exit 3) when it carries Pending Items \u2014 the opt-in that escalates otherwise-run-neutral deferred obligations.",
|
|
215
|
+
"exit-zero-flag": "Print the same report but exit 0 on an out-of-balance or scenario-code-error (1) or --strict pending (3) verdict \u2014 the on-ramp before gating. Usage (2), unsound (4) and nothing-to-reconcile (5) still fail.",
|
|
216
|
+
"configuration-heading": "Configuration (in the target repo's package.json):",
|
|
217
|
+
"deferral-tags-key": "specController.deferralTags: string[]",
|
|
218
|
+
"deferral-tags-explanation": "Extra recognised deferral tags. A scenario carrying one defers every obligation it\nnames to a Pending Item, extending (never replacing) the built-in set.",
|
|
219
|
+
"built-in-deferral-tags": "Built-in deferral tags: {tags}",
|
|
220
|
+
"measurements-replacement": "A fitness function's evidence observation is the outcome of its own CI step: put the check's @SCN on that step's `id:` and hand balance the run's step record with --ci-steps.",
|
|
221
|
+
"allocate-summary": "Print the next @SCN code for a feature part: one past the highest the repository has ever carried, the code alone on stdout.",
|
|
222
|
+
"feature-part-argument": "The feature part: a feature file's header code, two to five of A-Z and 0-9.",
|
|
223
|
+
"new-flag": "Start a part no feature file's header carries yet: its first code, or one past any number the repository already carries for it.",
|
|
224
|
+
"shallow-history-risks-part-code": "history: shallow clone \u2014 history before {before} unread; a code of {part} may have been used before",
|
|
225
|
+
"shallow-history-risks-code-above": "history: shallow clone \u2014 history before {before} unread; a code above {code} may have been used before",
|
|
226
|
+
"no-repository-risks-part-code": "history: not a git repository \u2014 none read; a code of {part} may have been used before",
|
|
227
|
+
"no-repository-risks-code-above": "history: not a git repository \u2014 none read; a code above {code} may have been used before",
|
|
228
|
+
"highest-seen-none": "highest seen: none",
|
|
229
|
+
"highest-seen-in-tree": "highest seen: {code}, {path}:{line}",
|
|
230
|
+
"highest-seen-in-commit": "highest seen: {code}, {path}:{line} in {commit}",
|
|
231
|
+
"part-already-headed": "note: a feature file's header already carries {part}, so --new was not needed",
|
|
232
|
+
"help-usage-line": "spec-controller {modifierUsage} <command> [command-args]"
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
|
|
85
237
|
// src/messages.ts
|
|
86
|
-
var
|
|
238
|
+
var Unreadable;
|
|
87
239
|
var init_messages = __esm({
|
|
88
240
|
"src/messages.ts"() {
|
|
89
241
|
"use strict";
|
|
90
|
-
APP_MESSAGES = {
|
|
91
|
-
["unexpected-error" /* UnexpectedError */]: (name, firstLine2) => `spec-controller stopped on an unexpected error [${"unexpected-error" /* UnexpectedError */}], and gives no verdict: ${name}: ${firstLine2}`,
|
|
92
|
-
["unexpected-error-after-verdict" /* UnexpectedErrorAfterVerdict */]: (name, firstLine2) => `spec-controller hit an unexpected error [${"unexpected-error-after-verdict" /* UnexpectedErrorAfterVerdict */}] after its verdict: ${name}: ${firstLine2}`
|
|
93
|
-
};
|
|
94
242
|
Unreadable = {
|
|
95
243
|
History: "history" /* History */,
|
|
96
244
|
Repository: "repository" /* Repository */,
|
|
@@ -170,8 +318,11 @@ function settleExitCode(proc) {
|
|
|
170
318
|
endRunOn(UNEXPECTED_ERROR, proc);
|
|
171
319
|
}
|
|
172
320
|
function unexpectedErrorLine(err, afterVerdict) {
|
|
173
|
-
const
|
|
174
|
-
return
|
|
321
|
+
const code = afterVerdict ? "unexpected-error-after-verdict" /* UnexpectedErrorAfterVerdict */ : "unexpected-error" /* UnexpectedError */;
|
|
322
|
+
return filled(CRASH_TEXTS[code], { name: nameOf(err), firstLine: firstLineOf(err) });
|
|
323
|
+
}
|
|
324
|
+
function filled(text, values) {
|
|
325
|
+
return text.replace(/\{(name|firstLine)\}/g, (_, key) => values[key]);
|
|
175
326
|
}
|
|
176
327
|
function nameOf(err) {
|
|
177
328
|
if (!(err instanceof Error)) return typeof err;
|
|
@@ -189,14 +340,16 @@ function readOrUndefined(read) {
|
|
|
189
340
|
return void 0;
|
|
190
341
|
}
|
|
191
342
|
}
|
|
192
|
-
var run;
|
|
343
|
+
var run, CRASH_TEXTS;
|
|
193
344
|
var init_crashGuards = __esm({
|
|
194
345
|
"src/crashGuards.ts"() {
|
|
195
346
|
"use strict";
|
|
196
347
|
init_exitCode();
|
|
348
|
+
init_messages_en();
|
|
197
349
|
init_messages();
|
|
198
350
|
init_standardError();
|
|
199
351
|
run = { finished: false, lineWritten: false };
|
|
352
|
+
CRASH_TEXTS = messages_en_default;
|
|
200
353
|
}
|
|
201
354
|
});
|
|
202
355
|
|
|
@@ -11656,7 +11809,7 @@ function evidenceObligationsOf(evidenceObligations2) {
|
|
|
11656
11809
|
return evidenceObligations2.filter((obligation) => !obligation.pending);
|
|
11657
11810
|
}
|
|
11658
11811
|
function pendingItemsOf(scenario) {
|
|
11659
|
-
return scenario.evidenceObligations.filter((obligation) => obligation.pending).map((obligation) => ({ qualityCheckKind: obligation.qualityCheckKind }));
|
|
11812
|
+
return scenario.evidenceObligations.filter((obligation) => obligation.pending).map((obligation) => ({ qualityCheckKind: obligation.qualityCheckKind ?? null }));
|
|
11660
11813
|
}
|
|
11661
11814
|
function evidenceOfRunResult(result) {
|
|
11662
11815
|
if (result === "inconclusive")
|
|
@@ -28200,10 +28353,13 @@ var init_model = __esm({
|
|
|
28200
28353
|
});
|
|
28201
28354
|
|
|
28202
28355
|
// ../core/dist/render/messages.en.json
|
|
28203
|
-
var
|
|
28204
|
-
var
|
|
28356
|
+
var messages_en_default2;
|
|
28357
|
+
var init_messages_en2 = __esm({
|
|
28205
28358
|
"../core/dist/render/messages.en.json"() {
|
|
28206
|
-
|
|
28359
|
+
messages_en_default2 = {
|
|
28360
|
+
"errors-in-the-inputs-heading": "Errors in the inputs",
|
|
28361
|
+
"configuration-not-read-heading": "Configuration not read",
|
|
28362
|
+
"scenario-code-errors-heading": "Scenario code errors",
|
|
28207
28363
|
"configuration-not-read-intro": "The target's package.json holds configuration this run could not use. Each line below says what this run did with its entry, and every account in this report is the one the target gives without it.",
|
|
28208
28364
|
"configuration-wrong-kind": "{entry} is {is} where {reads} is read, so this run read it as absent.",
|
|
28209
28365
|
"configuration-unknown-key": "{key} is not a key the specController block reads, so this run read nothing from it.",
|
|
@@ -28355,7 +28511,9 @@ var init_messages_en = __esm({
|
|
|
28355
28511
|
"unnamed-claim-group-counts": "{ran} ran, {passed} passed, {failed} failed",
|
|
28356
28512
|
"unnamed-claim-failed-names": "(failed: {names})",
|
|
28357
28513
|
"several-scn-codes-cited": "{count} scenario codes cite {codes} \u2014 a test cites exactly one scenario, so this one credits none of them.",
|
|
28358
|
-
"shared-scn-code": "{code} is carried by more than one scenario, so evidence citing it credits none of them."
|
|
28514
|
+
"shared-scn-code": "{code} is carried by more than one scenario, so evidence citing it credits none of them.",
|
|
28515
|
+
"evidence-obligation-diverges-from-outcome": 'QualityCheckReconciliation invariant (@SCN-LDG-030): outcome "{outcome}" has the evidence obligation (debit) side {presenceForOutcome} for that outcome, but it was {presenceFound}.',
|
|
28516
|
+
"evidence-observation-diverges-from-outcome": 'QualityCheckReconciliation invariant (@SCN-LDG-030): outcome "{outcome}" has the evidence observation side {presenceForOutcome} for that outcome, but it was {presenceFound}.'
|
|
28359
28517
|
};
|
|
28360
28518
|
}
|
|
28361
28519
|
});
|
|
@@ -31153,25 +31311,21 @@ var coreMessage;
|
|
|
31153
31311
|
var init_coreText = __esm({
|
|
31154
31312
|
"../core/dist/render/coreText.js"() {
|
|
31155
31313
|
"use strict";
|
|
31156
|
-
|
|
31314
|
+
init_messages_en2();
|
|
31157
31315
|
init_message();
|
|
31158
|
-
coreMessage = messagesFrom(
|
|
31316
|
+
coreMessage = messagesFrom(messages_en_default2);
|
|
31159
31317
|
}
|
|
31160
31318
|
});
|
|
31161
31319
|
|
|
31162
31320
|
// ../core/dist/render/messages.js
|
|
31163
|
-
var
|
|
31321
|
+
var CoreMessage, CoreError;
|
|
31164
31322
|
var init_messages4 = __esm({
|
|
31165
31323
|
"../core/dist/render/messages.js"() {
|
|
31166
31324
|
"use strict";
|
|
31167
|
-
init_qualityCheckFault();
|
|
31168
|
-
QUALITY_CHECK_FAULT_MESSAGES = {
|
|
31169
|
-
[QualityCheckFaultCode.EvidenceDivergesFromOutcome]: (fault) => `QualityCheckReconciliation invariant (@SCN-LDG-030): outcome "${fault.outcome}" has the ${fault.evidence === "evidence-obligation" ? "evidence obligation (debit)" : "evidence observation"} side ${fault.presenceForOutcome} for that outcome, but it was ${fault.presenceFound}.`
|
|
31170
|
-
};
|
|
31171
31325
|
(function(CoreMessage2) {
|
|
31172
|
-
CoreMessage2[
|
|
31173
|
-
CoreMessage2[
|
|
31174
|
-
CoreMessage2[
|
|
31326
|
+
CoreMessage2["ErrorsInTheInputsHeading"] = "errors-in-the-inputs-heading";
|
|
31327
|
+
CoreMessage2["ConfigurationNotReadHeading"] = "configuration-not-read-heading";
|
|
31328
|
+
CoreMessage2["ScenarioCodeErrorsHeading"] = "scenario-code-errors-heading";
|
|
31175
31329
|
CoreMessage2["ConfigurationNotReadIntro"] = "configuration-not-read-intro";
|
|
31176
31330
|
CoreMessage2["ConfigurationWrongKind"] = "configuration-wrong-kind";
|
|
31177
31331
|
CoreMessage2["ConfigurationUnknownKey"] = "configuration-unknown-key";
|
|
@@ -31324,6 +31478,8 @@ var init_messages4 = __esm({
|
|
|
31324
31478
|
CoreMessage2["UnnamedClaimFailedNames"] = "unnamed-claim-failed-names";
|
|
31325
31479
|
CoreMessage2["SeveralScnCodesCited"] = "several-scn-codes-cited";
|
|
31326
31480
|
CoreMessage2["SharedScnCode"] = "shared-scn-code";
|
|
31481
|
+
CoreMessage2["EvidenceObligationDivergesFromOutcome"] = "evidence-obligation-diverges-from-outcome";
|
|
31482
|
+
CoreMessage2["EvidenceObservationDivergesFromOutcome"] = "evidence-observation-diverges-from-outcome";
|
|
31327
31483
|
})(CoreMessage || (CoreMessage = {}));
|
|
31328
31484
|
(function(CoreError2) {
|
|
31329
31485
|
CoreError2["ConfigurationWrongKind"] = "configuration-wrong-kind";
|
|
@@ -31336,11 +31492,6 @@ var init_messages4 = __esm({
|
|
|
31336
31492
|
CoreError2["NoFeatureCode"] = "no-feature-code";
|
|
31337
31493
|
CoreError2["SeveralScnCodes"] = "several-scn-codes";
|
|
31338
31494
|
})(CoreError || (CoreError = {}));
|
|
31339
|
-
CORE_MESSAGES = {
|
|
31340
|
-
[CoreMessage.ErrorsInTheInputsHeading]: "## Errors in the inputs",
|
|
31341
|
-
[CoreMessage.ConfigurationNotReadHeading]: "### Configuration not read",
|
|
31342
|
-
[CoreMessage.ScenarioCodeErrorsHeading]: "### Scenario code errors"
|
|
31343
|
-
};
|
|
31344
31495
|
}
|
|
31345
31496
|
});
|
|
31346
31497
|
|
|
@@ -31428,7 +31579,7 @@ var init_heading = __esm({
|
|
|
31428
31579
|
|
|
31429
31580
|
// ../core/dist/render/runVerdict.js
|
|
31430
31581
|
function scenarioCodeErrorsGloss(errors, alsoOutOfBalance) {
|
|
31431
|
-
const values = { heading:
|
|
31582
|
+
const values = { heading: markdownHeading(3, coreMessage(CoreMessage.ScenarioCodeErrorsHeading)), alsoOutOfBalance };
|
|
31432
31583
|
switch (scenarioCodeErrorsAre(errors)) {
|
|
31433
31584
|
case "misfilings":
|
|
31434
31585
|
return coreMessage(CoreMessage.ScenarioCodeErrorsGloss, values);
|
|
@@ -31586,6 +31737,7 @@ var init_scenarioCodeErrorsSection = __esm({
|
|
|
31586
31737
|
init_scnTags();
|
|
31587
31738
|
init_messages4();
|
|
31588
31739
|
init_coreText();
|
|
31740
|
+
init_heading();
|
|
31589
31741
|
init_errorEntry();
|
|
31590
31742
|
CODE_OF = {
|
|
31591
31743
|
"duplicate-feature-code": CoreError.DuplicateFeatureCode,
|
|
@@ -31599,7 +31751,7 @@ var init_scenarioCodeErrorsSection = __esm({
|
|
|
31599
31751
|
return [];
|
|
31600
31752
|
const count = coreMessage(CoreMessage.ScenarioCodeErrorCount, { count: errors.length });
|
|
31601
31753
|
return [
|
|
31602
|
-
|
|
31754
|
+
markdownHeading(3, coreMessage(CoreMessage.ScenarioCodeErrorsHeading)),
|
|
31603
31755
|
"",
|
|
31604
31756
|
scenarioCodeErrorsFraming(errors, count),
|
|
31605
31757
|
"",
|
|
@@ -31711,6 +31863,7 @@ var init_configurationNotRead = __esm({
|
|
|
31711
31863
|
"use strict";
|
|
31712
31864
|
init_messages4();
|
|
31713
31865
|
init_coreText();
|
|
31866
|
+
init_heading();
|
|
31714
31867
|
init_codeSpan();
|
|
31715
31868
|
init_errorEntry();
|
|
31716
31869
|
configurationNotReadSection = (report) => {
|
|
@@ -31722,7 +31875,7 @@ var init_configurationNotRead = __esm({
|
|
|
31722
31875
|
if (wrongKinds.length === 0 && unknownKeys.length === 0 && runnerKeysNotALayer.length === 0 && nonChecksMatchingNoStep.length === 0 && nonChecksNotAStepName.length === 0)
|
|
31723
31876
|
return [];
|
|
31724
31877
|
return [
|
|
31725
|
-
|
|
31878
|
+
markdownHeading(3, coreMessage(CoreMessage.ConfigurationNotReadHeading)),
|
|
31726
31879
|
"",
|
|
31727
31880
|
coreMessage(CoreMessage.ConfigurationNotReadIntro),
|
|
31728
31881
|
"",
|
|
@@ -31745,11 +31898,13 @@ var init_errorsInTheInputs = __esm({
|
|
|
31745
31898
|
init_configurationNotRead();
|
|
31746
31899
|
init_scenarioCodeErrorsSection();
|
|
31747
31900
|
init_messages4();
|
|
31901
|
+
init_coreText();
|
|
31902
|
+
init_heading();
|
|
31748
31903
|
errorsInTheInputsSection = (report) => {
|
|
31749
31904
|
const parts = [...scenarioCodeErrorsSection(report), ...configurationNotReadSection(report)];
|
|
31750
31905
|
if (parts.length === 0)
|
|
31751
31906
|
return [];
|
|
31752
|
-
return [
|
|
31907
|
+
return [markdownHeading(2, coreMessage(CoreMessage.ErrorsInTheInputsHeading)), "", ...parts];
|
|
31753
31908
|
};
|
|
31754
31909
|
}
|
|
31755
31910
|
});
|
|
@@ -32108,7 +32263,8 @@ function resultOf(o) {
|
|
|
32108
32263
|
return o.status === void 0 ? "" : ` \u2014 ${coreMessage(RESULT_MESSAGE[o.status])}`;
|
|
32109
32264
|
}
|
|
32110
32265
|
function renderPendingItem(item) {
|
|
32111
|
-
|
|
32266
|
+
const kind = item.qualityCheckKind;
|
|
32267
|
+
return kind === void 0 || kind === null ? coreMessage(CoreMessage.PendingItem) : coreMessage(CoreMessage.PendingItemFor, { qualityCheckKind: kind });
|
|
32112
32268
|
}
|
|
32113
32269
|
function renderFileGroup(group) {
|
|
32114
32270
|
const remarks = group.remarks.flatMap((remark) => remarkHeadlineOf(remark, reportedName) ?? []);
|
|
@@ -32454,165 +32610,15 @@ var init_dist3 = __esm({
|
|
|
32454
32610
|
}
|
|
32455
32611
|
});
|
|
32456
32612
|
|
|
32457
|
-
// src/messages.en.json
|
|
32458
|
-
var messages_en_default2;
|
|
32459
|
-
var init_messages_en2 = __esm({
|
|
32460
|
-
"src/messages.en.json"() {
|
|
32461
|
-
messages_en_default2 = {
|
|
32462
|
-
"format-names-stored-run-manifest": "A --format output names {formatPath}, which is this stored run's own {manifestPath}. Give the report a path outside {runDir}.",
|
|
32463
|
-
"stored-run-reads-its-manifest": "A file this stored run reads is its own {manifestPath}: {inputPath} is {inputSubject}. Give the store a root outside the files the run reads.",
|
|
32464
|
-
"see-commands-and-modifiers": "Run 'spec-controller --help' to see the commands and host modifiers this version accepts.",
|
|
32465
|
-
"see-modifiers": "Run 'spec-controller --help' to see the host modifiers this version accepts.",
|
|
32466
|
-
"see-flags": "Run ''{scope} --help' to see the flags this version accepts.",
|
|
32467
|
-
"see-flags-and-values": "Run ''{scope} --help' to see the flags this version accepts and the values they take.",
|
|
32468
|
-
"see-arguments": "Run ''{scope} --help' to see what this version accepts.",
|
|
32469
|
-
"no-command-after-modifiers": "No command followed the host modifiers given ({modifiers}), so nothing ran: a host modifier needs a command after it, or --help.",
|
|
32470
|
-
"modifier-took-command": "The {modifier} host modifier took ''{command}'', a command, as its value, and left no command to run.",
|
|
32471
|
-
"give-modifier-its-own-value": "Give {modifier} its own value, as in 'spec-controller {modifier} {arg} {command} \u2026'.",
|
|
32472
|
-
"flag-before-command": "The {flag} flag was given before the command. Before the command, spec-controller takes only its host modifiers ({modifiers}); a command's own flags go after it, as in 'spec-controller <command> {flag}''.",
|
|
32473
|
-
"unknown-command": 'unknown command "{command}".',
|
|
32474
|
-
"modifiers-not-taken": "''{command}'' takes no host modifier, and was given {modifiers}: it answers a query and keeps no run.",
|
|
32475
|
-
"run-without-modifiers": "Run 'spec-controller {command} \u2026' without them.",
|
|
32476
|
-
"missing-value": "The {flag} flag of ''{scope}'' needs a value \u2014 {flag} {arg} \u2014 and was given none.",
|
|
32477
|
-
"given-twice": "The {flag} flag of ''{scope}'' was given more than once, and is read once: give it once.",
|
|
32478
|
-
"equals-form": "The {token} form is not read by ''{scope}'': a flag and its value are two arguments, as in ''{spelling}''.",
|
|
32479
|
-
"takes-no-value": "The {flag} flag of ''{scope}'' takes no value, and was given one: ''{value}''.",
|
|
32480
|
-
"extra-argument": "The argument ''{token}'' is more than ''{scope}'' takes: it takes {takes} once, and its flags.",
|
|
32481
|
-
"not-a-flag": "The argument ''{token}'' is not a flag, nor the value of the flag before it: ''{scope}'' takes only flags and their values.",
|
|
32482
|
-
"misplaced-modifier": "The {modifier} flag is a host modifier: it goes before the command, as in 'spec-controller {modifier} <value> {command} \u2026', never after it.",
|
|
32483
|
-
"unknown-flag": "Unknown flag {flag} for ''{scope}'' \u2014 this is spec-controller {toolVersion}, and that flag is not in its {command} scope.",
|
|
32484
|
-
"pin-drifted": "If this version is pinned, the pin and the tree it is reading have drifted apart: bump the pin to a version whose ''{command}'' accepts {flag}.",
|
|
32485
|
-
"otherwise-see-flags": "Otherwise run ''{scope} --help' to see the flags this version accepts.",
|
|
32486
|
-
"retired-flag": "Retired flag {flag} for ''{scope}'' \u2014 retired in spec-controller {retiredIn}, and no later version accepts it (this is spec-controller {toolVersion}).",
|
|
32487
|
-
"do-not-pin-retired": "Do not pin an earlier version to get it back: that restores the route it was retired with.",
|
|
32488
|
-
"re-render-not-stored": "'balance --render-from-json' re-renders a saved report to stdout and keeps no run, and was given {modifiers}: a re-render is not stored.",
|
|
32489
|
-
"re-render-without": "{count, plural, one {Run 'spec-controller balance --render-from-json <path>' without it.} other {Run 'spec-controller balance --render-from-json <path>' without them.}}",
|
|
32490
|
-
"run-id-without-store": "--run-id names a stored run, and was given ''{runId}'' with no --store, so no run is kept under it.",
|
|
32491
|
-
"keep-run-under-name": "To keep the run under that name, give --store <root> as well; otherwise run ''{command}'' without --run-id.",
|
|
32492
|
-
"legacy-json-removed": "The --json <path> flag has been removed. Use --format json:<path> to write the JSON report to a file (e.g. --format json:spec-reconciliation.json).",
|
|
32493
|
-
"re-render-reads-only": "--render-from-json re-renders a saved report and reads only --strict and --exit-zero beside it; {ignored} would be ignored. Remove it, or run balance without --render-from-json.",
|
|
32494
|
-
"unknown-format": "Unknown --format {formats}. Supported formats are {supported} (e.g. --format md, --format json:report.json).",
|
|
32495
|
-
"more-than-one-to-stdout": "More than one output routes to stdout ({formats}); at most one may. Give one of them a :<path> to write it to a file instead (e.g. --format json:report.json).",
|
|
32496
|
-
"outputs-share-file": "Two outputs name the same file: {first} and {second}. Give each output a file of its own.",
|
|
32497
|
-
"output-overwrites-input": "An output would overwrite a file this run reads: {output} is {subject}, {path}. Give the report a file of its own.",
|
|
32498
|
-
"output-overwrites-stored-run": "A --format output names {path}, a file of the earlier stored run in {runDir}. Give the report a path outside that run's directory.",
|
|
32499
|
-
"unknown-part-refused": "unknown part \u2014 no feature file's header carries {part}.\nThe parts this corpus's feature files carry: {parts}.",
|
|
32500
|
-
"no-parts-carried": "none",
|
|
32501
|
-
"no-feature-part-given": "no feature part was given: 'spec-controller allocate <FFF>' takes one, a feature file's header code.",
|
|
32502
|
-
"not-a-feature-part": "''{part}'' is not a feature part: two to five characters, each A-Z or 0-9.",
|
|
32503
|
-
"default-corpus-feature-file": "a feature file of the corpus read by default",
|
|
32504
|
-
"flagged-corpus-feature-file": "a feature file of the --features corpus",
|
|
32505
|
-
"default-ci-workflow": "a CI workflow read by default",
|
|
32506
|
-
"flagged-ci-workflow": "the --ci workflow",
|
|
32507
|
-
"flagged-ci-folder-workflow": "a workflow of the --ci folder",
|
|
32508
|
-
"format-on-standard-output": "{fmt} on standard output",
|
|
32509
|
-
"coded-usage-error": "spec-controller {command}: usage error [{code}] \u2014 {message}",
|
|
32510
|
-
"coded-host-usage-error": "spec-controller: usage error [{code}] \u2014 {message}",
|
|
32511
|
-
history: "the repository's history",
|
|
32512
|
-
repository: "the repository",
|
|
32513
|
-
tree: "the tree",
|
|
32514
|
-
"tree-directory": "a directory in the tree",
|
|
32515
|
-
"tree-file": "a file in the tree",
|
|
32516
|
-
"feature-file": "a feature file",
|
|
32517
|
-
"feature-corpus": "the feature corpus",
|
|
32518
|
-
"working-directory": "the working directory",
|
|
32519
|
-
"working-directory-unreadable": "{subject} could not be read ({reason})",
|
|
32520
|
-
"could-not-be-read": "{subject} could not be read: {path} ({reason})",
|
|
32521
|
-
"git-exited": "git {command} exited {status}: {said}",
|
|
32522
|
-
"feature-corpus-directory-missing": "The feature corpus directory does not exist: {directory}",
|
|
32523
|
-
"stored-run-directory-not-created": "The stored run's directory could not be created: {path} ({reason})",
|
|
32524
|
-
"input-path-missing": "The {flag} path does not exist: {path}",
|
|
32525
|
-
"flagged-file": "The {flag} file",
|
|
32526
|
-
"flagged-report": "The {flag} report",
|
|
32527
|
-
"flagged-record": "The {flag} record",
|
|
32528
|
-
"flagged-manifest": "The {flag} manifest",
|
|
32529
|
-
"flagged-saved-report": "The {flag} saved report",
|
|
32530
|
-
"flagged-corpus": "The {flag} corpus",
|
|
32531
|
-
"flagged-workflows": "The {flag} workflows",
|
|
32532
|
-
"default-package-json": "The package.json read by default",
|
|
32533
|
-
"default-feature-corpus": "The feature corpus read by default",
|
|
32534
|
-
"default-ci-workflows": "The CI workflows read by default",
|
|
32535
|
-
"vitest-report-shape": "the Vitest JSON reporter writes",
|
|
32536
|
-
"junit-report-shape": "of the JUnit XML report pytest --junitxml writes",
|
|
32537
|
-
"jest-report-shape": "of the JSON report jest --json writes",
|
|
32538
|
-
"junit-xml-report-shape": "of a JUnit XML report",
|
|
32539
|
-
"rspec-report-shape": "of the JSON report rspec --format json writes",
|
|
32540
|
-
"cucumber-report-shape": "the Cucumber JSON formatter writes",
|
|
32541
|
-
"ci-step-record-shape": "of a CI run's record of its steps",
|
|
32542
|
-
"package-manifest-shape": "of a package.json manifest",
|
|
32543
|
-
"not-valid-json": "{subject} is not valid JSON: {path} ({reason})",
|
|
32544
|
-
"not-valid-json-in-shape": "{subject} is not valid JSON, so not in the shape {shape}: {path} ({reason})",
|
|
32545
|
-
"not-valid-xml": "{subject} is not valid XML, so not in the shape {shape}: {path} ({reason})",
|
|
32546
|
-
"xml-fault-at-line": "{fault} at line {line}",
|
|
32547
|
-
"not-in-shape": "{subject} is not in the shape {shape}: {path} ({fault})",
|
|
32548
|
-
"not-a-saved-reconciliation": "{subject} is not a saved reconciliation: {path} ({fault}). Run balance again to save one.",
|
|
32549
|
-
"not-renderable-as-saved": "{subject} could not be rendered as a saved reconciliation: {path} ({reason})",
|
|
32550
|
-
"corpus-file-unparseable": "{corpus} contains a feature file that could not be parsed: {file}\n{message}",
|
|
32551
|
-
"workflow-not-yaml": "{workflows} contain a workflow that is not valid YAML: {file}\n{message}",
|
|
32552
|
-
"report-not-written": "The {format} report could not be written: {path} ({reason})",
|
|
32553
|
-
"shape-kind-list": "a list",
|
|
32554
|
-
"shape-kind-object": "an object",
|
|
32555
|
-
"shape-kind-of-type": "a {type}",
|
|
32556
|
-
"shape-top-level": "the top level",
|
|
32557
|
-
"shape-wrong-kind": "{where} is {found}, not {expected}",
|
|
32558
|
-
"shape-field-missing": "{path} is missing",
|
|
32559
|
-
"help-title": "spec-controller \u2014 reconcile scenarios against observed evidence",
|
|
32560
|
-
"help-usage": "Usage:",
|
|
32561
|
-
"help-commands": "Commands:",
|
|
32562
|
-
"help-host-modifiers": "Host modifiers (before the command):",
|
|
32563
|
-
"help-options": "Options:",
|
|
32564
|
-
"help-arguments": "Arguments:",
|
|
32565
|
-
"help-pointer": "Full flags, examples, and CI wiring: docs/user-guide.md.",
|
|
32566
|
-
"help-flag": "Show this help and exit.",
|
|
32567
|
-
"store-modifier": "Store the run: write <root>/<target>/<run-id>/ with the reconciliation outputs + a run.yaml manifest. Required to store; there is no default (a default would write inside the repo).",
|
|
32568
|
-
"run-id-modifier": "Name the stored run (default: an ISO-8601 UTC timestamp). Read only with --store: given without it, the run is refused, since no run would be kept under the name.",
|
|
32569
|
-
"balance-summary": "Reconcile Gherkin scenarios against test/CI evidence and emit the Evidence Reconciliation (Markdown to stdout by default).",
|
|
32570
|
-
"features-flag": "Directory of Gherkin .feature files \u2014 the scenarios, and the `@`-tags naming what each must prove (@unit, @integration, @fitness, \u2026).",
|
|
32571
|
-
"vitest-flag": "A Vitest JSON report \u2014 runtime test evidence.",
|
|
32572
|
-
"pytest-flag": "A pytest JUnit XML report (pytest --junitxml) \u2014 runtime unit test evidence.",
|
|
32573
|
-
"jest-flag": "A Jest JSON report (jest --json --outputFile) \u2014 runtime unit test evidence.",
|
|
32574
|
-
"junit-flag": "A JUnit XML report from any test runner that writes one, such as gotestsum --junitfile, or a directory of them, such as Maven Surefire's \u2014 runtime unit test evidence.",
|
|
32575
|
-
"rspec-flag": "An RSpec JSON report (rspec --format json --out) \u2014 runtime unit test evidence.",
|
|
32576
|
-
"cucumber-flag": "A Cucumber JSON report \u2014 runtime test evidence.",
|
|
32577
|
-
"ci-flag": "Your CI workflows \u2014 a file, or a directory of them (default .github/workflows). Where a fitness function you have not converted is found running over the real source, and where a check step's `id:` supplies the @SCN its result cites.",
|
|
32578
|
-
"package-json-flag": "The target's package.json \u2014 its `scripts`, and its specController.runners, specController.notChecks and specController.deferralTags. A fitness function is named by its @fitness scenario and the CI step whose id: is that scenario's @SCN; no manifest key names one.",
|
|
32579
|
-
"ci-steps-flag": "The CI run's own record of what each of its steps did \u2014 your pipeline's `toJSON(steps)` dump, evidence for the converted fitness functions. Omit it if you have converted none.",
|
|
32580
|
-
"target-flag": "A name recorded verbatim in the report's provenance (which project this run reconciled).",
|
|
32581
|
-
"source-sha-flag": "Override the git commit SHA recorded in provenance (defaults to the resolved HEAD).",
|
|
32582
|
-
"format-flag": "Where to send output (md or json, optionally :<path> to write to a file). Repeatable.",
|
|
32583
|
-
"render-from-json-flag": "Re-render Markdown from a previously saved Evidence Reconciliation JSON \u2014 no reconcile, no live inputs.",
|
|
32584
|
-
"strict-flag": "Fail the run (exit 3) when it carries Pending Items \u2014 the opt-in that escalates otherwise-run-neutral deferred obligations.",
|
|
32585
|
-
"exit-zero-flag": "Print the same report but exit 0 on an out-of-balance or scenario-code-error (1) or --strict pending (3) verdict \u2014 the on-ramp before gating. Usage (2), unsound (4) and nothing-to-reconcile (5) still fail.",
|
|
32586
|
-
"configuration-heading": "Configuration (in the target repo's package.json):",
|
|
32587
|
-
"deferral-tags-key": "specController.deferralTags: string[]",
|
|
32588
|
-
"deferral-tags-explanation": "Extra recognised deferral tags. A scenario carrying one defers every obligation it\nnames to a Pending Item, extending (never replacing) the built-in set.",
|
|
32589
|
-
"built-in-deferral-tags": "Built-in deferral tags: {tags}",
|
|
32590
|
-
"measurements-replacement": "A fitness function's evidence observation is the outcome of its own CI step: put the check's @SCN on that step's `id:` and hand balance the run's step record with --ci-steps.",
|
|
32591
|
-
"allocate-summary": "Print the next @SCN code for a feature part: one past the highest the repository has ever carried, the code alone on stdout.",
|
|
32592
|
-
"feature-part-argument": "The feature part: a feature file's header code, two to five of A-Z and 0-9.",
|
|
32593
|
-
"new-flag": "Start a part no feature file's header carries yet: its first code, or one past any number the repository already carries for it.",
|
|
32594
|
-
"shallow-history-risks-part-code": "history: shallow clone \u2014 history before {before} unread; a code of {part} may have been used before",
|
|
32595
|
-
"shallow-history-risks-code-above": "history: shallow clone \u2014 history before {before} unread; a code above {code} may have been used before",
|
|
32596
|
-
"no-repository-risks-part-code": "history: not a git repository \u2014 none read; a code of {part} may have been used before",
|
|
32597
|
-
"no-repository-risks-code-above": "history: not a git repository \u2014 none read; a code above {code} may have been used before",
|
|
32598
|
-
"highest-seen-none": "highest seen: none",
|
|
32599
|
-
"highest-seen-in-tree": "highest seen: {code}, {path}:{line}",
|
|
32600
|
-
"highest-seen-in-commit": "highest seen: {code}, {path}:{line} in {commit}",
|
|
32601
|
-
"part-already-headed": "note: a feature file's header already carries {part}, so --new was not needed",
|
|
32602
|
-
"help-usage-line": "spec-controller {modifierUsage} <command> [command-args]"
|
|
32603
|
-
};
|
|
32604
|
-
}
|
|
32605
|
-
});
|
|
32606
|
-
|
|
32607
32613
|
// src/appText.ts
|
|
32608
32614
|
var message;
|
|
32609
32615
|
var init_appText = __esm({
|
|
32610
32616
|
"src/appText.ts"() {
|
|
32611
32617
|
"use strict";
|
|
32612
32618
|
init_dist3();
|
|
32613
|
-
|
|
32619
|
+
init_messages_en();
|
|
32614
32620
|
message = messagesFrom(
|
|
32615
|
-
|
|
32621
|
+
messages_en_default
|
|
32616
32622
|
);
|
|
32617
32623
|
}
|
|
32618
32624
|
});
|
|
@@ -32943,7 +32949,8 @@ var init_inputShapes = __esm({
|
|
|
32943
32949
|
fields: {
|
|
32944
32950
|
qualityCheckReconciliations: {
|
|
32945
32951
|
list: { fields: { evidenceObligation: { fields: { qualityCheckKind: "anything" }, required: ["qualityCheckKind"] } } }
|
|
32946
|
-
}
|
|
32952
|
+
},
|
|
32953
|
+
pendingItems: { list: { fields: { qualityCheckKind: "anything" }, required: ["qualityCheckKind"] } }
|
|
32947
32954
|
}
|
|
32948
32955
|
}
|
|
32949
32956
|
},
|
|
@@ -1092,9 +1092,19 @@
|
|
|
1092
1092
|
"type": "object",
|
|
1093
1093
|
"properties": {
|
|
1094
1094
|
"qualityCheckKind": {
|
|
1095
|
-
"
|
|
1095
|
+
"anyOf": [
|
|
1096
|
+
{
|
|
1097
|
+
"$ref": "#/definitions/QualityCheckKind"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"type": "null"
|
|
1101
|
+
}
|
|
1102
|
+
]
|
|
1096
1103
|
}
|
|
1097
1104
|
},
|
|
1105
|
+
"required": [
|
|
1106
|
+
"qualityCheckKind"
|
|
1107
|
+
],
|
|
1098
1108
|
"additionalProperties": false
|
|
1099
1109
|
}
|
|
1100
1110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.234",
|
|
4
4
|
"description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reconciliation",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fast-xml-parser": "^5.11.2",
|
|
27
27
|
"ts-json-schema-generator": "^2.9.0",
|
|
28
28
|
"yaml": "^2.9.0",
|
|
29
|
-
"@3f-consulting/spec-controller-core": "0.1.
|
|
29
|
+
"@3f-consulting/spec-controller-core": "0.1.234"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|