Add real WordPress proof profiles and content-addressed receipts - #15
Add real WordPress proof profiles and content-addressed receipts#15noeltock wants to merge 2 commits into
Conversation
Independent adjudication of Warden's blockers (Codex gpt-5.6-sol, high)Requested by Noel: each blocker judged against the diff rather than waiting. Confirmed items below are the revision brief. mutation-tests-do-not-exercise-detectorsVERDICT: CONFIRMED
Minimal fix: add real wp-env integration mutation cases for all four defects and assert each fails its designated independent gate. For patterns, record block IDs before insertion, identify the newly inserted pattern blocks, scope all editing to those blocks, and verify persisted values specifically inside that same pattern subtree after reopening. runtime-pins-can-remain-unobservedVERDICT: CONFIRMED
Minimal fix: require every observation command to exit successfully and parse/validate its expected value, including exact WordPress/PHP pins and valid hashes/image identifiers. Make the environment gate require and reference the content-addressed raw observation evidence, require the lockfile pin, and require the expected OVERALL: REVISE Both blockers identify real ways the proof receipt could report success without exercising or preserving the evidence it claims. The implementation needs genuine broken-artifact tests, pattern-local editing, and stricter verification of runtime observations before it is safe to promote. |
Round-2 adjudication (Codex gpt-5.6-sol, high, severity-aware)PROMOTE-WITH-FOLLOW-UPS — both blockers are real hardening work but neither lets an invalid proof pass. Filed as follow-up issues; merge decision stays with Noel. mutation-tests-do-not-exercise-independent-detectorsVERDICT: DEFER The concern is valid: each mutation test asserts only the target and selected prerequisites, and the Require mutation tests to prove isolated gate failures pattern-editing-scope-can-escapeVERDICT: DEFER The link and alt-text paths select a block within the inserted pattern but then fall back to Scope stock editor controls to the selected pattern block OVERALL: PROMOTE-WITH-FOLLOW-UPSBoth findings identify legitimate test and editor-control hardening work, but neither permits an invalid proof to pass: required gates fail closed, and pattern persistence is verified within the inserted subtree. Promote the beta and track both items as precise follow-ups. |
Problem
Headless validation and a successful JavaScript build do not prove that a generated plugin activates, registers in both runtimes, mounts in the editor, persists edits, loads styles on the frontend, or supports pattern overrides. One
ok: truewould hide which claims actually ran. Closes #8.Solution
The repair makes substantial progress, but both original blocker classes remain incompletely addressed. Detector isolation is not fully asserted, and field editing can still escape the inserted pattern.
package.jsonAssumed in scope: package.json — the implementation requires this verification change despite the path not being named.
Testing & verification
npm run typecheck→ pass.npm run test→ pass.npm run build→ pass.Risk / rollout
Small, targeted change — see the diff for the affected paths.
Must-fix blockers from review
Built by 🪺 Rookery · flight #40 · 46m48s · 4 passes · gpt-5.6-terra·xhigh