c00ebf1320
ForbiddenTypeAnalyzer inverted from a BCL deny-list to an allow-list of types/members (ctx API, value/time/maths types, collections, LINQ-to-objects, string/Regex/formatting; System.Type and CancellationToken with member allow-lists). Every named type, expression type and used member (incl. return type and generic args) is checked; __makeref/__arglist, lock and extern local functions refused syntactically. ScriptSandbox references only eight BCL assemblies (defence in depth). The Monaco editor and the publish gate share both, so parity holds. Tests: theory over the K-1 snippets (publish gate + analyzer alone against the full host), every-public-type enumeration, shipped-sample + idiom regression, editor/publish parity. Differential over every script-shaped literal in src/tests: all 511 previously-compiling scripts still compile (one expression-tree test intentionally refused). PE cache signing by the host (option 4) deferred as a follow-up. Co-Authored-By: Claude <noreply@anthropic.com>