mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## What changed - Add `ContentItemMetadata` to distinguish user input, developer instructions, `AGENTS.md`, skills, harness context, and tool-supplied context independently of message role and content classification. - Keep attribution attached to content through prompt assembly, history processing, and hook-output spilling. Distinguish command hooks from MCP hooks and retain tool namespaces when known. - Treat missing historical attribution as unknown and send per-content metadata only to Responses Lite. ## Testing Update request and history assertions to cover attribution persistence and Responses Lite metadata handling. GitOrigin-RevId: 24e56005f5bdb98bf82f2b3943f29c4c81f3d587