Repository navigation
demo(#324): record AddSynapse price write denied by WriteLeash - #333
Merged
Merged
Conversation
Add a disposable lab and recording for AddSynapse 1.3.5. A restricted shop manager confirms a slash-command price preview. WriteLeash denies WC_Product::save() and the product rows stay unchanged. No model was called. This does not replace the reviewed #332 assets.
Derive English cues from a recording fiducial on the encoded frames, and create the lab grant with one UTC timestamp thirty days ahead.
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Demonstration-only update for the AddSynapse negative control on issue #324. This replaces the runner-clock captions and the hardcoded grant expiry in
demo/324-third-party/, then records a fresh disposable-lab run. It does not change WriteLeash runtime behavior.References #324 and #332. Does not close either.
Invariant / Current Spec Reference
Production grant expiry rules are unchanged.
create_grantstill requiresYYYY-MM-DD HH:MM:SSandstrtotime($expires_at . ' UTC') > time(). The lab now supplies that string from WordPress UTC now plus 30 days.The recorded plugin tree is still
f8cf392ba30a40334c0f1ab67af0ee444ffaee08at record-time commit0e4ac6881006eabd95e34ec1530a3357401d3226, header 0.2.0. That is an unreleased repository build, not the WordPress.org 0.2.2 package.Relevant Canonical CC-* Tests (
docs/test-plan.md)No canonical CC-* test applies. This is a disposable WooCommerce integration recording. The native PG16 suite is the ownership gate for
demo/**. It does not execute this WordPress scenario.What Changed
sync_captions.pywritescaptions.en.vttand rejects a cue that misses the video, overlaps, or omits the unreleased-build disclaimer.test_sync_captions.pyshifts synthetic markers and checks that the cue times move with them.utc_now_plus_30_days). This run stored2026-11-27 05:09:46. The same string is the grant row,versions.json, andevidence.json.d47112ccd9a495514863253e131da83cce406009c650bedf6e15cb2b20e4f923on all three snapshots. Grant6fdf6fc5-ec39-45e2-985b-bdc2a0b95512.QA.mdrecords the visual pass.out/media-qa.jsonrecords 29 automated checks, 0 failed.Media:
Security Impact
None in production. WriteLeash PHP, the plugin header,
readme.txt,wordpress/assets/, and WordPress.org SVN were not modified. The restricted shop manager remained user 2 atwoocommerce_before_product_object_save. Both Riley approve calls returned HTTP 200 withstatus: failed,applied: 0,failed: 1. Harborline Wool Cap stayed$40.00. Northwind Canvas Tote stayed$100.00.No model was called. Provider cost is $0. The slash command was typed in the fixture. Riley pressed Approve, then Yes, apply the changes. This is a labeled negative control, not an AI hallucination and not a claim that AddSynapse is defective.
PostgreSQL Semantics Considered
Not applicable to this WordPress/MySQL recording. MySQL 8.0.44 InnoDB was the lab engine. MariaDB was not tested.
Adversarial / Bypass Testing
The on-camera path is the real AddSynapse approve route as the restricted shop manager, with no Execution Frame open. The unrestricted administrator control on Pilot Lantern still applied (
$30.00to$55.00). The remote AddSynapse key path was not exercised: that path switches to the administrator who minted the key.Limitations / Unknowns
run.shreplaces the hashes, grant id, expiry, and cue times. Do not copy this run's numbers forward.Out-of-Scope Work Explicitly Not Included
runtime/secrets.json.Recommendation only: the recorded scenario, caption sync, and media checks passed. This pull request is not merged.