Skip to content

Search documentation

Searches the English specification

Enter a question, symbol, diagnostic code, or command.

Contents

Search the specification
Lispex 2.0 · Project · 20

20

Design decisions

What Lispex 2.0 chose, the alternatives it weighed, and where each choice lives in the specification.

122 adopted decisions

Admission and evaluation receipts

Choice

Report admission refusal separately through an admission report. There is no canonical evaluation outcome or evaluation receipt.

Alternatives considered

  • Include refusals in a receipt union or issue receipts for success only.

Related specification

Admission report format

Choice

Admission refusal and post-evaluation profile work have separate closed reports.

Verified identity markers are bounded. A missing submitted binding is marked absent. Preserve the completed receipt bytes.

Alternatives considered

  • Turn every refusal into an evaluation receipt variant or accept arbitrary identity strings.

    Original quotation

    A rejected submission does not pretend that evaluation occurred. Later host work cannot erase a completed outcome.
Related specification

Artifact containers

Choice

Use closed Datum containers for evaluator exports, package metadata and artifacts, with fixed exports and no imports. Validate installed support combinations separately.

Prevent self-digest cycles and silent dependency replacement.

Alternatives considered

  • Use opaque product blobs or JSON metadata with arbitrary exports.

    Translated quotation

    Produce the same prepared bytes and avoid self-referential digests and silent dependency substitution.

Related specification

Finite entry points

Choice

Require finite limits at every public execution entry and provide a common default preset.

Remove the unmetered default Interp and WASM runner paths.

Alternatives considered

  • Meter each entry point separately or retain an unbounded development mode.

  • Use a common minimum stack constant or allow product-specific differences.

  • Use product-specific run behavior or offer separate bounded and unbounded products.

  • Offer a raw API or unrestricted JSON alone.

Related specification

Closed module forms

Choice

Module names are single reader identifiers. Imports, exports and renames are explicit.

Reject cycles.

Use the complete submitted source bundle and fixed library closure. Reinitialize the library and all source modules at every evaluation.

Alternatives considered

  • Use compound names or cycles, or initialize only reached modules.

    Translated quotation

    Prevent partial initialization. Submission order and caches cannot change first failures or evaluation events. All submitted code stays in the program.

Related specification

Closed modules

Choice

Preparation creates a closed module bundle with lexical imports and exports.

Alternatives considered

  • Omit modules or resolve them during execution.

Related specification

Command forms

Choice

All products use lispex --language 2.0 --product PRODUCT COMMAND.

Each command emits one result record and writes its receipt to a separately specified destination.

Display exact numbers as integers or reduced fractions.

Alternatives considered

  • Use different commands per product or a single opaque request file.

    Original quotation

    Explicit inputs remove ambient configuration and replay overrides. The same admitted request and format version yield the same canonical payload and receipt bytes across products.
Related specification

Condition catalog

Choice

Use one checked make-condition constructor, condition?, condition-code, condition-phase, condition-data and raise.

11 codes including an application extension use the same typed fields as diagnostics.

Conditions have no occurrence identity or source location.

Alternatives considered

  • Allow arbitrary codes and payloads or provide one constructor per code.

    Original quotation

    Exact schemas prevent code and payload drift. Existing Datum lists avoid a new public value kind. Terminal failures cannot be forged as catchable conditions.
Related specification

Control operators

Choice

Remove call/cc, dynamic-wind, and procedural or continuable handlers.

Alternatives considered

  • Keep the existing escape-only behavior or support full continuations.

  • Support bounded finally or keep the existing dynamic-wind.

  • Use result values alone or retain the existing dynamic exception system.

Related specification

Resource tariff freeze

Choice

Freeze the new private 2.0 tariff only after implementation and adversarial verification.

Alternatives considered

  • Reuse the 1.x tariff or publish and freeze the specification before implementation and validation.

    Translated quotation

    The numeric system, control, standard library and canonical events change, so 1.x evidence cannot qualify 2.0.

Related specification

Canonical Datum codec

Choice

Lispex uses lispex.datum/2 with a magic header, minimal framing, 11 closed tags, exact integer and rational encoding and strict UTF-8. Refuse noncanonical input in specified order. Convert host records to association lists with names ordered by UTF-8 bytes.

Alternatives considered

  • Use tagged canonical JSON or a subset of CBOR.

    Original quotation

    Datum kinds map directly to bytes. One representation preserves exact values and raw scalars. Strict rejection avoids host repair and extension behavior.
Related specification

Decimal value semantics

Choice

A decimal expresses an exact integer or reduced rational.

Source scale is unobservable and numeric equality compares mathematical values.

Alternatives considered

  • Retain scale as independent decimal state.

Related specification

Deterministic order

Choice

Fix the order of evaluation, validation, traversal, first errors and canonical keys.

Alternatives considered

  • Leave some evaluation order unspecified or allow free reordering.

  • Allow arbitrary traversal or prohibit hashing entirely.

Related specification

Diagnostic catalog

Choice

Use closed phase and code pairs with typed fields. There are 15 phases, 48 codes and 55 pairs.

11 guest identities match condition schemas exactly.

Exact integers use decimal strings. Datum fields render canonical codec bytes as lowercase hexadecimal.

Alternatives considered

  • Use message strings with global codes or open field sets.

    Original quotation

    Numeric width and human wording cannot change semantic identity. Admission, evaluation, profile work, and host interruption keep distinct report boundaries.
Related specification

Rule entry arity

Choice

The entry accepts fixed or rest parameter forms that can take one supplied argument.

Alternatives considered

  • Require a fixed unary parameter list.

Related specification

Equality validation order

Choice

Validate the entire left operand, then the entire right operand, then compare the structure.

Traverse in depth-first order with car before cdr, and traverse vectors by ascending index.

Alternatives considered

  • Compare while validating.

Related specification

Evidence envelope

Choice

Bind one canonical Ed25519 statement and one signature to the exact receipt bytes.

The issuer identity comes from the key. The caller explicitly supplies offline trust inputs.

Alternatives considered

  • Let products choose signatures and discover certificates, or include the signature in the receipt.

    Original quotation

    A closed signature predicate and one signed representation give every product the same verification result. Exact receipt binding preserves the canonical outcome. Caller-supplied policy keeps authority explicit and blocks ambient discovery.
Related specification

Exact numbers

Choice

Numbers are exact integers, reduced rationals and exact decimals.

Decimal literals also have exact values. Scale and rounding are explicit.

