Skip to content

Add guarded codex-exec dispatch pipeline#5

Merged
SetraTheXX merged 6 commits into
mainfrom
feat/codex-exec-adapter-dry-run
May 29, 2026
Merged

Add guarded codex-exec dispatch pipeline#5
SetraTheXX merged 6 commits into
mainfrom
feat/codex-exec-adapter-dry-run

Conversation

@SetraTheXX

Copy link
Copy Markdown
Owner

Summary

Adds guarded codex-exec execution support for Coordinator Mode.

Added

  • codex-exec adapter dry-run preview
  • guarded worker execution
  • worker output handoff via .cewp-worker-output/
  • guarded reviewer execution
  • sequential workers command
  • dispatch pipeline command

Safety

  • No auto finalize
  • No auto merge
  • No auto push
  • No npm publish
  • Pipeline requires explicit --yes
  • Finalize remains a separate user command

Verification

  • Worker A/B execution smoke passed
  • Reviewer execution smoke passed
  • Full pipeline smoke passed
  • Finalize and cleanup verified manually
  • npm pack --dry-run passed

Copilot AI review requested due to automatic review settings May 29, 2026 16:31
@SetraTheXX SetraTheXX merged commit 5386c65 into main May 29, 2026
1 check failed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a86b8ee6e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bin/cewp.js
Comment on lines +2527 to +2530
const statusLines = getGitStatusShort(preview.cwd);
const changedFiles = statusLines.map(parseChangedFile);
const runtimeOutputFiles = changedFiles.filter(isWorkerRuntimeOutputPath);
const scopeWarnings = findScopeWarnings(preview.task.id || "unknown-task", changedFiles, preview.task);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Include committed changes in worker scope checks

In the worker execution post-check, scope validation is derived only from git status --short, which reports uncommitted/untracked files but not files already committed on the worker branch. If codex exec commits its changes before returning, a worker can add or modify files outside allowedFiles or inside forbiddenFiles and still get Scope: OK / Status: PASS; I reproduced this by having a worker commit secret.txt while the task only allowed a.txt, and the check only saw .cewp-worker-output/. The guard needs to include committed branch changes as well as the working tree before deciding the worker stayed in scope.

Useful? React with 👍 / 👎.

@SetraTheXX SetraTheXX deleted the feat/codex-exec-adapter-dry-run branch May 29, 2026 16:35
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.

2 participants