Client mode + demo golden lock (engagement-ready) - #1
Open
MsShawnP wants to merge 2 commits into
Open
Conversation
- tests/lib/demo-golden.test.ts: locks the diff summary (1 unchanged, 1 modified, 1 removed, 1 added) for a reference before/after pair so the deployed browser-local comparison can't drift. - tests/lib/no-network.test.ts: the client-mode confidentiality contract made permanent — spies on fetch/XMLHttpRequest/WebSocket/sendBeacon, runs the full diff, and asserts NO network primitive is called with files loaded. - INPUT-SPEC.md documents the two-file inputs and the browser-local guarantee. - Fix stale README test count (90 -> 115). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Engagement-ready client-mode conversion. Verified; source-only and demo-locked.
Every listed P1 was already fixed on disk, verified by the audit's reproduction, then regression-locked. Demo golden byte-identical; client mode + adversarial fixtures added.
Deploys trigger on push to
mainonly — merging this PR is what goes live. Nothing has deployed from pushing the branch. CI (canonical-drift / ci / render) runs on this PR.Commits (2):
🤖 Generated with Claude Code