NousResearch/hermes-agent

Codex app-server thread persistence and context fixes

Cluster 41904 · agent. Data as of

Nothing open on GitHub. Fix merged in #115759. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #115759. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

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.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #115759 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)

    merged to main

    files: 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

  • #116343 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)

    merged to main

    files: 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

  • #116586 Codex app-server threads started from scratch inherit the session history; `provider: openai` + `openai_runtime: codex_app_server` engages again (salvage #26081)

    merged to main

    files: 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

1 PR closed without merging

From the close comments: done elsewhere 1

  • #41905 fix(agent): resume codex app-server thread across turns to preserve session context · done elsewhere → b5fcf63, 85cb1dc, 35cea9b, #116343, #115759, #116586
Closed issues · 1
  • Closed#41904Codex app-server runtime loses thread context across turns (gateway starts a fresh thread each message)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#115759, #116343, #116586
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
20 Sep 2026

For your agent

The same facts, typed.