Claude Code v2.1.223 ·
PR approve stamp validator gained method-key rules
A PR approval checker got stricter about which words may appear under method keys.
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Code ReviewArea: what it touches
In DevelopmentKind: in v2.1.223,
In DevelopmentSection of the release
New method-key validation rules exist on the PR approve validator; whether it runs in normal use could not be resolved.
What
The in-page PR approve binding validator now inspects method keys and refuses values that do not belong under them.
Details
- On the approve stamp, only a value matching /^create$/i may ride a method key.
- On the paired freshness read, only a value matching /^get$/i may.
- Each violation is rejected with its own message, and the create word under a non-method key is also refused.
- Whether this validator runs in normal use could not be resolved from the build.
Evidence
is a method key holding a non-method value
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.223 →