mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-07 10:36:05 -10:00
Send allowed_tools: [] in runtime-store compatibility turns [skip ci]
109d0a3f22made compatibility prompt/request turns require an explicit empty tool allowlist, but two existing runtime_store_convergence tests still sent bare prompts and were refused with interactive_execution_unsupported. Final RC 40071321044 Parity and CI 40071318723 Test (ubuntu, windows) failed on exactly these two of 19,122 tests at7c9e060837. The tests now send the contract the product requires; no product code changed. Verified locally (macOS ARM64): cargo test -p codewhale-tui --lib runtime_api::tests::runtime_store_convergence: 14 passed, 0 failed, including authenticated_owner_guest_runs_real_engine_and_reuses_held_store and real_normal_owner_distinct_listener_detach_keeps_turn_compat_acp_and_successor. Refs: CW-7462 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7c9e060837
commit
31535e34bf
1 file changed
+2
-2
@@ -159,7 +159,7 @@ async fn authenticated_owner_guest_runs_real_engine_and_reuses_held_store() -> R
|
||||
.send(
|
||||
json!(id),
|
||||
"prompt/request",
|
||||
json!({"thread_id":conversation,"prompt":id,"model":"deepseek-v4-pro"}),
|
||||
json!({"thread_id":conversation,"allowed_tools":[],"prompt":id,"model":"deepseek-v4-pro"}),
|
||||
)
|
||||
.await?;
|
||||
let result = reply(&mut guest, id).await?;
|
||||
@@ -466,7 +466,7 @@ async fn real_normal_owner_distinct_listener_detach_keeps_turn_compat_acp_and_su
|
||||
.send(
|
||||
json!("compat"),
|
||||
"prompt/request",
|
||||
json!({"thread_id":compat_id,"prompt":"same owner compatibility"}),
|
||||
json!({"thread_id":compat_id,"allowed_tools":[],"prompt":"same owner compatibility"}),
|
||||
)
|
||||
.await?;
|
||||
let result = reply(&mut compat, "compat").await?;
|
||||
|
||||
Reference in new issue
Block a user