Selected implementations
Three public repositories, with links to specific source files and tests.
Wallet: transaction checks
In Wallet, a model proposes updates to a transaction candidate. The system keeps that candidate separate from the recorded transaction.
The contribution processor checks references against the available catalog and clears ambiguous, unavailable, or currency-conflicting fields while retaining diagnostic evidence. A complete candidate moves to a confirmation state. The confirmation handler assesses it again before executing the transaction. The control layer also rejects requests whose target task or conversation version no longer matches.
Inspect the mechanisms:
- Contribution processing: model interpretation, deterministic reference checks, and the resulting candidate and trace.
- Confirmation handling and conversation guards: the conditions for performing the action.
- Processing tests and guard tests: ambiguity, conflicting currency, unavailable references, and stale requests.
Wallet Evals: execution traces
Wallet Evals runs evaluation cases and records their results.
The runner establishes run and case-execution identities before capture. Its models require contiguous event order, matching run membership, a consistent execution context, and distinct case-execution identities. Persistence must return the identity of the run that was saved.
Adaptive cases add another boundary. The selector receives declared role context, action bounds, action history, and explicitly participant-visible response facts. Each subsequent action names the visible facts it used. The runner rejects an action outside the declared action set or a declared evidence basis containing unavailable facts, and records the accepted basis in the trace.
Inspect the mechanisms:
- Runner models: execution, observation, participant-visible fact, and trace identities.
- Runner coordination: identity establishment, adaptive-choice checks, capture, and persistence.
- Runner tests: attributable results, adaptive evidence bounds, failure handling, and private role context omitted from the serialized trace.
Related note: Evidence model.
sem-rag: answers and citations
sem-rag, whose internal package is named doc_forge, separates support assessment, answer policy, and citation rendering.
Support assessment records supported claims, gaps, conflicts, and provenance limitations. An answer-mode policy uses that assessment to choose among answering, narrowing, qualifying, or abstaining. Citation rendering then uses stored source references from selected evidence, with checks for usable locations and the documents contributing to a synthesis.
Inspect the mechanisms:
- Support assessment and answer-mode policy: the distinct assessment and policy decisions.
- Citation rendering: provenance-derived references and checks on contributing documents.
- Support-policy tests and generation/citation tests: partial coverage, conflict, abstention, and citation contracts.
The default support judge uses structural heuristics; it does not establish that a passage supports a claim. Related notes: Context-to-task alignment and Evidence model.
Source review: 29 October 2026. Links pin the inspected revisions. Code and test sources were read; the test suites were not run. No product outcomes were measured in this review.