Skip to content

fix: complete root Stop continuation for Grok Build - #304

Merged
Dimkox merged 2 commits into
mainfrom
fix/continue-unfinished-task-20261102
Nov 3, 2026
Merged

Dimkox merged 2 commits into
mainfrom
fix/continue-unfinished-task-20261102

Conversation

@Dimkox

@Dimkox Dimkox commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Why

The compound-task continuation added in #303 did not cover Grok Build. The official Grok contract supports root Stop continuation, but its native lowercase event and end_turn reason need explicit handling. #303 was merged while this adapter correction was still being implemented.

Changes

  • Add Grok to supported blocking Stop clients, gated by a native Stop event with reason end_turn.
  • Apply the same event eligibility to unsupported verification claims and unfinished-task continuation.
  • Accept consistent native snake/camel event aliases; retain child, owner, cancellation and recursion boundaries.
  • Leave shutdown, channel_closed, missing/unknown reasons observe-only, without consuming or resetting retry state.
  • Add raw native camel-only payload regressions and execute the actual canonical Grok Stop launcher.

This completes the user's selected option 1. It reuses the original task/package and does not add a destination acceptance adapter. Current main changes are preserved.

Validation status

UNVERIFIED draft: final current-candidate reviews and qualifying gate are still running. Do not merge until this section records their exact head and required CI is green.

The Grok regression failed first. The earlier 28-test Stop/claim smoke passed at c4258d4, before integrating updated main; that is historical evidence. The new published candidate is 35db410, based on main 732b52c. No live Grok executable is available in this environment; native subprocess contract tests are not a live session qualification.

Related: #246, #252, #303. No broad issue is closed by this follow-up.

@Dimkox
Dimkox marked this pull request as ready for review November 3, 2026 09:29
@Dimkox
Dimkox merged commit 932087e into main Nov 3, 2026
7 of 9 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 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-11-03T09:30:27.243789Z 35db410 Draft marked ready
ℹ️ 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.

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