Commit Graph

3839 Commits

Author SHA1 Message Date
Charles Cunningham
868019da9b Skip mid-turn compaction error event on interruption 2026-02-17 22:50:48 -08:00
Charles Cunningham
a9c6219d85 Append incoming pre-turn items after compaction summary 2026-02-17 22:43:21 -08:00
Charles Cunningham
0d796c73fa Keep shell command records in compacted history filter 2026-02-17 19:38:39 -08:00
Charles Cunningham
b781a15a42 Keep only user+compaction items in compacted history 2026-02-17 19:35:22 -08:00
Charles Cunningham
6663b690b7 Restrict compacted-history keep set to user and compaction items 2026-02-17 19:23:53 -08:00
Charles Cunningham
80ab62fc68 cleanup 2026-02-17 19:18:59 -08:00
Charles Cunningham
8b290e8707 Drop redundant summary check for incoming compaction items 2026-02-17 19:06:33 -08:00
Charles Cunningham
52e6a54a6d Define real user predicate independent of keep policy 2026-02-17 19:03:04 -08:00
Charles Cunningham
d53b588309 Base incoming compaction filtering on keep predicate 2026-02-17 18:58:35 -08:00
Charles Cunningham
4c2c861e15 Keep shell command records only in incoming compaction items 2026-02-17 18:51:30 -08:00
Charles Cunningham
afebfffc93 Exclude user shell command records from compaction keep set 2026-02-17 18:49:38 -08:00
Charles Cunningham
6e6e718738 Use real user predicate for compaction reinjection 2026-02-17 18:47:38 -08:00
Charles Cunningham
01794f1a46 Reuse compaction keep filter for incoming items 2026-02-17 18:46:04 -08:00
Charles Cunningham
589b0763cc Fix compact test snapshot and include bazel lock update 2026-02-17 18:29:14 -08:00
Charles Cunningham
3964becfde dd comment 2026-02-17 18:29:13 -08:00
Charles Cunningham
15aa101bf6 Qualify Feature enum in compact suite tests 2026-02-17 18:29:13 -08:00
Charles Cunningham
a38b1c9cf5 Move compact reinjection snapshots into suite coverage 2026-02-17 18:29:13 -08:00
Charles Cunningham
04b157bb4c Treat no-op pre-turn compaction as not-needed 2026-02-17 18:29:13 -08:00
Charles Cunningham
907e292ad9 Add comment 2026-02-17 18:29:13 -08:00
Charles Cunningham
3f2f817ab6 Make compact unit snapshots Bazel-stable 2026-02-17 18:29:13 -08:00
Charles Cunningham
ccc270083f Persist pre-turn updates before interrupted auto-compaction exits 2026-02-17 18:29:13 -08:00
Charles Cunningham
f7956ffabc Persist pre-turn updates before interrupted model-switch compact exits 2026-02-17 18:29:13 -08:00
Charles Cunningham
d81d89ac0b Silence interrupted pre-turn compaction failures 2026-02-17 18:29:13 -08:00
Charles Cunningham
7139784970 Strip incoming model-switch updates from remote compaction input 2026-02-17 18:29:13 -08:00
Charles Cunningham
9d34abf954 core: snapshot pre-turn model-switch compaction strip behavior 2026-02-17 18:29:13 -08:00
Charles Cunningham
b5aeb30d59 compact: strip incoming model-switch before compaction 2026-02-17 18:29:13 -08:00
Charles Cunningham
5929f058b0 compact: snapshot reinjection above last summary 2026-02-17 18:29:13 -08:00
Charles Cunningham
466c689766 compact: reinsert context above last summary 2026-02-17 18:29:12 -08:00
Charles Cunningham
b029cc2d01 Reinject context for summary-only compacted history 2026-02-17 18:29:12 -08:00
Charles Cunningham
f832de6371 Document manual compact turn-context reinjection policy 2026-02-17 18:29:12 -08:00
Charles Cunningham
3a04f2c689 Use explicit user-message predicate for compaction filtering 2026-02-17 18:29:12 -08:00
Charles Cunningham
54e606ade3 Comment 2026-02-17 18:29:12 -08:00
Charles Cunningham
de959aafa2 Comments 2026-02-17 18:29:12 -08:00
Charles Cunningham
8595664092 Move pre-turn auto-compact error handling into helper 2026-02-17 18:29:12 -08:00
Charles Cunningham
e3efe3a020 Return sentinel error from model-switch compaction helper 2026-02-17 18:29:12 -08:00
Charles Cunningham
5682f72551 Move previous-model compact failure handling into helper 2026-02-17 18:29:12 -08:00
Charles Cunningham
b7b50d6e98 Add TODO for legacy compacted history context reinjection 2026-02-17 18:29:12 -08:00
Charles Cunningham
9e6ef13d4d Add comment 2026-02-17 18:29:12 -08:00
Charles Cunningham
ce7777801d Enable compaction tests and remove stale TODO markers 2026-02-17 18:29:12 -08:00
Charles Cunningham
d9b02b6a9e Differentiate model-switch compaction failures from oversize input 2026-02-17 18:29:12 -08:00
Charles Cunningham
bddd53bae5 Rebase: align compaction snapshots and imports 2026-02-17 18:29:11 -08:00
Charles Cunningham
c92190f130 Avoid wildcard pattern in ResponseEvent::Completed match 2026-02-17 18:29:11 -08:00
Charles Cunningham
15730c2fcb Align compaction tests with incoming-item and empty-history behavior 2026-02-17 18:29:11 -08:00
Charles Cunningham
8b2f5066a5 update snaps 2026-02-17 18:29:11 -08:00
Charles Cunningham
2a804d9f4d Update snaps 2026-02-17 18:29:11 -08:00
Charles Cunningham
59d3431a15 Fix clippy useless_vec in compact_remote test 2026-02-17 18:29:11 -08:00
Charles Cunningham
36499b59f0 Reinject canonical context for model-switch pre-turn compaction 2026-02-17 18:29:11 -08:00
Charles Cunningham
8d06dd5f8b Persist pre-turn updates before apps tool-list cancellation 2026-02-17 18:29:11 -08:00
Charles Cunningham
e87455e284 codex: persist pre-turn updates when compaction fails 2026-02-17 18:29:11 -08:00
Charles Cunningham
4022de74ef compact: preserve incoming items during pre-turn trim retries 2026-02-17 18:29:11 -08:00