Skip to content

Fix stale comments in ensureDeleteConfirmable - #668

Merged
jeremy merged 1 commit into
mainfrom
helpers-comment-fix
Aug 31, 2026
Merged

Fix stale comments in ensureDeleteConfirmable#668
jeremy merged 1 commit into
mainfrom
helpers-comment-fix

Conversation

@jeremy

@jeremy jeremy commented Aug 31, 2026

Copy link
Copy Markdown
Member

#654 merged at 7ea0be6, before two comment-only revisions landed on the feature branch. This applies just those 16 lines — no code changes.

  • The historical paragraph now describes the old gate in the past tense ("the old gate looked at flags, the env var and stdout, never stdin").
  • The closing note on isNonInteractiveCommand said "read, never widened", but the delete path no longer consults it at all: it is deliberately bypassed — machineReadsThisOutput asks the narrower question this needs — and left untouched for its other callers (missingArg, noChanges), where widening would move behavior across many commands.

bin/ci green.


Summary by cubic

Fixes two stale comments in ensureDeleteConfirmable that were left behind when the force-flag work merged in #654. No code behavior changes; this is comment text only.

  • The historical paragraph now describes the old gate in the past tense.
  • The closing note now says isNonInteractiveCommand is deliberately bypassed—machineReadsThisOutput asks the narrower question—and left untouched for its other callers (missingArg, noChanges), not "read, never widened".

Written for commit 27af253. Summary will update on new commits.

Review in cubic

The force-flag work merged in #654 at 7ea0be6, before two comment
revisions landed on the feature branch. The historical paragraph now
speaks of the old gate in the past tense, and the closing note says
what actually happened to isNonInteractiveCommand: the delete path
bypasses it — machineReadsThisOutput asks the narrower question — and
it is left untouched for its other callers, not "read, never widened".
Copilot AI balanced review requested due to automatic review settings August 31, 2026 09:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T09:23:23.995304Z 27af253 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added the commands CLI command implementations label Aug 31, 2026

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.

Pull request overview

Updates stale historical comments around delete confirmation logic; runtime behavior is unchanged.

Changes:

  • Describes the former confirmation gate in past tense.
  • Clarifies why isNonInteractiveCommand is bypassed.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jeremy
jeremy merged commit 3d672fc into main Aug 31, 2026
25 checks passed
@jeremy
jeremy deleted the helpers-comment-fix branch August 31, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands CLI command implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants