core-agent-ide/codex-rs/app-server/src
Dylan Hurd 80d7a5d7fe
chore(instructions) Remove unread SessionMeta.instructions field (#9423)
### Description
- Remove the now-unused `instructions` field from the session metadata
to simplify SessionMeta and stop propagating transient instruction text
through the rollout recorder API. This was only saving
user_instructions, and was never being read.
- Stop passing user instructions into the rollout writer at session
creation so the rollout header only contains canonical session metadata.

### Testing

- Ran `just fmt` which completed successfully.
- Ran `just fix -p codex-protocol`, `just fix -p codex-core`, `just fix
-p codex-app-server`, `just fix -p codex-tui`, and `just fix -p
codex-tui2` which completed (Clippy fixes applied) as part of
verification.
- Ran `cargo test -p codex-protocol` which passed (28 tests).
- Ran `cargo test -p codex-core` which showed failures in a small set of
tests (not caused by the protocol type change directly):
`default_client::tests::test_create_client_sets_default_headers`,
several `models_manager::manager::tests::refresh_available_models_*`,
and `shell_snapshot::tests::linux_sh_snapshot_includes_sections` (these
tests failed in this CI run).
- Ran `cargo test -p codex-app-server` which reported several failing
integration tests (including
`suite::codex_message_processor_flow::test_codex_jsonrpc_conversation_flow`,
`suite::output_schema::send_user_turn_*`, and
`suite::user_agent::get_user_agent_returns_current_codex_user_agent`).
- `cargo test -p codex-tui` and `cargo test -p codex-tui2` were
attempted but aborted due to disk space exhaustion (`No space left on
device`).

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_i_696bd8ce632483228d298cf07c7eb41c)
2026-01-17 16:02:28 -08:00
..
bespoke_event_handling.rs feat: collab wait multiple IDs (#9294) 2026-01-16 12:05:04 +01:00
codex_message_processor.rs chore(instructions) Remove unread SessionMeta.instructions field (#9423) 2026-01-17 16:02:28 -08:00
config_api.rs s/mcp_server_requirements/mcp_servers (#9212) 2026-01-14 18:41:52 +00:00
error_code.rs fix: separate codex mcp into codex mcp-server and codex app-server (#4471) 2025-09-30 07:06:18 +00:00
fuzzy_file_search.rs feat: move file name derivation into codex-file-search (#8334) 2025-12-19 12:50:55 -08:00
lib.rs feat: add auto refresh on thread listeners (#9105) 2026-01-14 16:26:01 +00:00
main.rs feat(app-server): add an --analytics-default-enabled flag (#9118) 2026-01-13 11:59:39 -08:00
message_processor.rs feat: add auto refresh on thread listeners (#9105) 2026-01-14 16:26:01 +00:00
models.rs clean models manager (#9168) 2026-01-13 16:55:33 -08:00
outgoing_message.rs Improve handling of config and rules errors for app server clients (#9182) 2026-01-13 17:57:09 -08:00