Skip to content

Commit 38a5e62

Browse files
committed
chore(vale): move VALE_VERSION to 3.22.0 and regenerate the vocabulary
The pin bump in #368 left VALE_VERSION at 3.21.0, which is what engine-version-consistency fails on. The vocabulary re-derived against the 3.22.0 binary changes only in its version stamp: no operand, prefix or divergence moved. The v3.21.0...v3.22.0 tree adds no internal/lint/<format>.go, so no tier row moves either; the docblock on the tier table records the check and points at what did change.
1 parent d3befa0 commit 38a5e62

4 files changed

Lines changed: 28 additions & 15 deletions

File tree

‎packages/cli/src/generated/vale-vocabulary-report.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Vale 3.21.0 vocabulary: divergence report
1+
# Vale 3.22.0 vocabulary: divergence report
22

33
GENERATED FILE — DO NOT EDIT. Produced by `pnpm generate:vale-schema`
44
alongside `vale-vocabulary.ts`.
55

66
Every value in the vocabulary is the recorded answer of the vendored Vale
7-
3.21.0 binary. This file is what the binary said that its own
7+
3.22.0 binary. This file is what the binary said that its own
88
documentation does not, in both directions. A generator that dropped these
99
would be quietly deciding which of the two to believe.
1010

@@ -28,25 +28,25 @@ the worse failure.
2828

2929
### `scope: meta`
3030

31-
Vale 3.21.0 documents this operand and it never fired, on any fixture probed (.md).
31+
Vale 3.22.0 documents this operand and it never fired, on any fixture probed (.md).
3232

3333
**Consequence.** It is omitted from the vocabulary, so `verify` rejects it. A rule written from the documentation would otherwise load, run, and match nothing, with no error reported anywhere.
3434

3535
### `scope: meta.class.title`
3636

37-
Vale 3.21.0 documents this operand and it never fired, on any fixture probed (.md).
37+
Vale 3.22.0 documents this operand and it never fired, on any fixture probed (.md).
3838

3939
**Consequence.** It is omitted from the vocabulary, so `verify` rejects it. A rule written from the documentation would otherwise load, run, and match nothing, with no error reported anywhere.
4040

4141
### `scope: frontmatter`
4242

43-
This operand fired and Vale 3.21.0 documents it nowhere.
43+
This operand fired and Vale 3.22.0 documents it nowhere.
4444

4545
**Consequence.** It is included in the vocabulary. It is also the standing counterexample to trusting the candidate list: a real operand nobody proposes is simply absent, and the schema then rejects a rule the binary honors.
4646

4747
### `scope: frontmatter.title`
4848

49-
This operand fired and Vale 3.21.0 documents it nowhere.
49+
This operand fired and Vale 3.22.0 documents it nowhere.
5050

5151
**Consequence.** It is included in the vocabulary. It is also the standing counterexample to trusting the candidate list: a real operand nobody proposes is simply absent, and the schema then rejects a rule the binary honors.
5252

‎packages/cli/src/generated/vale-vocabulary.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* `scripts/generate-vale-schema.ts`, and its header explains what each value
77
* below was measured with and what it is worth.
88
*
9-
* Derived against Vale 3.21.0. Every value here is the recorded answer
9+
* Derived against Vale 3.22.0. Every value here is the recorded answer
1010
* of that binary to a rule the generator wrote and ran; nothing is transcribed
1111
* from documentation. Where the binary and the documentation disagree, the
1212
* disagreement is in `vale-vocabulary-report.md` rather than dropped.
@@ -15,7 +15,7 @@
1515
*/
1616

1717
/** The binary this vocabulary was derived from. */
18-
export const VALE_VOCABULARY_VERSION = "3.21.0";
18+
export const VALE_VOCABULARY_VERSION = "3.22.0";
1919

