fix(memory-feedback): gate 2 hardening, commit within 5 locals

This commit is contained in:
bchanot committed 2026-11-08 18:04:01 +01:00
1 parent 271172564c
commit 027e5b3c21
8 files changed
+116 -27

No files matched your search

+2 -2
View File
@@ -970,8 +970,8 @@ function queueWrite(st: State, job: () => Promise<void>): Promise<void> {
export type Trigger = 'fresh' | 'idle' | 'keyword' | 'tool'
export type Outcome = 'injected' | 'none' | 'timeout' | 'refused' | 'paused'
const TRIGGERS: string[] = ['fresh', 'idle', 'keyword', 'tool']
const OUTCOMES: string[] = ['injected', 'none', 'timeout', 'refused', 'paused']
export const TRIGGERS: string[] = ['fresh', 'idle', 'keyword', 'tool']
export const OUTCOMES: string[] = ['injected', 'none', 'timeout', 'refused', 'paused']
// `trigger` and `outcome` are absent on records written before 4c's
// review; `cands` and `ms` on records written before 4d.1.