Alternatives considered

  • Use fully specified software floating point or retain host f64.

    Translated quotation

    Represent the amounts and ratios needed by rules exactly and reduce dependence on math libraries.

  • Use fixed-scale decimals or specified software binary64.

Related specification

Command exit mapping

Choice

The twelve exit statuses are 0 2 10 11 20 21 30 40 41 42 50 51.

Preparation exhaustion is 11, admission refusal is 30, and qualification and evidence refusals are 40 and 41.

Evaluation failure remains visible through subsequent profile work.

Alternatives considered

  • Use a small set of generic classes or operating system sysexits.

    Original quotation

    Source exhaustion, admission, qualification, and evidence refusal remain distinguishable. Completed outcomes and valid failure receipts retain their meaning.
Related specification

Explicit conditional branches

Choice

Write both if branches and a nonempty final else in cond.

Use explicit values for zero or multiple results.

Omitted branches never produce unspecified values.

Alternatives considered

  • Supply an implicit empty result or a substitute Datum for an omitted branch.

Related specification

Zero with a negative exponent

Choice

When expt has an exact zero base and a negative exponent, refuse with domain.division-by-zero at argument 0, the base.

This is division by 0 while taking the reciprocal.

Alternatives considered

  • Use domain.numeric or point to the exponent.

Related specification

Guard propagation

Choice

Check guard clauses in source order.

If there is no match, propagate the original condition. The guard stays inactive during execution of the clause.

Alternatives considered

  • Let the guard reenter itself or leave propagation unspecified.

Related specification

Guard clause grammar

Choice

guard has four clause forms. Test and body, test alone, test and recipient, and final else. Each test runs once in source order, with no match propagating the original occurrence.

Alternatives considered

  • Support only test and else or add a pattern language.

    Original quotation

    Single evaluation and first selection remain deterministic. Inactive handling preserves outward failure propagation and internal multiple values.
Related specification

Tail position in guard

Choice

The guard body is not in tail position.

An active guard protects its whole body. guard-leave follows the last call-return of that body.

On failure, discard frames above the guard without call-return, return capacity, deactivate the guard and select the handler.

Preserve the enclosing call's pending return.

The selected handler clause's final expression inherits the guard expression's tail position.

Alternatives considered

  • Let both the guard body and clause inherit tail position, or allow the body's tail call to remove the guard or create a normal return for a failed call.

Related specification

Host interface bytes

Choice

Use closed lispex.datum/2 requests, Rust, C and TypeScript signatures and handles that are never serialized.

Exclude host integer widths and callbacks from this boundary.

Alternatives considered

  • Pass host-specific objects or make the interface JSON-only.

    Translated quotation

    Exclude host integer widths and callbacks and preserve bytes and evaluation accounting for the same input.

Related specification

Host report envelope

Choice

One CommandResult contract includes DiagnosticPayloadBytes, results for host Open, Build, load and export, Reports.terminal with complete EmergencyTerminalBytes, and trace status independent of reporting success.

Reserve emergency space for the final report and outer framing before ordinary work.

Alternatives considered

  • Add a separate CLI command or replace an existing outcome or receipt.

Related specification

Identity encoding

Choice

Hash closed lispex.datum/2 records with domain-separated SHA-256.

Program meaning is canonical module meaning with local references. The request contains all fields. Profile work has its own identity.

Source spelling and engine packaging are outside program meaning.

Alternatives considered

  • Hash source, product artifact bytes or one prepared encoding as meaning.

    Original quotation

    It preserves the adopted language graph while excluding source spelling and engine packaging from program meaning. It has a finite acyclic construction and no per-product algorithm choice. Every recorded semantic or host-work input participates in the corresponding identity.
Related specification

Separate identities

Choice

Separate the identities of canonical code, exact source and the engine artifact.

Alternatives considered

  • Keep the reference implementation as semantic authority, or make bytecode the only language specification.

  • Extend existing receipt types separately for each product or hash only the result.

  • Use an E number alone or use free text.

Related specification

Immutable values

Choice

Remove public mutation including set! and aggregate mutation, and remove redefinition.

Values are immutable.

Allow internal optimizations whose effects cannot be observed.

Alternatives considered

  • Allow mutation within a request or permit linear or region-scoped mutation.

  • Make vectors alone mutable or allow mutable regions.

Related specification

Admission profiles

Choice

Add narrower admission and evidence profiles over one safe language.

Profiles may narrow input and output schemas, allowed libraries and evidence requirements. The execution semantics of admitted programs stay the same.

Alternatives considered

  • Promote only the existing Vouch subset to the language, or remove all profiles and require Vouch evidence on every call.

    Translated quotation

    Separate product evidence requirements while keeping the expressive power of pure rules independent of the limitations of the earlier witness implementation. Remove the division between full as unsafe and checked as safe.

Related specification

Sequential binding shadowing

Choice

Each let* binding creates a nested scope.

A repeated name shadows the earlier binding.

Alternatives considered

  • Reject names repeated in let*.

Related specification

List index events

Choice

list-ref and list-tail validate the entire list through the final tail, then the index domain and range. Only visit the cdr steps taken. list-ref also visits the chosen car. List-tail at 0 has neither movement nor an end-site event.

Alternatives considered

  • Always visit an extra end position or charge a step at index zero.

Related specification

List construction events

Choice

make-list checks both argument domains first, even with count 0.

For each result index reserve traversal-state with extent 1 followed by pair datum-allocate with extent 2. The next index begins after the pair reservation succeeds. A count of 0 returns the empty list without either event.

Alternatives considered

  • Reserve all traversal state at once or allocate a pair for an empty result.

Related specification

Meaning graph forms

Choice

Reuse the resolved/1 envelope for the meaning graph. Sites are program-local and source maps and traces remain separate. An outer envelope supplies program identity without a digest cycle.

Alternatives considered

  • Use product-specific graphs or a new canonical edge schema.

    Translated quotation

    Reuse the adopted IR. An outer identity preserves relationships and source spans without a digest cycle.

Related specification

Meaning graph

Choice

Project the meaning graph from resolved IR. Bounded tracing does not change execution results.

Alternatives considered

  • Visualize the source AST or make the graph a separate language or primary evaluator.

Related specification

Module definition events

Choice

A non-lambda module definition uses the events of one sequential binding. Evaluate the initializer, check one result at element(0) of the sequential module group, then perform environment-create and binding-initialize.

There is no intermediate storage sequence.

Adjacent lambda definitions use recursive group events.

Alternatives considered

  • Use a separate result storage sequence like parallel let or introduce module-only events.

Related specification

Parallel list traversal

Choice

Validate all list spines before requiring equal lengths.

Unequal lengths yield domain.range with unequal-lengths.

Check callback arity even for empty lists. Specify argument order, direction and result count.

Alternatives considered

  • Stop at the shortest list or pad shorter lists.

    Original quotation

    Inputs cannot disappear silently. No implicit padding values are needed. All products share the first failure and callback order.
Related specification

Named let initializer scope

Choice

Evaluate named let initializers in the enclosing scope. The loop name is visible only in the body.

Alternatives considered

  • Evaluate initializers in the recursive scope.

Related specification

Implicit tail calls

Choice

The target of apply and the consumer of call-with-values inherit the native call's tail position.

A tail call takes the native frame and pending return, with no native call-return. The producer and all other library callbacks remain non-tail.

Expressing a loop with apply adds no hidden tail step limit.

Alternatives considered

  • Treat all implicit calls as non-tail or also make the producer tail.

Related specification

Native kernel and guest library

Choice

Use a minimal native kernel and a guest standard library.

Implement derived operations in Lispex to inherit metering.

Classify every primitive explicitly in one of five classes.

Set the final native primitive count after migration.

Alternatives considered

  • Manage documentation and handlers separately or make missing classifications default to Fixed.

  • Verify each of the 205 native procedures or add special compiler lowering for many of them.

Related specification

Specification 2.0 evidence

Choice

Rework /next as a normative specification for 2.0 and connect its new product evidence.

Observations from 1.x do not count as passing evidence for 2.0.

Alternatives considered

  • Add exceptions to the 1.21 documentation or create a new documentation engine.

Related specification

Normative semantics

Choice

The implementations follow the normative 2.0 semantics and cases in /next.

Alternatives considered

  • Keep the reference implementation as semantic authority, or make bytecode the only language specification.

Related specification

Bytevector to list events

Choice

bytevector->list reads stored length once, visits each octet byte and reserves its integer and pair together in one event of extent 3.

Empty input visits only length and returns the empty list.

Alternatives considered

  • Reserve the integer and pair separately or allocate for the empty list.

Related specification

Outcome and receipt formats

Choice

Outcomes, preparation reports, receipts and command results are closed Datum records with distinct phase boundaries.

Completed evaluation data survives later host failure.

Alternatives considered

  • Use product JSON and message strings or combine all attempts into one evaluation receipt.

    Original quotation

    One encoding preserves exact values and first failures. Completed evaluation data survives later host failures.
Related specification

Preparation and evaluation

Choice

Meter preparation and evaluation separately. Cache hits do not change evaluation cost.

Alternatives considered

  • Combine preparation and evaluation budgets or leave preparation unmetered.

Related specification

Prepared program formats

Choice

The resolved program is one typed semantic graph with two canonical encodings, resolved/1 and bytecode/1. Preserve lexical bindings, semantic nodes, sites, dependencies and entry. Validate them in order before issuing an immutable handle.

Alternatives considered

  • Use opaque product blobs or VM instructions with a separate equivalence proof.

    Translated quotation

    Product-specific sugar and execution structure do not alter canonical bytes. Bounded verification checks bindings and sites, and reuse starts fresh initialization and metering.

Related specification

Public procedure catalog

Choice

There are 149 public procedures in a closed catalog without aliases.

Each row records arity, argument domains, outcome, failure order and resource event names.

Alternatives considered

  • Keep only data operations.

    Original quotation

    Pure data operations and guest composition support rule programs. The language owns validation, results, failures, and resource events.
Related specification

Procedure arity and values

Choice

Retain variadic arguments and internal multiple values.

The execution boundary has one argument and one value.

Alternatives considered

  • Allow only fixed arity or use tuples alone.

  • Keep global input and stdout conventions or take arbitrary arguments and host objects.

Related specification

Common product interface

Choice

Provide typed APIs, common command results and exit statuses, package identity, and diagnostic phases and stable codes.

Alternatives considered

  • Use product-specific run behavior or offer separate bounded and unbounded products.

  • Offer a raw API or unrestricted JSON alone.

  • Use an E number alone or use free text.

Related specification

Profile declarations

Choice

Use closed lispex.profile/2 declarations for base and vouch/2 and the structural lispex.schema/2 schema.

Use a fixed library identity and public binding allowlist. Input records use lispex.record/2 with raw string keys.

Alternatives considered

  • Use product-specific declarations, host callbacks or an open registry.

    Original quotation

    A closed declaration is data that every product can validate in the same order. It narrows acceptance without changing language evaluation. Raw string keys preserve Unicode names and the adopted record mapping. No schema, key, or library lookup calls host code.
Related specification

Profile refusal exit class

Choice

A qualification or required evidence refusal after evaluation success is profile-refusal and preserves the canonical outcome.

A later host refusal does not replace the class of an evaluation failure.

Alternatives considered

  • Report command success or reuse a pre-evaluation refusal.

Related specification

Profile work budget

Choice

Charge additional profile schema and evidence work to a separate finite host budget. Canonical decoding and encoding remain evaluation work.

Qualify the returned value after evaluation. Keep the original language outcome.

Alternatives considered

  • Perform profile checks during evaluation and use its budget.

Related specification

Profile work account

Choice

Meter profile host work in one lispex.profile-work/2 account with six axes, work, allocation, frames, input, report and evidence. ProfileHostBudget carries the host resource model identity as metadata.

Keep the account separate from evaluation.

Alternatives considered

  • Share evaluation counters or choose counters and traversal per product.

    Original quotation

    Identical declared host work has identical first failures. Separate accounting preserves evaluation identity, charges, outcome, and receipt bytes. A reserved terminal report keeps later host failure from erasing a completed evaluation.
Related specification

Profile work identity

Choice

Identify the submitted data, the versioned profile work contract and the finite profile host budget separately.

Report refusal before execution as admission and later qualification or evidence refusals as profile work. Keep the canonical outcome and receipt eligibility.

Alternatives considered

  • Fold profile work into the base request or reuse only the evaluation identity.

Related specification

Receipts and execution evidence

Choice

Separate canonical outcome from execution and signature evidence. Omit work_used, cache state and elapsed time from portable receipts.

Alternatives considered

  • Treat every failure as a guest exception or make every failure an opaque host error.

  • Extend existing receipt types separately for each product or hash only the result.

Related specification

Recursive bindings

Choice

Restrict letrec right-hand sides to lambdas to retain mutual recursion. Retain named let.

Alternatives considered

  • Remove recursive bindings or allow general right-hand sides.

Related specification

Replay request

Choice

Request replay with a closed record containing prepared program bytes, complete canonical request bytes, an expected receipt, optional evidence and trust, and a separate finite host budget.

The comparison report preserves both receipts and the first difference.

Alternatives considered

  • Recompute only the outcome under current defaults or use product-specific replay requests.

    Original quotation

    Reconstructing only from explicit retained data prevents changed limits or semantic versions from being hidden by a matching result. A shared comparison record preserves both receipts and the first differing semantic component.
Related specification

Order of resource axes

Choice

Check work, logical allocation, frames and the applicable channel in that order.

Commit charge and effect atomically only when all checks succeed. Preserve earlier committed charges.

Alternatives considered

  • Allow partial charges or leave axis order open.

Related specification

Resource channel accounting

Choice

Count canonical octets for channels. Reserve a complete emergency representation for the final report in advance and reserve entire trace frames.

Extended diagnostics and trace saturation preserve the committed cause and receipt.

Alternatives considered

  • Charge by host characters, objects or message count.

    Translated quotation

    Equal bytes use equal units. Larger diagnostics and saturated traces do not change the settled cause or receipt.

Related specification

Resource event catalog

Choice

Specify the order of checks, reservations and sites for each operation with a closed semantic event catalog using original occurrences and typed paths.

Caching and native execution preserve the first failure, exhausted axis, site and receipt.

Alternatives considered

  • Meter only whole host commands or reserve an entire call at once.

    Translated quotation

    Caching and native execution preserve the first failure, exhausted axis, site and receipt.

Related specification

Resource event order

Choice

Fix the first error, the exhausted resource axis and the location, and preserve them through optimization.

Alternatives considered

  • Leave some evaluation order unspecified or allow free reordering.

  • Count instructions with provisional weights or use elapsed time.

  • Verify each of the 205 native procedures or add special compiler lowering for many of them.

Related specification

Resource model definition order

Choice

The Resources specification owns model composition and phase limits.

Define prerequisite semantics and base resource axes before hashing the model identity. The resolved budget wrapper then attaches its metadata. The definition excludes its own digest, derived identities, outcomes, receipts and evidence.

Alternatives considered

  • Include the model identity or a derived identity in its own preimage.

Related specification

Resource accounting

Choice

Use work units, cumulative logical allocation, frames and channel budgets.

Reserve before effects and do not refund charges.

Alternatives considered

  • Use a common u32 limit or keep the existing size and allocation rules.

  • Keep per-call allocation accounting alone or refund memory after garbage collection.

  • Count instructions with provisional weights or use elapsed time.

  • Combine preparation and evaluation budgets or leave preparation unmetered.

  • Limit only the final wire size or truncate automatically and report success.

  • Treat every failure as a guest exception or make every failure an opaque host error.

Related specification

Rest list allocation site

Choice

Each rest list pair allocates at the lambda occurrence and the typed path result(0), then element(i) in argument order.

No schema field is added.

Alternatives considered

  • Use the caller, the rest binding or a new path field.

Related specification

Rounding operations

Choice

quantize accepts every exact integer scale and eight modes, floor, ceiling, truncate, away-from-zero, half-even, half-away-from-zero, half-toward-zero and exact.

Unary floor, ceiling and truncate use scale 0.

The result is an exact integer or reduced rational.

Alternatives considered

  • Allow only unary integer rounding or nonnegative scales.

    Original quotation

    One exact grid model covers every sign and tie. Negative scales need no separate numeric system. Finite resources bound growth.
Related specification

Sandbox by default

Choice

Lispex is a sandboxed rules language.

Every Lispex program has the same base contract. Identical inputs yield identical results, there is no ambient access to I/O, time or randomness, and execution always ends or reports a defined error.

These guarantees apply beyond the Vouch checking profile.

There were no users at the time of adoption, so the transition has no compatibility layer or grace period.

Move quickly to the theoretically best design.

The breaking changes make the next release a major release, 2.0.

Topaz design criteria do not apply.

Keep familiar R7RS forms where they fit the sandbox contract.

Resolve conflicts in favor of the sandbox contract.

lispex-sicp is a separate language and engine outside this decision.

Alternatives considered

  • Keep unbounded default execution and apply sandbox guarantees only to the Vouch profile.

Related specification

Sequence append events

Choice

vector-append and bytevector-append validate all domains, read stored lengths at argument(i), field(length), reserve the exact total result length, then visit elements in argument and index order.

Include empty inputs in the length pass.

With no arguments allocate one result of extent 0.

Alternatives considered

  • Read lengths outside accounting or copy each argument before reserving the result.

Related specification

Rule input and output

Choice

A rule has one entry from Datum to Datum.

Remove guest I/O. The host presents the result.

Alternatives considered

  • Allow a bounded output transcript or give guest code output capability.

  • Keep global input and stdout conventions or take arbitrary arguments and host objects.

Related specification

Invalid slice boundaries

Choice

If both slice bounds are valid but out of order, report domain.range with invalid-slice-order at the end argument, argument 2.

Ordering fails when comparing the end after establishing the start.

This matches the conditions rule.

Alternatives considered

  • Point to the starting argument or introduce a new code.

Related specification

Binding prechecks

Choice

Finish shallow checks of the reached binding group from left to right before descending into initializers and bodies.

Reserve before each check. A reservation refusal precedes errors that the check has not yet discovered.

Alternatives considered

  • Precheck the entire module or interleave checks with child traversal.

    Translated quotation

    Preserve errors of earlier forms, bound the checks and preserve nested let* scopes.

Related specification

Source entry selection

Choice

Each module has at most one (entry Identifier), and the root has exactly one.

Preparation statically checks that the actual export binding is a lambda that accepts one argument.

Naming conventions and arbitrary host export selection are excluded.

Alternatives considered

  • Use a conventional rule name or let the host select an export.

    Translated quotation

    The source fixes the execution boundary without guest evaluation during preparation. Imported bindings and declared dependencies receive the same checks.

Related specification

Preparation order

Choice

Decode and completely read one module before normalizing in source order.

Alternatives considered

  • Interleave reading and validation as input arrives.

Related specification

Preparation diagnostic mapping

Choice

Map failures in reading, binding, module graphs, entry and artifacts to the existing diagnostic phases, codes, reasons and typed fields.

Introduce no new code or reason.

When the original fixture leaves detailed fields unspecified, link only the diagnosticIdentity in documentation. Product diagnostics keep the closed schema.

Alternatives considered

  • Add codes for each failure or adapt names per product.

    Translated quotation

    The same failure uses the same schema in every product. Reading, normalization, resolution, verification and resource reservation keep their order. Existing expectations are preserved without inventing cost model values. A field determined by the chosen fixed contract follows that contract. The same source yields the same field under the same shallow check.

Related specification

Source reader grammar

Choice

Decode all source as strict UTF-8 before reading. Bare identifiers use ASCII and Unicode names use |...| notation.

Specify separators, nested block comments, recursive datum comments, scalar escapes, exact radix and decimal notation. Reject automatic BOM removal and directives.

Alternatives considered

  • Inherit host reader rules or allow unquoted Unicode names through character classes.

    Translated quotation

    Avoid host character classification or recovery. Preserve raw scalar names, exact values and event order.

Related specification

Source token boundaries

Choice

Use U+0020, U+0009, LF and CRLF as token separators and specify line comments outside strings.

The rest of the reader grammar is pending.

Alternatives considered

  • Use the host tokenizer.

Related specification

Structured conditions

Choice

Errors have stable codes and data and can be caught by lexical guard.

Resource, admission and infrastructure failures terminate outside guest handling.

Alternatives considered

  • Freeze diagnostic messages as permanent language values or forbid catching any error.

  • Use result values alone or retain the existing dynamic exception system.

  • Use an E number alone or use free text.

Related specification

False value

Choice

Only #f is false.

Alternatives considered

  • Require Booleans or treat zero and the empty list as false.

Related specification

Typed profile admission

Choice

Provide explicit record admission and profile evaluation wrappers for Rust, TypeScript and C. Admission does not produce evaluation receipts. One evaluation call decodes input once and then checks the host schema.

Alternatives considered

  • Add a raw operation, callbacks, public continuations or repeated decoding.

Related specification

Unicode operations

Choice

Pin Unicode 17.0.0 and define 26 named operations, NFC, NFD, NFKC and NFKD, simple character casing, full string casing and default non-Turkic folding.

Validate all arguments before conversion.

Alternatives considered

  • Restrict handling to ASCII or only simple case and NFC.

    Original quotation

    Frozen data removes host defaults. Explicit transformations preserve original scalars. Full string algorithms support Unicode context and expansion.
Related specification

Unicode scalar semantics

Choice

Preserve raw scalars and specify the Unicode version and exact operations.

Alternatives considered

  • Keep approximate behavior or require NFC identifiers.

  • Remove characters or keep only ASCII.

Related specification

UTF-8 conversion allocation events

Choice

utf8->string reserves 1 allocation at result(0), scalar(j) for each decoded scalar. string->utf8 reserves 1 at result(0), byte(j) for each encoded octet.

After the final allocation a successful nonempty conversion visits the required end.

An empty result reserves 0 at result(0) once after the required end visit.

Alternatives considered

  • Charge after conversion or omit the empty allocation.

Related specification

Invalid UTF-8 condition

Choice

For invalid UTF-8 in utf8->string, use only the closed domain.range fields. Supply the operation, bytevector argument 0 and reason invalid-utf8, with no byte position.

The shared schema stays unchanged for this single reason. A rule can scan the input bytevector for the location.

Alternatives considered

  • Add a byte position to Condition or keep that location as a nonnormative documentation observation.

Related specification

Invalid UTF-8 site

Choice

A UTF-8 refusal uses the sequence-step of the byte that first proves the prefix cannot start a valid shortest UTF-8 scalar.

The second-byte constraints of E0, ED, F0 and F4 are checked at the first decisive byte.

For truncation the site is the end position where the next byte is required.

Condition fields stay unchanged.

Alternatives considered

  • Report the start byte or continue reading after the first invalid byte.

Related specification

Codec byte coordinates

Choice

Use octet coordinates relative to the nested subject.

Use Datum grammar field names including integer, numerator, denominator, length, count, tag, payload, scalar and frame-length.

Count number digits from 0 at the field's first octet.

For strings count byte(j) under scalar(i) from 0 at the scalar's first octet. Count bytevector octets from 0 at the beginning of its payload.

Packet magic and emission coordinates are relative to the packet.

Use a byte step for codec-byte during value decoding.

Do not attach a byte step to non-octet events.

Datum supplies field and scalar starts and relative coordinates directly. Align decode, measure and emit.

Related specification

Concrete identity vectors

Choice

Identity comparison examples include complete byte boundaries with preimage, digest and IdentityBytes.

Byte equality alone does not verify semantics. Library, model and program identities without their preimages cannot become verified markers.

Alternatives considered

  • Use symbolic values, copy implementation outputs into expectations or promote unchecked claims.

Related specification

Delivery packet freeze

Choice

After the first primary octet, the selected packet and serialized status cannot change.

Send only the remaining bytes of the same packet. Replacement with status 50 requires verified transfer 0, no pending write, a complete canonical candidate, the same operation, command and submission, preserved completed components and already reserved support.

Alternatives considered

  • Restart delivery, replace the packet or append another packet after the first byte, or replace the packet solely because a local counter is 0.

Related specification

Development resource model

Choice

The candidate model name is temporary-embedding-20261117/1.

Put complete Contract IdentityBytes in FixedSelection after checking and hashing the definition.

The new product refuses the byte array [2;32].

Preserve Laboratory semantics and past experimental selections in the first-stage component. The landing check must show an identity difference of 0.

When the development switch is off, the model is refused.

Related specification

Emergency result framing

Choice

Minimum EmergencyTerminalBytes is embedded as Reports.terminal in a complete CommandResult. Copying and direct framing give the same bytes. Reserve terminal and framing backing, cursors and serialization work before ordinary work.

Keep the first cause and statuses 20 and 21 through later qualification and evidence phases.

Alternatives considered

  • Reserve only byte capacity and obtain cursors and work after failure, or overwrite the first cause.

Related specification

Evaluator installation admission

Choice

load(bytes) instantiates only after accepting the exact sha256, ABI, feature set, envelope and fixed selection in the build-produced installation catalog.

A caller-chosen expectedHash cannot approve the module.

Refuse a digest mismatch, another module with the same shape and a one-byte change.

Related specification

Fixed command buffer limits

Choice

The candidate reserves 4 KiB ingress, 256 KiB egress, 16 KiB external emergency packet, 16 KiB serialization scratch, 100,000 work and 2 cursors.

Reserve before reading the request. Do not invoke the evaluator on reservation failure.

Final release limits for complete artifacts and reports come from their measured maximum lengths.

Related specification

Fixed library and Unicode

Choice

