src/language/is the language layer (compiler, VM, runtime, stdlib, prelude, scheduler, snapshots, and the Effect driver);src/codemode/is Code Mode, built on it (tools, schemas, catalog,search,scanTools, OpenAPI, hooks,maxToolCalls). Nothing insrc/language/imports from the rest ofsrc(test/language-boundary.test.ts), and the language never knows what a tool is: Code Mode gives programs its functions throughHostandRuntime.make.interpreter-support.mdis a checklist, not a changelog: check off newly added support and add unchecked items for significant gaps. Leave it alone for fixes and refactors.- Program values are
Value(src/language/runtime/objects.ts). Host values areunknownand enter only throughfromHostandfromJson; do not widen program-facing signatures tounknown. - Each built-in object kind is one
Objsubclass (WrapperorOpaque) that overrides the hooks it needs. Ask the object instead of addinginstanceofladders. - The core VM, compiler, prelude, snapshot, and stdlib modules must not import
effect; insrc/language/, Effect lives only in the host boundary and driver (runtime.ts,host-function.ts,runtime/driver.ts,runtime/execute.ts,runtime/extensions.ts).src/codemode/uses Effect freely.