Development
Lifted out of the README so that file stays readable. Everything here is the same text, with its links repointed.
Build from source
Section titled “Build from source”Only worth it to contribute, or on a platform with no published build. Needs a Rust toolchain plus
cmake, nasm, perl and llvm (BoringSSL).
git clone https://github.com/illien-dev/svipallcd svipallcargo build --release./target/release/svipall browser install # optional, recommended: a dedicated Chrome for TestingThree things to know for a source build (svipall doctor reports browser and model availability):
- On Windows, set a short
CARGO_TARGET_DIR(e.g.C:\t) first: BoringSSL’s build paths run intoMAX_PATHand the failure is an unhelpful cmake error. .cargo/config.tomlsetstarget-cpu=native, so what--releaseproduces is for this machine only and can die with an illegal instruction on another. Release artefacts use--profile distwith an explicit baseline. Never ship what--releasebuilds here.- A clean clone carries no model weights. Model-dependent challenges require compatible supplied
weights or human assistance.
tools/models/export.pyreproduces the detector and segmenter. Model-enabled release jobs and thefullcontainer build run it. ONNX Runtime availability also depends on the platform, and--no-default-features --features impersonateomits local models.
No BoringSSL toolchain at all? cargo build --release --no-default-features builds without the
TLS emulation and the default local-model features, and falls back to reqwest. web_status(sections="browser") reports which engine
is live under http_engine. Asking for the emulating one explicitly on such a build is a hard error
rather than a silent downgrade, because a silent downgrade is exactly the failure that is hard to
notice.
The gate
Section titled “The gate”TDD: a test before every behaviour change, and it must fail without the change. cargo test --workspace must be green. The
2026-09-07 validation
passed 1,216 workspace tests, with zero failures and 22 ignored by default. Separately, ten
automatic/learning/timeout tests and four local browser tests passed with their ignored fixtures
enabled. HTTP/3 passed three tests with one network test ignored, and all four ONNX model tests
passed. Full QC also passed format, the Clippy feature matrix, CPU/structural budgets, 160 browser
probes, identity coherence and the available SIGIR-23 corpus floors. Source, model and corpus
hashes were stable. This validation contains the retained narrow heading change. Two broader
isolated prototypes were rejected after corpus regressions and were not integrated.
The 2026-09-06 validation
covers e60e10b plus a test-isolation correction and retains the initial shared-directory assertion
failure. The earlier revalidation records the
1,170-test dd8a304 run, installation/MCP checks and its initial cache-path/browser failures.
pwsh scripts/qc.ps1 # fmt, clippy -D warnings across the whole feature matrix, tests, # unused deps, CLAUDE.md size guard, perf budgets, extraction # floors, automation tells, identity coherencepwsh scripts/qc.ps1 -Fix # fmt + clippy --fixscripts/qc.sh is the bash equivalent. CI runs fmt, clippy across the feature matrix (including
--no-default-features and http3), the full test suite, the ONNX model tests, micro --assert,
fingerprint --engine chrome and unused-dependency checks on Linux, Windows and macOS.
Linux starts Xvfb for tests that open a browser window. Each platform runs its applicable installer;
file-size and plugin-manifest guards and the container
build run on Linux. CI is triggered by pushes to main, pull requests and manual dispatch.
Releases build five targets, smoke-test each binary they are about to
publish, attach sha256sums.txt with a GitHub build attestation, publish the workspace to
crates.io and the wrapper to npm, and push both container images to ghcr.io. See
Releasing for what starts one.
Two steps are the ones that keep this project honest, and both run offline: tells --assert
opens a page on loopback at five browser passes and fails if a checked probe detects a known
automation tell, and fingerprint --engine chrome checks identity coherence. Neither can
be satisfied by argument. fingerprint --engine chrome runs in both qc and CI; tells --assert
runs in qc only. The CI workflow does not invoke it. It checks local browser behaviour when
run, skips when no browser is available, and is not a green tick on a pull request. The extraction floors are likewise a
qc step and skip themselves, loudly, on a machine without the corpora.
cargo run -p svipall-bench --release -- \ micro [--assert] | tells [--assert] | fingerprint [--engine E] | extract [--corpus DIR] | evasion [--set hard12|public31|vendors8] [--runs N] [--exit URL] | h3 | h3-ref | cacheReleasing
Section titled “Releasing”Nobody writes a version number and nobody pushes a tag. Pull requests are squash-merged, so each
title becomes one commit on main, and release-please
reads those titles: feat raises the minor version, fix, perf and revert the patch, and a
! after the type the major. .github/workflows/release.yml is managed by
Nabu, the same file in every repository that follows its
standard, and on each push to main it does the rest:
- release-please opens the release pull request with the new
[workspace.package] versionin the rootCargo.tomland the new section ofCHANGELOG.md. - On that branch,
scripts/sync_version.pycopies the number into every member manifest, every internal dependency line, the plugin manifest, the npm wrapper andserver.json, andcargo update --workspaceupdatesCargo.lock. Then the pull request is merged, and the tag and a draft GitHub release are created. release-assets.ymlruns from the tag while the release is still a draft. It waits forcion the tagged commit, checks withsync_version.py --checkthat the tag agrees with itself, builds and smoke-tests the targets, exports the models, renders the.deb,.rpmand package manifests, attaches everything with its checksums and provenance, and builds both container images by digest.release.ymlmakes the release public. Nobody can download one that is missing a file.release-channels.ymltakes it everywhere else: the Homebrew tap and the Scoop bucket, npm, crates.io, the image tags, the MCP Registry and the site.
crates/svipall/tests/release_version.rs fails the build when any copy of the version drifts.
Each of those files is a different way to be wrong: Claude Code silently keeps a cached plugin when
plugin.json names a version it has already seen, the npm postinstall builds its download URL
from its own version, and crates.io rejects a path dependency carrying no version.
A failed job leaves the draft. “Re-run failed jobs” on that same run finishes the release; a new run releases nothing for that version.
npm and crates.io both publish over OIDC, with no stored secret: each registry was told on its own
site that this repository and release.yml may publish, and a workflow that release.yml calls
publishes under its name. Both steps skip a version already on the registry, so re-running is
safe. Publishing to crates.io cannot be undone (there is no unpublish, only yank), which is why
the crates go up one at a time, in dependency order, after the release is public.
Every member is published except bench. That includes the two vendored forks, svipall-cdp and
svipall-quic: crates.io resolves every dependency of a published crate, optional ones included,
so svipall and svipall-http cannot exist there while either fork is missing. Their
UPSTREAM.md is their readme for that reason.
Contributions are taken under the DCO and the CLA, with no copyright assignment. See
CONTRIBUTING.md and CLA.md.
Written from docs/development.md at v2.11.0.