2020
/**
2121
* Vale's check types, self-enumerated: an unknown `extends` makes the binary
@@ -197,7 +197,7 @@ export const VALE_SCOPE_PREFIXES = [
197197
] as const;
198198

199199
/**
200-
* Where Vale 3.21.0 and its documentation disagree.
200+
* Where Vale 3.22.0 and its documentation disagree.
201201
*
202202
* Carried in the artifact rather than only in the report, so that a consumer
203203
* can render them and a reviewer cannot miss them in a diff.
@@ -206,26 +206,26 @@ export const VALE_DIVERGENCES = [
206206
{
207207
subject: "scope: meta",
208208
finding:
209-
"Vale 3.21.0 documents this operand and it never fired, on any fixture probed (.md).",
209+
"Vale 3.22.0 documents this operand and it never fired, on any fixture probed (.md).",
210210
consequence:
211211
"It is omitted from the vocabulary, so `verify` rejects it. A rule written from the documentation would otherwise load, run, and match nothing, with no error reported anywhere.",
212212
},
213213
{
214214
subject: "scope: meta.class.title",
215215
finding:
216-
"Vale 3.21.0 documents this operand and it never fired, on any fixture probed (.md).",
216+
"Vale 3.22.0 documents this operand and it never fired, on any fixture probed (.md).",
217217
consequence:
218218
"It is omitted from the vocabulary, so `verify` rejects it. A rule written from the documentation would otherwise load, run, and match nothing, with no error reported anywhere.",
219219
},
220220
{
221221
subject: "scope: frontmatter",
222-
finding: "This operand fired and Vale 3.21.0 documents it nowhere.",
222+
finding: "This operand fired and Vale 3.22.0 documents it nowhere.",
223223
consequence:
224224
"It is included in the vocabulary. It is also the standing counterexample to trusting the candidate list: a real operand nobody proposes is simply absent, and the schema then rejects a rule the binary honors.",
225225
},
226226
{
227227
subject: "scope: frontmatter.title",
228-
finding: "This operand fired and Vale 3.21.0 documents it nowhere.",
228+
finding: "This operand fired and Vale 3.22.0 documents it nowhere.",
229229
consequence:
230230
"It is included in the vocabulary. It is also the standing counterexample to trusting the candidate list: a real operand nobody proposes is simply absent, and the schema then rejects a rule the binary honors.",
231231
},

‎packages/cli/src/rules/capabilities.ts‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export const AST_GREP_TSX_SPLIT: Readonly<
209209
* Pinned against the binary by `test/vale-vendor-contract.test.ts`
210210
* ("engine capabilities" → "reports the pinned version").
211211
*/
212-
export const VALE_VERSION = "3.21.0";
212+
export const VALE_VERSION = "3.22.0";
213213

214214
/**
215215
* Which tier Vale routes an extension to.
@@ -271,6 +271,19 @@ const CONVERTER_TIER_PREFIX = "converter:";
271271
* plain text today, but the moment Vale routes it to a converter the same
272272
* omission is a crash that takes down every Vale rule in the run.
273273
*
274+
* 3.21.0 → 3.22.0 LEARNED NO FORMAT. Every row was re-probed against the
275+
* 3.22.0 binary and none moved. The v3.21.0...v3.22.0 tree adds no
276+
* `internal/lint/<format>.go` (its additions there are two `_test.go` files);
277+
* `md.go`, `mdx.go`, `html.go`, `dita.go`, `code.go` and `metadata.go` change
278+
* in what they do with a file, not in which files reach them. What did move
279+
* is beside this table: an empty `BasedOnStyles` in a rule's `.vale.ini`
280+
* clears every earlier matcher's settings for the file (see
281+
* `src/schemas/vale-config.ts`, which now refuses the key, and migration
282+
* 0008), a negated inline scope blanks the element's text out of its block,
283+
* a `[formats]` key may be a file name or glob, and `lint.go`'s directory walk
284+
* now skips the `StylesPath` tree unless a path inside it is named. All of it
285+
* is pinned in `test/vale-vendor-contract.test.ts`.
286+
*
274287
* 3.20.0 → 3.21.0 LEARNED ONE FORMAT, AND THE SOURCE CHECK IS WHAT FOUND IT.
275288
* Every existing row was re-probed against the 3.21.0 binary and none moved.
276289
* The v3.20.0...v3.21.0 tree adds `internal/lint/notebook.go` and routes

‎packages/cli/test/reconcile-marker.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe("recording a rules reconciliation", () => {
8686
expect(rules?.reconciledTo).toBe(version);
8787
// Engine versions are the input a later differential needs. Recorded here
8888
// and nowhere else, so an upgrade cannot silently refresh them.
89-
expect(rules?.engines).toEqual({ sg: "0.45.3", vale: "3.21.0" });
89+
expect(rules?.engines).toEqual({ sg: "0.45.3", vale: "3.22.0" });
9090
});
9191

9292
it("reports the marker through info", async () => {

0 commit comments

Comments
 (0)