Skip to content

fix(ci): preserve legacy publication receipts - #351

Merged
gmemmy merged 1 commit into
mainfrom
fix/publication-legacy-compatibility
Sep 8, 2026
Merged

gmemmy merged 1 commit into
mainfrom
fix/publication-legacy-compatibility

Conversation

@gmemmy

@gmemmy gmemmy commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Problem

The current publication receipt reader changed the derived summary and published next-action text for legacy 1.0.0 receipts. Previously written receipts could therefore pass schema validation but fail semantic admission after upgrading ASL.

What changed

  • Preserve the original twoPlatformClaim summary and published next-action wording for 1.0.0 receipts.
  • Keep current 1.1.0 receipt wording unchanged.
  • Validate legacy pack objects directly after schema admission instead of serializing them through JSON as an internal validation bridge.
  • Export and document the legacy semantic validator, with packed-package coverage.
  • Add historical round-trip and cross-version wording rejection tests.

Why this approach

Receipt schema versions define their own derived text contract. Version-gating the derivation preserves historical readability without weakening current platform-scope semantics or changing the current writer and CLI request contracts.

Proof

  • pnpm typecheck - passed.
  • Focused publication receipt tests - 28/28 passed.
  • pnpm release:check - passed under an isolated resource lease.
  • Full repository test suite - passed.
  • Packed package smoke - passed, including the new public export.
  • Installed-consumer rehearsal - passed.
  • Independent context-rich final review - CLEAN, no P0-P3 findings.
  • Device and live runtime proof - not run; this change is receipt compatibility and package-surface behavior.

Risks and limits

  • Receipts created during an unreleased mixed-code window with 1.0.0 identity and 1.1.0 wording are not treated as canonical historical receipts.
  • Object-only semantic validation does not prove pack-byte identity; the exact-byte APIs remain the authority for that claim.
  • This PR does not alter evidence collection, platform coverage, publication transport, or product verdicts.

Stack/review order

Follow-ups

  • Complete the cumulative release gate over the fully merged stack before creating the next immutable package candidate.

@gmemmy
gmemmy force-pushed the fix/ci-platform-scope-integrity branch from 7f4f6cf to 519dcf5 Compare September 8, 2026 07:13
@gmemmy
gmemmy force-pushed the fix/publication-legacy-compatibility branch from a1c4f78 to 1465dd0 Compare September 8, 2026 07:19
@gmemmy
gmemmy changed the base branch from fix/ci-platform-scope-integrity to main September 8, 2026 07:19
@gmemmy
gmemmy marked this pull request as ready for review September 8, 2026 07:20
@gmemmy
gmemmy force-pushed the fix/publication-legacy-compatibility branch from 1465dd0 to 9469a23 Compare September 8, 2026 07:21
@gmemmy
gmemmy merged commit b26e1ed into main Sep 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant