Skip to content

codex auto-commit: the commit helper's second git status probe fails closed #824

Closed

Description

@tps-flint

Follow-up from the adjudication of #810. In the commit helper (codex-runtime.ts ~:596) the second git status probe's failure is ignored, so after the gate decision the helper can enter its existing-commits path without having confirmed the working-tree state. The fix treats a failed second probe as a refusal with an error naming the repository and the probe's exit status and stderr, with a test that makes the probe fail and asserts no commit is attempted.

Refs #800, #810

Activity

  1. moved this to Triage in Office queueon Nov 7, 2026
  2. moved this from Triage to In review in Office queueon Nov 10, 2026
  3. self-assigned this
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions