Skip to content

harness: guards read an ANSI-C quote - #86

Merged
lneto merged 1 commit into
masterfrom
claude_bump_ansi_c_quote
Nov 28, 2026
Merged

lneto merged 1 commit into
masterfrom
claude_bump_ansi_c_quote

Conversation

@lneto

@lneto lneto commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

A guard of the harness takes the $ that opens an ANSI-C quote, $'...', or a locale quote, $"...", for a letter of the word, so a command bash runs as a guarded one reaches no guard: g$'i't add -A stages the whole tree past stage-guard.sh, g$'h' pr create opens a pull request past fixup-guard.sh, and git pu$'s'h pushes past push-guard.sh.

With this pull request every guard that reads a command through commands.sh reads both quotes as bash does, a numeric escape such as \x69 included, and refuses each such spelling where it refuses the plain one.

This pull request moves the mount from 0c35588 to 8c44dd7, which luainkernel/harness#79 merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lneto lneto added the complexity: small One line or one file, with a trivial or existing test label Nov 28, 2026
@lneto
lneto merged commit 956ac1c into master Nov 28, 2026
2 checks passed
@lneto
lneto deleted the claude_bump_ansi_c_quote branch November 28, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complexity: small One line or one file, with a trivial or existing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant