Skip to main content

C++ First Verification

Use the Quick Start to generate and build one SQLite consumer. Verify its selected runtime and actual behavior before extending it.

What has been checked​

EvidenceResult and scope
Published 0.2.0 verification recordpassed: true; fresh Conan cache, buildPolicy: never, downloaded TeaQL C++ and SQLite binaries, teaql_console_smoke and teaql_domain_graph passed; twelve graph observations.
Public console exampleThe generated console's recorded output is 1 followed by Loaded 1 entities; its smoke test passed.
Documentation check, 2026-12-03Public model evaluation completed with 0 errors and 11 accepted fixture warnings; cpp-app-console generation and context_markers.py --check passed. The dependency is teaql-cpp/0.2.0; application layout, Assist and CMake runtime selection were inspected.
Native rerun for this documentation changeBlocked: the host is macOS and has no running Docker daemon for the released Linux x86_64 profile. No new native runtime PASS is claimed.

The release source is d0730d124d4f3a0970e137df7eea25c63730c033. Its locked semantic references are Rust 8.2.0 and Generator 4.3.0; these are separate from the C++ package version and the deployed service's build identifier. The pinned starter model SHA-256 is 7c214be225ba6691b1b96b78037d4839f862b05fe5aa0979ee23ca28890c7b2e.

Verify your generated consumer​

  1. Keep the evaluated model, generator build identifier and generated manifests. Confirm conanfile.txt requires teaql-cpp/0.2.0 and retain Conan's resolved recipe/package revisions, compiler profile and SQLite version.
  2. Build in release mode without TEAQL_RUNTIME_SOURCE. Inspect build/runtime_selection.json: it must identify release mode, runtime version 0.2.0 and the actual installed package directory.
  3. Run CTest with --no-tests=error. Confirm a named smoke test actually ran; an empty test suite is not a pass. Run the console and retain its exit code and sanitized output.
  4. Exercise the first application edit through a fully loaded entity and an audited save. Read it back within a live Context and check values and optimistic version behavior. The public starter's no-op-save smoke alone does not establish that business edit.
  5. Change the model, evaluate, regenerate only the domain library, restore and check markers, rebuild, and rerun the affected tests.

For on-disk persistence, explicitly configure a file-backed SQLite database and add a second-process readback test. The default :memory: starter cannot establish restart persistence.

Use the stronger retained graph example​

The release repository's graph Save console has two tests. teaql_domain_graph checks twelve complete graph observations, including mixed additions, updates and deletion, validation/policy, stale rejection, rollback and audit-delivery failure after commit. The public generated starter has a smaller smoke suite; do not attribute the retained graph tests to it.

Follow the example's own build instructions and preserve the exact runtime selection. Its older README calls 0.2.0 an unpublished candidate; the later release and package verification establish publication. Preserve that distinction when citing dated documents.

For an application acceptance run, also test missing query intent, unauthorized operations, missing audit reason, stale writes and Context closure. Application policy, another database, another ABI or a physical device each needs its own evidence. The seven-runtime School/Order receipts remain separate.