20
Design decisions
What Lispex 2.0 chose, the alternatives it weighed, and where each choice lives in the specification.
122 adopted decisions
On this page
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
- Resolve a common finite preset
- Keep terminal failures outside guards
- Validate artifacts before execution
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Check the components of a package
- Pass data across the host boundary
- Validate prepared programs
- Refuse unsupported requests before entry
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Keep profile work separate
- Validate data without coercion
- Reject malformed and alternate encodings
- Bind a receipt to the request and outcome
- Preserve the class of a failed attempt
- Resolve finite budgets before execution
- Admit only a supported physical envelope
- Pass outside facts as data
- Classify every native operation explicitly
- Map admitted records in canonical key order
- Reject malformed explicit limits
- Reject invalid host input before the guard
- Reject a host callback as input
- Refuse an artifact that requests file access
- Refuse mismatched package components
- Refuse malformed explicit limits
- Refuse an unsupported resource model
- Revalidate transported prepared bytes
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Reject an excluded library operation
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Stop a finite input schema check before entry
- Reject a numeric string for an integer schema
- Reject missing engine support
- An admission report without an evaluation receipt
- Keep incomplete attempts out of semantic receipts
- Compare separate profile work identities
- Receipts for a value and a language failure
- Repeat a terminal resource stop
- Reject an unsupported physical envelope
- Reject an unlimited request
- Reject a host callback as input
- Reject a required Deferred primitive
- Reject a missing primitive classification
- Order exact keys and reject duplicates
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
- Admission report bytes
- Profile work reports preserve the receipt
- Mark only verified identity bindings
- Keep a claimed program identity out of verified markers
- Distinguish a checked evidence identity from an authenticated issuer
- Omit an identity whose bounded hashing did not complete
- Keep partial input outside admission receipts
- Refuse a declaration before assigning its identity
- Check evidence for a completed failure receipt
- Preserve a successful receipt after schema mismatch
- Reserve room for the complete terminal report before entry
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
- Use closed artifact containers
- Admit the exact evaluator exports
- Pin the complete package contract
- Reject imports and extra exports
- Open a package with pinned contracts
- Reject substituted library bytes
- Keep program identity outside local sites
- Reject a mismatched prepared payload tag
- Emit one default prepared format
- Read one response without rerunning
- Require supported evaluator evidence
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
- Concrete command forms
- Resolve a common finite preset
- Prepare before evaluating
- Keep terminal failures outside guards
- Validate artifacts before execution
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Transfer a tail result without retaining a caller frame
- Bound numeric work without changing its meaning
- Prepare before evaluation
- Validate prepared programs
- Reject continuation and dynamic handler procedures
- Refuse unsupported requests before entry
- Keep profile work separate
- Identify every semantic input
- Preserve the class of a failed attempt
- Resolve finite budgets before execution
- Admit only a supported physical envelope
- Accept equality and reject an excess
- Limit active semantic frames
- Keep preparation and evaluation budgets separate
- Every program uses the sandbox contract
- Finish within finite limits
- Account for preparation separately
- Classify every native operation explicitly
- Resolve the same default
- Reject malformed explicit limits
- Prepare without calling the entry
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Return control from a nonterminating rule
- Refuse an artifact that requests file access
- Refuse malformed explicit limits
- Refuse an unsupported resource model
- Revalidate transported prepared bytes
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Prepare without entering a rule
- Stop before issuing a prepared program
- Reject a continuation capture attempt
- Reject a dynamic cleanup attempt
- Stop finite evidence work after evaluation
- Reject an excluded library operation
- Stop a finite input schema check before entry
- Reject missing engine support
- An admission report without an evaluation receipt
- Two artifacts for the same request
- Equal results under different finite limits
- Keep incomplete attempts out of semantic receipts
- Compare separate profile work identities
- Repeat a terminal resource stop
- Preserve evaluation work through preparation reuse
- Resolve the shared finite preset
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Stop before an additional nontail frame
- Replace the frame in a tail loop
- Reject an unlimited request
- Compare limits around the complete work charge
- One datum through each product
- Stop an unending rule
- Stop when preparation has insufficient budget
- Reject a required Deferred primitive
- Reject a missing primitive classification
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
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Preserve the first stop across caches
- Reuse preparation with the same result
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject runtime dependency loading
- Keep an imported procedure in its module
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Reject incompatible prepared semantics
- Repeat initialization for every request
- Reject an invalid branch target
- Reject a missing module
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Prepare without entering a rule
- Stop before issuing a prepared program
- Reject an import of a private binding
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Compare spacing and comment variants
- Initialize an unimported supplied module
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
- Prepare before evaluating
- Reject dynamic condition control
- Validate artifacts before execution
- Prepare a rule and evaluate an input
- Resolve a name in its lexical scope
- Project resolved bindings
- Supply every dependency
- Import exported lexical bindings
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Preserve resolved meaning
- Validate prepared programs
- Validate each declared entry
- Supply one input datum to the entry
- Select the declared root entry
- Keep source, program, and artifact identities separate
- Keep preparation and evaluation budgets separate
- Pass outside facts as data
- Resolve only submitted source
- Prepare closed guest library code
- Prepare without calling the entry
- Reject a continuable signal
- Reject a procedural handler
- Reject dynamic cleanup
- Refuse an artifact that requests file access
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- Revalidate transported prepared bytes
- A procedure keeps the enclosing value
- Follow a shadowed name
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject runtime dependency loading
- Keep an imported procedure in its module
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Reject incompatible prepared semantics
- Repeat initialization for every request
- Reject an invalid branch target
- Reject a missing module
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Reject an import of a private binding
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Compare spacing and comment variants
- Initialize an unimported supplied module
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Select an imported lexical procedure
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject a constant as an entry
- Pass several facts in one list datum
- Select an explicitly renamed entry
- Call a rest entry with one input
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject an entry with no parameters
- Two spellings of the same program
- Preserve evaluation work through preparation reuse
- Reject a request for the host clock
- Reject a host callback as input
- Supply a fact as an input datum
- Reject runtime source loading
- Keep library references closed
- Keep library evaluation charges across caches
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.
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
- Expose stable condition data
- Construct and inspect typed conditions
- Propagate a structured condition
- Report an empty input as a failure
- Repeat the complete request
- Use the input of each new request
- Apply every library check in a fixed order
- Use the complete public procedure catalog
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Keep a condition through presentation changes
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Keep the left argument failure first
- Propagate the caught condition
- Inspect the empty-list failure
- Use a new input after a failure
- Replay a failing request
- Replay a successful request
- Inspect a Condition through its public procedures
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
- Evaluate recovery outside the handling guard
- Recover from an ordinary condition
- Reject dynamic condition control
- Propagate a structured condition
- Keep terminal failures outside guards
- Reject continuation and dynamic handler procedures
- Limit active semantic frames
- Public procedure contracts
- Reject a continuable signal
- Reject invalid host input before the guard
- Choose the first matching clause
- Reject a removed operation before evaluation
- Recover from an empty pair input
- Handle a recovery failure in the outer guard
- End an unending guarded calculation
- Return the successful body value
- Pass an unmatched condition outward
- Reject a procedural handler
- Propagate the caught condition
- Reject dynamic cleanup
- Reject a continuation capture attempt
- Reject a dynamic cleanup attempt
- Stop before an additional nontail frame
- Replace the frame in a tail loop
- Reject guest output
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
- Identify every diagnostic by phase and code
- Serialize typed diagnostic fields without coercion
- Resolve a common finite preset
- Construct and inspect typed conditions
- Validate artifacts before execution
- Resolve finite limits before entry
- Keep trace capacity separate from evaluation
- Bound numeric work without changing its meaning
- Check rounding arguments before numeric work
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Qualify output separately
- Keep profile work separate
- Reject malformed and alternate encodings
- Admit only a supported physical envelope
- Accept equality and reject an excess
- Identify model data before resolving budgets
- Reserve before the semantic effect
- Charge normative work
- Finish within finite limits
- Account for preparation separately
- Check a binding group before its children
- Apply every library check in a fixed order
- Classify every native operation explicitly
- Exchange exact canonical data
- Resolve the same default
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Reject malformed explicit limits
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Return control from a nonterminating rule
- Refuse an artifact that requests file access
- Refuse malformed explicit limits
- Revalidate transported prepared bytes
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Stop finite evidence work after evaluation
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Meter work inside exact multiplication
- Refuse a pair before its allocation effect
- Compare limits around the complete work charge
- Stop an unending rule
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Reserve only the next required check
- Stop when preparation has insufficient budget
- Check every recursive initializer head first
- Keep sequential bindings in separate scopes
- Reject a required Deferred primitive
- Reject a missing primitive classification
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
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
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
- Exact numeric display
- Give decimal spellings exact numeric values
- Round on an explicit decimal grid
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Exchange exact canonical data
- Return the values denoted by decimal spellings
- Compare numeric values across spellings
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
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
- Expose stable condition data
- Report the first ordered failure
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Evaluate the operator and arguments in order
- Distinguish parallel and sequential bindings
- Reject a repeated definition in one scope
- Use named let for a recursive loop
- Evaluate only the selected expressions
- Repeat the complete request
- Preserve dependencies and control flow
- Compare exact mathematical values
- Check rounding arguments before numeric work
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Preserve resolved meaning
- Expand a final argument list with apply
- Match fixed parameters to arguments
- Pass an internal value sequence to its receiver
- Require one value where one value is consumed
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Replay only the complete same request
- Order the axes within one reservation
- Keep checks and reservations in order
- Repeat the same semantic request
- Preserve meaning through normalization
- Read the complete module before normalization
- Select the first component of a pair
- Apply every library check in a fixed order
- Validate complete list tuples before callbacks
- Validate lists before ordered callbacks
- Use default simple and full case algorithms
- Validate equality operands in a fixed order
- Map admitted records in canonical key order
- Validate data before returning structural equality
- Use the fixed Unicode repertoire
- Keep a condition through presentation changes
- Keep the left argument failure first
- Select each clause form
- Choose the first matching clause
- Propagate through an empty clause list
- Keep tests and recovery outside their guard
- Reject malformed guards before entry
- Handle a recovery failure in the outer guard
- Preserve lexical scope and internal values
- Require one test and recipient value
- Pass an unmatched condition outward
- An argument failure precedes arity
- An argument failure precedes callability
- The left argument fails first
- Resolve an initializer before the new loop scope
- Accumulate a value through recursive arguments
- An operator failure comes first
- A let initializer sees the enclosing name
- Reject duplicate names in one let
- Reject a second definition
- A sequence stops at its first failure
- A let* initializer sees the preceding name
- Reuse a name in a later sequential scope
- Stop after the deciding operand
- Treat only false as false
- Leave the other branch unevaluated
- Replay a failing request
- Replay a successful request
- Inspect both branches and execute one
- Follow a recursive tail call
- Compare ratios and decimal spellings
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Repeat initialization for every request
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Compare spacing and comment variants
- Initialize an unimported supplied module
- Append list elements to explicit arguments
- Reject an improper final list
- Reject two values in one argument position
- Bind arguments in parameter order
- Reject a missing argument
- Reject zero values in a binding initializer
- Receive two internal values
- Receive zero internal values
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- A matching value from a different request
- A retained request without its resource model
- Replay both a value and a failure
- Keep a domain check before later arithmetic work
- Choose the first insufficient axis at one event
- Repeat a request after preparation
- Preserve a binding through conditional sugar
- Check recursive forms in source order
- Read both quotation forms as data
- Finish reading before checking recursive bindings
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Preserve full expansions and original context
- Compare separately constructed lists
- Visit pair and vector components in order
- Select the first invalid operand
- Compare explicitly folded scalar sequences
- Order exact keys and reject duplicates
- Reject a procedure inside shared data
- Check the whole data domain
- Use the frozen character properties
- Preserve scalars with default mappings
- Validate every argument before Unicode work
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
- Identify every diagnostic by phase and code
- Source and preparation diagnostic mapping
- Serialize typed diagnostic fields without coercion
- Reject dynamic condition control
- Keep terminal failures outside guards
- Present the same condition twice
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Source forms, modules, and entry checks keep their identities
- Prepared failures share the closed schema
- Preserve language results through profile refusal
- Reader checks select existing families
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Identify the evaluation phase
- Report an evaluation domain failure
- Evaluate after a failed request
- Separate interrupted attempts
- Report an incomplete source form
- Reject a continuable signal
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Reject a procedural handler
- Reject dynamic cleanup
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
- Validate each declared entry
- Supply one input datum to the entry
- Select the declared root entry
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Select an imported lexical procedure
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject a constant as an entry
- Pass several facts in one list datum
- Select an explicitly renamed entry
- Call a rest entry with one input
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject an entry with no parameters
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.
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
- Sign one canonical execution statement
- Verify evidence under explicit offline trust
- Retain a result when evidence work stops
- Authenticate the exact statement packet
- Use only the supplied trust entries
- Verify one complete canonical signed statement
- Keep the original signed work scope
- Reject alternate Ed25519 representations
- Bind verification to the selected receipt
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
- Identify a failure by phase and code
- Exact numeric display
- Bound numeric work without changing its meaning
- Give decimal spellings exact numeric values
- Preserve exact numeric meaning
- Keep a quotient exact and reject zero divisors
- Reject inexact numeric values
- Choose scale and rounding explicitly
- Compare exact mathematical values
- Reduce rational values
- Round on an explicit decimal grid
- Select a rounding mode and resolve every tie
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Validate data without coercion
- Reject malformed and alternate encodings
- Count cumulative logical allocation
- Read numeric literals exactly
- Give literals exact values
- Read one fixed syntax
- Decode exact UTF-8 source bytes
- Use the exact numeric contract
- Use the complete public procedure catalog
- Identify the evaluation phase
- Report an incomplete source form
- Calculate beyond a 64-bit unsigned range
- Choose tenths and hundredths in ordinary rule code
- Return the values denoted by decimal spellings
- Add exact decimal values
- Keep one third exact and reject division by zero
- Stop an unending calculation with numeric growth
- Reject an explicit inexact literal
- Compare ratios and decimal spellings
- Reduce a fraction and preserve its sign
- Compare numeric values across spellings
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Reject a numeric string for an integer schema
- Keep discarded allocation charges
- Read pair tails, vectors, and bytevectors
- Add exact decimal literals
- Read exact names with bars and escapes
- Reject an inexact literal
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
- Add exact decimal values
- Report a zero base for negative powers
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
- Common command outcomes
- Numeric command status
- Report an operational failure exit
- Report a resource failure exit
- Return application decision data
- Report an evaluation domain failure
- An evaluation failure keeps its status
- Report incomplete host input
- Separate interrupted attempts
- Every phase has a command status
- Report profile refusal after successful evaluation
- Report an incomplete source form
- Stop an unending rule
- Verification and replay retain the outcome
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
- Evaluate only the selected expressions
- Record a complete prefix of execution events
- Keep one typed prepared graph
- Validate every prepared record
- Identify the validated canonical module meaning
- Forward explicitly returned internal values
- Require written conditional alternatives
- Select each admitted clause shape
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.
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
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Select each clause form
- Choose the first matching clause
- Propagate through an empty clause list
- Keep tests and recovery outside their guard
- Reject malformed guards before entry
- Handle a recovery failure in the outer guard
- Preserve lexical scope and internal values
- Require one test and recipient value
- Pass an unmatched condition outward
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.
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
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Recover from an ordinary condition
- Transfer a tail result without retaining a caller frame
- Validate every prepared record
- Use the ordered semantic event catalog
- Limit active semantic frames
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
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
- Encode one closed host request
- Supply the complete bundle and root
- Use phase-specific typed calls
- Keep the decoded Unicode root
- Require root even for one module
- Refuse incomplete and inexact limits
- Reuse only the immutable program
- Encode exact host request bytes
- Host request decoding priority
- Refuse evaluation before sealing
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.
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
- Identify the validated canonical module meaning
- Use separated SHA-256 identity domains
- Encode named records as canonical Datum
- Bind each request to its complete inputs
- Compare exact request bytes before semantic verification
- Identical octets keep distinct identity domains
- An empty source has exact identity bytes
- A duplicate module table has only captured provenance
- Identity decoding rejects alternate record shapes
- Reader escapes keep one decoded module name
- A distinct canonical binding name remains distinct
- Both prepared encodings retain one program meaning
- An unrelated module does not rename a dependency meaning
- A host budget change keeps the semantic request
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
- Identify every diagnostic by phase and code
- Keep condition meaning separate from display
- Bind an early report to source
- Serialize typed diagnostic fields without coercion
- Keep replay and evidence checks distinct
- Expose stable condition data
- Construct and inspect typed conditions
- Check the components of a package
- Keep external facts and actions with Topaz
- Repeat the complete request
- Keep original sites in grouped views
- Keep source maps outside semantic identity
- Preserve evaluation across caches
- Preserve resolved meaning
- Validate prepared programs
- Attach evidence to the same outcome
- Compare the complete semantic outcome
- Identify every semantic input
- Replay only the complete same request
- Verify evidence against its request and outcome
- Keep source, program, and artifact identities separate
- Bind a receipt to the request and outcome
- Bind early preparation failures to their source
- Preserve the first exhausted axis and site
- Repeat the same semantic request
- Preserve meaning through normalization
- Preserve source spelling
- Read the complete module before normalization
- Reject invalid source before evaluation
- Separate tokens outside literals
- Prepare closed guest library code
- Present the same condition twice
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Report an incomplete source form
- Compare a recorded result
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Keep a condition through presentation changes
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Replay a fact captured by Topaz
- Refuse mismatched package components
- Replay a failing request
- Replay a successful request
- Group repeated expressions without losing sites
- Replay after source locations move
- Preserve the first stop across caches
- Reuse preparation with the same result
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Compare spacing and comment variants
- Attach distinct evidence to one language outcome
- Two artifacts for the same request
- A matching value from a different request
- Equal results under different finite limits
- Check the record that an envelope authenticates
- The same failure with different presentation
- A retained request without its resource model
- Compare separate profile work identities
- Receipts for a value and a language failure
- Replay both a value and a failure
- Two spellings of the same program
- A preparation failure before program identity exists
- Preserve the stop through constant sharing
- Repeat a request after preparation
- Preserve a binding through conditional sugar
- Keep two Unicode spellings distinct
- Preserve text inside a string
- Check recursive forms in source order
- Read both quotation forms as data
- Finish reading before checking recursive bindings
- Ignore a comment between forms
- Reject an unfinished source form
- Keep library references closed
- Keep library evaluation charges across caches
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
- Fresh requests in interactive tools
- Prepare a rule and evaluate an input
- Distinguish parallel and sequential bindings
- Reject a repeated definition in one scope
- Keep each binding unchanged
- Tie recursive names only to procedures
- Resolve a name in its lexical scope
- Use named let for a recursive loop
- Use the input of each new request
- Import exported lexical bindings
- Match fixed parameters to arguments
- Collect remaining arguments in a list
- Count cumulative logical allocation
- Select the first component of a pair
- Public procedure contracts
- Transform data without changing it
- Keep executable values inside evaluation
- Evaluate after a failed request
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- Reject an assignment
- Use an internal recursive procedure
- A procedure keeps the enclosing value
- Call another procedure in the recursive group
- Resolve an initializer before the new loop scope
- Accumulate a value through recursive arguments
- A let initializer sees the enclosing name
- Reject duplicate names in one let
- Reject a value initializer in letrec
- Reject a second definition
- A let* initializer sees the preceding name
- Reuse a name in a later sequential scope
- Use a new input after a failure
- Keep an imported procedure in its module
- Reject an import of a private binding
- Collect zero arguments
- Bind arguments in parameter order
- Reject a missing argument
- Keep the remaining argument order
- Keep discarded allocation charges
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Reject guest output
- Return nested data
- Reject an executable element in a result
- Keep the original list after construction
- Reject vector mutation
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
- Refuse unsupported requests explicitly
- Check the components of a package
- Preserve meaning across products
- Require conformance from a graph evaluator
- Refuse unsupported requests before entry
- Use one base language
- Attach evidence to the same outcome
- Qualify output separately
- Keep profile work separate
- Validate data without coercion
- Preserve meaning after admission
- Identify every semantic input
- Keep meaning when a profile admits a request
- Refuse mismatched package components
- Compare a value and a domain failure across products
- Refuse an unsupported resource model
- Compare an independent graph evaluator
- Return a value in the base language
- Stop finite evidence work after evaluation
- Attach distinct evidence to one language outcome
- Reject an excluded library operation
- Stop a finite input schema check before entry
- Reject a numeric string for an integer schema
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- Reject missing engine support
- Two artifacts for the same request
- Equal results under different finite limits
- Compare separate profile work identities
- Compare an admitted request across profiles
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*.
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.
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.
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
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Reject malformed graph associations and frames
- Project all prepared forms into one graph
- Encode typed local site vectors
- Map escaped names to exact UTF-8 spans
- Reserve complete trace frames and one footer
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
- Preserve dependencies and control flow
- Encode a local occurrence and event role
- Require conformance from a graph evaluator
- Read one canonical graph record
- Keep original sites in grouped views
- Project resolved bindings
- Bind byte spans to exact submitted source
- Keep source maps outside semantic identity
- Keep trace capacity separate from evaluation
- Record a complete prefix of execution events
- Reserve channels and return one atomic outcome
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
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.
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
- Validate complete list tuples before callbacks
- Validate lists before ordered callbacks
- Require one result where the traversal consumes one value
- Check callback arity even for empty lists
- Fix fold direction and accumulator position
- Allocate a mapped pair before the next callback
- Pass each list tuple in argument order
- Finish every list shape before callback checks
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.
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
- Transfer a tail result without retaining a caller frame
- Validate every prepared record
- Expand a final argument list with apply
- Pass an internal value sequence to its receiver
- Use the ordered semantic event catalog
- Use the complete public procedure catalog
- Stop a nontail apply loop at its frame limit
- Finish a tail apply loop with a small frame budget
- Transfer a call-with-values frame to its consumer
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
- Validate prepared programs
- Refuse unsupported requests before entry
- Preserve the first exhausted axis and site
- Charge normative work
- Prepare closed guest library code
- Validate lists before ordered callbacks
- Preserve library events through optimization
- Classify every native operation explicitly
- Use the complete public procedure catalog
- Public procedure contracts
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Reject an excluded library operation
- Reject missing engine support
- Meter work inside exact multiplication
- Preserve the stop through constant sharing
- Keep library references closed
- Reject a required Deferred primitive
- Reject guest output
- Keep library evaluation charges across caches
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Reject a missing primitive classification
- Preserve a library domain failure
- Preserve the first library resource stop
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
- Require conformance from a graph evaluator
- Use one base language
- Attach evidence to the same outcome
- Keep source, program, and artifact identities separate
- Every program uses the sandbox contract
- Compare an independent graph evaluator
- Return a value in the base language
- Attach distinct evidence to one language outcome
- Two spellings of the same program
- One datum through each product
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
- Preserve meaning across products
- Resolve a name in its lexical scope
- Report an empty input as a failure
- Require conformance from a graph evaluator
- Project resolved bindings
- Give decimal spellings exact numeric values
- Supply every dependency
- Import exported lexical bindings
- Preserve resolved meaning
- Use one base language
- Keep source, program, and artifact identities separate
- Bind early preparation failures to their source
- Keep meaning when a profile admits a request
- Read numeric literals exactly
- Preserve meaning through normalization
- Preserve source spelling
- Read the complete module before normalization
- Reject invalid source before evaluation
- Separate tokens outside literals
- Select the first component of a pair
- Use the exact numeric contract
- Public procedure contracts
- Use the specified text semantics
- Compare a value and a domain failure across products
- A procedure keeps the enclosing value
- Inspect the empty-list failure
- Compare an independent graph evaluator
- Follow a shadowed name
- Return the values denoted by decimal spellings
- Compare numeric values across spellings
- Reject runtime dependency loading
- Keep an imported procedure in its module
- Reject a missing module
- Reject an import of a private binding
- Compare spacing and comment variants
- Return a value in the base language
- Two spellings of the same program
- A preparation failure before program identity exists
- Compare an admitted request across profiles
- Preserve a binding through conditional sugar
- Keep two Unicode spellings distinct
- Add exact decimal literals
- Reject an inexact literal
- Preserve text inside a string
- Check recursive forms in source order
- Read both quotation forms as data
- Finish reading before checking recursive bindings
- Ignore a comment between forms
- Reject an unfinished source form
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Add exact decimal values
- Reject guest output
- Keep different scalar sequences distinct
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.
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
- One command result packet
- Canonical outcome fields
- Preparation report fields
- Portable receipt bytes
- Keep the actual receipt when comparison work exhausts its budget
- Retain the completed receipt after output interruption
- Preserve diagnostic strings and path tags
- Encode an exact rational outcome
- Keep failure receipts after evidence refusal
- Publish one result and a separate receipt packet
- Reject a failure site from another program
- Exclude counters and evidence from a receipt
- Do not verify an invalid source name table
- Report exact source bytes without a program identity
- Report a missing or unknown command without inventing a command
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
- Bind an early report to source
- Prepare before evaluating
- Resolve finite limits before entry
- Preserve meaning across products
- Prepare a rule and evaluate an input
- Preserve evaluation across caches
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Prepare before evaluation
- Qualify output separately
- Keep profile work separate
- Preserve meaning after admission
- Identify every semantic input
- Replay only the complete same request
- Bind a receipt to the request and outcome
- Reserve channels and return one atomic outcome
- Resolve finite budgets before execution
- Keep preparation and evaluation budgets separate
- Finish within finite limits
- Repeat the same semantic request
- Account for preparation separately
- Reject invalid source before evaluation
- Prepare closed guest library code
- Preserve library events through optimization
- Prepare without calling the entry
- Report an incomplete source form
- Return control from a nonterminating rule
- Refuse malformed explicit limits
- Reuse one immutable prepared rule
- Compare a value and a domain failure across products
- Reject a procedure at the result boundary
- Preserve the first stop across caches
- Reuse preparation with the same result
- Reject a directed module cycle
- Resolve dependencies before their importer
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Repeat initialization for every request
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Prepare without entering a rule
- Stop before issuing a prepared program
- Tie adjacent module procedures recursively
- Preserve renamed module bindings
- Collect one module import in one spec
- Reject a module importing itself
- Initialize an unimported supplied module
- Stop finite evidence work after evaluation
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- Two artifacts for the same request
- A matching value from a different request
- Equal results under different finite limits
- A retained request without its resource model
- Compare separate profile work identities
- Receipts for a value and a language failure
- Replay both a value and a failure
- Preserve evaluation work through preparation reuse
- Resolve the shared finite preset
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
- Reject an unlimited request
- Repeat a request after preparation
- Stop an unending rule
- Stop when preparation has insufficient budget
- Reject an unfinished source form
- Keep library references closed
- Keep library evaluation charges across caches
- Preserve a library domain failure
- Preserve the first library resource stop
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
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Keep one typed prepared graph
- Validate every prepared record
- Return a sealed immutable handle
- Reject malformed graph associations and frames
- Project all prepared forms into one graph
- Encode typed local site vectors
- Map escaped names to exact UTF-8 spans
- Reserve complete trace frames and one footer
- Keep the captured lexical binding
- Encode one graph in both formats
- Refuse incompatible fixed dependencies
- Reject malformed prepared bytes
- Keep runtime checks in evaluation order
- Check control edges and occurrence sites
- Retain each semantic surface form
- Stop validation before publishing a handle
- Reuse immutable code with fresh evaluation state
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
- Apply every library check in a fixed order
- Validate complete list tuples before callbacks
- Use the complete public procedure catalog
- Public procedure contracts
- Reserve each octet integer and pair together
- Resolve every public procedure binding
- Validate later arguments before an early numeric or text result
- Compose argument lists and internal value sequences
- Inspect a Condition through its public procedures
- Report a zero base for negative powers
- Keep internal procedures in immutable aggregates
- Visit only the selected list components
- Use only false as a false predicate result
- Reserve each constructed list position
- Validate searchable data before finding an early match
- Calculate exact integer and rational library results
- Read all lengths before append allocation
- Validate element domains even for empty construction
- Check exact indices and half-open ranges
- Reserve each UTF-8 result component
- Preserve text and reject malformed UTF-8
- Keep the first invalid UTF-8 byte site
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
- One explicit input and one result
- Prepare a rule and evaluate an input
- Distinguish parallel and sequential bindings
- Evaluate only the selected expressions
- Pass one input and receive one result
- Expand a final argument list with apply
- Supply one input datum to the entry
- Return exactly one portable datum
- Match fixed parameters to arguments
- Pass an internal value sequence to its receiver
- Collect remaining arguments in a list
- Require one value where one value is consumed
- Reject guest input
- Reject multiple boundary results
- Return one explicit input
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- A let initializer sees the enclosing name
- A sequence stops at its first failure
- A let* initializer sees the preceding name
- Reuse a name in a later sequential scope
- Stop after the deciding operand
- Treat only false as false
- Leave the other branch unevaluated
- Return the first item
- Append list elements to explicit arguments
- Reject an improper final list
- Reject two values in one argument position
- Collect zero arguments
- Reject a request with two arguments
- Bind arguments in parameter order
- Reject a missing argument
- Reject zero values in a binding initializer
- Reject a request with no argument
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Pass several facts in one list datum
- Reject a procedure result
- Receive two internal values
- Receive zero internal values
- Call a rest entry with one input
- Keep the remaining argument order
- Reject zero values at the external boundary
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
- Concrete command forms
- Common command outcomes
- Identify every diagnostic by phase and code
- Keep condition meaning separate from display
- Identify a failure by phase and code
- Bind an early report to source
- Preserve the first terminal cause
- Serialize typed diagnostic fields without coercion
- Numeric command status
- Resolve a common finite preset
- Fresh requests in interactive tools
- One explicit input and one result
- Prepare before evaluating
- Keep replay and evidence checks distinct
- Validate artifacts before execution
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Check the components of a package
- Preserve meaning across products
- Prepare a rule and evaluate an input
- Validate prepared programs
- Refuse unsupported requests before entry
- Compare the complete semantic outcome
- Verify evidence against its request and outcome
- Bind early preparation failures to their source
- Report an operational failure exit
- Report a resource failure exit
- Present the same condition twice
- Return application decision data
- Resolve the same default
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Identify the evaluation phase
- Report an evaluation domain failure
- Evaluate after a failed request
- Reject guest input
- Report incomplete host input
- Reject malformed explicit limits
- Reject multiple boundary results
- Separate interrupted attempts
- Prepare without calling the entry
- Report profile refusal after successful evaluation
- Report an incomplete source form
- Stop an unending rule
- Return one explicit input
- Compare a recorded result
- Return control from a nonterminating rule
- Refuse an artifact that requests file access
- Refuse mismatched package components
- Refuse malformed explicit limits
- Reuse one immutable prepared rule
- Compare a value and a domain failure across products
- Reject a procedure at the result boundary
- Refuse an unsupported resource model
- Revalidate transported prepared bytes
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Reject an excluded library operation
- Reject missing engine support
- Check the record that an envelope authenticates
- The same failure with different presentation
- A preparation failure before program identity exists
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
- Declare the complete profile contract
- Admit explicit records with string keys
- Use finite structural schemas
- Check record keys before field values
- Use the fixed base declaration
- Reject a narrowed declaration named base
- Inspect an excluded binding in an unselected branch
- Keep a source binding outside the library allowlist
- Qualify the same receipt with explicit evidence
- Reject duplicate record names before nested values
- Refuse a symbol as a host record key
- Lower explicit records to the same canonical input
- Keep a record wrapper ordinary at the Datum boundary
- Accept an exact enum result without coercion
- Reject an executable schema node
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
- Common command outcomes
- Numeric command status
- Attach evidence to the same outcome
- Qualify output separately
- Keep profile work separate
- Validate data without coercion
- Keep source, program, and artifact identities separate
- Preserve the class of a failed attempt
- Report profile refusal after successful evaluation
- Stop finite evidence work after evaluation
- Attach distinct evidence to one language outcome
- Stop a finite input schema check before entry
- Reject a numeric string for an integer schema
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Lower explicit records to the same canonical input
- Compare separate profile work identities
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
- Bound all profile host work
- Inspect schemas in a fixed order
- Retain host charges through output qualification
- Keep the first simultaneous host shortage
- Preserve the receipt when evidence work exhausts its budget
- Keep authoritative input decoding before schema membership
- Reserve a complete terminal report before evaluation
- Complete record keys before field membership
- Charge every repeated schema occurrence
- Check a complete list spine before its members
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.
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
- Concrete command forms
- Common command outcomes
- Keep condition meaning separate from display
- Preserve the first terminal cause
- Numeric command status
- Keep replay and evidence checks distinct
- Keep external facts and actions with Topaz
- Repeat the complete request
- Require conformance from a graph evaluator
- Keep source maps outside semantic identity
- Attach evidence to the same outcome
- Qualify output separately
- Keep profile work separate
- Compare the complete semantic outcome
- Replay only the complete same request
- Verify evidence against its request and outcome
- Bind a receipt to the request and outcome
- Preserve the class of a failed attempt
- Admit only a supported physical envelope
- Report an operational failure exit
- Report a resource failure exit
- Present the same condition twice
- Return application decision data
- Report an evaluation domain failure
- Report incomplete host input
- Separate interrupted attempts
- Report profile refusal after successful evaluation
- Stop an unending rule
- Compare a recorded result
- Replay a fact captured by Topaz
- Replay a failing request
- Replay a successful request
- Compare an independent graph evaluator
- Replay after source locations move
- Stop finite evidence work after evaluation
- Attach distinct evidence to one language outcome
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- An admission report without an evaluation receipt
- A matching value from a different request
- Check the record that an envelope authenticates
- Keep incomplete attempts out of semantic receipts
- The same failure with different presentation
- A retained request without its resource model
- Receipts for a value and a language failure
- Replay both a value and a failure
- Repeat a terminal resource stop
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
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
- Tie recursive names only to procedures
- Use named let for a recursive loop
- Transfer a tail result without retaining a caller frame
- Preserve dependencies and control flow
- Limit active semantic frames
- Read the complete module before normalization
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Use an internal recursive procedure
- Call another procedure in the recursive group
- Resolve an initializer before the new loop scope
- Accumulate a value through recursive arguments
- Reject a value initializer in letrec
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Inspect both branches and execute one
- Follow a recursive tail call
- Stop before an additional nontail frame
- Replace the frame in a tail loop
- Check recursive forms in source order
- Finish reading before checking recursive bindings
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
- Encode the whole ordered comparison
- Replay an explicit complete recorded request
- Compare every canonical failure field
- Stop comparison at its first semantic difference
- Check expected evidence before entry
- Replay the same meaning through different artifacts
- Reproduce a failure without changing command meaning
- Refuse an incomplete recorded request
- Reconstruct every recorded semantic input
- Refuse a receipt for a different request
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
- Order the axes within one reservation
- Check a binding group before its children
- Choose the first insufficient axis at one event
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Reserve only the next required check
- Check every recursive initializer head first
- Keep sequential bindings in separate scopes
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
- Count canonical channel octets
- Reserve one complete terminal representation
- Reserve whole trace frames in a separate account
- Count a multibyte string packet by octets
- Report an input refusal without inventing request identity
- Retain complete committed diagnostic bytes
- Keep a resource cause when ordinary diagnostics have no capacity
- Keep evaluation when a trace header cannot fit
- Reserve a trace marker and its length with the payload
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
- Keep ingress, codec, and failure reservations explicit
- Use the ordered semantic event catalog
- Reserve source and prepared-program work in order
- Check callback results before result allocation
- Reserve a failure payload before committing a Condition
- Reserve every equality validation visit
- Bound graph export without executing the program
- Charge input decoding before request identity exists
- Finish list validation before a callback
- Initialize one module definition in event order
- Capture prepared bytes before validation reads
- Allocate rest pairs at the lambda site
- Reserve the complete result packet before emitting bytes
- Reserve a source precheck before inspecting it
- Reserve each octet integer and pair together
- Visit only the selected list components
- Reserve each constructed list position
- Read all lengths before append allocation
- Reserve each UTF-8 result component
- Keep the first invalid UTF-8 byte site
- Normalization scratch and stable ordering
- Original Final_Sigma context reservations
- Folded scalar and end comparisons
- Folded string result sites
- Folded operand retention
- Full mapping scratch reservations
- Unicode result scalar extents
- Decimal digit result reservations
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
- Preserve the first terminal cause
- Report the first ordered failure
- Keep terminal failures outside guards
- Preserve meaning across products
- Evaluate the operator and arguments in order
- Evaluate only the selected expressions
- Transfer a tail result without retaining a caller frame
- Repeat the complete request
- Require conformance from a graph evaluator
- Keep original sites in grouped views
- Keep source maps outside semantic identity
- Keep trace capacity separate from evaluation
- Bound numeric work without changing its meaning
- Check rounding arguments before numeric work
- Preserve evaluation across caches
- Qualify output separately
- Keep profile work separate
- Preserve meaning after admission
- Compare the complete semantic outcome
- Replay only the complete same request
- Bind a receipt to the request and outcome
- Preserve the class of a failed attempt
- Order the axes within one reservation
- Keep checks and reservations in order
- Accept equality and reject an excess
- Count cumulative logical allocation
- Preserve the first exhausted axis and site
- Reserve before the semantic effect
- Limit active semantic frames
- Keep preparation and evaluation budgets separate
- Finish within finite limits
- Repeat the same semantic request
- Preserve meaning through normalization
- Validate lists before ordered callbacks
- Preserve library events through optimization
- Validate equality operands in a fixed order
- Transform data without changing it
- Map admitted records in canonical key order
- Use the fixed Unicode repertoire
- Separate interrupted attempts
- Stop an unending rule
- Keep the left argument failure first
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Compare a value and a domain failure across products
- An argument failure precedes arity
- An argument failure precedes callability
- The left argument fails first
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Stop a nontail apply loop at its frame limit
- An operator failure comes first
- A sequence stops at its first failure
- Stop after the deciding operand
- Finish a tail apply loop with a small frame budget
- Transfer a call-with-values frame to its consumer
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Treat only false as false
- Leave the other branch unevaluated
- Replay a failing request
- Replay a successful request
- Compare an independent graph evaluator
- Group repeated expressions without losing sites
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Preserve the first stop across caches
- Reuse preparation with the same result
- Stop finite evidence work after evaluation
- Stop a finite input schema check before entry
- Keep a language stop during qualification
- Preserve a datum that fails output qualification
- Stop host qualification without changing evaluation
- Qualify a matching output datum
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- An admission report without an evaluation receipt
- A matching value from a different request
- Keep incomplete attempts out of semantic receipts
- The same failure with different presentation
- A retained request without its resource model
- Receipts for a value and a language failure
- Replay both a value and a failure
- Repeat a terminal resource stop
- Keep discarded allocation charges
- Preserve evaluation work through preparation reuse
- Keep a domain check before later arithmetic work
- Stop before an additional nontail frame
- Preserve the stop through constant sharing
- Refuse a pair before its allocation effect
- Replace the frame in a tail loop
- Choose the first insufficient axis at one event
- Compare limits around the complete work charge
- Repeat a request after preparation
- Stop an unending rule
- Preserve a binding through conditional sugar
- Read both quotation forms as data
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Preserve a library domain failure
- Preserve the first library resource stop
- Visit pair and vector components in order
- Select the first invalid operand
- Keep the original list after construction
- Order exact keys and reject duplicates
- Use the frozen character properties
- Preserve scalars with default mappings
- Validate every argument before Unicode work
- Reject vector mutation
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.
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
- Resolve a common finite preset
- Keep terminal failures outside guards
- Resolve finite limits before entry
- Transfer a tail result without retaining a caller frame
- Keep trace capacity separate from evaluation
- Bound numeric work without changing its meaning
- Check rounding arguments before numeric work
- Preserve evaluation across caches
- Prepare before evaluation
- Expand a final argument list with apply
- Collect remaining arguments in a list
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Preserve the class of a failed attempt
- Order the axes within one reservation
- Reserve channels and return one atomic outcome
- Resolve finite budgets before execution
- Admit only a supported physical envelope
- Accept equality and reject an excess
- Count cumulative logical allocation
- Identify model data before resolving budgets
- Preserve the first exhausted axis and site
- Reserve before the semantic effect
- Limit active semantic frames
- Charge normative work
- Finish within finite limits
- Account for preparation separately
- Select the first component of a pair
- Apply every library check in a fixed order
- Use the exact numeric contract
- Validate complete list tuples before callbacks
- Preserve library events through optimization
- Classify every native operation explicitly
- Transform data without changing it
- Resolve the same default
- Reject malformed explicit limits
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Return control from a nonterminating rule
- Refuse malformed explicit limits
- Stop guarded body recursion at the frame limit
- Repeat handler tail calls within one frame budget
- Stop a nontail apply loop at its frame limit
- Finish a tail apply loop with a small frame budget
- Transfer a call-with-values frame to its consumer
- Stop an unending tail loop at a resource limit
- Complete many tail calls with a fixed frame budget
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Calculate beyond a 64-bit unsigned range
- Stop an unending calculation with numeric growth
- Preserve the first stop across caches
- Reuse preparation with the same result
- Prepare without entering a rule
- Stop before issuing a prepared program
- Append list elements to explicit arguments
- Reject an improper final list
- Collect zero arguments
- Keep the remaining argument order
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- An admission report without an evaluation receipt
- Keep incomplete attempts out of semantic receipts
- Repeat a terminal resource stop
- Keep discarded allocation charges
- Resolve the shared finite preset
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Meter work inside exact multiplication
- Stop before an additional nontail frame
- Preserve the stop through constant sharing
- Refuse a pair before its allocation effect
- Reject a result that exceeds its channel
- Replace the frame in a tail loop
- Keep a full trace separate from the result
- Choose the first insufficient axis at one event
- Reject an unlimited request
- Compare limits around the complete work charge
- Stop an unending rule
- Stop when preparation has insufficient budget
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Reject a required Deferred primitive
- Add exact decimal values
- Reject a missing primitive classification
- Preserve a library domain failure
- Preserve the first library resource stop
- Keep the original list after construction
- Reject vector mutation
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.
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
- Choose scale and rounding explicitly
- Check rounding arguments before numeric work
- Round on an explicit decimal grid
- Select a rounding mode and resolve every tie
- Apply every directed mode to both signs
- Use the named integer rounding procedures
- Choose the closest grid point away from ties
- Require a value already on the selected grid
- Use positive and negative decimal scales
- Reject invalid rounding calls in the declared order
- Observe an operand failure before rounding arity
- Reserve rounding work before selecting a result
- Resolve nearest ties and normalize zero
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
- Fresh requests in interactive tools
- Preserve meaning across products
- Pass data across the host boundary
- Keep each binding unchanged
- Repeat the complete request
- Use the input of each new request
- Pass one input and receive one result
- Reject inexact numeric values
- Supply every dependency
- Use one base language
- Preserve meaning after admission
- Identify every semantic input
- Replay only the complete same request
- Resolve finite budgets before execution
- Pass outside facts as data
- Every program uses the sandbox contract
- Finish within finite limits
- Keep meaning when a profile admits a request
- Repeat the same semantic request
- Resolve only submitted source
- Evaluate after a failed request
- Reject a host callback as input
- Pass an exact value to a rule
- Compare a value and a domain failure across products
- Reject an assignment
- Use a new input after a failure
- Replay a failing request
- Replay a successful request
- Return the first item
- Reject an explicit inexact literal
- Reject runtime dependency loading
- Reject a missing module
- Return a value in the base language
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- Two artifacts for the same request
- A matching value from a different request
- Equal results under different finite limits
- A retained request without its resource model
- Compare separate profile work identities
- Replay both a value and a failure
- Resolve the shared finite preset
- Reject an unlimited request
- Compare an admitted request across profiles
- Reject a request for the host clock
- Reject a host callback as input
- One datum through each product
- Repeat a request after preparation
- Supply a fact as an input datum
- Stop an unending rule
- Reject runtime source loading
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.
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
- Concrete command forms
- Common command outcomes
- One explicit input and one result
- Keep external facts and actions with Topaz
- Prepare a rule and evaluate an input
- Pass data across the host boundary
- Report an empty input as a failure
- Use the input of each new request
- Pass one input and receive one result
- Validate each declared entry
- Supply one input datum to the entry
- Return exactly one portable datum
- Select the declared root entry
- Pass an internal value sequence to its receiver
- Exchange exact canonical data
- Validate data without coercion
- Preserve meaning after admission
- Compare the complete semantic outcome
- Preserve the class of a failed attempt
- Reserve channels and return one atomic outcome
- Pass outside facts as data
- Public procedure contracts
- Keep executable values inside evaluation
- Report an operational failure exit
- Report a resource failure exit
- Return application decision data
- Report an evaluation domain failure
- Reject guest input
- Report incomplete host input
- Reject multiple boundary results
- Report profile refusal after successful evaluation
- Return one explicit input
- Reject a host callback as input
- Replay a fact captured by Topaz
- Pass an exact value to a rule
- Reuse one immutable prepared rule
- Reject a procedure at the result boundary
- Inspect the empty-list failure
- Use a new input after a failure
- Return the first item
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Select an imported lexical procedure
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a constant as an entry
- Pass several facts in one list datum
- Reject a procedure result
- Receive two internal values
- Receive zero internal values
- Select an explicitly renamed entry
- Call a rest entry with one input
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject zero values at the external boundary
- Reject an entry with no parameters
- Encode equal rational results identically
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Reject a numeric string for an integer schema
- Preserve a terminal stop in both profiles
- Return the same decision datum in both profiles
- An admission report without an evaluation receipt
- The same failure with different presentation
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
- Reject a request for the host clock
- Reject a host callback as input
- Supply a fact as an input datum
- Reject guest output
- Return nested data
- Reject an executable element in a result
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.
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
- Report an empty input as a failure
- Repeat the complete request
- Use the input of each new request
- Pass one input and receive one result
- Validate each declared entry
- Select the declared root entry
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Inspect the empty-list failure
- Use a new input after a failure
- Replay a failing request
- Replay a successful request
- Return the first item
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Append list elements to explicit arguments
- Reject an improper final list
- Reject two values in one argument position
- Reject a continuation capture attempt
- Accept one fixed parameter and rest
- Reject a repeated entry declaration
- Reject a dynamic cleanup attempt
- Collect zero arguments
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Bind arguments in parameter order
- Reject a missing argument
- Select an imported lexical procedure
- Reject zero values in a binding initializer
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a constant as an entry
- Pass several facts in one list datum
- Reject a procedure result
- Receive two internal values
- Receive zero internal values
- Select an explicitly renamed entry
- Call a rest entry with one input
- Keep the remaining argument order
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject zero values at the external boundary
- Reject an entry with no parameters
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
- Check a binding group before its children
- Read the complete module before normalization
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Check recursive forms in source order
- Reserve only the next required check
- Finish reading before checking recursive bindings
- Check every recursive initializer head first
- Keep sequential bindings in separate scopes
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 and preparation diagnostic mapping
- Preserve evaluation across caches
- Supply every dependency
- Import exported lexical bindings
- Declare a closed source module
- Initialize every module on each evaluation
- Prepare modules in a fixed order
- Keep one typed prepared graph
- Validate every prepared record
- Prepare before evaluation
- Return a sealed immutable handle
- Validate prepared programs
- Expand a final argument list with apply
- Reject continuation and dynamic handler procedures
- Validate each declared entry
- Supply one input datum to the entry
- Return exactly one portable datum
- Select the declared root entry
- Match fixed parameters to arguments
- Require one value where one value is consumed
- Resolve only submitted source
- Read numeric literals exactly
- Account for preparation separately
- Give literals exact values
- Check a binding group before its children
- Read the complete module before normalization
- Read one fixed syntax
- Reject invalid source before evaluation
- Decode exact UTF-8 source bytes
- Source forms, modules, and entry checks keep their identities
- Prepared failures share the closed schema
- Reader checks select existing families
- Preserve phase and first cause at resource limits
- Preserve the first stop across caches
- Reject a directed module cycle
- Reject a repeated public export name
- Reject a repeated import local name
- Reject duplicate submitted module names
- Reject runtime dependency loading
- Reject a reference across a later definition group
- Keep imports and definitions distinct
- Reject incompatible prepared semantics
- Reject an invalid branch target
- Reject a missing module
- Reject an export with no local binding
- Keep module clauses in their grammar order
- Finish the earlier named module first
- Require the declared module name to match
- Precheck module names before child forms
- Stop before issuing a prepared program
- Keep the captured lexical binding
- Refuse incompatible fixed dependencies
- Reject malformed prepared bytes
- Keep runtime checks in evaluation order
- Check control edges and occurrence sites
- Stop validation before publishing a handle
- Reject an import of a private binding
- Collect one module import in one spec
- Reject a module importing itself
- Initialize an unimported supplied module
- Reuse immutable code with fresh evaluation state
- Reject an improper final list
- Reject two values in one argument position
- Reject a continuation capture attempt
- Reject a repeated entry declaration
- Reject a dynamic cleanup attempt
- Reject a request with two arguments
- Reject a procedure factory as an entry
- Reject a missing argument
- Reject zero values in a binding initializer
- Validate a dependency entry before evaluation
- Reject extra entry clause operands
- Reject an entry that is private
- Reject a request with no argument
- Require the root to declare its entry
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a constant as an entry
- Reject a procedure result
- Reject an entry requiring two arguments
- Reject an entry with two required parameters
- Reject zero values at the external boundary
- Reject an entry with no parameters
- Keep an earlier form ahead of a later group
- Find a duplicate before an initializer error
- Reject an inexact literal
- Reject malformed source octets
- Reject malformed literal values
- Check recursive forms in source order
- Reserve only the next required check
- Stop when preparation has insufficient budget
- Finish reading before checking recursive bindings
- Reject unlisted source syntax
- Check every recursive initializer head first
- Reject runtime source loading
- Reject an unfinished source form
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
- Give literals exact values
- Read one fixed syntax
- Separate tokens outside literals
- Decode exact UTF-8 source bytes
- Encode a local occurrence and event role
- Read one canonical graph record
- Bind byte spans to exact submitted source
- Record a complete prefix of execution events
- Inspect both branches and execute one
- Compare an independent graph evaluator
- Follow a recursive tail call
- Group repeated expressions without losing sites
- Follow a shadowed name
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Read pair tails, vectors, and bytevectors
- Read exact names with bars and escapes
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
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
- Give literals exact values
- Read one fixed syntax
- Separate tokens outside literals
- Decode exact UTF-8 source bytes
- Read pair tails, vectors, and bytevectors
- Read exact names with bars and escapes
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
- Ignore a comment between forms
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
- Common command outcomes
- Identify every diagnostic by phase and code
- Keep condition meaning separate from display
- Identify a failure by phase and code
- Preserve the first terminal cause
- Serialize typed diagnostic fields without coercion
- Expose stable condition data
- Construct and inspect typed conditions
- Report the first ordered failure
- Write a complete lexical guard
- Evaluate recovery outside the handling guard
- Recover from an ordinary condition
- Reject dynamic condition control
- Propagate a structured condition
- Keep terminal failures outside guards
- Refuse unsupported requests explicitly
- Resolve finite limits before entry
- Evaluate the operator and arguments in order
- Report an empty input as a failure
- Keep source maps outside semantic identity
- Keep trace capacity separate from evaluation
- Keep a quotient exact and reject zero divisors
- Prepare before evaluation
- Reject continuation and dynamic handler procedures
- Require one value where one value is consumed
- Compare the complete semantic outcome
- Bind a receipt to the request and outcome
- Bind early preparation failures to their source
- Preserve the class of a failed attempt
- Reserve channels and return one atomic outcome
- Keep checks and reservations in order
- Admit only a supported physical envelope
- Finish within finite limits
- Reject invalid source before evaluation
- Select the first component of a pair
- Validate lists before ordered callbacks
- Compare only scalars with eq? and eqv?
- Validate data before returning structural equality
- Report an operational failure exit
- Report a resource failure exit
- Present the same condition twice
- Return application decision data
- Refuse artifacts and requests before guest entry
- Distinguish static bindings from runtime calls
- Preserve language results through profile refusal
- Separate host record mapping from numeric conditions
- Preserve phase and first cause at resource limits
- Distinguish source decoding and form failures
- Reject coercion and preserve exact field strings
- Locate value boundaries and equality failures
- Identify the evaluation phase
- Report an evaluation domain failure
- Report incomplete host input
- Separate interrupted attempts
- Report profile refusal after successful evaluation
- Report an incomplete source form
- Stop an unending rule
- Reject noncondition accessor and raise arguments
- Inspect an application condition
- Reject malformed condition construction
- Construct domain fields and unbounded arity
- Locate invalid equality operands
- Keep exact numeric failure fields
- Keep a condition through presentation changes
- Separate a condition from its raised site
- Reject a Condition at the result boundary
- Report call and value count failures
- Reject a continuable signal
- Keep the left argument failure first
- Reject invalid host input before the guard
- Select each clause form
- Choose the first matching clause
- Propagate through an empty clause list
- Keep tests and recovery outside their guard
- Reject malformed guards before entry
- Reject a removed operation before evaluation
- Recover from an empty pair input
- Handle a recovery failure in the outer guard
- End an unending guarded calculation
- Preserve lexical scope and internal values
- Require one test and recipient value
- Return the successful body value
- Pass an unmatched condition outward
- Reject a procedural handler
- Propagate the caught condition
- Reject dynamic cleanup
- Return control from a nonterminating rule
- Refuse malformed explicit limits
- Refuse an unsupported resource model
- An argument failure precedes arity
- An argument failure precedes callability
- The left argument fails first
- An operator failure comes first
- Inspect the empty-list failure
- Replay after source locations move
- Preserve a failure after tracing stops
- Preserve a terminal resource stop
- Finish evaluation after trace capacity fills
- Keep one third exact and reject division by zero
- Prepare without entering a rule
- Stop before issuing a prepared program
- Reject two values in one argument position
- Reject a continuation capture attempt
- Reject a dynamic cleanup attempt
- Reject zero values in a binding initializer
- An admission report without an evaluation receipt
- Keep incomplete attempts out of semantic receipts
- The same failure with different presentation
- Receipts for a value and a language failure
- Repeat a terminal resource stop
- A preparation failure before program identity exists
- Keep a domain check before later arithmetic work
- Keep a host interruption distinct from resource exhaustion
- Reject an unsupported physical envelope
- Reject a result that exceeds its channel
- Keep a full trace separate from the result
- Stop an unending rule
- Reject an unfinished source form
- Finish argument evaluation before arity checking
- Select from an improper pair
- Reject an empty list
- Select the first list element
- Reject a scalar argument
- Keep the first callback failure
- Reject a malformed tail before callbacks
- Map a proper list
- Reject aggregate operands for scalar equality
- Compare separately constructed lists
- Compare scalar values
- Reject a procedure inside shared data
- Check the whole data domain
False value
Choice
Only #f is false.
Alternatives considered
Require Booleans or treat zero and the empty list as false.
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.
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
- Use default simple and full case algorithms
- Normalize only through the requested form
- Use the fixed Unicode repertoire
- Preserve full expansions and original context
- Compare explicitly folded scalar sequences
- Normalization scratch and stable ordering
- Choose canonical and compatibility normalization
- Original Final_Sigma context reservations
- Folded scalar and end comparisons
- Folded string result sites
- Folded operand retention
- Full mapping scratch reservations
- Use the frozen character properties
- Unicode result scalar extents
- Preserve scalars with default mappings
- Decimal digit result reservations
- Validate every argument before Unicode work
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
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Validate data without coercion
- Reject malformed and alternate encodings
- Give literals exact values
- Preserve source spelling
- Read one fixed syntax
- Separate tokens outside literals
- Decode exact UTF-8 source bytes
- Use the complete public procedure catalog
- Use the specified text semantics
- Use default simple and full case algorithms
- Normalize only through the requested form
- Preserve Unicode scalar sequences
- Map admitted records in canonical key order
- Use the fixed Unicode repertoire
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- Reject a numeric string for an integer schema
- Read pair tails, vectors, and bytevectors
- Keep two Unicode spellings distinct
- Read exact names with bars and escapes
- Reject malformed source octets
- Preserve a mark inside literal text
- Reject malformed literal values
- Preserve text inside a string
- Read nested comments and discard complete data
- Read exact values in every radix
- Reject unlisted source syntax
- Read escaped scalars and delimiters
- Ignore a comment between forms
- Keep different scalar sequences distinct
- Preserve full expansions and original context
- Compare explicitly folded scalar sequences
- Choose canonical and compatibility normalization
- Distinguish exact text sequences
- Order exact keys and reject duplicates
- Use the frozen character properties
- Preserve scalars with default mappings
- Validate every argument before Unicode work
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.
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.
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
- Identify the validated canonical module meaning
- Encode the whole ordered comparison
- Keep source, program, and artifact identities separate
- Use separated SHA-256 identity domains
- Canonical outcome fields
- Portable receipt bytes
- Bind each request to its complete inputs
- Compare exact request bytes before semantic verification
- Compare every canonical failure field
- Stop comparison at its first semantic difference
- Identical octets keep distinct identity domains
- A duplicate module table has only captured provenance
- Reader escapes keep one decoded module name
- Reject a failure site from another program
- Two spellings of the same program
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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
- Give decimal spellings exact numeric values
- Return exactly one portable datum
- Use the specified text semantics
- Validate equality operands in a fixed order
- Preserve Unicode scalar sequences
- Compare only scalars with eq? and eqv?
- Validate data before returning structural equality
- Return the values denoted by decimal spellings
- Compare numeric values across spellings
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Reject a procedure result
- Reject zero values at the external boundary
- Keep different scalar sequences distinct
- Reject aggregate operands for scalar equality
- Compare separately constructed lists
- Visit pair and vector components in order
- Select the first invalid operand
- Distinguish exact text sequences
- Compare scalar values
- Reject a procedure inside shared data
- Check the whole data domain
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
- One explicit input and one result
- Keep replay and evidence checks distinct
- Keep terminal failures outside guards
- Validate artifacts before execution
- Check the components of a package
- Keep external facts and actions with Topaz
- Pass data across the host boundary
- Pass one input and receive one result
- Supply one input datum to the entry
- Return exactly one portable datum
- Exchange exact canonical data
- Encode mathematical numbers exactly
- Use one framed Datum format
- Convert admitted records into ordered association data
- Reject malformed and alternate encodings
- Verify evidence against its request and outcome
- Preserve the class of a failed attempt
- Pass outside facts as data
- Resolve only submitted source
- Public procedure contracts
- Keep executable values inside evaluation
- Reject guest input
- Reject multiple boundary results
- Return one explicit input
- Compare a recorded result
- Reject invalid host input before the guard
- Reject a removed operation before evaluation
- End an unending guarded calculation
- Reject a host callback as input
- Replay a fact captured by Topaz
- Pass an exact value to a rule
- Refuse an artifact that requests file access
- Refuse mismatched package components
- Revalidate transported prepared bytes
- Return the first item
- Reject a request with two arguments
- Reject a request with no argument
- Reject multiple values at the external boundary
- Reject a procedure inside a result list
- Pass several facts in one list datum
- Reject a procedure result
- Call a rest entry with one input
- Reject zero values at the external boundary
- Encode equal rational results identically
- Preserve structure and raw text bytes
- Give equal numeric values equal packets
- Keep the first codec failure stable
- Reject malformed packet frames
- Reject alternate number encodings
- Give admitted record permutations equal bytes
- Check record keys before field values
- Encode scalar values with distinct tags
- Reject incomplete aggregate payloads
- Reject invalid Unicode encodings
- Preserve exact numbers and text scalars
- Reject a host callback at the codec boundary
- Reject an inexact host number
- An admission report without an evaluation receipt
- Check the record that an envelope authenticates
- Reject a request for the host clock
- Reject a host callback as input
- Supply a fact as an input datum
- Reject runtime source loading
- Reject guest output
- Return nested data
- Reject an executable element in a result