Validation
Current baseline
Latest recorded gates on the Windows x64 development host (clang-cl and LLVM SDK
23.1.2, /MT, _ITERATOR_DEBUG_LEVEL=0):
| Check | Result |
|---|---|
Fast gate (2026-11-22, -j 12) | 375/375 in 103 s with kept compile caches, 532 test-seconds; baselines |
Full gate (same day, -j 12, 512 tests) | 507/512 in 2536 s, 14700 test-seconds; the failures are listed with the baselines |
check-quality-all (same day, tree with uncommitted distribution work) | Clean: Lizard 0 warnings over 15628 functions, clang-tidy 779 units |
| Fresh combined Debug CTest (2026-10-14) | 299/300 passed; the failure is the known codegen_measurements IR size bound; codegen_resource_cli is disabled |
check-quality-all (same run) | Clean; Lizard CCN 10 |
Opt-in OTP audit tests (2026-10-14, pin d199a49a01a2, oracle OTP 29.1.1) | 17/17 |
regenerate.py --corpus all --check (same) | 19/19 corpora reproduce |
Gate baselines
Windows x64 Debug, 32 logical processors, ctest --parallel 12 (six tests at
once) at below-normal priority on 24 of them, 2026-11-22 (commit 202f09b9). Seconds are a test's wall time inside the loaded gate.
| Tier | Command | Tests | Wall time | Test-seconds |
|---|---|---|---|---|
| Fast gate | ctest --preset debug-fast | 375 | 103 s with kept compile caches; 216–274 s right after a clau relink | 532 |
| One area | ctest --test-dir build/debug -C Debug -L mnesia | 22 (mnesia) | minutes: every case of the area, also the full_only ones | |
| Full gate | ctest --preset debug -j 12 | 512 | 2536 s (42 min) | 14700 |
- Earlier the fast gate ran 493 tests in about 30 minutes (1792 s on
2026-11-07); the first full gate of the day took 5716 s
and 33500 test-seconds, with 21 cold
-O2compiles over the runner's limit. - Full gate by group, test-seconds:
mnesia_*3170,dist_*andepmd_*1734,ssl_*1296, other golden cases 7325, all other tests 1135. CTest starts the costliest tests first: the first 100 to finish took 27 of the 42 minutes. - Fast gate, 20 slowest:
frontend_cli10.8,transforms_project9.3,transforms_pipeline7.1,transforms_no_otp6.9,patternmatch_patterns6.8,executables_ets_portions6.5,executables_forward_lists6.2,linking_project6.2,codegen_options6.2,linking_executable6.0,executables_dist_start5.9,parser_mutations_05.7,linking_debugger5.6,executables_ets_concurrency5.2,executables_public_key_certs5.0,executables_ssl_engine5.0,executables_many_ports4.7,executables_public_key_ocsp4.7,executables_public_key_path4.7,library_types4.7. - Full gate, 20 slowest (all golden cases of 133 modules, four cold compiles
each):
mnesia_replicas178,mnesia_dirty167,mnesia_remote_checkpoints157,mnesia_events151,mnesia_partitions149,qlc_queries148,mnesia_disc_masters145,mnesia_two_phase143,mnesia_disc_nodes142,mnesia_dir_exchange142,mnesia_connect141,mnesia_merge141,mnesia_remote_frag140,mnesia_remote_dirty140,mnesia_remote_backups139,mnesia_disc139,mnesia_remote_locks139,mnesia_remote_queries138,mnesia_backups137,mnesia_transactions136. Slowest other tests:linking_exports125,codegen_dependency88,parser_consumer88,runtime_generated_link80,linking_runtime_options_full76,linking_shell_session52,linking_crypto_minimum47,linking_crypto_source38. - Every test's cost: CTest keeps its average per test in
build/debug/Testing/Temporary/CTestCostData.txtand the last run's times inLastTest.logbeside it; rank the former after a gate. - Full gate failures of that run:
codegen_measurements(annotated IR over its size bound) andlibrary_freshness(ssl_crl_cache_api.termsagainst the host OTP), both known;executables_runtime_args_files(uncommitted work on-s/-runin the tree);executables_mnesia_remote_checkpoints(two checkpoint deactivation events in the other order than OTP's, intermittent; open);executables_inet_res_queries(its UDP port's TCP twin lay in a port range Windows excludes; fixed after the run, 1600 of 1600 runs).
Running the gate
From an x64 Visual Studio developer shell with C:\Program Files\LLVM\bin on
PATH (automatic SDK selection reuses thirdparty/):
cmake --preset debug --fresh -DBUILD_TESTING=ON -G Ninja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
cmake --build build/debug
ctest --preset debug-fast # during development
ctest --test-dir build/debug -C Debug -L mnesia # one area's golden cases, for library work
ctest --preset debug -j 12 # full mode, at feature completion
cmake --build build/debug --target check-quality # changed files, one unit per header
cmake --build build/debug --target check-quality-all # whole tree
CLAUSE_TEST_MODE=fastruns golden corpora at O0 positional plus O2 project, runs mutations once and skipsfull_onlytests (separate consumer projects such asruntime_generated_link, measurements, the host-OTPlibrary_freshnessaudit, and the slow workflowslinking_lto,linking_exports,linking_compile_cache,programs_compile,transforms_cache,printing_source, and the linking parts split from fast tests below). Full mode (default) runs all driver/policy combinations; a heavy golden case links each policy once there (below).- Gate rule: a test that takes more than about 10 s alone is
full_onlyunless it is in the smoke set of golden cases (about one heavy case per area, with its time alone, intests/compiler/executables/areas.cmake). Every golden case carries one area label (mnesia,dist,ssl,public_key,crypto,file,kernel,stdlib,tools,core), so library work runs its area withctest -L <area>; a case without an area fails configuration, and newmnesia_,dist_,epmd_andssl_cases arefull_onlyby rule. - A check runs once, in the cheapest test that reaches it:
only
codegen_registration_O2builds a consumer without the runtime and expects the link to fail onCLAUSE_register_module_v4; the pattern-match drivers emit one 32-bit object (i686-pc-windows-msvc) of their corpus, while object formats and ABIs per target arecodegen_cross_targets'; semantic rejection rows compile under one policy with both drivers, since the driver reports them inanalyze()before code generation reads the policy. Fast mode runscodegen_service_*andcodegen_failure_*asO0-offandO2-on,codegen_registration,codegen_native,codegen_after_faultandcodegen_literal_heapat O2, andcodegen_examplesat O0 and O2; the other variants arefull_only. - Long tests driven by a Python or CMake script carry a fixed CTest
COST: CTest learns a wrapper's cost from its own small CPU time and would start them last. - Load-sensitive tests (
CLAUSE_LOAD_SENSITIVE_TESTSin the topCMakeLists.txt:frontend_cli,codegen_examples,linking_debugger, and the executable casesapplications,ets_portions,gen_statems,interpreted_modules,many_portsandsupervisors) only timed out or lost timing races under a full parallel run. TheyDEPENDSon every other test, so they start after the rest of the selection finishes and have the processors to themselves; a failing dependency does not skip them. They reserve four CTest slots instead of two, so half as many of them run at once. - The executable golden runner gives each
clauit starts--jobs 2and compiles two policy combinations of a case at once, in both modes: four threads on the case's two CTest slots, so-j 12asks for 24. The runs of up to four combinations overlap. Four compiles at once made the full gate ask for twice the CPU budget: 21 cold-O2compiles passed the runner's 300 s limit. - A heavy golden case (
full_only, or in the smoke set) links each of the four policies once in full mode, the drivers alternating (O0 positional, O0-off project, O2 project, O2-off positional) instead of each policy with both drivers. Its time is the cold compile of 80 to 200 library modules per combination (83 modules: 23 s at O0, 60 s at O2), and both drivers compile the same modules with the same options, so the second driver repeated the compile. Light cases keep all eight combinations. Measured over all 295 cases, run time was about 12% of the golden cases' full-gate time and cold compiles the rest. - Run time of long tests: 32 golden cases wait for the event they need instead of sleeping, block a callee until the caller's timeout has fired instead of racing a sleep, start refused connections (2 s each on Windows) early or in parallel, and use iteration counts just above the threshold they test; the rules are in the fixtures README.
- The three OpenSSL source builds (
linking_crypto_source,linking_crypto_minimum,linking_fips_real; minutes of serialnmakeeach) keep their builds across runs (tests/compiler/linking/kept_openssl.py): a test empties its work directory but for the kept build, which is rebuilt when the source tree, the recorded recipe orcompiler/src/linking/openssl.cppchanges.linking_crypto_sourcestill checks on every run that a second build of the same tree reuses the first.codegen_dependencyconfigures the runtime-only build without LLVM and leaves building it toruntime_generated_link, which builds every runtime target. - In fast mode the golden runner keeps each case's
build cache in
<work>-cachebeside its work directory, shared by both drivers: an unchanged case replays its compile and only links and runs (file_io56 s cold, 2 s warm). A rebuiltclauor an edited source replaces the case's entries, so the caches stay at one generation. Full mode compiles cold, so the full gate keeps cold compiles covered;--ltoand other-target runs compile cold too. - The golden runner deletes a case's work directory (its executables and
per-run cache) once the case passes or skips, since each run recreates it.
A failed case keeps it for debugging, and
<work>-cachealways stays. - A program that links kernel/stdlib compiles about 83 modules, about 10 s
alone, so a fast test links at most one and keeps its link-free checks; the
other links are a
full_onlytest of the same driver with a mode argument:linking_shell/linking_shell_session(--shelllink and session),linking_crypto/linking_crypto_source(every crypto link),linking_fips/linking_fips_providers(provider builds),linking_runtime_options(one build) /linking_runtime_options_full(refused built-in word, distribution, kernel services). Positional compiles of one driver share a--build-dir, so a batch rebuilt with another OpenSSL or provider replays its compile.linking_runtime_optionsandproject_applicationskeep their build cache beside the work directory in fast mode, as the golden runner does (11 s and 12 s cold, 2 s and 3 s warm).library_typeschecks remote types with--print-types, which reports an undefined remote type as a link build does, without code generation. transforms_host_setup(fixturetransform_host) builds Clause's transform host before the tests that start it, so they do not wait for its lock holding their slots:transforms_pipeline,transforms_no_otp,transforms_projectand the executable cases that compile a transform, whose sources other than an.erlwith an.abstrbeside it have a-compilenamingparse_transformor includems_transform.hrl,qlc.hrlormerl.hrl(merl_templates,mnesia_events). It starts first and reserves eight slots; with a built host it takes a fraction of a second.- Where the host is built (2026-11-22, measured alone):
the setup takes 31–33 s after a
clau, runtime or library change and 0.2 s otherwise; its fast dependents take 5.4, 5.3 and 7.5 s with a built host. Cases compiled from an.abstrand runtime calls ofcompile:forms/2or a transform'sparse_transform/2never start the host, nor dotransforms_build_dirandtransforms_cache(they pass--erl), so they no longer wait for it. The host stays a fast test, not a build target: as a target every build after a library edit would spend those 33 s even when no transform test runs, and the fast gate keeps running library transforms in Clause's own host. CLAUSE_TEST_TIMEOUT_SCALE=Nmultiplies the per-run limits of the golden runner (60 s) and the semantic case runner (15 s) for instrumented builds.check-quality,make formatandmake-format.batcover files changed sinceHEADplus untracked files;cmake/quality_scope.pyadds, for each changed header, one translation unit that includes it (its own source, else its first user, from Ninja's dependency data of any configuration; the header's other dependents are left tocheck-quality-allin the full gate) and, for clang-tidy, units whose compile command differs from the one the last passing run recorded (.state/quality/<build directory>/tidy-commands.json, in the ignored.state/directory thatmake cleankeeps), so a build rule edit rechecks only the units it changes. Each passing batch merges its units into that record, so after a failing run the next one rechecks only what did not pass. Changes to.clang-tidy,CheckClangTidy.cmake,tidy_filter.pyor the quality toolchain template select everything, as do build rule edits before the first recorded run. The scope scripts (quality_scope.py,QualityScope.cmake) andCMakeLists.txtedits that only add, remove or comment source files do not.CLAUSE_OPTIMIZED_COMPILER(default ON) compilesclauand the compiler libraries optimized in Debug builds too, keeping their debug information and the Debug inference budgets; tests spend most of their time inclau. When a compiler crash needs stepping through, configure with-DCLAUSE_OPTIMIZED_COMPILER=OFF, rebuild and rerun the failing test.- Test programs carry no debug information (no PDBs); configure with
-DCLAUSE_TEST_DEBUG_INFO=ONto rebuild them for a debugger. Nested native consumers link the parent build's runtime throughClauseRuntimeTargets.cmakeinstead of compiling it again; onlyruntime_linkbuilds the runtime standalone. - Thresholds and suppressions are never raised to pass the gate. Two third-party
exceptions are configured (user decision):
cmake/tidy_filter.pydrops static analyzer reports located in Boost headers (Boost.Multiprecision limb-storage false positives on Linux that rewriting the calling code only moves) and counts them in the output, andbugprone-exception-escapeignoresbad_array_new_length(MSVC's map/set move constructors allocate; allocation failure is fatal anyway). - clang-tidy checks project headers on every host: the header filter accepts
/and\separators.
Linux
The same gate runs on Linux with the pinned LLVM 23.1.2 Linux SDK as host
compiler (CC/CXX from its bin/), the system libstdc++, Ninja and CMake
3.28 or newer. Boost 1.90 and toml++ 3.4.0 come from installed packages or are
extracted into thirdparty/ (boost_1_90_0/, tomlplusplus-3.4.0/); only
Windows downloads them. The release archive's ld.lld links ICU 70 (Ubuntu
22.04) and its lldb links Python 3.14; on hosts without them linking_lto
needs ICU 70 on LD_LIBRARY_PATH, and linking_debugger uses GDB.
cmake --preset debug --fresh -G Ninja -DBUILD_TESTING=ON
cmake --build build/debug
ctest --preset debug -j 16
check-quality (Lizard, clang-tidy) runs on the Windows development host only;
other hosts build and run the tests (it was clean on Linux once, see
history).
Other targets
32-bit and ARM targets are checked without a compiler built for them (no LLVM SDK exists for those hosts):
- A runtime-only build (
-DCLAUSE_BUILD_COMPILER=OFF -DBUILD_TESTING=ON) for the target runs the runtime and ABI tests there: natively, in a target userland (chroot), or through the host's emulator (qemu binfmt). tests/compiler/executables/cross.pyruns every executable golden and program fixture with this host'sclau,--target-triple, that build's runtime archive and a--linkerthat reaches the target's libraries (run.py --target-optionpasses them through).
Fixtures and provenance
- Normal builds and tests need neither OTP nor its source checkout. Goldens were generated once from OTP and are committed with hashes; hash checks run before any fixture is used.
- Nineteen pattern/guard corpora hold 67,748 native expected values/errors and 106 semantic acceptance rows. Each native corpus runs positional and project drivers at O0/O2 with specialization on/off, local and remote calls; rejected rows run both drivers at O0.
- Committed Erlang inputs are locally authored
(
tests/fixtures/patternmatch/fragments/, preprocessorsemantic/headers/);fixture_sourcesenforces isolation from OTP sources. - Six end-goal program fixtures (
tests/fixtures/programs/) hold OTP stdout/exit-status goldens and their compile diagnostics;programs_compilechecks them OTP-free andtests/compiler/programs/regenerate.py --checkreproduces them under OTP (fixture map). - Term printing goldens (
tests/fixtures/printing/) hold OTP~wanderlang:display/1text for 9,542 values plus OTP stdout of compiled display calls;tests/compiler/printing/regenerate.py --checkreproduces them (fixture notes). - Executable golden cases (
tests/fixtures/executables/) are source directories plus onegolden.jsonwith OTP stdout/exit status and an authored stderr pattern;tests/compiler/executables/run.pylinks and runs each under the policy/driver matrix (CTestexecutables_<case>), andregenerate.py --checkreproduces them under OTP (case notes). - Regeneration and live audits are explicit:
-DCLAUSE_OTP_AUDITS=ONandtests/compiler/patternmatch/regenerate.py(instructions). Nothing refreshes goldens or the pin silently.
Test design
Behavior is tested through the real CLI, emitted objects, linked native consumers and OTP goldens. Focused unit tests remain only where source cannot reach the state, each with its purpose stated in the test:
- Injected budgets and allocation/IO faults (
project_limits,project_creation_failure,codegen_limits,codegen_write_failure,runtime_lifecycle_failure, generated-call fault seams). - Private ownership, invalid/stale handle and rollback invariants in the parser, semantic type graph and backend.
- Raw word validation and 32/64-bit term boundaries (
runtime_immediate,abi_integers). - Diagnostic sink failures and the stable feature ID snapshot.
A condition that neither valid source nor a linked consumer can reach is an
assert in the product code (active in Debug), not a test; a constant table is
a static_assert (the term tag table in runtime/src/terms/immediate.cpp).
Filesystem capability cases (links, case aliases) report per-case skips; they never stand in for a whole-test pass.
Platform and sanitizer status
- Native generated-code execution: Windows x64; Linux x86-64. 32-bit and ARM results (runtime tests and cross-linked goldens) are in the history.
- Apple Silicon: not validated since the backend exists.
- Compiler and runtime ASan, UBSan and LeakSanitizer: Linux x86-64, one combined
Debug configuration
(
-fsanitize=address,undefined -fno-sanitize=vptr -fno-sanitize-recover=undefined), full CTest withCLAUSE_TEST_TIMEOUT_SCALE=10(instrumented code runs several times slower): no sanitizer report. The compiler, the runtime and the test programs are instrumented; programsclaulinks take the sanitizer runtime from aclang++wrapper onPATH, their generated code is not instrumented. The four injected host-refusal tests (codegen_failure_*,runtime_lifecycle_failure,runtime_memory) are outside ASan's scope: itsoperator newaborts on an impossible size instead of throwing. - ThreadSanitizer: Linux x86-64, the same instrumentation scope with
-fsanitize=thread; full CTest and the concurrency tests five times each report no race. Out of scope as well: the two tests that replaceoperator new. - On Windows the prebuilt LLVM SDK still conflicts with instrumented code
(
annotate_string0 vs 1). - Runtime-only ASan passes on Windows with Release probes,
/EHsc /fsanitize=address,/MT, Clang's ASan import library and static runtime thunk, and the ASan DLL onPATH. - Historical macOS arm64 runs (2026-09-19/20) passed full Debug, C++26, ASan+UBSan, compiler-only and runtime-only builds for the parser and project stages; they predate the backend.
Benchmarks
Manual performance comparison with Erlang/OTP. It is never part of CTest, the
commit gate or check-quality, and only it needs a host Erlang/OTP; results are
host-specific evidence, not gate results.
make-benchmark.bat # Windows; set JOBS=N to cap parallel builds
make-benchmark.bat --repeat 9 --only bench_gc,bench_msg
make-benchmark.bat --cpus all # unpinned set; default --cpus performance
make-benchmark.bat --baseline HEAD # performance work: HEAD vs the working tree
make benchmark BENCH_ARGS="--repeat 9" # other hosts
- Both configure and build
build/benchin Release (the default target, with testing off:clau, the runtime archives, the bundled epmd and the generated library modules), then runbenchmarks/run.py(--helplists its options). - Programs:
benchmarks/bench_*.erlwithbench_util.erl, built unchanged byerlcandclau -O2. Each times its kernels witherlang:monotonic_time/1after one warm-up call and printsBENCH <name> <nanoseconds>: data generation, data processing, garbage collection, message passing, file I/O (in an empty temporary working directory underbuild/bench/runs, inside the repository so that a repository antivirus exclusion covers it), loopback sockets, loopback TLS 1.3 (ssl.: echo round trips, handshakes, a bulk transfer), distribution (dist.: ping-pong, data exchange, remote spawns and reconnects against a peer node the program starts, a copy of its executable or OTP'serl;dist_tls.: the same overinet_tls_distbetween two started nodes, OTP only until Clause's TLS distribution) and libraries (libraries.qlc:qlc_pttransforms of queries and modules shaped likeqlc_SUITEcases, timed together) and float loops (float.: accumulators, mandelbrot, comparisons with a parameter, unary minus andfloat/1,is_float/1guards, floats crossing calls) and the slow paths the long-test review found (paths.: ETS bulk operations and portions, small-map updates through variable atom keys, raise and catch, the process dictionary, unicode forms and list probes, at the sizes the review measured, so some last only milliseconds). Iteration counts make every kernel last 1-2 s on OTP, so timer resolution and host noise stay small against it; socket kernels grow the work per connection, not the number of sockets. Untimed, the warm-up and the timed calls each wait until the processes they spawned have exited (processes_lefterror after 10 s). Each kernel runs in its own fresh process, which exits before the next kernel starts, so no kernel pays for heaps an earlier one grew. run.pygives the runs their own epmd port (ERL_EPMD_PORT, a free port, unless set) on loopback (ERL_EPMD_ADDRESS): another epmd may hold 4369 (WSL forwards it on Windows), and loopback listeners raise no firewall prompts.bench_diststarts OTP's epmd itself and stops it with-kill; Clause's bundled epmd starts with the first registration.- Every program run is its own Windows job object or POSIX session; the next run starts once all its processes are gone, and leftovers still alive 30 s after exit are killed and reported as a failure.
- CPUs: every process of a run, OTP's and Clause's alike, runs on the
--cpusset:performance(default: the cores of the highest WindowsEfficiencyClass, Linux/sys/devices/cpu_core/cpusor largestcpu_capacity, so the P-cores of a hybrid CPU and every CPU otherwise),all, a list such as0-15or2,4,6, or a hex mask such as0x5554. On Windows the run's job object carries the affinity limit before the program resumes, on Linux the program sets it beforeexec; macOS cannot pin and runs unpinned. Both OTP and Clause start one online scheduler per CPU of the set, unbound to single CPUs. The report header and each history record (cpus) name the set; ratios of runs on different sets are not comparable. - Systems, on the same host in one run, interleaved: OTP with its default flavor
(JIT), OTP
-emu_flavor emuwhen installed (the Windows installer ships only the JIT, so those columns readn/a), Clause HEAD at O2 and with--lto, and only with--baseline REVanother Clause commit, built in a cached worktree underbuild/bench-base/<hash>that sharesthirdparty/. A baseline is for performance work:--baseline HEADmeasures the committed code against the uncommitted changes inbuild/bench. The day-to-day trend comes from the history, not from a baseline. - Report: per kernel the median of
--repeatruns (default 3) in milliseconds with six decimals and its spread, the change of Clause O2 against each system (+N%: Clause faster, the other takes N% longer;-N%: Clause takes N% longer;(Fx)the time ratio) with a geometric mean,--ltoagainst OTP and O2, program wall times including startup, executable sizes, failures and timeouts (--timeout, 600 s per run). A default run measures for about 15 minutes. - Executable sizes, in bytes: every program at
-O2, with--ltoand at-O0(an extra build only measured, never run; both skipped by--no-lto) and any baseline at-O2, with a total row and the changes O2 vs O0,--ltovs O2,--ltovs O0 and O2 vs baseline (-N%smaller); andclauat HEAD and the baseline. The history keeps them assizes_bytes(programs: program → column → bytes,clau:head/baseline→ bytes;nullwhere a build failed). - History:
benchmarks/history/<host>.jsonkeeps one record per run day (run date, HEAD hash and commit date, Clause, OTP and any baseline medians, sizes, and Clause's time ratiosotp_ratioandbaseline.ratioper kernel),benchmarks/history/reports/<host>/<day>-<hash>.txtthe text reports; a rerun on the same day replaces both. Records and reports run more than 183 days before the newest are pruned; a run with uncommitted source changes is reported but not recorded. The report's history tables show the ratios of the last 8 run days, which stay comparable when kernels change their work; records from before the 1-2 s rescaling keep only their ratios. The history directory is gitignored: it stays on the host that ran it. - Listings: with
--listings, before measuring, a run writes each program's--print-asmand--print-irlistings (withbench_util,--entry <program>so unreachable library code is left out as in the executable) beside the reports as<program>.debug.asm/<program>.debug.ll(-O0) and<program>.release.asm/<program>.release.ll(-O2, the code theclause-o2column runs), replacing the previous run's listings,--no-historyand uncommitted changes included.--print-iris the IR before the LLVM pipeline; the assembly comments quote the IR after it. A program that fails to compile loses its stale listings.
History
Condensed from the former per-step records (originals in Git history up to
commit 2777c98). Unless noted: Windows x64, LLVM 23.1.2, pin 21776803ecd1,
oracle OTP 29.1.1 / ERTS 17.1. Test counts are full CTest passes with zero
skips.
| Date | Milestone | Tests | Quality units | Notes |
|---|---|---|---|---|
| 2026-09-19 | Parser phase VI (macOS arm64, OTP 29.1 751f87b7, oracle 29.0.5) | 46 | full | 344/344 productions witnessed; 10-file corpus |
| 2026-09-20 | Projects (macOS arm64) | 64 | full | Debug, compiler-only, ASan+UBSan |
| 2026-09-28 | Test migration to CLI workflows; Windows gate repair | 75 | full | parser_hardening stack overflow fixed with an 8 MiB stack; Lizard + clang-tidy clean |
| 2026-09-29 | Compiler milestone steps 1–46 | 103 | 182 | Compiler-only 80, runtime-only 16, runtime ASan 16 |
| 2026-10-01 – 10-03 | PG1–PG20 pattern/guard plan | 104–131 | 189–258 | ABI revisions 2–4; PG15a made goldens OTP-free (audits opt-in, 131 → 118 tests); closed at 19 corpora, 67,634 values, 1,969 seeded outcomes |
| 2026-10-03 | OTP source audit | 125 | 258 | Copied OTP files replaced by local fragments; 60-token window comparison against 4,150 OTP Erlang and 1,190 C/C++ files found no overlap besides a generated integer tuple |
| 2026-10-03 | Plan 11 step 1 baseline (commit b1a471f, pin 21776803ecd1, Lizard 1.24.0, clang-tidy 22.1.8) | 125 (122 fast) | 258 | Full 729 s serial, 85 s -j 16; 14/14 audits; 19/19 corpora; foreign O0/O2 objects inspected for 7 targets |
| 2026-10-03 | Steps 2, 4: program fixtures, term printing | 126–128 | 265 | Six OTP program goldens; 9,542 ~w/display goldens |
| 2026-10-04 | Steps 8, 8I: executable runner, classic heap (phases B, C closed) | 138–144 | 272–276 | Full -j 16 235–370 s |
| 2026-10-04 – 10-05 | Steps 9–20: case, if, raises, catch, try, stack traces, maybe (phase D closed), recursion, frames and tail calls | 146–158 | 277–278 | Fast and affected full-mode tests per step; full -j 16 155/155 in 259 s at phase D |
| 2026-10-06 | Steps 21–28: comprehensions (phase E closed), roots and collection, memory and term limits (27A–27E), graph copies | 159–166 | 278–281 | Full -j 12 105–275 s; step 27 removed default memory caps |
| 2026-10-07 | Steps 29–35: records, native records (ABI 6), funs (ABI 7), closures, named funs, dynamic calls (ABI 8) | 167–177 | 283–290 | Full -j 12 119–152 s |
| 2026-10-09 | Step 63 Linux x86-64 (WSL2 Ubuntu 25.04, glibc 2.41, LLVM 23.1.2 SDK clang, libstdc++ 14, GDB 16.2) | 235 | 338 | Full CTest 235/235 in 161 s; Lizard and clang-tidy clean on Linux (7 analyzer reports in Boost headers ignored); Windows gate 235/235 with headers checked |
| 2026-10-09 | Step 64 32-bit: Windows x86 (WoW64, clang-cl) and Linux i386 (Debian 13 chroot, clang 19) | 42 + 65 goldens | — | Runtime/ABI tests 42/42 natively on both; cross.py goldens 65/65 on both (integer_limit 64-bit-only runs skipped) |
| 2026-10-09 | Step 65 Linux arm64 and armhf (Debian 13 sysroots, qemu-user 9.2) | 42 + 65 goldens | — | Runtime/ABI tests 42/42 each; goldens 64/65 each (port_spawn enoent: qemu posix_spawn gap), run limit 900 s |
| 2026-10-10 | Step 67 ASan + UBSan + LeakSanitizer (Linux x86-64) | 235 | — | No sanitizer report; four injected host-refusal tests outside ASan's scope; CLAUSE_TEST_TIMEOUT_SCALE=10 |
| 2026-10-10 | Step 68 ThreadSanitizer (Linux x86-64) | 233 | — | One lock-order inversion fixed (Executor::clear); then no report in full CTest and 15 concurrency tests x5 |
| 2026-10-10 | Steps 65A–65C: behaviours, module_info/0,1, imports | 234–236 fast | 342–344 | Lint and executable goldens reproduce under OTP 29.1.1 |
| 2026-10-11 | Steps 73A–73G parse transforms | 242/243 fast | — | Known codegen_resource_cli failure, since disabled |
| 2026-10-12 | Steps 62D1–62E build directory and caches | 263/264 | all | Full CTest, known codegen_resource_cli failure; check-quality-all clean |
| 2026-10-13 | Steps 58U–58W inference cache | 278/279 | all | Full CTest, known codegen_measurements failure; check-quality-all clean |
| 2026-10-14 | Step 41S prim_eval and the luerl rerun (H3 closed) | 299/300 | all | See current baseline |
| 2026-10-17 | Plan 20 OPTM.2 (one-word Term, persistent terms in place and reclaimed) and OPTM.3 (unchecked accessors) | 330/332 | all | Full CTest: known codegen_measurements failure, and library_freshness (host OTP) still expects the not_implemented stub bodies that b0e62a38 replaced; check-quality-all clean |
| 2026-10-19 | Plan 21 LIB10F ThreadSanitizer (Linux x86-64): ETS and digraph goldens, runtime_concurrency | 10 | — | No report; ets_portions on one worker showed a delete freed in two portions, fixed by costing a freed object as a walked one |
PG = pattern/guard step.
Clause