feat(bpfcompat): Install section with verified screenshots + fix wrong CLI/Action snippets#8
Merged
Merged
Conversation
…rong CLI/Action snippets
Adds an Install section to the bpfcompat product page documenting three
verified ways to install the CLI — prebuilt release binary, from source,
and go install — each with a real terminal screenshot, plus a live
`bpfcompat test` matrix screenshot. Copy is localized across all 8
languages (parity test green).
Also fixes the page's existing example snippets, which were wrong and
were the source of a user's "go install ... does not contain package"
failure:
- CLI: `go install github.com/Kernel-Guard/bpfcompat@v...` (capital org,
no cmd subpath — fails) -> `.../kernel-guard/bpfcompat/cmd/bpfcompat@v...`;
`--kernel` (no such flag) -> real `--artifact/--matrix/--out` syntax;
`suite run` -> real `suite --suite/--out` syntax.
- Action: non-existent `kernels`/`gate` inputs -> real `suite-out`/`validation-mode`.
Screenshots under public/images/projects/bpfcompat/install/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Deploying kernel-guard-frontend-git with
|
| Latest commit: |
b7e5c8d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://44c41784.kernel-guard-frontend-git.pages.dev |
| Branch Preview URL: | https://feat-bpfcompat-install-secti.kernel-guard-frontend-git.pages.dev |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
kernel-guard-frontend | b7e5c8d | Commit Preview URL Branch Preview URL |
Jun 24 2026, 01:43 PM |
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.
What
Adds an Install section to the bpfcompat product page and fixes the page's existing (broken) example commands.
Install section
Three verified install paths, each with a real terminal screenshot captured on a KVM host, plus a live
bpfcompat testmatrix:sha256sum -c+bpfcompat versionmake build && make validator-staticgo install—go install github.com/kernel-guard/bpfcompat/cmd/bpfcompat@<ver>ringbuf_modern: 5.4 fail (ringbuf ≥5.8), 6.1/6.8 passCopy is localized across all 8 languages; the i18n parity test passes.
Snippet fixes (the important bit)
The page's existing CLI tab showed
go install github.com/Kernel-Guard/bpfcompat@<ver>— the exact command that fails with "module … does not contain package …" (capital org + nocmdsubpath). It also used--kernel(no such flag) and a non-existentsuite runform. All corrected to the real CLI/Action syntax.Verification
tsc --noEmitcleanvitest run— 49/49 pass (incl. bpfcompat i18n parity + report tests)npm run build— 288/288 routes prerender, 0 failures/projects/bpfcompat/confirms the install heading, all four screenshots, and the corrected commands are presentImages under
public/images/projects/bpfcompat/install/.🤖 Generated with Claude Code