Skip to content

v0.9

Choose a tag to compare

@cristianoc cristianoc released this 03 Nov 23:15
· 471 commits to main since this release

TScert is a research verifier for type claims about TypeScript functions. A certificate is accepted when it passes an independent checker whose soundness is proved in Lean.

v0.9 meets the 90% front-end function coverage threshold. The complete tools/ census verifies 628 of 684 functions (91.8%), compared with 556 of 679 (81.9%) at v0.8. Counted statement coverage is separately 9,488 of 15,914 (59.6%), compared with 7,089 of 15,725 (45.1%) at v0.8.

The measurement is the main census of 1589e590, the tagged commit, taken on 2026-11-03 with a 1,800-second stage limit; v0.8's census used 600 seconds. The headline counts named top-level function declarations with bodies in tools/, once each; each function's slice includes the bodies of the same-file functions it calls, and imported functions are used at their declared types. Unsupported, unverified and timed-out functions remain in the denominator. See the function and release metric, statement metric and work ledger.

  • The expression lowering's recursive group (fragment-expressions.mts) verifies, along with the claim printers, the type readers' guard dispatch and narrowing, the declaration graph's resolution helpers, the shadow prelude and the computed types' indexed access.
  • A fresh URL's href and a caught value's own string message are read through audited intrinsics. The href read relies on an owner-approved host assumption; the message read is a runtime check that adds no trust.
  • The stated effects of numberOfBits, nameOf, errorBase, Gate.termScope, Gate.moduleRestType and classBody were reviewed and approved by the owner.
  • Search repairs bring every slice under the stage limit: certified imports a plan refuses are withdrawn in one round, the no-return region and slot value sets are computed without repeated work, and an evidence document keeps each derivation term and step value set once, in a table.
  • Source repairs and avoidances are recorded in SOURCE-REWRITES.

Against the census of v0.8 (33d5faca), this census gains 73 verified functions. One function, stringOfJson, moved from family-activation.mts to calculus.mts, where it verifies. Timeouts fall from 1 to 0. Against the 1,800-second census of 883614a0, it gains 14 and loses none. Each merge passed make suite and make test on its branch and received an independent Astra review. The supported fragment, audited host boundaries and unproved source functions remain explicit.