Skip to content

Define WordPress state artifact contract#473

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-462-wordpress-state-contract
Jun 2, 2026
Merged

Define WordPress state artifact contract#473
chubes4 merged 1 commit into
mainfrom
fix/issue-462-wordpress-state-contract

Conversation

@chubes4

@chubes4 chubes4 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Documents the canonical wp-codebox/wordpress-state-export/v1 and wp-codebox/wordpress-state-section/v1 contracts for replayable generic WordPress state.
  • Adds fixture smoke coverage for the export and section artifact shapes.
  • Stabilizes section artifact versioning and media export fields so consumers can rely on portable state fields without per-consumer projection shims.

Closes #462.
Related context: #444.

Verification

  • npm run wordpress-state-contract-smoke
  • npm run build
  • npm run runtime-episode-smoke passed once against WordPress Playground. A later rerun hit an environment port collision with an already-running Playground listener on 127.0.0.1:51723.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Drafted the contract documentation, fixture smoke coverage, and focused runtime artifact contract updates; Chris remains responsible for review and merge.

@chubes4
chubes4 merged commit c7566bd into main Jun 2, 2026
@chubes4
chubes4 deleted the fix/issue-462-wordpress-state-contract branch June 2, 2026 01:50
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.

Define canonical replayable WordPress state artifact contract

1 participant