{"repo":"NousResearch/hermes-agent","public_id":"41904","display_label":"Codex app-server thread persistence and context fixes","summary":"These issues and pull requests concern the Codex app-server losing thread context between turns, across restarts, and across sessions, along with related work on system prompt and personality delivery. The members share a common theme of preserving and correctly initializing thread state in the Codex app-server runtime.","subsystem":"agent","counts":{"members":5,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":3,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":115759},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-09-20T03:44:25+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.4},"fix_edges":[{"issue_number":26035,"pr_number":115759,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true},{"issue_number":41904,"pr_number":115759,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":41904,"pr_number":116343,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":41904,"pr_number":116586,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":72104,"pr_number":115759,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true},{"issue_number":74712,"pr_number":115759,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true},{"issue_number":82160,"pr_number":115759,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":82160,"pr_number":116343,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":82160,"pr_number":116586,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":100531,"pr_number":116343,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true}],"members":[{"kind":"issue","number":41904,"title":"Codex app-server runtime loses thread context across turns (gateway starts a fresh thread each message)","url":null,"state":"closed"},{"kind":"pr","number":41905,"title":"fix(agent): resume codex app-server thread across turns to preserve session context","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"b5fcf635dc22","number":0},{"kind":"commit","value":"85cb1dc74b30","number":0},{"kind":"commit","value":"35cea9b87e48","number":0},{"kind":"pr","value":"#116343","number":116343},{"kind":"pr","value":"#115759","number":115759},{"kind":"pr","value":"#116586","number":116586},{"kind":"pr","value":"#116343","number":116343}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":115759,"title":"fix(codex_app_server): SOUL.md and the Hermes system prompt reach the model; built-in personality disabled (#74712, #72104, #26035, salvage #74726 #72106 #27998)","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/codex_runtime.py","agent/transports/codex_app_server_session.py","contributors/emails/[redacted:email]","tests/agent/test_codex_app_server_persist.py","tests/agent/test_codex_runtime_prompt_handoff.py","tests/agent/transports/test_codex_app_server_session.py","website/docs/user-guide/features/codex-app-server-runtime.md"]},{"kind":"pr","number":116343,"title":"Codex app-server thread survives an API-server restart: thread id persisted per session and thread/resume'd, fail-closed to a fresh thread (#100531, salvage #103352)","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/codex_runtime.py","agent/transports/codex_app_server_session.py","contributors/emails/[redacted:email]","tests/agent/test_codex_app_server_thread_resume.py","tests/agent/transports/test_codex_app_server_session.py","website/docs/user-guide/features/codex-app-server-runtime.md"]},{"kind":"pr","number":116586,"title":"Codex app-server threads started from scratch inherit the session history; `provider: openai` + `openai_runtime: codex_app_server` engages again (salvage #26081)","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/codex_runtime.py","agent/codex_runtime_history_seed.py","agent/transports/codex_app_server_session.py","hermes_cli/runtime_provider.py","tests/agent/test_codex_runtime_history_seed.py","tests/hermes_cli/test_runtime_provider_resolution.py","website/docs/user-guide/features/codex-app-server-runtime.md"]}],"trust":{"default_tier":"verified","includes_suggested":false}}