Repository navigation
feat(lint-artifact): require a writeClipboard helper - #14
Merged
Merged
Conversation
cursor
Bot
force-pushed
the
cursor/pr-update-lint-85a6
branch
from
October 4, 2026 21:09
71b2ac4 to
077d58b
Compare
cursor
Bot
force-pushed
the
cursor/pr-clipboard-85a6
branch
from
October 4, 2026 21:09
5c85046 to
cb99762
Compare
cursor
Bot
force-pushed
the
cursor/pr-update-lint-85a6
branch
from
October 4, 2026 22:19
077d58b to
1b73847
Compare
cursor
Bot
force-pushed
the
cursor/pr-clipboard-85a6
branch
from
October 4, 2026 22:21
cb99762 to
8f12b83
Compare
A file that calls navigator.clipboard.writeText must define writeClipboard in the same file. The unguarded fixture still fails. A helper plus writeClipboard(t) passes. Co-authored-by: Todd Dailey <twidtwid@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/pr-clipboard-85a6
branch
from
October 4, 2026 22:23
8f12b83 to
5fc9e86
Compare
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.
Why
Fifteen HTML files copy the same clipboard helper. A file that calls
navigator.clipboard.writeTextwithoutwriteClipboardwill throw onfile://and hardened browsers.What changed
writeTextappears without awriteClipboardhelper in the same file.writeClipboard(t)passes.Scope
This PR only adds the helper check. The skill snippet already uses
writeClipboard, so the snippet did not change.Blast Radius
Every current example already defines the helper. Default lint still passes. Skill tokens stay 12256.
Verification
examples/dashboard.htmlPASSes and containswriteClipboard.make checkis green.