Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(stats): require indexed proof stats on the hot path [C7,N19]

Corey Olson2f432940557d
diff --git a/test/query-plans.test.js b/test/query-plans.test.js
index d0def5e8..926e1a31 100644
--- a/test/query-plans.test.js
+++ b/test/query-plans.test.js
@@ -27,10 +27,9 @@ const EVENTS = 45_000;
const SHOUTS = 23_000;
const SEATS = 800;
const sandboxes = [];
-// Reads that fold the whole history by design, so no index can serve them, each with the item that
-// rewrites it: resume's proofStats (#1051). The test fails if one stops scanning while still listed, so the list can only
-// shrink.
-const WHOLE_HISTORY = ['proofStats'];
+// Writable open warms both proof and Rigor counters before these hot reads. No whole-history
+// exception remains; cold readers are covered separately without weakening this hot-path check.
+const WHOLE_HISTORY = [];
after(() => {
for (const dir of sandboxes) rmSync(dir, { recursive: true, force: true });