Commit 260d9da
committed
docs(memory): record codex cross-provider type boundary
Document the root-cause boundary for Codex sessions that switch models across providers. Original Codex /model updates thread settings and the next turn context, but it does not rewrite existing ResponseItem history; the next request still comes from clone_history().for_prompt() into Prompt.input and ResponsesApiRequest.input.
Record the correct CCSwitchMulti rule: keep history as canonical Responses-like items and normalize at the provider boundary. Chat bridge reasoning_content is a Chat compatibility/cache field, official ChatGPT Codex OAuth needs stricter request-local cleanup for reasoning.content/tool output content and encrypted reasoning include, while third-party native Responses should only get scoped compatibility normalizers when a concrete provider rejects a shape.
Trace the regression chain through native Responses direct-connect, the earlier OAuth cleanup that still allowed reasoning.content, and the later control-message promotion so future investigations do not change Codex /model semantics to solve a provider wire-schema bug.1 parent cb33724 commit 260d9da
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
| |||
0 commit comments