Repository navigation
fix(compliance): backport VERSION_UNSUPPORTED recovery correction to 3.1.x - #7572
Conversation
…3.1.x `recovery: fatal` is not a member of the recovery enum; enumMetadata confirms VERSION_UNSUPPORTED is correctable. Also fixes the general error-shape narrative in validate_error_shape from `correctable, transient, or fatal` to `transient, correctable, or terminal`. Backport of the fix from #7376 (merged to main 2026-09-08) to the 3.1.x source so the next 3.1 release ships correct prose. Refs #7375. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vq72YPAReVbooFYbimvpn2
|
This is still marked draft, so it cannot merge, and the 3.1.24 window is still open — which means it can still make it if someone flips it. State as of now: The window: v3.1.24 is not tagged, and #7559 is still open. But #7559 currently consumes two changesets — The defect is still live on the branch. It matters more on this line than on Nothing needed from me — flagging it because a draft with no reviewer is easy to lose against a release cut. |
|
Undrafted — the fix is clean ( @bokelley is listed as PR author so the reviewer-request API call can't target them directly. Someone with merge rights will need to assign a reviewer or self-assign. The change is a direct backport of #7376 which @bokelley already reviewed on Generated by Claude Code |
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean backport of #7376 to 3.1.x.
No blocking or Medium findings. Reviewer verified the four storyboard fixes against source of truth: core/error.json:89 defines recovery as [transient, correctable, terminal] (fatal→terminal narrative correct), and enums/error-code.json:417 gives VERSION_UNSUPPORTED recovery=correctable (matching the fatal→correctable change). Grep confirms these are the only four fatal-recovery sites; changeset present and patch-appropriate.
One Low nit (changeset cites core/error.json for enumMetadata that actually lives in enums/error-code.json) — non-blocking.
No high-risk flag, no gated paths, no author team gate. Rows 1–8 do not fire; falls through to row 9.
Refs #7375
Backport of the fix from #7376 (merged to
main2026-09-08) to the3.1.xsource line. Flagged by @EvgenyAndroid on 2026-09-17: v3.1.23 shipped six days after #7376 merged with the old prose intact, and the hosted grader runscompliance_bundle_version: 3.1.20, so 3.1 implementers reading the storyboard are still directed to emitrecovery: fatal.What changes
Two files, two occurrences each:
static/compliance/source/universal/error-compliance.yamlvalidate_error_shapeexpected block:recovery: correctable, transient, or fatal (optional)→recovery: transient, correctable, or terminal (optional)unsupported_major_versionexpected block:recovery: fatal→recovery: correctablestatic/compliance/source/universal/error-compliance-signals.yamlNon-breaking justification
These are prose-only corrections in
expected:narrative blocks. None of the four occurrences is referenced by a gradedvalidations:check — the runner does not parseexpected:text — so no conformance scores change. The fix aligns the guidance text withcore/error.json'senum: ["transient", "correctable", "terminal"]andenumMetadata.VERSION_UNSUPPORTED.recovery: correctable, which have been consistent across all published bundles (3.0 through 3.2.0-rc.1).Pre-PR review
Change is a direct backport of #7376 reviewed and merged by @bokelley. Prose-only, no graded validations affected, no schema changes. Patch bump. No additional expert review cycle needed.
Session: https://claude.ai/code/session_01Vq72YPAReVbooFYbimvpn2
🤖 Generated with Claude Code
https://claude.ai/code/session_01Vq72YPAReVbooFYbimvpn2
Generated by Claude Code