Skip to main content

2 posts tagged with "engineering"

View All Tags

We retired tsc on our JavaScript packages — and the gate got sharper

· 5 min read
Nudo Contributors
Nudo maintainers

The tsc --noEmit line on your JavaScript packages can retire. Start with zero annotations, add contracts only where you accept them, read violations as value ⊭ predicate + a next step — and exit through migrate retire, not by dual-running two compilers forever.

Most teams keep tsc --noEmit around not because they enjoy writing annotations, but because there was no other CI gate to reach for. Nudo's answer is not "write a second type language". It is three commitments:

  1. JS stays JS — no runtime changes, no invented second IR.
  2. Contracts on demand — *.nudo.js / @nudo:contract; obligations only come from declarations you accept.
  3. A one-way door — nudo migrate status → strip → verify → retire. The exit is retire tsc, not dual-run.

We pinned this story with three runnable samples, not slides: a public checkout-demo, and two real npm consumers.

The 22-file smear: how call-site attribution almost shipped fake precision

· 4 min read
Nudo Contributors
Nudo maintainers

Launch series (5/5) — published together on 2026-09-21. Read in order: Day 0 — observe JavaScript without rewriting it · Contracts are JS — Day 1 with sidecar *.nudo.js · Nudo vs TypeScript — when a JS-first gate is the right tool · Nudo for coding agents — agents.md, agent integration, stable diagnostics · The 22-file smear: how call-site attribution almost shipped fake precision

Call-site discovery (nudo test lib/ --from test/) harvests real argument shapes from usage sites and synthesizes call@L… cases from them. The promise is precision for free: no directives, no annotations, just the arguments your code is actually called with.

Precision for free has a dark side: precision that is attributed to the wrong function looks exactly like success. This is the story of the attribution gate — the bug that turned one test helper into 51 fake "precise" results across 22 files, and the three invariants that closed it.