Derive library identity from actual native entries and guest definitions using the engine's existing projection and validation. Do not copy a fixture digest into a constant.

Derive Unicode support from a contract binding 17.0.0, generation inputs and the actual tables.

The new product refuses the byte array [1;32].

All four FixedSelection values, language, library, model and unicode, must match the installation catalog exactly.

Apply this together with the development resource model decision.

Related specification

Initial preparation limits

Choice

Source totals at most 1,024 bytes in 1 module main. PrepareLimits.frames is 64. Work and allocation start at 10,000,000 each.

Check source size at trusted ingress before copying or decoding.

Use the reader's existing frame refusal for depth and no extra JavaScript language scanner.

The preparation limits were based on the first rule, which was 352 bytes long and had a depth of 8.

Alternatives considered

  • Use 8 KiB and 256 frames.

    Translated quotation

    A shallow wide 8 KiB input used about 133 MiB.

Related specification

Identity hashing refusal

Choice

identity-work-before-refusal is a host work refusal during admission of the selected base/2 profile. It uses admission/profile.budget, work and status 30. Qualification and evidence use profile.budget in their own phases. Independent verification uses verify/verification.budget.

Alternatives considered

  • Give the hash helper a global phase or change the refusal to EvaluationLimits or input.resource.

Related specification

Interruption and trap reports

Choice

The supervisor outside the stopped guest emits a prebuilt complete CommandResultBytes.

Cancellation and operational deadline use host.interrupted with 50. Confirmed engine traps and defects use engine.defect with 51.

Known allocation refusals follow the existing host capacity and envelope classes.

Do not relabel all traps as semantic resource refusals.

Build the report template with the product encoder at build time.

Include only established facts.

Use verified termination identities and omit inferred ones.

Related specification

Library image identity

Choice

Build one closed canonical library image from the verified graph and kernel declaration.

Use the same bytes in the evaluator build and package assembly. The evaluator obtains verified LibraryInput from the image.

Publish the externally recomputable ArtifactIdentity kind and versioned format.

The internal encoding is an opaque-image contract consumed by the evaluator. Topaz verifies the complete image identity.

Preserve the existing semantic LibraryIdentity.

Alternatives considered

  • Append image bytes to the evaluator or separate execution and packaging sources.

    Translated quotation

    Appended bytes do not establish that the evaluator used the library image.

Related specification

Native host work preset

Choice

Native host work uses lispex.profile-host-budget/2 and its work, allocation, frames, input, report and evidence axes.

Charge the complete encoding of successful host output or ordinary reports to report. Charge processed complete evidence packets by octets to evidence.

Conversions that read no evidence do not charge that axis.

Emergency reports for ordinary channel refusals use a declared independent physical boundary.

The Topaz host work API exposes the report and evidence axes.

Application startup and explicit package admission use a separate type for the existing six Open axes.

Topaz owns its type and the admission and reading decisions.

The build declares supported targets and independent versions per contract.

The declaration binds model definition and identity, supported contracts, six resource units, ranges and finite defaults, physical capacity and support status to the product tuple.

First derive model identity from definition and base axes. Then attach metadata to the effective budget.

Bind exact declaration bytes to the installation manifest and verify them with a separate approved pin.

Check and apply an explicit call budget unchanged under that selection.

Declare explicit target limitations for unsupported work.

For development supply, a versioned selection provides the first useful evidence because independent host calls can observe resource amounts and units.

Derive codec, report and evidence requirement functions from event and phase priority. Finite defaults account for normal and boundary requests, worst amplification and physical capacity.

Freeze coefficients as a general 2.0 tariff under cost-model-freeze.1.

Declare only targets and contracts with verified value conversion. Mark evidence work supported when its actual entry enforces evidence bytes and report limits.

Alternatives considered

  • Interpret diagnostics as evidence bytes, copy the Open preset or add an immediate seventh evidence axis.

    Translated quotation

    A caller can lower the diagnostics limit and unintentionally change the signature and evidence input limits. Changing the startup admission budget changes the defaults for another call. A seventh axis requires redesigning the fixed six Lispex axes and their order. The existing separation of reports and evidence already expresses the two effects.

Related specification

Native kernel membership

Choice

The audit determines which primitives remain in the final native kernel.

Start from the current native development registry and the closure of the library image.

Keep derived operations in the guest when their public semantics, ordering, resource events and account boundary can be preserved.

Alternatives considered

  • Approve the whole development registry or choose a smaller registry without auditing it.

    Translated quotation

    The former includes implementation conveniences in final support. The latter can lose dependencies and metering boundaries.

