release.sh --cross now cuts a .vsix per platform — darwin-arm64, darwin-x64, linux-x64, linux-arm64 (new aarch64-musl cross target), win32-x64 — each carrying lucisv and lucisv-server under bin/, staged transiently with an EXIT trap and content-asserted with unzip. The extension resolves a user-set lucisv.serverPath, then the bundled server (chmod'ed on activation; VSIX extraction drops the exec bit), then PATH; the universal no-binary .vsix stays as the fallback. The host package's embedded server is smoke-tested out of the zip on every release. docs/features/editor-platform-vsix has the full round. Co-Authored-By: Claude Fable 5 <[email protected]>
editor-platform-vsix
Goal
Installing the VS Code extension has always been half an install: the .vsix
is platform-independent JavaScript and the server it spawns is a binary the
user has to build or download and put on PATH first. This round closes that
gap the way rust-analyzer and ruff close it — platform-specific .vsix
packages that carry the binaries inside them. Five packages, one per
platform we cross-build for; VS Code picks the one matching the machine by the
--target stamped into the package, downloads only that one, and the
extension spawns the server out of its own install directory. The old
platform-independent package stays, unchanged in behaviour, as the universal
fallback for a platform we do not build (and for anyone who prefers their own
binary on PATH).
Assumptions
-
vsce's target names and rustc's triples are two different vocabularies, and the mapping between them is a hand-written table.vscevalidates--targetagainst its own fixed list; nothing derives one name from the other.vsce target rust triple why that triple darwin-arm64aarch64-apple-darwinthe host build darwin-x64x86_64-apple-darwinIntel Macs (also runs under Rosetta) linux-x64x86_64-unknown-linux-muslstatic, so it runs on every distro linux-arm64aarch64-unknown-linux-muslsame, for ARM servers/Pi/Asahi win32-x64x86_64-pc-windows-gnu.exe, DLLs Windows 10+ ships -
Linux gets the musl build, not the glibc one.
x86_64-unknown-linux-gnuis still built and shipped as a loose artifact (it exists for shops that require a native glibc link — seetools/RELEASING.md), but the extension embeds musl: a statically linked binary runs on any distro at any glibc vintage, which is exactly the property an extension installed by a stranger needs. There is no secondlinux-x64package to choose between. -
Alpine is an accepted gap.
vscehas separatealpine-x64/alpine-arm64targets and VS Code running on Alpine looks for those, not forlinux-x64— so an Alpine user gets the universal package and needslucisv-serveronPATH, even though the musl binary we ship would have run there perfectly. Building two more packages with identical contents to satisfy a name is not worth the release-matrix growth today; if someone asks, it is a two-line change (alpine-x64← the same musl triple). -
VSIX extraction does not preserve the executable bit. This is why
extension.jschmods what it is about to spawn rather than trusting the package's file modes — the same thing rust-analyzer's extension does, for the same reason.release.shstillchmod +xes the staged binaries before packaging, so the mode inside the zip is right; the client-side chmod is the belt to that suspenders. -
No version handshake. The bundled server is the one built from the same tree as the extension, so extension and server always match by construction. A user who points
lucisv.serverPathat something else takes that risk, as before. -
The binaries are the same ones
dist/ships.release.shstages them out ofdist/, so the file a user gets from the release page and the file inside the.vsixare byte-identical (and the.vsixcopies are covered transitively bySHA256SUMS' entry for the package).
Handshakes
Consumed from editor-packaging — the spawn contract, unchanged: binary
name lucisv-server, no arguments, LSP on stdin/stdout. The only thing this
feature changes is which path is spawned, never how.
Consumed from tools/release.sh — the dist/lucisv[-server]-<version>-<triple>
naming. The staging step reads those exact names; renaming an artifact breaks
packaging loudly (a missing cp source), not silently.
Promised to extension.js — a platform package always contains both
binaries under bin/, named plainly (lucisv, lucisv-server, with .exe on
Windows) with no version or triple in the name; the universal package contains
no bin/ directory at all. release.sh asserts both with unzip -Z1
after every package it builds, so "the extension found a stale binary from the
previous target" cannot ship.
Promised to tools/audit_artifacts.sh — every loose binary in dist/ is
still named lucisv[-server]-<version>-<triple>; the new .vsix names all end
in .vsix and are skipped by the audit's existing case arm.
Requested of other modules — none.
Resolution order in the extension
extension.js picks the server command from three candidates, most specific
first:
- A
lucisv.serverPaththe user actually set. Detected withinspect('serverPath'), notget():get()cannot tell a user's setting from the manifest's own"default": "lucisv-server", and that default would otherwise shadow the bundled binary for everyone. Any ofglobalValue,workspaceValue,workspaceFolderValueor their three language-scoped variants counts as "the user set it";defaultValueanddefaultLanguageValuedo not, because those are contributed defaults, not user intent. Most specific wins, matching VS Code's ownget()precedence. - The bundled binary,
<extension>/bin/lucisv-server(.exe), if the file exists. Its existence is the whole runtime test for "am I a platform package or the universal one" — no build-time flag, no manifest field. - The bare name
lucisv-server, looked up onPATH. What the universal package has always done, and what acargo build+PATHinstall still does.
The CLI (bin/lucisv) is chmod'ed alongside the server even though nothing in
the extension spawns it: it is shipped so a user who installed the extension
already has the command-line tool, and a non-executable file would make that
claim false.
What gets built, and when
release.sh |
release.sh --cross |
|
|---|---|---|
universal lucisv-<v>.vsix |
yes | yes |
darwin-arm64 (host) |
yes | yes |
| the other four | no | yes |
Without --cross there are no cross binaries to embed, so only the host
package can be built — building it anyway (rather than only the universal one)
keeps the packaging path exercised on every ordinary release run, including the
embedded-server smoke test. The CI release workflow runs --cross, so releases
always carry all six.
Status / TODO
rustup target add --toolchain stable aarch64-unknown-linux-muslon the build Mac, and the line recorded intools/RELEASING.md's one-time setup.tools/release.sh:aarch64-unknown-linux-muslin the--crossset, same rust-lld linker andDYLD_FALLBACK_LIBRARY_PATHas the x86-64 musl build; its two binaries land indist/and inSHA256SUMS.editors/vscode/extension.js: three-step server resolution,inspect()for user intent, chmod of both bundled binaries.editors/vscode/package.json:lucisv.serverPathdescription mentions the bundled default.tools/release.sh: stagebin/, package per target, removebin/, with anEXITtrap so a failure cannot leave binaries in the tree.tools/release.sh:unzip -Z1content assertions for every package, and an LSP smoke test of the server unzipped out of the host package.tools/audit_artifacts.sh:aarch64-unknown-linux-muslarm.editors/vscode/.gitignore:bin/.- Docs: this file,
tools/RELEASING.md,editors/vscode/README.md. - Not done, and not doable here: none of the five packages has been
installed into a real VS Code.
require('vscode')resolves only in the extension host, so the resolution order above is proven by reading it and by the packaging assertions, not by an editor picking the right package off a marketplace. The Linux and Windows packages have additionally never been executed anywhere — same standing limitation the loose binaries have had since--crossexisted. - Not done, deliberate:
alpine-x64/alpine-arm64packages (see Assumptions), and alinux-x64glibc variant.
Work log
2026-08-27 — dev agent
- Toolchain.
rustup target add --toolchain stable aarch64-unknown-linux-muslran clean (rust-stdcomponent only, no linker needed —rust-lldlinks it, exactly like the x86-64 musl target).rustup target list --installednow shows six targets. The line is intools/RELEASING.md's one-time-setup block. release.shstructure. The newaarch64-unknown-linux-muslbuild sits next to the x86-64 musl one with the identical env pair (DYLD_FALLBACK_LIBRARY_PATH="$tc/lib"+CARGO_TARGET_..._LINKER=rust-lld); the copy loop just gained the triple. Packaging became three pieces:vsce_target_for(the triple→vsce-target table),package_vsix(stagebin/, package, removebin/), andexpect_vsix_bins(assert what a package carries).bin_diris removed by anEXITtrap set before the first build, so an interrupted or failed run cannot leave a stale binary where the next package — or a developer'sgit status— would pick it up.- The universal package is packaged first and with
bin/provably absent (rm -rfimmediately before,expect_vsix_binswith no expected entries immediately after). That ordering matters: the universal package is the one that must never accidentally carry a platform's binaries. - The embedded smoke test is a real round trip. The host package is
unzipped into
target/vsix-check/(gitignored, outside the session scratchpad), both binaries are asserted present, the server is chmod'ed and driven through the samesmoke.jsLSP session the loose binary gets, and the directory is removed. So the claim "installing the extension gives you a working server" is tested against a file that has actually been through the zip. inspect()and notget()is the one non-obvious line inextension.js, and the reason is in the file:get()returns"lucisv-server"for a user who has never touched the setting, because that is the manifest default — so aget()-based check would make the bundled binary unreachable for every user who did not explicitly override it. The scope list is most-specific-first and excludesdefaultValue/defaultLanguageValue.- The objdump question was answered by running it, not guessed. This
machine's
x86_64-unknown-linux-gnu-objdumpdoes parse an aarch64 ELF —-pprintsfile format elf64-littleand the full program header table, and finds zeroNEEDEDentries in our static binary — so the new arm keeps the sameNEEDEDcheck the x86-64 musl arm uses. It also assertsfile -b's ownARM aarch64andstatically linked, for two reasons the comment states: objdump'self64-littledoes not name the architecture at all (sofileis the only thing checking we did not ship an x86-64 binary under an aarch64 name), and a future binutils that stopped parsing aarch64 would make theNEEDEDgrep pass by finding nothing — the exact quiet failure the audit exists to prevent. x86_64-unknown-linux-gnugets no.vsix. It is still built and still audited;linux-x64is the musl build because a static binary is the right thing to hand a stranger. Recorded in Assumptions so nobody re-litigates it silently.- The no-
--crosspath was run too, into a throwaway-odirectory, to confirm the decision in "What gets built": host pair, universal package,darwin-arm64package, embedded smoke test, checksums, exit 0. .vscodeignorewas left alone and confirmed not to excludebin/(it listssmoke.js,.vscode/**,.gitignoreand nothing else).bin/is ineditors/vscode/.gitignoreinstead, as a second line of defence behind theEXITtrap.- Did not bump any version, did not
git commit/git push, did not touchcrates/.TODO.mdwas read; the two items that touch editor packaging (§6 "Editor packaging", §6 "Release prep") are already[x]and neither mentions platform-specific packages, so nothing was checked off.
Validation run on this machine (from the real repo path, never the
scratchpad — vsce collects zero files under the scratchpad's UUID segment,
docs/features/editor-packaging QA Finding 2):
| Check | Result |
|---|---|
bash -n tools/release.sh tools/audit_artifacts.sh |
clean |
node --check editors/vscode/extension.js |
clean |
python3 -c json.load on editors/vscode/package.json |
valid |
cargo fmt --check |
clean |
cargo clippy --all-targets |
clean, no new warnings |
cargo test -p lucisv_server |
1015 unit + 50 e2e + 3 grammar green, 5 ignored, 0 failed |
tools/release.sh --cross |
exit 0 — 18 artifacts + SHA256SUMS (table below) |
tools/release.sh -o target/relcheck-dist (no --cross) |
exit 0 — host pair, universal .vsix, darwin-arm64 .vsix, SHA256SUMS |
tools/audit_artifacts.sh dist |
12 binaries audited, exit 0 |
embedded-server smoke (host .vsix, unzipped to target/vsix-check/) |
smoke: OK, 10 messages |
shasum -a 256 -c SHA256SUMS in dist/ |
18/18 OK |
Artifacts from tools/release.sh --cross (lucisv 0.10.0):
.vsix |
size | extension/bin/ |
|---|---|---|
lucisv-0.10.0.vsix (universal) |
487,837 | (nothing — unzip -Z1 reports "filename not matched") |
lucisv-0.10.0-darwin-arm64.vsix |
2,721,294 | lucisv-server, lucisv |
lucisv-0.10.0-darwin-x64.vsix |
2,991,683 | lucisv-server, lucisv |
lucisv-0.10.0-linux-x64.vsix |
3,121,350 | lucisv-server, lucisv |
lucisv-0.10.0-linux-arm64.vsix |
2,970,545 | lucisv-server, lucisv |
lucisv-0.10.0-win32-x64.vsix |
2,906,955 | lucisv-server.exe, lucisv.exe |
Plus the twelve loose binaries, now including
lucisv-0.10.0-aarch64-unknown-linux-musl (1,930,768) and
lucisv-server-0.10.0-aarch64-unknown-linux-musl (4,022,088). file -b on the
latter: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped.
Three things were checked beyond "it built":
- The
--targetreally is stamped in.extension.vsixmanifestcarriesTargetPlatform="darwin-arm64"/"linux-arm64"/"win32-x64"in the respective packages, and the universal one contains noTargetPlatformattribute at all — that attribute is how VS Code picks a package. - The executable bit survives packaging.
unzip -Zreports-rwxr-xr-xfor both entries inside the packages. The client-side chmod stays anyway, because it is VS Code's extraction, not the zip, that drops the bit. - The
EXITtrap was negative-controlled, not assumed: with annpxstub onPATHthat fails whenever it sees--target,release.shstagededitors/vscode/bin/, failed the platform package, and exited — andeditors/vscode/bin/was gone afterwards, withgit status --short editors/vscodeshowing only the intended edits. A packaging failure cannot leave a binary in the tree.
Not run, and why: no package was installed into VS Code (the extension host
is the only place require('vscode') resolves — unchanged limitation since
2026-08-19), so the resolution order in extension.js is proven by reading and
by the packaging assertions, not by an editor. The Linux and Windows binaries
were not executed anywhere (no such machine in the release loop; file- and
objdump-audited instead), which means the four non-host packages have never
had their embedded server spawned. The marketplace's own --target selection
was likewise not exercised: nothing here is published, so the check that
TargetPlatform is present is as far as it goes.
2026-08-27 — lead (post-QA): chmod both bundled binaries unconditionally
QA's Finding 1: with a user-set lucisv.serverPath, the || chain in
activate short-circuited past bundledBinary(context, 'lucisv-server'), so
only the CLI got chmod'ed and editors/vscode/README.md's "makes both
executable" was one clause too strong. Fixed at the code, not the wording:
the bundled server is now resolved into a bundledServer local before the
|| chain, so both binaries are made executable on every activation and the
README sentence is exactly true. Two lines plus a comment; node --check
clean. Lead-authored directly — the dev/QA loop would add latency, not safety
(precedent: the 0.4.2 entry in docs/features/editor-packaging).
QA log
2026-08-27 — QA agent
Scope: everything the dev's work log claims — gates, --cross and non---cross
release.sh runs, .vsix contents, TargetPlatform, SHA256SUMS,
audit_artifacts.sh's new aarch64 arm, extension.js's resolution order and
inspect() usage, the EXIT trap, and the docs. Ran everything from the real
repo path (/Users/guoliangchen/repo/verilogrustformatter), never the session
scratchpad (docs/features/editor-packaging QA Finding 2). All work in this
entry; no source file was edited.
Gates — all green, matching the dev's numbers exactly.
| Check | Result |
|---|---|
bash -n tools/release.sh tools/audit_artifacts.sh |
clean |
node --check editors/vscode/extension.js |
clean |
python3 -c json.load on package.json |
valid |
cargo fmt --check |
clean |
cargo clippy --all-targets (workspace) |
clean, 0 warnings |
cargo test -p lucisv_server |
1015 unit + 50 e2e + 3 grammar, 5 ignored, 0 failed — exact match |
cargo test --workspace |
all green (also run, not just the dev's subset) |
tools/release.sh --cross, re-run independently — exit 0, 18 artifacts, matching the claimed set exactly.
dist/after the run: 12 loose binaries (six triples × 2), 6.vsix,SHA256SUMS— file names and sizes match the dev's table (lucisv-server-0.10.0-aarch64-unknown-linux-musl4,022,088 bytes,lucisv-0.10.0-aarch64-unknown-linux-musl1,930,768 — identical to the dev's numbers).shasum -a 256 -c SHA256SUMSindist/: 18/18 OK.unzip -Z1/unzip -Zon all six.vsix, independently: the universal package (lucisv-0.10.0.vsix, 324 entries) carries noextension/bin/*entries and noTargetPlatformattribute inextension.vsixmanifest. Each of the five platform packages (326 entries — exactly 2 more than universal) carries exactlyextension/bin/lucisv{,-server}(.exesuffix onwin32-x64), mode-rwxr-xr-xinside the zip, and the correctTargetPlatform="…"(darwin-arm64,darwin-x64,linux-x64,linux-arm64,win32-x64respectively — checked all five, not just one).- Grepped every
.vsix's file list forsmoke,.gitignore,.vscodeignore,test,.git/: nothing found in any of them — no dev-only clutter shipped. tools/audit_artifacts.sh dist: 12 binaries audited, exit 0 — matches exactly (the six.vsixare correctly skipped by the pre-existing*.vsixcase arm, not part of this round's diff).- Embedded smoke test ran as part of the build:
smoke: OKagainst the server unzipped out of thedarwin-arm64package, 10 messages — matches.
tools/release.sh without --cross, re-run into a throwaway -o dir: exactly host pair + lucisv-0.10.0.vsix (universal) + lucisv-0.10.0-darwin-arm64.vsix, 4 files total, editors/vscode/bin/ absent afterward. Matches the "What gets built" table exactly.
Breaking it, independently (not reusing the dev's own runs):
- Ran
release.shtwice in a row (non---cross, into two different-odirs). Both exit 0,editors/vscode/bin/absent after each run, identical artifact name sets both times,git status --short editors/vscodeshowed only this round's four intended edits both times — no residue from run 1 leaking into run 2. - Pre-existing junk in
editors/vscode/bin/before a run. Creatededitors/vscode/bin/lucisv-serverandeditors/vscode/bin/some-other-filewith garbage content by hand, then ranrelease.sh -o /tmp/relcheck3 --no-vsix. The script'srm -rf "$bin_dir"at line 53 (before the first build, unconditional on--no-vsix) wiped it;bin/was absent afterward and the run succeeded normally. A stalebin/from an interrupted prior run cannot contaminate the next one. - Independently re-ran the
EXIT-trap negative control, with my own fakenpx(not the dev's), rather than trusting the dev's own report: a wrapper script onPATHthat proxies to the realnpxfor everything except an invocation containing--target, which it fails with exit 17. Ranrelease.sh -o /tmp/relcheck_fail: the universal package built and was asserted clean (bin/ contents ok), then thedarwin-arm64package'svsce package --target darwin-arm64hit the fake npx and failed; the script exited 17.editors/vscode/bin/was absent afterward andgit status --short editors/vscodeshowed only the four intended edits — the trap covers a real mid-packaging failure, checked with a genuinely different negative control than the dev used, not a re-run of theirs.
Audit script — the aarch64-musl arm checked adversarially.
- Unknown artifact name still fails, confirmed on a copy:
lucisv-0.10.0-unknown-triple-xyz(a renamed copy of the realaarch64-apple-darwinbinary) producesFAIL: … unrecognized artifact name — teach this script about it, exit 1. - Corrupted the aarch64-musl arm, on a copy, never on
dist/originals: overwrote a copy oflucisv-server-0.10.0-aarch64-unknown-linux-muslwith/bin/ls(a Mach-O binary) under the same aarch64-musl-suffixed name. Audit failed it twice over —not an aarch64 ELF: Mach-O universal binary …andmusl build is not statically linked: …— before even reaching theobjdumpNEEDEDcheck, and exited 1 overall. This proves the arm'sfile-based architecture/static checks fire on a corrupted artifact, but it is a weaker test than I wanted: I did not manage to isolate theobjdump -p … | grep NEEDEDline specifically (no genuine dynamically-linked aarch64 Linux ELF was available on this Mac to substitute in — the closest available wrong-arch swap fails at the earlierfile-based checks first, so theNEEDEDgrep is never reached in this control). The two checks are independent by construction (read separately in the source, matching the "two independent opinions" comment attools/audit_artifacts.sh:56), so I read theNEEDEDbranch by inspection rather than exercising it in isolation — noting this as an honest gap in my own coverage, not a defect found.
extension.js resolution logic, read line by line against the claims.
inspect()scope order verified correct against VS Code's own documented precedence (SERVER_PATH_SCOPES,extension.js:58-65) — not assumed from memory. VS Code's ownvscode.d.tsdoc comment forWorkspaceConfiguration.inspect()states the effective-value merge order, lowest to highest, as:defaultValue,globalValue,workspaceValue,workspaceFolderValue,defaultLanguageValue,globalLanguageValue,workspaceLanguageValue,workspaceFolderLanguageValue. That means every language-specific value outranks every non-language-specific one — a genuinely counter-intuitive rule (a[verilog]-scoped User setting beats a plain workspace folder setting) that I checked rather than trusted. Reversed and excluding the twodefault*entries (correctly excluded — see the file's own comment), the highest-to-lowest order is exactlyworkspaceFolderLanguageValue, workspaceLanguageValue, globalLanguageValue, workspaceFolderValue, workspaceValue, globalValue— which is the code's list, verbatim, in that order. The claim is correct.- The bundled-CLI call is unconditional; the bundled-server call is short-circuited — worth documenting, not a bug (Finding 1 below).
chmodSyncis in atry { } catch { }with no binding (extension.js:104-109) — cannot throw uncaught; a read-only install or permission error is swallowed exactly as the comment says.deactivate()(extension.js:211-214) is untouched by this round's diff (confirmed viagit diff HEAD~1) and still callsclearTimeout+client.stop().- Windows
.exesuffix is handled consistently in bothbundledBinary()(extension.js:100, viaprocess.platform === 'win32') andrelease.sh'spackage_vsix/loose-binary loops (case $triple in *windows*) exe=.exe ;;) — same convention, both places. - Activation with
bin/absent (the universal package) does not throw:bundledBinaryreturnsundefinedviafs.existsSyncbefore any chmod attempt, and the||chain falls through to'lucisv-server'onPATH, exactly as before this round.git diff HEAD~1 -- editors/vscode/extension.jsconfirms the entire diff is additive (two newrequires, two new functions, and theactivate()server-path line) — the pre-existing behavior for the universal package's happy path is untouched code, not just untouched behavior.
Finding 1 (confirmed, cosmetic, not blocking) — editors/vscode/README.md:29's "makes both executable on first activation" is not quite true when a user has set lucisv.serverPath.
extension.js:120 calls bundledBinary(context, 'lucisv') unconditionally, so the CLI is always chmod'ed if present. But extension.js:124 is
const serverPath = userServerPath() || bundledBinary(context, 'lucisv-server') || 'lucisv-server';
— plain JavaScript || short-circuits, so if userServerPath() returns a truthy value (the user set lucisv.serverPath in any of the six scopes SERVER_PATH_SCOPES checks), bundledBinary(context, 'lucisv-server') is never called, and the bundled bin/lucisv-server is never chmod'ed on that activation. This is not a functional bug — the binary in question is not the one being spawned in that scenario, so its mode is irrelevant — but editors/vscode/README.md:29's "the extension spawns the server from there and makes both executable on first activation" states an unconditional "both" that has this one exception. The feature README's own Handshakes section is more careful — "chmods what it is about to spawn" (line 46) — which is the actually-accurate description and does not have this gap. Recommend loosening README.md:29's wording to match the feature README's, or noting the exception; not fixed here since it is a one-clause doc-precision issue, not a typo, and the instructions ask QA to file rather than redesign.
Pre-existing, out of scope for this round, flagged for the lead anyway — tools/RELEASING.md:229-231 has a garbled sentence in the Appendix, predating this round (confirmed via git diff HEAD~1 -- tools/RELEASING.md; the Appendix section is untouched by this diff): "that id registered with vsce by the owner\n has created in the Visual Studio Marketplace." reads as a broken edit — a clause was apparently left mid-rewrite. Not this feature's doc to fix (it's about marketplace publishing, unrelated to platform packaging), and not introduced by this round, but noted since I read the whole file.
Docs cross-checked against reality, no other issues found:
tools/RELEASING.md's.vsix-in-detail section (staging,--targetinvocation shape,bin/transience, theunzip -Z1assertion contract) matchesrelease.sh's actual code line for line.editors/vscode/README.md's section 0 install instructions, thelucisv.serverPathsettings-table row, and the Troubleshooting section's "clear the setting, don't set it back to the default string" advice all matchextension.js's actual behavior (the last one specifically depends on theinspect()-not-get()distinction verified above — a user who explicitly setslucisv.serverPathto the literal string"lucisv-server"does still count as "set", by design, sinceinspect()sees it in a scope, not as the manifest default).- The feature README's own Handshakes ("Promised to
extension.js", "Promised totools/audit_artifacts.sh") match what the code actually does, verified independently above rather than taken on the doc's word. TODO.mdwas not re-checked in depth; the dev's claim that no existing checkbox needed updating was not disputed by anything found here.
No BLOCKING findings. Every claim in the dev's work log was independently reproduced with fresh runs and, where possible, fresh negative controls rather than re-trusting the dev's own — gates, both release.sh modes, all six .vsix contents (all five TargetPlatforms, not a sample), SHA256SUMS, the EXIT trap (with an independently-written stub), the audit script's new arm, and the inspect() precedence claim (checked against VS Code's own documented merge order, not memory). Finding 1 is cosmetic and already partially self-corrected by the feature README's own more careful wording elsewhere. The un-exercised NEEDED-check branch (audit script) is a coverage gap in this QA pass, not a defect — recorded honestly rather than papered over.
Verdict: ship.
Review
2026-08-27 — lead. Verdict: accepted; commits with this round.
Reviewed the full diff (7 files + this README), the dev's work log against the scripts' actual code, and QA's independent reproduction. Points reviewed and accepted:
- The staging design is the right shape:
editors/vscode/bin/exists only betweenmkdirand the post-packagerm -rf, with anEXITtrap both agents negative-controlled independently, and every package'sbin/contents asserted withunzip -Z1rather than assumed. The failure this guards against — one platform's server shipping inside another platform's package, or inside the universal one — is a corruption-adjacent class of bug, and it cannot happen silently. - The resolution order in
extension.jsis correct and honestly detected:inspect()across all six user-writable scopes, in VS Code's own merge order (QA verified the order against documentation, including the language-scoped-beats-general rule), with the manifest default deliberately not counting as "set". The chmod-in-try/catch matches rust-analyzer's long-standing practice for the same VSIX-extraction reality. linux-x64shipping musl is the right call — a static server is what an extension installed by a stranger needs — and the gaps are recorded rather than hidden: nox86_64-unknown-linux-gnupackage, no Alpine targets (universal fallback covers them), four non-host packages never executed on their own platforms.- QA's Finding 1 (short-circuited chmod of the unused bundled server) was
fixed at the code level by the lead — see the work log — so the user-facing
README's "both" is now unconditionally true. Finding 2 (garbled
pre-existing sentence in the RELEASING.md appendix) is real, predates this
round, and is fixed by the lead in this same round. QA's disclosed coverage
gap (the aarch64
NEEDEDbranch never fired against a genuine dynamic aarch64 ELF) is accepted: the branch is nine lines, read by three agents, and structurally identical to the x86-64 arm that was mutation-tested.
No version bump here: the packages are cut from whatever version the tree is
at, and the next tagged release ships all six automatically via the unchanged
release.yml → release.sh --cross path.