From b171b4c739c9434eae850107ae45452c5afc30ad Mon Sep 17 00:00:00 2001 From: Scotty Pate Date: Fri, 11 Sep 2026 10:53:44 -0500 Subject: [PATCH 1/2] Context index projection: drop deployed provenance Fingerprint, intervals, cron and tags are 15 KB over 42 index entries on a real cell and an agent never reads them to pick a surface. They stay on the record and on the route door. schema stays present (required in OpenAPI). Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01KLsmJHt8RwDUfoN7iaemBy --- src/context.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/context.rs b/src/context.rs index b07e7d3..b56cf6b 100644 --- a/src/context.rs +++ b/src/context.rs @@ -394,7 +394,10 @@ impl ExportDoc { binding: self.binding.clone(), depends_on: self.depends_on.clone(), depends_on_unselected: self.depends_on_unselected, - deployed: self.deployed.clone(), + // Provenance (fingerprint, intervals, cron, tags) that an agent + // never reads to pick a surface — 15 KB over 42 entries on a real + // cell. It stays on the record and on the route door. + deployed: None, probe: None, check: None, semantic: Vec::new(), From 32238cf74edb68b47690408a7b85f82dcbe037bb Mon Sep 17 00:00:00 2001 From: Scotty Pate Date: Fri, 11 Sep 2026 10:57:22 -0500 Subject: [PATCH 2/2] engine test: time the LIMIT 0 bootstrap over the expensive SELECT itself, best of 3, against its full evaluation The previous ratio compared against copying an already-staged table, which is cheap, so a loaded CI box read 182ms vs 506ms and failed a 3x bound. Gate 3's claim is about short-circuiting the SELECT, so measure that. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01KLsmJHt8RwDUfoN7iaemBy --- src/engine/mod.rs | 63 ++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/src/engine/mod.rs b/src/engine/mod.rs index 4794485..525657e 100644 --- a/src/engine/mod.rs +++ b/src/engine/mod.rs @@ -5917,48 +5917,45 @@ mod tests { // `CREATE TABLE IF NOT EXISTS ... AS