Bound worktree helper Git processes - #1551
Conversation
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
|
Exact-head independent review mapping for
Both reviewers confirmed the current head bounds text/blob drains and reports unproven cleanup as failure. No manual Codex review was requested; the ready-for-review event owns connector review. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 85d4042813
ℹ️ 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".
Signed-off-by: Chris0Jeky <jeky.tck@gmail.com>
|
Exact-head fix/re-review checkpoint for
Required exact-head CI is still running; this is not a merge claim. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1268de102c
ℹ️ 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".
|
PARKED after review round 2. The late exact-head connector pass confirmed one HIGH data-loss blocker: index flags can hide modified bytes from partial-worktree cleanup. The blocker and acceptance criteria are tracked in #1553; two availability/retry findings were dispositioned to agent-harness#191. Per the bounded review pipeline, no third public fix round will be pushed to this PR. Exact head |
Follow-up to #1498
Summary
Exact evidence
076f10f7e6b34ddb9e9e44adb520d498e79888bf85d404281302a5f34da2a8a38e11bace94a1d320powershell -File scripts/git/Test-New-CodexIssueWorktree.ps1: 28/28 passed-Case refresh-remote-base: 1/1 passed in 18.3 secondsgit diff --check: passedTwo independent fresh-context reviews found no CRITICAL/HIGH defect. Their actionable timeout, cleanup, and documentation findings are fixed in this head.
Compatibility and docs
Default behavior changes only for the repository's worktree helper: each helper-owned Git process now has a 45-second deadline and non-interactive credential posture. The timeout is configurable from 1 to 300 seconds for controlled tests or measured exceptional environments. STATUS, TESTING_GUIDE, WORKTREE_AGENT_PROTOCOL, CODEX_AUTONOMY_RUNBOOK, and the rendered failure ledger are synchronized.
Residual risk
Windows tree termination still validates PID plus start time before invoking PID-based
taskkill /T; a narrow same-user PID-reuse race remains. Fully eliminating that namespace race requires a substantially broader suspended-launch plus Job Object design. The limitation is explicit in the protocol and was classified non-blocking by both reviewers.