Conversation
keys-i
marked this pull request as ready for review
August 13, 2026 16:43
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.
Closes #32
Motivation
Use the standalone Krad WebAssembly artifact from keys-i/krad#12 through Shell.js's existing trusted custom-command boundary, without adding a runtime dependency or third-party transpiler.
Changes
krad-add.wasmartifact and provenancecreateKradAdd()for lazy, bounded, SHA-256-verified loadingVerification
npm run validate— PASSnpm run build— PASS (32,433 B JS; 3,842 B shell Wasm)npm pack --dry-run --json— PASS; both Krad files includedkrad_add(20, 22) === 42d6f47a8df8691ada08f49fac71b77f3b8dbb061c92041acf00988d34e25d8bcfBENCH_ROUNDS=250 npm run benchmark:ci— PASSgpt-5.6unsupported); permittedgpt-5.6-solultra fallback —VERDICT: PASSLocal browser execution is UNVERIFIED because no Chromium/Firefox driver starts in this environment; GitHub's browser CI must pass before merge.
Risk and rollback
The command fetches only when invoked, caps the response at 4 KiB, verifies the pinned digest, and rejects host imports. Roll back by reverting
be0d711; existing shell behavior is otherwise unchanged.