Skip to content

fix(compliance): backport VERSION_UNSUPPORTED recovery correction to 3.1.x - #7572

Merged
bokelley merged 1 commit into
3.1.xfrom
claude/issue-7375-backport-3.1x-fatal-recovery
Sep 18, 2026
Merged

bokelley merged 1 commit into
3.1.xfrom
claude/issue-7375-backport-3.1x-fatal-recovery

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Refs #7375

Backport of the fix from #7376 (merged to main 2026-09-08) to the 3.1.x source 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 runs compliance_bundle_version: 3.1.20, so 3.1 implementers reading the storyboard are still directed to emit recovery: fatal.

What changes

Two files, two occurrences each:

static/compliance/source/universal/error-compliance.yaml

  • validate_error_shape expected block: recovery: correctable, transient, or fatal (optional) → recovery: transient, correctable, or terminal (optional)
  • unsupported_major_version expected block: recovery: fatal → recovery: correctable

static/compliance/source/universal/error-compliance-signals.yaml

  • Same two lines at the parallel positions.

Non-breaking justification

These are prose-only corrections in expected: narrative blocks. None of the four occurrences is referenced by a graded validations: check — the runner does not parse expected: text — so no conformance scores change. The fix aligns the guidance text with core/error.json's enum: ["transient", "correctable", "terminal"] and enumMetadata.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.

Triage-managed PR. This bot does not currently iterate on
review comments or PR conversation threads (only on the source
issue). To unblock:

  • Push fixup commits directly: gh pr checkout <num> →
    fix → push.
  • Or request a new first draft PR: comment /triage execute
    on the source issue only when no triage-managed PR is already
    open. Triage does not update existing PRs.

See #3121
for context.

Session: https://claude.ai/code/session_01Vq72YPAReVbooFYbimvpn2


🤖 Generated with Claude Code

https://claude.ai/code/session_01Vq72YPAReVbooFYbimvpn2


Generated by Claude Code

…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
@EvgenyAndroid

Copy link
Copy Markdown
Contributor

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: draft: true, mergeable: true, mergeable_state: clean, no reviewers requested, one commit, three files, untouched since it was opened on 2026-09-17T18:43Z.

The window: v3.1.24 is not tagged, and #7559 is still open. But #7559 currently consumes two changesets — fix-creative-generative-format-kind and fix-governance-storyboard-routing — and not this PR's fix-error-compliance-fatal-recovery-3.1x. So as things stand today, 3.1.24 ships without this fix.

The defect is still live on the branch. static/compliance/source/universal/error-compliance.yaml and error-compliance-signals.yaml on 3.1.x each still carry one recovery: fatal, and fatal is not a member of 3.1's recovery enum (["transient", "correctable", "terminal"]) — so the storyboard prose asks a 3.1 seller to emit a value the schema rejects. That is the whole of #7375, fixed on main by #7376 on 2026-09-08 and never backported.

It matters more on this line than on main because the hosted grader runs compliance_bundle_version: 3.1.20, so 3.1 is the line implementers actually read. If this misses 3.1.24 it ships again unchanged, which is the same way it survived v3.1.21 through v3.1.23.

Nothing needed from me — flagging it because a draft with no reviewer is easy to lose against a release cut.

@bokelley
bokelley marked this pull request as ready for review September 18, 2026 20:55
@bokelley
bokelley requested a review from a team as a code owner September 18, 2026 20:55
@bokelley

Copy link
Copy Markdown
Contributor Author

Undrafted — the fix is clean (mergeable_state: clean, prose-only, non-breaking) and the 3.1.24 window (#7559) is still open.

@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 main.


Generated by Claude Code

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-triaged Issue has been triaged by the Claude Code triage routine. Remove to re-triage. compliance-suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants