From 178c8ba6452c33cc342701d0d05d155c85e8601c Mon Sep 17 00:00:00 2001 From: sean-parent Date: Sat, 21 Nov 2026 16:31:34 -0800 Subject: [PATCH 1/2] Update cpp-library to 7.0.0 and cel-runtime to 1.1.4 Remove obsolete private-include overrides and use production-linked public tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CMakeLists.txt | 14 ++------------ docs/evidence.md | 10 +++++----- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38c28c1..c34a135 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.24) include(cmake/CPM.cmake) -CPMAddPackage("gh:stlab/cpp-library@6.2.0") +CPMAddPackage("gh:stlab/cpp-library@7.0.0") include(${cpp-library_SOURCE_DIR}/cpp-library.cmake) # Enable dependency tracking before project() @@ -30,18 +30,8 @@ cpp_library_setup( DOCS_OPTIONS "USE_MDFILE_AS_MAINPAGE = ${CMAKE_CURRENT_SOURCE_DIR}/README.md" ) -# cpp-library adds src to tests directly and through the static implementation. -get_property(parser_targets DIRECTORY PROPERTY BUILDSYSTEM_TARGETS) -foreach(parser_target IN LISTS parser_targets) - get_target_property(parser_includes "${parser_target}" INCLUDE_DIRECTORIES) - if(parser_includes) - list(REMOVE_ITEM parser_includes "${CMAKE_CURRENT_SOURCE_DIR}/src") - set_property(TARGET "${parser_target}" PROPERTY INCLUDE_DIRECTORIES "${parser_includes}") - endif() -endforeach() - # Initialize cpp-library's default CEL_INSTALL before the same-namespace runtime. -CPMAddPackage("gh:stlab/cel-runtime@1.1.3#fc9fa3be8b0af9782a3491acacd6ba1f2e528a5b") +CPMAddPackage("gh:stlab/cel-runtime@1.1.4#dd93f97ea3658d7e1591062613edc88070517081") target_link_libraries(parser PUBLIC cel::runtime) # Exercise parity-driver helpers in ordinary unit tests without the driver's main(). diff --git a/docs/evidence.md b/docs/evidence.md index 6b752db..6259a73 100644 --- a/docs/evidence.md +++ b/docs/evidence.md @@ -12,8 +12,8 @@ pinned to the original baseline. The runtime source upstream is [stlab/cel-runtime](https://github.com/stlab/cel-runtime). The previous P4 baseline used release `v1.0.1` at revision -`a8e753b040664172fd3f526f9cf46029858ff788`. The parser pins release `v1.1.3` -at revision `fc9fa3be8b0af9782a3491acacd6ba1f2e528a5b` because its +`a8e753b040664172fd3f526f9cf46029858ff788`. The parser pins release `v1.1.4` +at revision `dd93f97ea3658d7e1591062613edc88070517081` because its record-registration API uses the runtime's record adapters. The parser consumes the public target from CPM and exports the matching minimum package version; it neither copies runtime implementation nor includes private headers. Rebuild the @@ -93,10 +93,10 @@ Production code depends on the C++20 standard library, committed Unicode property data, and the `cel-runtime` package through `cel::runtime`. There is no Unicode shared-library dependency. -Build infrastructure uses `stlab/cpp-library` release `v6.2.0` at -`4f60491f7550cb058af855346decc71ce0d5365e` under BSL-1.0. Its pinned scaffold +Build infrastructure uses `stlab/cpp-library` release `v7.0.0` at +`7ba5a0471a780502395d113c44f26254dc58cd65` under BSL-1.0. Its pinned scaffold provides CMake presets, doctest 2.5.3 (MIT), generated negative-compilation tests, -CTest, guarded in-source tests, static per-file test support, +CTest, guarded in-source tests, production-linked public-contract tests, standalone public-header checks, exports, license installation, source-build CI, and strict Doxygen configuration. Doxygen-awesome-css 2.5.0 (MIT) supplies the documentation theme. CPM.cmake From 8f8b9c866bd6139232972d300db687c2b31d32ed Mon Sep 17 00:00:00 2001 From: sean-parent Date: Sat, 21 Nov 2026 16:34:23 -0800 Subject: [PATCH 2/2] Keep runtime pin knowledge tied to canonical CMake configuration Resolve the Talos documentation finding without retaining stale fixed-version upgrade instructions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .scout/memory/index.md | 2 +- ...runtime-source-with-a-versioned-cpm-uri.md | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.scout/memory/index.md b/.scout/memory/index.md index 1de3f08..fa91004 100644 --- a/.scout/memory/index.md +++ b/.scout/memory/index.md @@ -10,6 +10,6 @@ - [[knowledge/keep-cel-runtime-out-of-parser-installation.md|Keep cel-runtime out of parser installation]] (decision, 0.99) `cmake` `cpm` `dependencies` `installation` - [[knowledge/keep-operator-local-storage-out-of-recursive-precedence-frames.md|Keep operator-local storage out of recursive precedence frames]] (discovery, 0.98) `parser` `recursion` `stack-usage` `MSVC` - [[knowledge/pin-cpm-dependencies-to-reviewed-commits.md|Pin CPM dependencies to reviewed commits]] (decision, 0.10) `cmake` `cpm` `dependencies` `supply-chain` `installation` -- [[knowledge/pin-runtime-source-with-a-versioned-cpm-uri.md|Pin runtime source with a versioned CPM URI]] (decision, 0.99) `cmake` `cpm` `dependencies` `supply-chain` +- [[knowledge/pin-runtime-source-with-a-versioned-cpm-uri.md|Pin runtime source with a versioned CPM URI]] (decision, 0.97) `cmake` `cpm` `dependencies` `supply-chain` - [[knowledge/separate-cel-constructor-names-from-runtime-record-identities.md|Separate CEL constructor names from runtime record identities]] (decision, 1.00) `records` `parser` `identifiers` `registration` - [[knowledge/test-preset-can-inherit-cached-parity-flag.md|Test preset can inherit cached parity flag]] (discovery, 0.97) `cmake` `testing` `parity` `cache` diff --git a/.scout/memory/knowledge/pin-runtime-source-with-a-versioned-cpm-uri.md b/.scout/memory/knowledge/pin-runtime-source-with-a-versioned-cpm-uri.md index eb2220c..666cd01 100644 --- a/.scout/memory/knowledge/pin-runtime-source-with-a-versioned-cpm-uri.md +++ b/.scout/memory/knowledge/pin-runtime-source-with-a-versioned-cpm-uri.md @@ -1,15 +1,16 @@ --- title: "Pin runtime source with a versioned CPM URI" entity_type: decision -confidence: 0.99 +confidence: 0.97 created: 2026-11-18T06:31:11Z -last_accessed: 2026-11-18T06:31:11Z -last_reinforced: 2026-11-18T06:31:11Z -access_count: 1 +last_accessed: 2026-11-22T00:33:52Z +last_reinforced: 2026-11-22T00:33:52Z +access_count: 4 sources: - "CMakeLists.txt:5-6" - - "CMakeLists.txt:43-45" - - "docs/evidence.md:96-100" + - "CMakeLists.txt:33-35" + - "docs/evidence.md:12-20" + - "docs/evidence.md:96-101" supersedes: "[[Pin CPM dependencies to reviewed commits]]" tags: ["cmake", "cpm", "dependencies", "supply-chain"] tier: knowledge @@ -21,10 +22,10 @@ relationships: - type: relates_to target: "Initialize shared installation defaults before CPM runtime and parser targets" votes_up: 2 -votes_down: 0 -last_voted: 2026-11-19T04:10:12Z +votes_down: 1 +last_voted: 2026-11-22T00:33:52Z --- # Pin runtime source with a versioned CPM URI -Pin `cel-runtime` with a CPM URI that includes both the compatibility release (`1.1.3`) and reviewed full commit SHA `fc9fa3be8b0af9782a3491acacd6ba1f2e528a5b`. Keep the release tag-to-commit relationship in `docs/evidence.md`. `cpp-library` resolves the dependency from CPM's registry, so do not add a separate `cpp_library_map_dependency` for this CPM package. +Pin `cel-runtime` with a CPM URI that includes both its compatibility release and the reviewed full commit SHA. `CMakeLists.txt` is the canonical pin; keep its release-to-commit relationship synchronized with `docs/evidence.md` when upgrading. Do not copy a fixed release or SHA from this memory into the build. `cpp-library` resolves the dependency from CPM's registry, so do not add a separate `cpp_library_map_dependency` for this CPM package.