Expand description
Bounded incremental calculation for ordinary expression-tree values.
Cell sources are ordinary sim_kernel::Expr graphs evaluated through a
fresh sim_kernel::Cx; successful results remain ordinary
sim_kernel::Value handles. The calculator adds dynamic tree-reference
observation, dependency-first pull verification, deterministic cycles,
canonical fingerprint cutoff, conservative volatility for noncanonical
values, inherited triggers, directed force modes, immutable authority
diminution, restartable automatic queues, bounded standard progress streams,
versioned Table-backed graph snapshots, explicit non-watch backend refresh,
calculation receipts, explanations, failure memos, and explicitly labelled
last-good recovery without introducing a product-specific value enum.
Structs§
- Authority
Digest - Compact deterministic effective-authority digest.
- Authority
Policy Patch - Capability allow/deny/require override at one policy level.
- Automatic
Budget - Bound applied to one automatic scheduler turn.
- Automatic
Continuation - Opaque explicit continuation for remaining automatic queue work.
- Automatic
Queue Snapshot - Restartable snapshot of the deterministic automatic queue.
- Automatic
Run - Evidence returned by one bounded automatic scheduler turn.
- Backend
Refresh Sample - One explicit observation of a mounted backend that lacks a watch contract.
- Calc
Explanation - Inspectable, non-evaluating explanation of one cell’s current state.
- Calc
Limits - Caller-requested limits for one verification.
- Calc
Policy Patch - Field-by-field calculation policy override at one tree, directory, or cell.
- Calc
Receipt - Bounded immutable evidence for one calculation attempt.
- Calc
Watch - A bounded standard stream endpoint carrying expression-tree progress and change packets.
- Codec
Policy Patch - Patch applied at the tree, directory, or cell policy level.
- Dependency
Stamp - One bounded dependency observation in a calculation receipt.
- Derived
Persist Report - Evidence returned after writing the current derived graph.
- Derived
Restore Report - Evidence returned after opening derived state.
- Derived
Table Adapter - Adapter that stores one versioned graph record in an ordinary SIM Table.
- Directed
Calc Report - Aggregate result of a directed calculation request.
- Directed
Cell Result - Result of one directed root in a stable multi-root request.
- Effect
Stamp - One existing kernel effect-ledger record summarized into a receipt.
- Effective
Authority - Fully diminished authority and requirements for one cell.
- Effective
Calc Policy - Fully inherited calculation policy for one cell.
- Effective
Codec Policy - Fully resolved codec and face policy at one namespace node.
- Encoded
Face - A bounded presentation face plus explicit outcome metadata.
- Expr
Tree Calc - Incremental calculator for ordinary SIM
Exprsources andValueresults. - Expr
Tree RefPolicy - Face
Budget - Independent resource ceilings for one encoded source or result face.
- Face
Metadata - Metadata carried for every edit and face, including failures.
- Last
Good Value - A retained successful value explicitly labelled as historical.
- Policy
Digest - Compact deterministic calculation-policy digest.
- Queued
Calculation - One deterministic automatic queue entry suitable for persistence.
- Refresh
Report - Evidence from one explicit refresh pass.
- Request
Id - Stable identity of one directed or automatic calculation request.
- Source
Edit Outcome - Result of applying edited source.
Enums§
- Calc
Error - A current-result error. Last-good data is available separately.
- Calc
Outcome - Terminal outcome recorded for one cell attempt.
- Calc
Query - A query key in the expression-tree incremental graph.
- Calc
Reason - Why a calculation attempt ran.
- Calc
Request Mode - Incremental reuse/forcing behavior of a directed request.
- Calc
Status - Non-evaluating status exposed by the explanation model.
- Calc
Trigger - Mutation behavior for a calculated cell.
- Cell
Failure - A memoized, deterministic calculation failure.
- Cycle
Mode - How a dynamic dependency cycle is represented.
- Derived
Restore Disposition - Why an open reused or conservatively rebuilt derived state.
- Derived
Snapshot Error - A derived Table access or snapshot export failure.
- Error
Mode - How a multi-root request responds to one failed root.
- Face
Content - Encoded face payload.
- Face
Dimension - Resource dimension that stopped a bounded face operation.
- Face
Issue - Explicit outcome metadata for source edits and encoded faces.
- Face
Position - Position recorded beside a source edit or encoded face.
- Refresh
Error - A refresh registration, sample, or validation failure.
Constants§
- DERIVED_
SNAPSHOT_ KEY - Default key used by
DerivedTableAdapterin the derived Table. - EXPR_
TREE_ REF - GRAPH_
SCHEMA_ VERSION - Current durable expression-tree graph schema.
- HARD_
MAX_ EXPR_ DEPTH - HARD_
MAX_ OBSERVATIONS - HARD_
MAX_ OUTPUT - HARD_
MAX_ QUERY_ DEPTH - HARD_
MAX_ WORK - Absolute safety ceilings for one expression-tree calculation.
Traits§
- Mount
Refresh Source - Explicit sampling contract for one mounted backend.
Functions§
- core_
identity - Returns the core crate identity used by this scaffold dependency.
- crate_
identity - Returns the crate’s public scaffold identity.