From 6e4ce8ac3d40958f6caefd1193716e208735a807 Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 11 Oct 2026 04:02:22 -0400 Subject: [PATCH] Pass retained build span with pointer and count --- apps/evo-world-clone/main.cpp | 5 +++-- docs/engineering/VALIDATION.md | 12 +++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/apps/evo-world-clone/main.cpp b/apps/evo-world-clone/main.cpp index 5fa6a00..4597fe2 100644 --- a/apps/evo-world-clone/main.cpp +++ b/apps/evo-world-clone/main.cpp @@ -550,9 +550,10 @@ int provision(const Options& o) { return 4; } if (primitive) { - const std::array retained{manifest->build}; + const std::array retained{manifest->build}; auto recovered = persistence::recover_primitive_checkpoint( - *db, *store, o.source.key, std::span{retained}, + *db, *store, o.source.key, + std::span{retained.data(), retained.size()}, timeout); if (!recovered || recovered->state->snapshot() != primitive_opening->snapshot()) { std::puts("provision refused existing opening mismatch"); diff --git a/docs/engineering/VALIDATION.md b/docs/engineering/VALIDATION.md index 2c6797b..1efaf02 100644 --- a/docs/engineering/VALIDATION.md +++ b/docs/engineering/VALIDATION.md @@ -6730,10 +6730,16 @@ precondition branches before unwrapping, preserving the same assertions. Run Run 247 reached the PostgreSQL build and found two stale `evo-world-clone` provision calls: a double dereference of the owned primitive-life state and an array passed to an explicit retained-build span parameter. The primitive owner -is now dereferenced once, and the retained digest array is passed as an explicit -span. Run 247's PostgreSQL job stopped before its linked tests. +is now dereferenced once. The first explicit span conversion did not satisfy +GCC 14's constructor constraints; the follow-up below uses the pointer/count +constructor. Run 247's PostgreSQL job stopped before its linked tests. Run 248 reached the network build and found one more legacy `CarriedAction` aggregate in the control tests with no explicit `cellular_input`. It now sets `std::nullopt`, matching the existing probe-action contract. The network job -stopped before tests; run 248's PostgreSQL build is still in progress. +stopped before tests; the PostgreSQL job was canceled when run 248 was superseded. + +Run 249 confirmed the owner dereference fix and rejected the const-array `span` +range constructor under GCC 14. The retained build digest is now provided with +an explicit data pointer and count. PostgreSQL again stopped at this compile +diagnostic before its tests.