Skip to content

fix: prove numeric keys in the built-in scan and keep self-defending blocks it cannot prove - #459

Merged
Sorte1 merged 14 commits into
mainfrom
fix/r51-nx12
Nov 20, 2026
Merged

Sorte1 merged 14 commits into
mainfrom
fix/r51-nx12

Conversation

@Sorte1

@Sorte1 Sorte1 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

The default lane now removes a self-defending callback only when the built-in scan proves every built-in it calls intact. Computed keys proven numeric (including a decoder cache key built from a shifted index) no longer count as reaching keys; the proof is dropped when a direct eval may write a binding. Where the block stays, the output keeps the unproven-built-ins premise note, also across a rerun.

Gates on the rebased branch:

  • Sweep (3,465 cases) against main 7fa510b: default lane pass 516 -> 327, pass-kept 1640 -> 1836, fail 31 -> 26 (189 pass -> pass-kept with a premise note, 5 fail -> pass-kept, no pass/kept -> fail). Unsafe lane unchanged apart from one case main skipped (pw024-m3--strings, fails the same way on older main).
  • Krunker samples byte-identical in both lanes; instructions up to +3.6%.
  • Obfuscator BASELINEs: no failures or unexpected passes; obfuscator-versions only drops sd-machinery-keys from ten cause lists.
  • Wasm 16,354,986 bytes on top of main 7f79f3f, baseline raised to 14,870,000.
  • Local untwist-ci (rust) green after refreezing the compile record for 04-eval-names-array; after the rebase over fix: remove console disabling, call controllers and self-defending that layered inputs kept #455 the untwist and untwist-deobfuscate tests and compile_differential pass.

…in scan proves every built-in it calls intact, with numeric keys and the removed protection templates left out of the judgement
…lt-in rows, and the docs for the proven-intact rule
…s, so a decoder cache key built from the shifted index no longer counts as a reaching key
…g, and relabel the inline row whose loop index is now proven numeric
…defending check, so the output still names its premise
…ault lane now keeps the block, and the second-round map row checks the unsafe lane
… pass through without node, and pin the untranspile rows that keep their helpers to an opaque key
…can cannot prove as a known default-lane gap
…self cells keep the unproven self-defending block in the safe lane

This branch was successfully deployed

1 active deployment
preview — d9296523 Deployed Nov 20, 2026 by Sorte1 via deploy #1360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant