{"version":"2.1.333","anchor":"repl-script-validator-new-script-did-not-run-as-written-e","canonical_anchor":"repl-script-validator-new-script-did-not-run-as-written-e","heading":"REPL scripts are checked for errors before they run","tier":"notice","area":"REPL Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/repl-script-validator-new-script-did-not-run-as-written-e","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### REPL scripts are checked for errors before they run\n\nClaude Code can now check a REPL script before running it and report when it would not run as written\n\n**Unclear.** Whether this check runs in every session or sits behind a switch is not stated.\n\n**What**\n\nThe REPL tool lets Claude run small scripts. Claude Code now has a check that reads such a script before it runs. It reports problems with messages such as \"The script did not run:\", or that the script may use a value before the line that declares it has finished.\n\n**Why**\n\nIt catches some script mistakes before they run instead of after.\n\n- Area: REPL Tool\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}