Skip to content

feat: add supervised Codex integration controls - #11

Merged
SetraTheXX merged 8 commits into
mainfrom
publish/phase11-supervised-integration
Jul 25, 2026
Merged

feat: add supervised Codex integration controls#11
SetraTheXX merged 8 commits into
mainfrom
publish/phase11-supervised-integration

Conversation

@SetraTheXX

Copy link
Copy Markdown
Owner

Summary

  • enforce cross-mode worktree ownership
  • add operator-approved Codex effort controls
  • capture trusted subagent hook evidence

Validation

  • npm test
  • npm run smoke
  • npm run check
  • npm run pack:dry-run
  • npm pack --dry-run

This is part 1 of the ordered Phase 11-14 publication series.

Copilot AI review requested due to automatic review settings July 25, 2026 23:51

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 was unable to review this pull request because the user who requested the review has reached their quota limit.

@SetraTheXX
SetraTheXX merged commit 2dc2c01 into main Jul 25, 2026
6 checks passed
@SetraTheXX
SetraTheXX deleted the publish/phase11-supervised-integration branch July 25, 2026 23:56

@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: 4fb18e13ac

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

notification: false,
},
ownershipRecords: [],
ownershipRecords: loadOwnershipRecords(found.repoRoot, { excludePath: ownershipPath }),

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 Scan the registry when reusing a released worktree

When a native host binding claims a just-released managed worktree between checkpoints, createOwnedWorktree() takes the reuseOwnedWorktree() path first; that path still evaluates only the previous managed record, so the full registry load here is never reached. If the worktree remains clean during the check, CEWP reactivates managed ownership and dispatches a child into the native-owned worktree, allowing simultaneous host and child mutation. Load all ownership records in the continuation gate as well.

AGENTS.md reference: AGENTS.md:L6-L6

Useful? React with 👍 / 👎.

Comment on lines +163 to +165
assignments: {
...(previous ? previous.assignments : {}),
[operation]: assignment,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Discard stale assignments when approving a revised checkpoint

After a plan revision or checkpoint change, approving one operation loads the old policy with allowStale but copies every unrelated stale assignment into the new policy. resolveCodexEffortForDispatch() later validates all assignments without allowStale, so an old reviewer or repair assignment blocks a freshly approved implementation dispatch until every historical operation is unnecessarily reapproved; there is no command to clear them. Preserve these entries in history, but omit stale assignments from the current policy.

AGENTS.md reference: AGENTS.md:L5-L5

Useful? React with 👍 / 👎.

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