Watch
0
0
Fork
You've already forked hyperhive
0

write the review-classifier fake agent scripts from a child process

This commit is contained in:
atlas 2026-10-28 11:29:35 +01:00 • committed by mara
commit 41f832458e

View file

@ -856,12 +856,9 @@ printf '{"type":"result","subtype":"success","is_error":false,"result":"ok"}\n'
#[tokio::test]
async fn claude_reads_the_shared_context_and_the_question_as_separate_blocks() {
use std::os::unix::fs::PermissionsExt as _;
let tmp = tempfile::tempdir().expect("a dir");
let script = tmp.path().join("claude.sh");
std::fs::write(&script, CLAUDE).expect("written");
std::fs::set_permissions(&script, std::fs::Permissions::from_mode(0o755)).expect("chmod");
crate::test_script::write_executable(&script, CLAUDE);
let claude = Claude {
program: PathBuf::from("claude"),
trampoline: script.clone(),