Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.
HTTP server verification, packaging and Android (audit id A5b)
Scope and coverage ledger
All files below were read in full with the Read tool (no skimming by grep). Experiments were run
only with a copy of the existing debug binary (target/debug/rust-anything) and scratch crates in
the auditor's scratch dir; nothing in the repo was built or modified except this report.
| File | Lines | Read |
|---|---|---|
src/http.rs |
3671 | 1-3671 (all, incl. the unit tests) |
src/front_door_http.rs |
697 | 1-697 |
src/mime.rs |
740 | 1-740 |
src/package.rs |
1183 | 1-1183 |
src/package/cli.rs |
776 | 1-776 |
src/android.rs |
623 | 1-623 |
src/android_device.rs |
421 | 1-421 |
docs/packaging.md |
195 | 1-195 |
tests/http.rs |
2287 | 1-2287 (1-640, 598-1560, 1556-2287) |
tests/mime.rs |
40 | all |
tests/package.rs |
623 | all |
tests/android_device.rs |
100 | all |
tests/native.rs |
1598 | all |
Read outside the assigned list only to trace a path: src/main.rs (diff exit code, app record
summary), src/app.rs (record http branch, reserve_case_name, drop_stale, Config),
src/harness.rs (build, sources_newer_than, check_module, diff_android, record_android),
src/front_door.rs (cargo_build, original_rs), src/effects.rs (SMTP sink),
src/codegen_java.rs (device driver same/record), docs/STATUS.md,
.github/workflows/ports-npm.yml. The numbers in docs/packaging.md ("2000/2000", "17,224/17,224",
timings) are hand measurements on macOS arm64 and could not be re-run here; I did not check them.
Summary
- 3 HIGH, 6 MEDIUM, 6 LOW. Nothing found that makes
app replaypass vacuously: a server that never starts, answers nothing or dies mid-run fails replay loudly. The weak points are in what a passing HTTP replay compares, inrecordquietly shrinking a recording, and above all inpackage, which verifies nothing. packagehappily wraps a crate whose every function isunimplemented!()into a publishable looking npm layout (I ran it, exit 0). The generated workflows only check that a.nodeloads or a Python module imports; the CLI workflow checks nothing.- The napi package's
index.cjssilently falls back to the original JS when no binary loads, and the documented way to check an installed package (diff --module <pkg>/index.cjs) then reports "N/N cases match" with no Rust running.tests/package.rsitself shows this (lines 210-221). - HTTP replay compares only headers that were recorded and not in
SKIP_HEADERS: a port that dropsETag/Last-Modified, or adds CORS/CSP/Content-Dispositionheaders, passes 2/2 (run). - CLI package: ships
target/release/<bin>that no replay ever ran (all replays use the debug build), its staleness check cannot see the wired unit crates, and "the exact version that was recorded" is not recorded anywhere. - Android:
diff --profile androiddoes exit non-zero on a partial match, so 279/291 is a failure when run. Butdocs/STATUS.mdlabels the row "Tested" while the 12 mismatches are "not investigated" and no repo test runs the devicediffat all.
Findings
A5b-01 [H1][H6] [HIGH] [CONFIRMED] napi package falls back silently; diff --module <package>/index.cjs passes with no Rust running
- Where:
src/package.rs:747-758(index_cjs),src/package.rs:761-804(native_cjs);src/harness.rs:332-341(check_moduleaccepts any path);tests/package.rs:210-221;docs/packaging.md:145-152. - What happens: the generated
index.cjsisif (binding && MODE !== 'old') module.exports = require('./binding.cjs') else module.exports = require(<fallback>).load()collectserrorsbut they are used only in the no-fallbackthrowbranch. With a fallback (the default whenever the original is one plain JS file), a binary that fails to load, was omitted (--omit=optional), is the wrong libc, or whose platform package is missing gives the original JS with no message. - Failing scenario:
npm installthe main tarball only (or deletenode_modules/<name>-<key>), thenrust-anything diff <crate> --module node_modules/<name>/index.cjs. Every recorded case is answered by the original, so the result isN/N cases match.tests/package.rsdoes exactly this at lines 210-221: after removing the platform package it assertsload().binding == falseand thenreplay(...)still assertspassed == total. The docs table "Where it was checked" (2000/2000, 2000/2000, 1144/1144) was produced by this route; those runs are only evidence for Rust if the binary really loaded, which the tool never asserts. - Evidence:
if (binding && process.env.RUST_ANYTHING_MODE !== 'old') { ... } else { module.exports = require("<fallback>") };check_moduleonly checksmanifest.language == Ts. - Fix / verification improvement: (1) make
index.cjsexport a non-enumerable marker (Symbol.for('rust-anything.backend') = 'rust' | 'original') and havediff --modulerefuse (or printBackend: original (0 cases exercised Rust)and exit non-zero) when the loaded module reportsoriginal; (2) honourRUST_ANYTHING_MODE=newin the generated loader by throwing the collectederrorsinstead of falling back (theenableblock already does this), and have the documented replay command set it; (3) print one stderr line on fallback whenRUST_ANYTHING_DEBUG/NODE_DEBUGis set. Mechanical self-test: package, delete the platform package, rundiff --moduleand assert FAILURE.
A5b-02 [H1][H2][H6] [HIGH] [CONFIRMED] package verifies nothing; stub crates package with exit 0; generated CI never runs a case
- Where:
src/package.rs:180-293(package),src/package.rs:970-1047(npm_yml),:903-968(wheels_yml),src/package/cli.rs:610-717(CLI workflow);docs/packaging.md:3. - What happens:
packagenever readscases.jsonl, the last diff result, the recording fingerprint,gate, or whethersrc/port.rsstill containsunimplemented!. The docs say "Once a port passesgate", nothing enforces it. The generated metadata says "Rust port of<unit>". The workflows build, then: napi "Load check" =require('./native.cjs').load()(binary loads, no function called); wheels "Import check" =import <module>; the CLI workflow has no check at all (build, copy,npm pack). Cross-compiled targets (darwin-x64,linux-aarch64wheels) havecheck: falseand are never loaded. - Failing scenario (run):
rust-anything bridge . src/shout.ts --out port --kind napithenrust-anything package port-> exit 0, writespackage/withpackage.json("Rust port ofsrc/shout.ts", version taken from the original'spackage.json), the five platform packages and the workflow;port/src/port.rsstill has 2unimplemented!. A fresh agent can publish this. Even a crate that passesdiffis packaged without anything tying the shipped artifact to that result (see A5b-03). - Fix / verification improvement:
packageshould refuse unless (a) a diff/gate verdict stamped with the hash ofsrc/+Cargo.lock+cases.jsonlsays 100% (or--force), (b)port.rshas nounimplemented!/todo!. Add a smoke step to each generated workflow that replays a small bundled slice ofcases.jsonlthrough the built artifact on every runner that can run it (node -eloop over cases for napi,python -cfor wheels,--versionplus 3 recorded runs for the CLI), and makes thecheck:falseplatforms say so in the job name.
A5b-03 [H1][H2] [HIGH] [CONFIRMED by reading] CLI package ships a release binary no replay ran, and its staleness check cannot see the ported code
- Where:
src/package/cli.rs:194-217,src/harness.rs:811-825(sources_newer_than),src/front_door.rs:669-690,709-722(cargo_build,build_and_replay),src/lift.rs:788,997,1052,src/drift.rs:81. - What happens: every check that replays a front door (
app front-door --check,app wire --check,drift,lift) builds with plaincargo build(debug,target/debug).packagecopiesapp/target/release/<bin>, which only exists if the user rancargo build --releaseby hand and was never replayed by the tool.sources_newer_than(app, &built)compares onlyapp/Cargo.tomlandapp/src/**/*.rs; the wired units are separate path-dependency crates (../api-rs), andCargo.lock/build.rs/dependency crates are not looked at. So editingport.rsin a unit after the last release build leaves no note, and the stale binary is copied. Even when it fires it is only a line innotes, exit code 0. Debug and release also differ in overflow checks. - Failing scenario: wire a unit,
cargo build --release, fix a mismatch inrust/api-rs/src/port.rs, re-runapp replay --build target/debug/...(green),rust-anything package rust/app: no warning, the shipped binary has the old port. Other platforms are built later in CI and never executed (the docs admit the generated workflows "have not been run on GitHub yet"). - Fix / verification improvement:
packageshould itself runapp replay --build <the exact file it copies>(or refuse without a stamp saying that file's hash passed); treat a stale binary as an error; compute staleness over the whole dependency closure (cargo metadatapath deps,Cargo.lock,build.rs) or simply compare the mtime to the newest file underrust/. Build the copied binary with--locked(the CI workflow does, the verified debug build does not).
A5b-04 [H1] [MEDIUM] [CONFIRMED, run] HTTP replay ignores extra response headers and skips ETag/Last-Modified/Content-Length/Transfer-Encoding
- Where:
src/http.rs:23-36(SKIP_HEADERS),:2285-2303(replay loops overspec.headersonly),:1793-1820(settle_headers),:480(HEAD body not read, soContent-Lengthof a HEAD reply is never compared). - What happens: replay checks
status, then only those headers that are in the recording. Anything the build adds is invisible.etag,last-modified,age,via,x-powered-by,server,date,content-length,transfer-encoding,connection,keep-aliveare never compared at all. - Failing scenario (run, against a recorded
Content-Type,Cache-Control,Set-Cookie,ETagserver): a build with noETag->2/2 cases passed; a build with the recorded headers plusAccess-Control-Allow-Origin: *,Content-Security-Policy: default-src *andContent-Disposition: attachment; filename=x.exe->2/2 cases passed. A changedCache-Controlor a differentSet-Cookieis caught (0/2), so the check is real for headers that are recorded. Clients do rely onETag/Last-Modified(conditional GET, caches), on CORS and security headers, and onContent-Lengthof HEAD. - Evidence:
for (k, expected) in &spec.headers { ... resp.headers.get(&key) ... }and no loop overresp.headers.tests/http.rsonly mutates a body message (division by zero->divide by zero); no test changes a header. - Fix / verification improvement: keep skipping volatile values but compare presence of
etag/last-modified/content-length(record them as[..]); report extra build headers as a separate non-zero "extra header" class (opt out with--allow-extra-headers); compareContent-Lengthon HEAD; add header-only mutation tests (drop, add, change one header) next to the existing body mutation intests/http.rs::check_language.
A5b-05 [H6][H2] [MEDIUM] [CONFIRMED, run] app record for a server drops failed requests, exits 0 with "Recorded 0 cases", deletes the previous recording, and records an all-5xx server as healthy
- Where:
src/http.rs:1967-1971((Ok(a), Ok(b)) = ... else { timed_out.push; continue }),src/app.rs:2166-2169(drop_stale),src/main.rs:1992-1994(message). - What happens: any request that errors in either of the two runs (connection refused, reset, read
timeout, server crash) is silently removed from the recording and reported as "Timed out, not
recorded" even when nothing timed out. If all are dropped the command still succeeds and
drop_staleremoves the earlier good cases. A server that is up but broken (missing DB, bad config) and answers 500 to everything is recorded as 100% valid 500 cases, with no warning. - Failing scenario (run): record a good server (2 cases), then re-record against a server that
accepts and closes connections: output
Recorded 0 cases,Timed out, not recorded: a, b,Removed, recorded before but not now: a, b, exit 0;app replaythen fails with "no HTTP cases". Separately, a server that returns500 {"error":"db connection refused"}for every route records2 cases, andapp replayis green (2/2) for any build that also answers 500. A server that crashes on one poisoned request silently loses every later request from the recording. - Fix / verification improvement: exit non-zero (or require
--allow-drops) when any case was dropped; say "no response (connection closed)" instead of "timed out" when the cause is not a timeout; refuse to replace a recording by one with fewer cases without--force; warn loudly when >= 50% of recorded statuses are 5xx (or the very first request is). Test: a server that closes connections must makeapp recordfail and leave the old recording intact.
A5b-06 [H6] [MEDIUM] [CONFIRMED, run] curl examples the parser does not understand are silently skipped at record time
- Where:
src/http.rs:1431-1615(parse_curl: unknown flag ->return None),:1872(examples). - What happens: README lines using
-u/--user,-I,-G,--data-urlencode,--compressed,--url,-T,-Lcombined with unlisted flags etc. makeparse_curlreturnNone; the example is dropped without a word.recordprints only the count of examples used. - Failing scenario (run): a README with six curl lines (
-u admin:secret .../admin,--compressed,-I,-G --data-urlencode,--url, one plain GET) records1 from examples; the authenticated admin route and four others are never recorded, so a port may break them undetected. Drift lists such examples only later (unrecorded_examples). - Fix / verification improvement: print every skipped example with the unsupported flag
(
skipped 5 curl examples: line 3 (-u)...), and support-u,-I(HEAD),-G/--data-urlencode,--url,--compressed. Test: README fixture with one of each unsupported flag asserts they are listed.
A5b-07 [H1] [MEDIUM] [CONFIRMED, run] SMTP effect canonicalisation collapses distinct non-UTF-8 text and ignores most headers
- Where:
src/mime.rs:13-66(onlyFrom/To/Cc/Subject+ leaf parts),:513-531(decode_charset: only windows-1252 and ISO-8859-1 are decoded, anything else isString::from_utf8_lossy),:117-118(is_attachment); used bysrc/effects.rs:1052. - What happens: a message in
windows-1251,iso-8859-2,shift_jis,gb2312, ... has its bytes replaced by U+FFFD, so two different texts of the same byte length compare equal. Reply-To, In-Reply-To, References, List-Unsubscribe, X-* headers, Content-ID, Date, Message-ID, themultipart/*nesting and the charset label are not part of the canonical form (Date/Message-ID deliberately; the rest not argued anywhere). - Failing scenario (run, copy of
mime.rsin a scratch crate): subject and base64 body of "Привет" vs "Прощай" in windows-1251 produce the identicalformat_emailoutput"Subject: ������\npart text/plain\n������\n"; a message withReply-To: [email protected]andX-Priority: 1formats identically to one without them. EnvelopeMAIL FROM/RCPT TOare recorded separately and are compared (so Bcc is covered). - Fix / verification improvement: decode with a real charset table (
encoding_rs) and keep an unknown charset's bytes as hex rather than U+FFFD; addReply-To,In-Reply-To,References,Content-Disposition,Content-IDand the multipart tree to the canonical form (or list the ignored header names in the recording so the user sees them); documentsmtp-rawas the strict mode. Test: two mails differing only in a windows-1251 word must not format equal.
A5b-08 [H2] [MEDIUM] [CONFIRMED] CLI package claims "the exact version that was recorded" and "byte-identical"; neither is recorded or checked
- Where:
src/package/cli.rs:1-4,159-162,364-437,592-607;src/app.rs:85-118(Confighas no original-version field);docs/packaging.md:88-93,104-105. - What happens: the pinned dependency is whatever
node_modules/<pkg>/package.jsonsays at package time, or whatever--original [email protected]says (only syntax is checked,ensure!(spec_name == name)). The recording never stored a version, sonpm updatebetween record and package, or a wrong--original, ships a package whose fallbacks run a different original than the recording, whilepackage.json/README say "byte-identical to prettier" and "the exact version the port was recorded against". - Fix / verification improvement: write the original's version (and
package.jsonhash of the entry package) intorust-anything.jsonatapp record;packageerrors on mismatch unless--allow-version-change; soften the generated description to what is measured ("replayed N of M recorded runs byte for byte") and generate that number only from a stamped replay.
A5b-09 [H2] [MEDIUM] [CONFIRMED] Android row is labelled "Tested" although the device diff is not covered by any repo test and 12 of 291 do not match
- Where:
docs/STATUS.md:21,36-37(also the translated copies of the page, e.g.website/pages/ta/docs/project/status.md:23,38);tests/android_device.rs:49-100;src/android_device.rs:329-390. - What happens: STATUS defines "Tested" as "covered by this repository's tests on fixtures". The
only device test is
records_a_kotlin_unit_on_a_connected_device: it silentlyreturns without device/kotlinc/SDK (so CI reports it green), and it coversrecordonly (cases > 20). No test callsandroid_device::diff. The 279/291 and "12 not investigated" came from a hand run on one Android 11 TV. The table's "Last real run" column says "none" for the same row. The tool behaviour is fine:main.rs:1342returns FAILURE whenfailed > 0, so 279/291 is not silently green. The labelling is the problem: 12 unexplained mismatches on a 32-bitarmeabi-v7alibrary (usizeis 32-bit there) may be real port divergences. - Fix / verification improvement: label the row "Not verified: 279/291 by hand, 12 unexplained";
give the device
diffits own guarded test that assertsfailed == 0for the fixture, and make a guarded test that fails (instead of skipping) whenRUST_ANYTHING_REQUIRE_DEVICE=1.
A5b-10 [H6] [MEDIUM] [CONFIRMED] CLI launcher and postinstall fall back / fail silently
- Where:
src/package/cli.rs:439-470(launcher),:541-573(postinstall),:472-539(native.cjs). - What happens: with no platform binary (
--omit=optional, musl, unsupported arch,RUST_ANYTHING_MODE=oldinherited from the environment) the launcher runs the original with no output and the original's exit code. The postinstall wraps everything intry {} catch {}and returns early on many conditions without a message. A user or CI that asks "is the Rust binary in use?" cannot find out except byfile bin/<cmd>. README and docs do describe the fallback, so this is documented behaviour, but it makes any "install and compare outputs" check unable to tell the two apart (the repo's ownports-npm.ymldoestest "$(file ...)" = ELF, a good workaround that generated workflows do not have). - Fix / verification improvement:
<cmd> --rust-anything-which(or envRUST_ANYTHING_VERBOSE=1) printing the backend; generated workflow asserts it; make postinstall log one line when it declines to swap.
A5b-11 [H1][H6] [LOW] [CONFIRMED by reading] Android build: partial install on failure, and ABIs the tool never runs
- Where:
src/android.rs:165-220,:20(DEFAULT_ABIS). - What happens: each ABI is built then installed into
jniLibs/<abi>/inside the loop; a failure in a later ABI (bail!) leaves the earlier ones new and the later ones from an older build, i.e. a mixed-versionjniLibs/with a non-zero exit that Gradle will happily package. The checks done per library are symbol presence and 16 KB alignment; only the device's own ABI can ever be diffed (android_device::diffusesro.product.cpu.abi), so the other default ABIs (armeabi-v7a,x86_64) are shipped with no behavioural check. Symbols present does not mean the function is ported (unimplemented!exports). - Fix / verification improvement: build all ABIs into a temp dir and install together, or delete the
requested ABI folders first; print "built, not run: armeabi-v7a, x86_64" in the report; refuse a
library whose crate still holds
unimplemented!.
A5b-12 [H1] [LOW] [PLAUSIBLE] JVM device driver compares exceptions by simple class name and drops uncallable cases when recording
- Where:
src/codegen_java.rs:759-768(same:expected.error_type == got.error_type, message never compared),:786-788(record:invalid/missingcasescontinuewithout a trace),:701-703(ClassNotFoundExceptionswallowed). Used byandroid_device::record/diff. - What happens: an error case matches on
getSimpleName()alone; a class that fails to load on ART (missing desugared library) records 0 cases with exit 0 (a laterdiffthen refuses with "no recorded cases", so it cannot pass vacuously). Owned by the JVM audit; noted because Android goes through the same driver. - Fix / verification improvement: include the message (with an opt-in normaliser) in the comparison;
have
recordprint how many generated cases were skipped as invalid/missing.
A5b-13 [H1] [LOW] [WEAK] HTTP replay never exercises connection-level behaviour
- Where:
src/http.rs:527-552(connect: alwaysConnection: close, one request per connection, Content-Length bodies only),:405-432(trailers read and discarded),:434-462(1xx other than 101 dropped),:498-500(bytes pastContent-Lengthtruncated silently),:1146-1155(strictly sequential). - What it means: a port that mishandles keep-alive/pipelining, chunked or
Expect: 100-continuerequest bodies, concurrent requests, streamed responses (SSE, chunk boundaries), trailers or 103 Early Hints, or that sends extra bytes after the declared length, passes.Transfer-Encodingis also ignored, so a streaming original answered with a buffered body passes. - Fix / verification improvement: a second pass per case on one keep-alive connection, and an opt-in concurrent pass (N identical GETs in parallel must equal the sequential answer); record and compare trailers.
A5b-14 [H5] [LOW] [PLAUSIBLE] Order, timing and bind hazards
src/http.rs:1891-1895,1929: cases are sent in string order of their names and{:03}is not padded past 999, so with more than 999 unnamed inputsinput-1000-*runs beforeinput-101-*; a stateful sequence then runs in a different order from the input file (record and replay agree, so no false pass, but the semantics are not what the author wrote).src/http.rs:1146-1155: effect sinks and fallback logs are read right after the response unless--paceis set, so a webhook sent after answering lands in the next case; flaky, not a false pass.src/http.rs:257-268,748-811:free_portbinds and drops, thenServer::startcheckslistening()and later accepts the first connection on the port; if another process takes the port in between and the child has not yet exited, the "ready" server can be a stranger. Window is small and the teststart_ephemeral_retries_...covers the PortInUse path only.src/front_door_http.rs:138: the generated front door binds0.0.0.0, not loopback; withapp replaythis exposes the proxied original on all interfaces for the duration of a run.src/front_door_http.rs:390: the proxy turns an upstream body read error into an empty body with the original's status (answer.bytes().await.unwrap_or_default()).- Fix: pad case numbers to a width that fits the count, bind loopback unless told otherwise, and map a failed body read to 502.
A5b-15 [H6] [LOW] [CONFIRMED] Runtime-dependent tests silently pass when the tool is missing
tests/http.rs(check_languagefor php/ruby/go/java/csharp,common::python()guards),tests/native.rs(common::have("node"),common::python()),tests/package.rs(node, npm, host key),tests/android_device.rs: eachreturns on a missing runtime, so a CI image without the tool is green. STATUS.md says which are skipped in CI, but there is no "ran N of M" gate.- Fix: a
RUST_ANYTHING_REQUIRE_RUNTIMES=node,python3,go,...env that turns each skip into a failure, set in CI for the jobs that install those runtimes.
Verification improvements for this area (ranked)
- Make
packagea verifier: refuse stubs and unverified crates, replay the exact artifact it copies (A5b-02, A5b-03), and add a one-case-per-function smoke step to every generated workflow. - Add a backend marker to generated loaders and make
diff --module/app replay --buildrefuse or flag a fallback (A5b-01, A5b-10). Cheap mutation test: remove the platform package, expect FAILURE. - Header mutation tests (drop/add/change each header) in
tests/http.rs, and compare presence of the skipped headers plus a report of extra headers (A5b-04). - Make
app recordfail on dropped requests / 0 cases / mostly-5xx, and list skipped curl examples (A5b-05, A5b-06). - Record the original's version at
app record;packagechecks it (A5b-08). - Real charset decoding and a fuller canonical form for mail (A5b-07).
- Re-label the Android rows and add a guarded device
difftest that assertsfailed == 0(A5b-09); install ABIs atomically (A5b-11). RUST_ANYTHING_REQUIRE_RUNTIMESgate for skipped tests (A5b-15).
Things checked and found sound (so nobody re-checks them)
- Replay cannot pass with a server that never starts, exits, or answers nothing:
Server::starterrors on early exit / no listen within--ready-timeout; a failed request in replay is ano responseproblem;load_specsrefuses zero cases. A fixed port that is already taken is refused before spawning (and in replay). Verified by reading and bytests/http.rs. - Server processes are stopped as a tree (TERM then KILL, ps-based, pid-reuse guarded), on error
paths, on
--readyfailure, and on SIGINT; covered by tests (a_server_started_through_a_wrapper...,an_interrupted_record_leaves_no_server_listening). - State between cases: servers are restarted fresh for both recording runs and for each replay;
--freshcopies a snapshot into a new cwd per start (tests/http.rs::http_fresh_files_and_arguments_reach_every_start); repeated named inputs are kept as separate cases; replay sends in the same name order as record. Without--fresha server that writes into the repo leaks state (documented pitfall; noise is reported as[..]and listed after record). - Status code, redirect
Location(redirects are not followed),Set-Cookie,Cache-Control,Content-Type/charset and every other header that was recorded are compared, with duplicate headers joined in order; body is compared as bytes/lines (not parsed JSON), so key order and whitespace differences fail unless the opt-in normalisers are used. A changedCache-Controland a changedSet-Cookieboth failed in my run. - Response framing: Content-Length (duplicates must agree), chunked, close-delimited, 100/103 skipped, 204/304/HEAD bodyless, per-response deadline, interrupted reads, malformed chunks are all unit tested and behave as stated.
--readyis validated before starting a server and a never-2xx server fails and is stopped (tests). Readiness through[::1]only is handled.- Port reuse between two recording runs with a fixed port:
end_treewaits until the processes are gone before the second start. package: output folder safety (stamp file, refusal of a non-empty foreign folder), npm name and version validation,--bin/--original/--fallbackrefusals per kind, Cargo.lock/build.rs copy for PyO3,--lockedin the CLI workflow, license files copied into every platform package, the CLIRUNparsing of rustfmt-wrapped arrays - all read and unit tested.- Android
build: API floor 26, NDK discovery ignoring half-installed NDKs, symbol check againstsrc/lib.rs, 16 KBLOADalignment check, stale-library refusal inandroid_device::diff, and device scratch cleanup on drop;diff --profile androidreturns a failing exit code for any failed case (src/main.rs:1342), so a partial match is surfaced as a failure when the command is run. docs/packaging.mdis candid that the generated workflows have not run on GitHub and that other platforms' binaries are untested; the ESLint 93 failing runs are listed, not hidden.