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
3964becfde
dd comment
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
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
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
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
Charles Cunningham
e0f99ebaa4
compact: split core logic changes from snapshot test coverage
2026-02-17 18:29:11 -08:00
Charles Cunningham
a79bebe5ca
Simplify
2026-02-17 18:29:10 -08:00
Charles Cunningham
2d4123c267
Fix model switch compaction
2026-02-17 18:29:10 -08:00
Owen Lin
db4d2599b5
feat(core): plumb distinct approval ids for command approvals ( #12051 )
...
zsh fork PR stack:
- https://github.com/openai/codex/pull/12051 👈
- https://github.com/openai/codex/pull/12052
With upcoming support for a fork of zsh that allows us to intercept
`execve` and run execpolicy checks for each subcommand as part of a
`CommandExecution`, it will be possible for there to be multiple
approval requests for a shell command like `/path/to/zsh -lc 'git status
&& rg \"TODO\" src && make test'`.
To support that, this PR introduces a new `approval_id` field across
core, protocol, and app-server so that we can associate approvals
properly for subcommands.
2026-02-18 01:55:57 +00:00
Shijie Rao
b3a8571219
Chore: remove response model check and rely on header model for downgrade ( #12061 )
...
### Summary
Ensure that we use the model value from the response header only so that
we are guaranteed with the correct slug name. We are no longer checking
against the model value from response so that we are less likely to have
false positive.
There are two different treatments - for SSE we use the header from the
response and for websocket we check top-level events.
2026-02-18 01:50:06 +00:00
gabec-openai
5341ad08f8
Use prompt-based co-author attribution with config override ( #11617 )
2026-02-17 20:15:54 +00:00