Repository navigation
fix: make website install copy reliable - #31
Merged
Merged
Conversation
Signed-off-by: Cad from Arca <cad@arcabot.ai>
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.
Problem reproduced
The live landing page had two separate failures:
onclick, but production sendsscript-src-attr 'none', so the browser blocked the handler.install.sh; it did not execute it.The clipboard path also failed silently when
navigator.clipboardwas unavailable or denied. During clean-install verification, the installer could report an olderclawfixalready onPATHinstead of checking the launcher it had just written.Changed contract
addEventListener, compatible with the existing CSP.curl | bash.~/.local/binis not onPATH.Verification
npm test: 523/523 passednpm run prove:remediation: 7/7 passednpm run validate:repairs: 50 scripts, 0 blockersnpm audit --omit=dev: 0 vulnerabilitiesnpm run capabilities:check: passedbash -n scripts/install.sh: passedshellcheck scripts/install.sh: passedgit diff --check: passedLOCAL_BROWSER_COPY_INSTALL=PASSLOCAL_BROWSER_MODERN_CLIPBOARD=PASSclawfix v0.12.0clawfixearlier on PATH was ignored for verification and command guidancefinally, including assertion failuresDeployment verification
a603bf4b0178ee5300b1a6b31961478234159a08.5711628465completed successfully.Copied!.clawfix v0.12.0in a fresh temporary home while ignoring a stale binary earlier onPATH.