Skip to content

fix(compliance): correct VERSION_UNSUPPORTED recovery enum value in error-compliance storyboard - #7376

Merged
bokelley merged 1 commit into
mainfrom
claude/issue-7375-error-compliance-recovery-enum
Sep 8, 2026
Merged

bokelley merged 1 commit into
mainfrom
claude/issue-7375-error-compliance-recovery-enum

Conversation

@bokelley

@bokelley bokelley commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Closes #7375

Replace invalid fatal (not in the recovery enum) with the correct enum values in static/compliance/source/universal/error-compliance.yaml.

Non-breaking justification: The storyboard expected: blocks are informational prose — the automated compliance validations for the unsupported_major_version and unsupported_release_version steps assert only error_code, field_present, and field_value, never recovery. No existing conformance test outcome changes. The fix corrects misleading guidance without adding or removing any machine-checked assertion.

Changes:

  • Line 360 (unsupported_major_version expected block): recovery: fatal → recovery: correctable, matching enumMetadata.VERSION_UNSUPPORTED.recovery across all 3.0 / 3.1 / 3.1.1 / 3.2.0-rc.* bundles.
  • Line 303 (general error-shape narrative): correctable, transient, or fatal (optional) → transient, correctable, or terminal (optional), matching the enum declaration order in core/error.json (["transient", "correctable", "terminal"]).

Pre-PR review:

  • ad-tech-protocol-expert: approved — correctable is unambiguously correct; fatal is not in the recovery enum and the enumMetadata + semantics both confirm correctable; non-breaking patch.
  • code-reviewer: approved — no build risk; both instances are correct and complete; fix belongs in one PR; patch changeset required (included).

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_01HBpEm5DvuLPLfdTAPVDPCi


🤖 Generated with Claude Code

https://claude.ai/code/session_01HBpEm5DvuLPLfdTAPVDPCi


Generated by Claude Code

…rror-compliance storyboard

Replace invalid `fatal` (not in the recovery enum) with the correct values
from core/error.json and enumMetadata:

- unsupported_major_version expected block: fatal → correctable
- General error-shape narrative: correctable, transient, or fatal → transient, correctable, or terminal

No storyboard validation asserts recovery, so conformance test outcomes are
unchanged. Fixes misleading prose that could cause hand-implementers to emit
schema-invalid error envelopes.

Closes #7375

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HBpEm5DvuLPLfdTAPVDPCi
@bokelley

bokelley commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

CI failure: Sales storyboard orchestrator (6/8) — infra flake, not this PR

Failing check: Sales storyboard orchestrator (6/8)

The failure is a network error during npm install in the CI runner — @contentauth/c2pa-node's postinstall script tried to download a binary from GitHub release assets and got ECONNRESET (connection reset). The job never ran any storyboard test; it died in setup.

This PR only changes two lines of prose in static/compliance/source/universal/error-compliance.yaml and adds a changeset file. Neither touches @contentauth/c2pa-node, the sales storyboard harness, or anything that could cause an npm install failure.

Re-running the failed job.


Generated by Claude Code

@bokelley
bokelley marked this pull request as ready for review September 8, 2026 23:10
@bokelley

bokelley commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

CI failure: code_review — reviewer infrastructure failure, not a code rejection.

The Ladon reviewer agent failed because the Claude Code native binary was not found at /home/runner/.local/bin/claude (the installer reported that /home/runner/.local/bin did not exist on the runner). The job logs state explicitly: "This is reviewer infrastructure failure, not a code rejection. The arbiter was not run and the PR was not approved." Zero findings were recorded; the review state was needs_finalization with no turns executed.

This is unrelated to the diff (two YAML prose corrections + a changeset file). Re-running the failed job.


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, well-scoped fix with no blocking or medium findings.

This PR corrects two recovery: fatal occurrences in static/compliance/source/universal/error-compliance.yaml to match the core/error.json enum (transient/correctable/terminal), with VERSION_UNSUPPORTED.recovery=correctable per enumMetadata. Machine validations do not assert recovery, so no wire drift is introduced, and the accompanying changeset is present and correctly patch-scoped.

Verified: schema↔docs coherence holds (enum value corrected to match the source enum), changeset scope/type correct, no oneOf discriminator regression, no released-artifact mutation (only source YAML touched), and no governance-precedent conflict. gated_paths is false, high_risk is false, and the author is not on a no-auto-approve team.

Non-blocking follow-up noted by the reviewer (not a finding): the sibling error-compliance-signals.yaml (L217, L269) still carries the identical recovery: fatal prose off-diff, so no inline anchor exists — worth a future cleanup PR.

No rows 1–8 fired; falls through to row 9 → approve.

@bokelley
bokelley merged commit 58eddf8 into main Sep 8, 2026
75 of 79 checks passed
@bokelley
bokelley deleted the claude/issue-7375-error-compliance-recovery-enum branch September 8, 2026 23:28
bokelley added a commit that referenced this pull request Sep 17, 2026
…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
bokelley added a commit that referenced this pull request Sep 18, 2026
…3.1.x (#7572)

`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.


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

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
@aao-release-bot aao-release-bot Bot mentioned this pull request Sep 18, 2026
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.

error-compliance.yaml: version-negotiation steps expect "recovery: fatal", contradicting enumMetadata and the recovery enum

2 participants