Nim that compiles, passes, and is still wrong

Nim rules that compile, pass a quick test and are still wrong, each caught by a compiler-run test, and the studies behind the skills.

  1. What changes when your AI coding agent uses Verified Nim Skills

    A blind, pre-registered study across seven Nim tasks, two models and two reasoning levels. How the skills change the way agents test reproducers, record inherited bugs and validate at trust boundaries.

  2. Nim {.raises: [].}: stop your agent validating trusted data twice

    Agents raise errors no input can trigger, even on tables the compiler already parsed. Validate once at the boundary, carry the proof in a distinct type, and let the compiler reject the rest. Without the skill, 0 of 11 runs got this right in the first study and 8 of 8 re-validated bundled tables in the second; with it, 8 of 11 and 0 of 8.

  3. Nim =wasMoved: why a moved-from object segfaults on reuse

    Nilling the pointer makes destroy safe and leaves reuse broken. Three ownership-hook rules pass review and ordinary tests, then segfault, run hooks on uninitialized memory or read freed memory.

  4. Cost per solved task: what a cheap coding agent really costs on Nim

    With verified skills a low-cost model passed 18 of 20 runs on four hard Nim tasks, against 3 of 20 without. Each attempt cost more; each solved task cost about a quarter as much.

  5. Your Nimony release build swallowed the error

    Debug raised; -d:release returned 42. What checking one agent skill against the Nimony compiler turned up, and why the skill had to change.