Skip to content

Verify live task ownership and clean up cancelled provider probes - #55

Merged
minglong51 merged 1 commit into
mainfrom
feat/provider-live-binding
Oct 11, 2026
Merged

minglong51 merged 1 commit into
mainfrom
feat/provider-live-binding

Conversation

@minglong51

@minglong51 minglong51 commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Codex observers previously accepted a private registry record as task ownership. They now require matching live tmux session metadata, one live pane, and current same-user process ancestry with stable start identities, then reread the proof to reject races. The task-generation format is unchanged.

Provider probe CLI cancellation now records TERM/HUP/INT and raises at safe ownership checkpoints, so a signal during process creation cannot orphan the child. Repeated cancellation does not interrupt process-group cleanup, descriptor closure, or staged-executable cleanup; prior handlers are restored.

Validation: all 280 local tests pass, including real tmux ownership/rejection checks and six subprocess cancellation regressions. Evidence checks retain 24 unknown capability cells and four unqualified replay rows. Provider pins are unchanged. Independent Gemini 3.1 Pro review found no blockers; macOS/Linux CI is required before merge.

@minglong51
minglong51 marked this pull request as ready for review October 11, 2026 17:56
@minglong51
minglong51 merged commit ff5b5ae into main Oct 11, 2026
3 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