Configure Codex watchdog on install and add protected streaming launcher - #213
Merged
Conversation
Wibias
marked this pull request as ready for review
August 11, 2026 07:26
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
github-deliveryv0.2.0 shipped the watchdog implementation, but a normal install did not configure lifecycle hooks and ordinary Codex launches did not pass through the streaming boundary. A user could therefore install successfully and still hit the exact repeated in-turnLet me check...failure.Fix
Normal install + trust-aware hooks
PreToolUse,PostToolUse,Stop,SubagentStop, andSessionEndhooks./hooksflow.none / hook_trust_requiredrather than falsely claiming lifecycle enforcement.node scripts/install-skill.mjs --hook-trust-verified --applyperforms a same-version activation refresh without reinstalling the skill.Protected streaming launcher
scripts/codex-with-watchdog.mjsfor the exact failure that must be interrupted while assistant text is still being generated.codex app-serverremains on stdio. An authenticated loopback WebSocket bridge is placed between it and a normalcodex --remoteclient.--remoteand--remote-auth-token-env, so callers cannot accidentally bypass the protected boundary.SHIPPING_GITHUB_PROGRESS_WATCHDOG=stream; ordinarycodexand IDE sessions are not silently or falsely marked as streaming-protected.Let me check the type,Let me check the NOUS_DEF type,Let me check the OAuthProviderDef type) is exercised through the protected bridge and must trigger exactly one privateturn/interruptbefore 500 emitted characters.Runtime truth
stream> explicitly confirmed trustedhooks>none.Safety
TDD / regression coverage
ca5546f0f0c06c42aa2ccb14fd62d8f944bb5459before the normal installer supported watchdog activation.item/agentMessage/deltanotifications through the protected streaming boundary and requires oneturn/interruptbefore 500 characters.Documentation
README.mdINSTALL.mdreferences/agent-progress-watchdog.mdreferences/runtime-capabilities.mddocs/superpowers/specs/2026-08-11-watchdog-activation-design.mddocs/superpowers/plans/2026-08-11-watchdog-activation.mdVerification