Version history

  1. Follow-up ·

    The 149 public procedures are covered by 145 native and 4 guest procedures.

    Native classes have Fixed 36, Precharged 1, Incremental 98 and GuestCalling 10.

    Required unclassified procedures and Deferred are each 0.

    Guest procedures are caar, cadr, cdar and cddr.

    The definitive list is result.kernelAudit in lispex.claim.v2.standard-library.primitive-classification.

    New transfers to guest code are 0.

    Ordinary guest calls differ in resource events at parameter entry. An equivalent guest definition of (not #f) had environment-create where the native path had argument-check.

    A replacement must preserve order and canonical site.

    The specification runner compares the built registry and verified library image closure to the specification and observes events, outcomes and receipts for all 149 rows.

    The observed LibraryIdentity digest was d0e22f7fc1200cc2fe4ad65dd67a477a178bdf347a7a5b15293febf74882add2.

    The native kernel audit is dated 2026-11-28.

    General model values, the physical envelope, release target checks and Topaz supply are separate decisions and observations. lispex.pending.v2.standard-library.kernel-and-cost-model remains open pending release product evidence.

Related specification

Native Load and Export selection

Choice

Enable Load and Export in a separate native development selection that supports them.

The selection has a new physical installation envelope and development resource model identity.

Derive trusted ingress from the supported raw prepared payload, bounded optional SourceMap, canonical container and lispex.host/2 framing. Reserve the full command snapshot, decode storage and complete refusal before reading the operation. Then apply narrower source, evaluation and Load admission limits.

Charge Load preparation for the raw payload and required validation, and honor lower caller limits.

Preserve tariff calculations and the semantics of values, Unicode and the library.

The model identity contributes to program identity. Programs prepared under an older installation retain their identity.

Alternatives considered

  • Keep the 4,096-octet command and 1,024-octet preparation limits, borrow the Open input budget or use separate file or chunk routes, or just raise the fixed-rule model and envelope limits.

    Translated quotation

    The successful Prepare on an actual installation produces a 6,746-octet resolved/1 payload, so Load cannot accept it. A separate ingress bypasses the existing ABI and preparation input charges. Raising the fixed limits changes the contract ATLAS uses.

Related specification

Native Open admission limits

Choice

The native 2.0 development supply offers Open and startup admission with required OpenLimits.

The closed 2.0 Datum record has allocation, diagnostic, frames, input, result and work.

Each field is an exact nonnegative integer in the selected representation range.

Honor 0 directly.

Reject missing, extra, mistyped or out-of-range fields before reading the package.

A run requiring Open and the first native session reports startup success only after session preparation. Open alone returns a Product after installation capacity is checked. A later session creation failure stays separate.

The installation catalog binds native-open-admission/1 model identity and support evidence to the existing Open envelope and exact installation tuple.

Specify events, tariffs, frames, channels, representation ranges and refusal schema in the model.

Caller limits belong to a separate admission account. They leave the Open envelope, guest model identity, ingress and Prepare, Load and Evaluate limits unchanged.

Record startup admission only when it enforces all six axes.

A compatibility entry, if retained, interprets installation defaults through the same admission path.

Preserve the package validation order after checking the record.

Reserve events atomically before effects in work, allocation, frames and applicable channel order.

Physical refusal uses host.envelope.

The first exhausted valid caller limit reports host.admission-resource in admission.

Closed data contain contract, the first axis and the Open stage.

Emergency refusals use independent physical storage.

Failure returns no Product, prepared handle, incomplete success, outcome or receipt.

Preserve exact model, input and installation identities and actual responses in supplier evidence.

Keep the existing product checks for the fixed ATLAS installation.

Alternatives considered

  • Rename physical memory, depth and fuel as six logical axes, or repeat supplier checks and compare totals after the work.

    Translated quotation

    Both lose the original diagnostic order and account ownership.

Related specification

Package Open envelope

Choice

Package Open uses a dedicated Open envelope.

It is separate from the 4,096-octet command ingress, semantic preparation and evaluation limits, and the existing host boot and load deadlines.

The trusted installation catalog sets maximum input octets, decode work, nodes and memory and complete refusal reporting. It binds them to the exact compatible installation tuple in the Open envelope identity.

Open reserves these limits before reading input.

Even within the byte bound, nested bytevectors cannot trigger unchecked allocations.

These bounds leave guest command ingress, preparation and evaluation limits, and ATLAS boot and load deadlines unchanged.

Alternatives considered

  • Reuse or raise command ingress, or let the package's declared length set its own admission limit.

    Translated quotation

    The current evaluator WASM alone is 1,983,121 octets, so the existing limit rejects a valid package. Raising it changes both the ATLAS fixed-rule contract and the resource model identity. A length from the package lets the input set its own admission resources.

Related specification

Complete output reservation

Choice

Measure the full named record and fields, reserve all output, allocate physical space, write every byte and then publish.

Conversion workspace has a previously reserved host account and is not charged to the guest result account.

Alternatives considered

  • Allocate before reservation, double-charge output or publish a partial record.

Related specification

Preparation report format

Choice

Correct the forbidden dependency form from lispex.preparation-report/2 to lispex.prepare-report/2.

Do not provide an alias.

Related specification

Preparation request witness

Choice

prepare_request exists only with immutable preparation input, complete finite limits, verified fixed Unicode, library and model witnesses and completed bounded hashing.

Earlier failures carry no request witness.

Preserve the completed seal if later preparation fails. expected_program remains a claim checked only for domain.

Alternatives considered

  • Require a finished verified program as the only witness or discard a mismatched claim early.

Related specification

Release resource units

Choice

General 2.0 work uses existing event requirement functions and their specified semantic operands.

The logical allocation candidate combines canonical payload octets, fixed logical headers and slots and a fixed logical limb width.

Exclude physical sizeof, allocator slack, elapsed time, cache and physical integer word width from the semantic tariff. Count simultaneously live specified frames and complete packets per channel.

The candidate bounds each event’s effects, scratch space and requirement computation.

An equal semantic request keeps the same resolved model behavior across targets, sharing, caches and prepared formats.

Reject a candidate if a physical trap, OOM or fuel stop precedes its semantic stop on the smallest supported envelope.

After verification fix the base axis data and complete definition before computing a new ResourceModelIdentity.

Then fix logical limb width, header and slot sizes, coefficients, representation and default limits.

Choose no numeric values before current bounds and cross-product evidence.

Keep the identities of the native development host model and the fixed ATLAS model.

Alternatives considered

  • Charge a flat value for each event, use elapsed time or physical bytes, or tune only to a moving average.

    Translated quotation

    A fixed charge per event cannot reflect input amplification in its price. Using elapsed time or physical bytes changes the stopping point for the same request when the target or allocator changes. Rare worst-case costs can exceed a bound based only on a moving average.

Related specification

Release precharge prerequisites

Choice

Complete three prerequisites before the release candidate requirement functions.

Derive direct lexical access from the verified graph. Locals use owning frame distance and slot, globals use direct slots.

Initialize declared slots directly. Reads move through verified parent distances without scanning intermediate slots.

Only distance can be an input to the normative requirement.

The derived plan changes neither transport packets, canonical sites, ProgramIdentity nor prepared formats. Source, resolved/1 and bytecode/1 yield the same plan.

Separate semantic site description from encoding.

Pass coordinates or a bounded cursor whose size the model can compute at reservation.

Produce complete site bytes when the reservation result is published.

Reserve work and scratch for usual and refusal sites and for the first refusal in the approved phase envelope.

Preparation, evaluation and host accounts do not borrow from each other. The codec follows the same rule.

Before freezing numbers specify how the minimum supported memory, stack and fuel relate to the limits vector.

Refuse unsupportable vectors before semantic execution while preserving the original requested limits.

Alternatives considered

  • Charge the global maximum on every access, charge measured work after search or raise candidate limits.

    Translated quotation

    A global maximum conservatively covers work but overcharges repeated reads in simple loops and leaves site work that precedes the ledger. Charging after search executes effects before the first refusal. Larger candidate limits account for neither work before admission nor the first physical stop on the minimum target.

Related specification

Original source length

Choice

Preserve the exact byte length of the source verified by SourceIdentity. The whole span runs from 0 to the original length.

After failure do not reread, decode, normalize, copy or rehash the source.

Alternatives considered

  • Read source again or use character count, transformed length or a claimed length.

Related specification

Native development supply

Choice

Use a native base-only development candidate to connect the Topaz 6.0 installation.

Keep the scope of temporary-embedding-20261117/1 and the ATLAS fixed-rule product unchanged.

Choose the final supply for release condition 6 in a separate decision after the general model, kernel, physical envelope and portable prepared support are settled. The development candidate does not supply that release evidence.

Alternatives considered

  • Require a release-qualified supply up front or extend the ATLAS embedded host to general Package Open.

    Translated quotation

    Finalizing the general model and physical envelope first would delay integration verification. Extending the ATLAS host changes the limits and supported targets of the existing contract at the same time.

Related specification

Unicode casing context

Choice

Include preceding context state and lookahead for Final_Sigma in map extent n, with at most n visits to source scalars.

Check Case_Ignorable first.

Alternatives considered

  • Add separate scan events or infer context from the output.

Related specification

Folded string comparison events

Choice

After all folding, read the left scalar or end, then the right scalar or end, in one compare-scalar event before deciding.

Alternatives considered

  • Add raw scan events or decide after the left read alone.

Related specification

Folded result site

Choice

For caseless comparison allocate argument i's folded string at result(i) of the call. The index i is the original argument position.

Alternatives considered

  • Reuse the argument or map event site.

Related specification

Folded argument retention

Choice

After all domain checks retain folded values in the call's existing argument slots.

The original strings and enclosing bindings stay unchanged.

Alternatives considered

  • Allocate a separate descriptor array.

    Translated quotation

    Its storage is outside accounting.

Related specification

Unicode mapping scratch space

Choice

The first unicode-map reservation for a nonempty string includes n times D expansion workspace. Allocate it after approval.

D is 3 for upper, 2 for lower and 3 for fold.

Empty strings have no map event.

Alternatives considered

  • Charge growth separately for each map event, or make a separate reservation after the first map takes effect.

Related specification

Normalization workspace

Choice

After scan and end visits, a single unicode-normalize reserves two D times n buffers, 256 counters, stable counting order and in-place composition.

D is 4 for canonical and 18 for compatibility normalization.

These are structural bounds. The selected model owns the coefficient.

Alternatives considered

  • Use host recursion, comparison sorting or hidden quadratic insertion, or calculate the actual L and r before reservation.

Related specification

Unicode result extent

Choice

Result datum-allocate extent is the actual output scalar count m.

The full requirement includes up to 4m UTF-8 bytes, the header and the value slot.

Alternatives considered

  • Use the input scalar count or encoded byte count as event extent.

Related specification

Unicode scalar results

Choice

Reserve and construct the exact digit-value integer and its value slot within unicode-map.

Property and simple mapping rows use only scan and map events.

Alternatives considered

  • Add a separate datum-allocate event.

    Translated quotation

    That changes the existing event sequence and first failure.

Related specification

WASM command architecture

Choice

Separate the shared command contract from the ABI boundary.

Dependencies run one way.

Build the site index once during preparation.

Related specification

WASM memory envelope

Choice

One unshared memory32 has a provisional limit of 256 pages (16 MiB). The provisional shadow stack limit is 1 MiB.

The WASM feature set is a closed allowlist.

Remeasure these limits after implementing command packaging, artifacts and reporting. If they prove insufficient, revise them before deployment.

Bind the limits, build and host support to the physical envelope identity.

Related specification

Worker memory support

Choice

Standard browser Workers and Node worker_threads cannot bound all memory of an execution unit including JavaScript, messages and ArrayBuffer.

The WHATWG HTML Standard provides no total Worker memory limit in WorkerOptions. The Node.js 24.18.0 Worker threads documentation describes resourceLimits as limits on the JavaScript engine. External data such as ArrayBuffer falls outside their scope.

Guest linear memory is at most 16 MiB.

Ingress and egress arenas have fixed sizes. Cursor and node counts are finite.

Use one request at a time with ownership transferred.

Preparation and evaluation have separate deadlines and forced termination.

Recover after termination.

Node resourceLimits provides additional JavaScript heap control.

No OS-level limit on total unit memory is guaranteed in a browser or a Node thread.

This support scope is sufficient for the first feature.

Evaluation admits one approved fixed rule with 1 KiB and 64 frames.

Two changes precede user-edited code or untrusted input.

Move server evaluation to a separate OS-memory-bounded process.

Decide anew whether browser support admits untrusted input.

Version history

  1. Follow-up ·

    Set a server-wide limit on concurrently running Workers. A limit of one request per Worker alone can still exhaust server memory as Workers accumulate. Specify the global limit and how overflow waits or is refused with an observable host failure.

    Refuse attempts to grow guest linear memory beyond 16 MiB. Allow forced interruption during either preparation or evaluation. The next request succeeds after recovery. A failed attempt never returns an earlier result.

  2. Follow-up ·

    Set the concurrency and queue limits together and refuse excess requests with an observable host failure. Bounding Workers alone allows the pending queue to exhaust server memory.

    Canonical success, language failure and resource refusal yield identical response bytes under equal conditions on Native, browser and server.

    Browser Worker termination, server timeout and a WASM trap return an observable host failure. These failures are outside canonical byte equality and never return an earlier result.

Related specification

Worker phase interruption

Choice

Set separate preparation and evaluation deadlines.

Choose conservative limits with slack over the observed distribution.

Discard late messages by epoch.

Recover through a new Worker, new instance and new preparation.

Preserve the identities established before termination.

Preserve only verified facts.

Related specification

Worker recovery evidence

Choice

Recover after memory refusal, an actual trap, forced preparation stop or forced evaluation stop. Use a new Worker and instance, repeat preparation and resume evaluation in each case.

The failed attempt must produce no new receipt or outcome.

Related specification

Value equality

Choice

Use eq? and eqv? for scalars and equal? for portable data. Comparing procedures is an error.

Alternatives considered

  • Compare procedures by deterministic primitive and closure IDs or by addresses.

    Translated quotation

    The constraints on optimization and reproducibility are substantial relative to its usefulness.

  • Specify the creation and sharing identity of every object, or make eq? compare structure too.

Related specification

Data at the host boundary

Choice

The host injects data only.

Block public callbacks including arbitrary Rust functions and prioritize artifacts without imports.

Alternatives considered

  • Give the guest an explicit effect capability or allow ambient lookup.

  • Expose a verified pure metered callback ABI or allow arbitrary callbacks.

    Translated quotation

    An explicit capability alone does not guarantee a function’s execution limits or determinism.

  • Use an ordinary native crate or rely on an OS process alone for isolation.

  • Use dynamic callback capabilities or expose general WASI or FFI.

Related specification

Downloads →