Skip to content

fix(session): recover native bindings and diagnose missing FSM state - #81

Merged
lidge-jun merged 5 commits into
devfrom
codex/session-binding-recovery
Sep 6, 2026
Merged

fix(session): recover native bindings and diagnose missing FSM state#81
lidge-jun merged 5 commits into
devfrom
codex/session-binding-recovery

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Sep 6, 2026

Copy link
Copy Markdown
Owner

A missing or inherited SessionStart binding leaves a Codex session unable to enter its FSM, while status can report a nonexistent session as IDLE or select a newer parent's file.

Add cxc session current and explicit cxc session bind to corroborate the native root-thread ID and cwd against Codex's read-only database, then exclusively create missing state. Existing state is preserved; subagent IDs, incompatible native metadata and redirected state paths are refused. Status reports missing state and labels its selection source. Binding explicitly does not certify hook execution or Stop continuation.

Emitted supported commands use their own payload CLI even when PATH contains an older development install; repo-only map/gui retain PATH routing. Both dispatchers, guidance and installed smoke contracts are updated. Includes 0.2.21 release metadata.

Validation at 884c81de4c4a1b8eb23c2af0ccbb61fd64d71306: all 11 checks passed, including four-platform CI (2646 tests), WSL drvfs/ext4, and packed installation. Three status regressions fail against the prior implementation. Independent review closed all findings; live recovery preserved other session files. No repository-wide local suite was run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T21:50:01.200555Z e38115b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lidge-jun
lidge-jun merged commit 5930752 into dev Sep 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant