Skip to content

Recover a default executor that was offline when the thread started - #18

Closed
friel-openai wants to merge 2 commits into
mainfrom
frodex/recover-initially-unavailable-default-executor
Closed

friel-openai wants to merge 2 commits into
mainfrom
frodex/recover-initially-unavailable-default-executor

Conversation

@friel-openai

Copy link
Copy Markdown
Owner

A local-primary thread with an implicitly selected remote default can finish startup while that executor is offline. The failed selection is recorded without a live binding, so the existing later-turn admission check cannot reconsider the original executor once it attaches.

Keep a recovery candidate for the original registry registration. An ordinary later turn may use it only after reattaching that same registration and verifying its current remote instructions. A replacement with the same ID stays denied. Recheck revocation immediately before enqueueing a process start, and send cleanup only to the original RPC. Required remote selections and child inheritance still fail closed.

Validation: 11 exact isolated cases passed with no external network, including recovery, same-ID replacement denial, revocation before dispatch, original-connection cleanup, and required-remote controls. Independent public-source replay reproduced the tested product tree. The selector adds six of those controls, preserves all 977 inherited cases, and stays at 23 groups. All 15 selector unit tests passed. Hosted results are pending.

Codex Task: codex://threads/01a029f4-9863-7523-be3e-864bebe4187a
-frielbot

Frielbot added 2 commits November 9, 2026 17:06
A later local-primary turn can use the original default secondary only after the first connected RPC passes fresh workspace policy checks. Keep saved selections denied and reject queued work after the turn or attachment changes.
@friel-openai friel-openai added the codex-app-server App server request handling and thread history label Nov 9, 2026
@friel-openai

Copy link
Copy Markdown
Owner Author

Superseded by Frodex integration commit 9606c67511610cb51b570cf240ddc639b38af5a9, which preserves both original commits. The original branch and CI records are retained.

Codex Task: codex://threads/01a029f4-9863-7523-be3e-864bebe4187a

-frielbot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex-app-server App server request handling and thread history

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant