instinct-cli 0.3.10

Shared local memory for coding agents. Save a fix once and find it again in a new session or another connected tool.
# Platform refusal and no bank writes; generated Rust via pinned hxc.
TAA # #[cfg(windows)]
TAA # #[test]
TAA # fn unsupported_checked_hit_refuses_before_creating_bank() {
TAA #     use std::{fs, process::Command};
TAA #     let root = std::env::temp_dir().join(format!("instinct-platform-{}", std::process::id()));
TAA #     fs::create_dir_all(&root).unwrap();
TAA #     let bank = root.join("absent.hxdb");
TAA #     let output = Command::new(env!("CARGO_BIN_EXE_instinct")).args(["hit", "in-absent", "--check", "--trusted-staging", "--outcome-id", "one", "--root"]).arg(&root).arg("--store").arg(&bank).output().unwrap();
TAA #     assert!(!output.status.success());
TAA #     assert!(String::from_utf8_lossy(&output.stderr).contains("check-verified hits are not supported on this platform; nothing recorded"));
TAA #     assert!(!String::from_utf8_lossy(&output.stderr).contains("instinct check attach"), "unsupported Windows hits must refuse before POSIX reattach guidance");
TAA #     assert!(!String::from_utf8_lossy(&output.stderr).contains("bank binding"));
TAA #     assert!(!bank.exists());
TAA #     assert!(!root.join("absent.hxdb.lock").exists());
TAA #     fs::remove_dir(&root).unwrap();
TAA # }
TAA # #[cfg(windows)]
TAA # #[test]
TAA # fn unsupported_observation_abstains_without_inventory() {
TAA #     use std::{io::Write, process::{Command, Stdio}};
TAA #     let mut child = Command::new(env!("CARGO_BIN_EXE_instinct")).args(["check", "observe", "--root", "C:\\not-observed", "--input", "-"]).stdin(Stdio::piped()).stdout(Stdio::piped()).spawn().unwrap();
TAA #     child.stdin.take().unwrap().write_all(br#"{"schema":"instinct.artifact-policy/v1","assumptions":{"trusted_quiescent_staging":true},"allowed":[]}"#).ok();
TAA #     let output = child.wait_with_output().unwrap();
TAA #     let text = String::from_utf8(output.stdout).unwrap();
TAA #     assert!(output.status.success());
TAA #     assert!(text.contains("unsupported_platform") && text.contains("\"inventory\":[]") && text.contains("\"checks\":[]"), "{text}");
TAA # }