Skip to content

fix: strip C0/C1 controls from gbot codex list-threads - #33

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/strip-c0-controls
Sep 15, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
fix/strip-c0-controls

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Why

Post-merge Sol review of #32 (Sol review expanded #32) held that stripTerminalControls only removed ESC sequences; CR/backspace/BEL/C1 could still forge list output.

What

  • After CSI/OSC stripping, remove remaining C0/C1 (U+0000–U+001F, U+007F–U+009F)
  • Extend the list-threads regression test for \r, \b, and BEL
  • Patch changeset

Verify

npm test 75/75

ESC-only sanitizing left CR, backspace, BEL, and other C0/C1 bytes that
can still reshape terminal output. Cover them in the regression test.
@changeset-bot

changeset-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ec598cb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
grok-bot-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 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-09-15T01:27:10.343628Z ec598cb 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.

@ScriptedAlchemy
ScriptedAlchemy merged commit ab70a00 into main Sep 15, 2026
2 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/strip-c0-controls branch September 15, 2026 01:28
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.

1 participant