← Commit history

1.4.1 EMERGENCY PARK: /api/say-send answers {ok:false,parked:true} without touching the control API (fleet run-prompt crash on ConfRoomROG); two-button UI kept, un-park is one flag

John Lauer ·9a9e9519e5 ·1mo ago ·parent d4c4ee6
3 files changed +13−2
Cargo.lock+1−1
@@ -4,7 +4,7 @@ version = 4  [[package]] name = "adom-chip-fetcher"-version = "1.4.0"+version = "1.4.1" dependencies = [  "anyhow",  "clap",
Cargo.toml+1−1
@@ -1,6 +1,6 @@ [package] name = "adom-chip-fetcher"-version = "1.4.0"+version = "1.4.1" edition = "2021" description = "Crawls the web on your behalf to gather everything about the chips you care about (datasheet, symbol, footprint, 3D, stock) into one library, by driving Chrome via pup." 
src/serve.rs+11
@@ -1678,6 +1678,17 @@ fn control_post(path: &str, body: &serde_json::Value) -> Option<serde_json::Valu }  fn say_send(phrase: &str) -> serde_json::Value {+    // EMERGENCY PARK (dock-bar thread, 2026-08-24): the fleet Send-to-AI+    // success path crashed the ah dev shell on ConfRoomROG during kicad's+    // cold verify (the historical run-prompt kill). Until the main ah build+    // thread certifies the fix and the un-park is broadcast, this endpoint+    // answers parked WITHOUT touching the control API; the button falls back+    // to copy. Un-park = flip this flag.+    const SAY_SEND_PARKED: bool = true;+    if SAY_SEND_PARKED {+        let _ = phrase;+        return serde_json::json!({"ok": false, "parked": true, "why": "Send to AI is parked fleet-wide while the panel's prompt path is certified"});+    }     let staged = control_post(         "/ai-threads/new",         &serde_json::json!({"name": "Chip Fetcher - say it", "tags": ["dock:adom-chip-fetcher"]}),