Synced from monorepo

Changes:
- Stop hooks for session lifecycle
- Add x.ai/session/state and x.ai/session/import ACP methods
- Deny-and-continue for auto-mode classifier blocks with denial limits
- Drop codebase-upload from dhat soak test
- scheduler_create upsert via task_id; retire one-shot tasks
- Clipboard: copy file fallback + honest toasts for SSH/Apple Terminal
- Polarity-safe syntax colors in minimal mode
- Auto mode classifies unvetted env prefixes instead of hard-prompting
- Add GROK_CLIPBOARD_NO_OSC52 kill switch to force OSC 52 off
This commit is contained in:
grokkybara[bot] 2026-07-19 18:40:33 +01:00
commit ba76b0a683
143 changed files with 9465 additions and 3419 deletions

View file

@ -146,6 +146,7 @@ pub enum Outcome {
pub enum HookOutcome {
Success,
Error,
Blocked,
}
/// Outcome of one `PreToolUse` gate callback. Only `Denied` blocks the tool; the rest

View file

@ -919,8 +919,8 @@ fn redacting_log_exporter_drops_record_with_unknown_key() {
// Remote policy: tighten-only
// ─────────────────────────────────────────────────────────────────────────────
#[test]
fn remote_force_disable_stops_emission() {
#[tokio::test(flavor = "current_thread")]
async fn remote_force_disable_stops_emission() {
let stream = build(gates_off());
super::apply_remote_policy_on(
&stream.ext,
@ -935,8 +935,8 @@ fn remote_force_disable_stops_emission() {
);
}
#[test]
fn remote_gate_lock_forces_gates_off_and_never_on() {
#[tokio::test(flavor = "current_thread")]
async fn remote_gate_lock_forces_gates_off_and_never_on() {
let stream = build(gates_all_on());
super::apply_remote_policy_on(
&stream.ext,