Expand description
AST-to-contract reference/type resolution and the public entry point
(reference §7/§8). Every reference resolves through
ResolvedModuleSet::symbols; nothing scans the AST by name.
Constants§
- APPLICATION_
CONTRACT_ SCHEMA_ VERSION - INTERPRETATION_
VERSION - LANGUAGE_
SCHEMA_ VERSION - SOURCE_
MAP_ MAX_ BYTES - SOURCE_
MAP_ MAX_ MODULES - Public-bound resource budgets for untrusted source maps (gate finding 7). A source map larger than this in entries or bytes is APP015 before any parse or resolution work runs. Generous enough for the flagship fixtures (two modules, ~2 KB), tight enough to deny conversational-workflow DoS.
Functions§
- resolve_
application_ contract - Resolve an in-memory source map into a validated application contract document, or the complete deterministic diagnostic list. Milestone 0 binds the empty semantic-pack set at the fixed public boundary (§9).
- resolve_
application_ contract_ json - JSON boundary twin of
resolve_application_contract. - resolve_
application_ contract_ with_ packs resolve_application_contractwith explicit(pack_id, content_hash)semantic-pack inputs (D10): the pack set crosses the boundary intoinputs.semantic_pack_set_hashand the envelope’ssemantic_packs.