Skip to content

fix(protocol): align 3.2 error recovery compatibility - #7570

Merged
bokelley merged 1 commit into
mainfrom
zagreb-v23
Sep 17, 2026
Merged

bokelley merged 1 commit into
mainfrom
zagreb-v23

Conversation

@bokelley

@bokelley bokelley commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • version-gate error.recovery: 3.2 producers MUST emit it while 3.1 producers SHOULD, without making the shared 3.x schema reject legacy payloads
  • align normative docs, compliance storyboards, and transport fallbacks around canonical recovery classes, bounded retry budgets, and fail-closed malformed values
  • add versioned 3.2 compatibility vectors for known and extension codes, missing recovery, buyer-reason consistency, retry exhaustion, and retry_after scheduling

Testing

  • full precommit suite (root and server unit tests, type checking)
  • npm run test:schemas
  • npm run test:transport-errors
  • npm run build:compliance -- --check
  • npm run test:doc-compliance-drift
  • docs navigation, owned-link, error-handling, error-code, schema-link, and script-registration checks
  • changeset protocol scope and status checks

Risk and compatibility

  • shared schema required remains code and message, preserving 3.1 decoding
  • retries remain bounded per operation; invalid recovery values fail closed as terminal
  • immutable release artifacts are unchanged

Closes #7569


Open workspace in Conductor

@bokelley
bokelley enabled auto-merge (squash) September 17, 2026 11:24

@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: Escalate to human review

Escalate — gated path requires human/CODEOWNERS review, and a normative-class governance question is present.

The reviewer found no Critical/High/Medium findings; the change is described as a clean, well-tested version-gating of error.recovery (3.2 MUST / 3.1 SHOULD) with the shared 3.x schema kept permissive.

Escalation reasons

  • static/schemas/source/core/error.json is under a hard approval gate (gated_paths: true) and review_decision is REVIEW_REQUIRED, not APPROVED. Human/CODEOWNERS approval is required before this can merge (decision-table row 2).
  • The PR reclassifies a 3.1 error-handling requirement from MUST→SHOULD, a normative protocol-policy change the reviewer explicitly flagged as a governance-gate/class question for the arbiter. Ratification of normative/breaking-class spec changes is a human act and must not be auto-approved without an APPROVED review.

No blocking code-level findings exist; this is purely a governance/approval-gate escalation. Once a human/CODEOWNERS review lands as APPROVED, the gate lifts and the diff can proceed on its clean merits.

Why human review

  • static/schemas/source/core/error.json is under a hard approval gate (gated_paths: true) and review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required before merge (row 2).
  • PR reclassifies a 3.1 error-handling requirement MUST→SHOULD, a normative protocol-policy/class question the reviewer deferred to the arbiter; ratification of normative spec changes is a human act and must not auto-merge without an APPROVED review.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/error.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Sep 17, 2026
@bokelley
bokelley disabled auto-merge September 17, 2026 12:15
@bokelley
bokelley merged commit cfc33f6 into main Sep 17, 2026
66 checks passed
@bokelley
bokelley deleted the zagreb-v23 branch September 17, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.2: align recovery-field requirements and legacy error compatibility

1 participant