Skip to content

v0.8

Choose a tag to compare

@cristianoc cristianoc released this 03 Nov 09:59
· 502 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.8 meets the 80% front-end function coverage threshold. The complete tools/ census verifies 556 of 679 functions (81.9%), compared with 489 of 679 (72.0%) at v0.7. Counted statement coverage is separately 7,089 of 15,725 (45.1%), compared with 5,487 of 15,715 (34.9%) at v0.7.

The measurement is the main census of 33d5faca, the tagged commit, taken on 2026-11-03 with a 600-second stage limit; v0.7's census used 300 seconds. The headline counts named top-level function declarations with bodies in tools/, once each; unsupported, unverified and timed-out functions remain in the denominator. See the function and release metric, statement metric and work ledger.

  • The statement lowering and its recursive group (46 functions of fragment-statements.mts) establish their stated memory footprint. Generic members of a union dispatch on every arm, a spread of a readonly-or-writable array union reads through union elimination, and a callback's write of a required source field stays within the store it keeps.
  • reduce and reduceRight have footprints over a captured length, skipped holes and the callback's footprint, under the untampered-standard-objects assumption; a negative case under Node shows the unsafe variant refused.
  • The type-term reader's quantified, signature and member functions verify. A written field keeps its type until a call or another write, a strict null test of a two-member path refines the saved path, a map result is built at its first use's array type, and the truth of a test followed by a value reads the value for truthiness alone.
  • Source repairs and avoidances are recorded in SOURCE-REWRITES: native Map/Set parameters where every caller passes one, two entries() loops as index loops, and one closure declared before its reader.

Against the main census of 9fb116b8, this census gains 53 verified functions and loses none; timeouts fall from 21 to 1 (type-term.mts#someType, at 600 s). Each merge passed make suite and make test on its branch and received an independent Astra review. statements relies on the stated effect of classStmt under the module import assumption; classStmt's own slice remains unverified. The supported fragment, audited host boundaries and unproved source functions remain explicit.