Skip to content

[codex] Cover runtime semantic plugin validator#52

Open
adamziel wants to merge 1 commit into
codex/wp-ui-nonce-e2e-helperfrom
codex/runtime-plugin-validator-e2e
Open

[codex] Cover runtime semantic plugin validator#52
adamziel wants to merge 1 commit into
codex/wp-ui-nonce-e2e-helperfrom
codex/runtime-plugin-validator-e2e

Conversation

@adamziel
Copy link
Copy Markdown
Contributor

@adamziel adamziel commented May 15, 2026

Summary

  • add a runtime mu-plugin merge validator to the WordPress semantic COW E2E fixture
  • validate the merged plugin-shaped graph through the normal auto-discovered validator path
  • keep the validator inert when WordPress loads it outside ForkPress merge-validator env
  • document that the E2E clean branch-ID-band case now exercises the plugin-validator contract in both plugin-validator docs and the merge reliability matrix

Why

The semantic E2E already inspected plugin-shaped data after merge, but the product validator path was only covered in PHP unit fixtures. This makes the real runtime path prove that a plugin can validate a coherent graph spanning custom tables, JSON, serialized data, options, postmeta, CPT/page references, and an upload file after a normal branch merge.

This PR is stacked on #49 because current trunk fails before the semantic section at WP UI nonce extraction. Once #49 lands, this should be retargeted to trunk.

Validation

  • bash -n tests/cow/e2e.sh
  • embedded validator syntax: php -l /dev/stdin
  • no-env validator load emits no output
  • synthetic coherent-graph validator run under merge-style env returned {\"status\":\"valid\",\"findings\":[]}
  • git diff --check origin/codex/wp-ui-nonce-e2e-helper..HEAD

@adamziel adamziel force-pushed the codex/runtime-plugin-validator-e2e branch 2 times, most recently from 5a5d4d8 to 390766b Compare May 15, 2026 15:22
@adamziel adamziel changed the base branch from trunk to codex/wp-ui-nonce-e2e-helper May 15, 2026 15:36
@adamziel adamziel force-pushed the codex/runtime-plugin-validator-e2e branch 7 times, most recently from c86a2c5 to fad4abf Compare May 15, 2026 19:28
@adamziel adamziel force-pushed the codex/runtime-plugin-validator-e2e branch from fad4abf to 8eed439 Compare May 15, 2026 19:38
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