Add drift state, persistence, and override controls to controller

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 16:53:23 -04:00
parent 75d31b5fa8
commit 2977b903c2
4 changed files with 174 additions and 14 deletions
+2
View File
@@ -19,6 +19,8 @@ type Snapshot struct {
DeadlineUnixSecs int64 `json:"deadline_unix_secs,omitempty"`
SessionID string `json:"session_id,omitempty"`
OutcomePending string `json:"outcome_pending,omitempty"`
AllowedWindowClasses []string `json:"allowed_window_classes,omitempty"`
}
// DefaultPath returns ~/.antidrift/state.json.