Skip to content

[codex] support explicit command continuations#6

Merged
brandonbloom merged 2 commits into
mainfrom
codex/explicit-command-continuations
Jul 5, 2026
Merged

[codex] support explicit command continuations#6
brandonbloom merged 2 commits into
mainfrom
codex/explicit-command-continuations

Conversation

@brandonbloom

Copy link
Copy Markdown
Member

Summary

  • Add explicit greater-than command continuation lines for multiline shell commands.
  • Record multiline commands back with continuation opcodes during update.
  • Add matching heredoc, multiline quote, shell block, multiple heredoc, and update coverage.

Validation

  • ./test.sh

@claude

claude Bot commented Jul 5, 2026

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@brandonbloom

Copy link
Copy Markdown
Member Author

Decision note: this explicit continuation design wins out over #5.

The extra continuation marker is a little more verbose, but it keeps .cmdt grammar deterministic and reviewable. Readers can tell which lines are command input without mentally running shell parsing, and fixture lines that look like transcript opcodes remain unambiguous.

@claude

claude Bot commented Jul 5, 2026

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@brandonbloom brandonbloom marked this pull request as ready for review July 5, 2026 22:35
@brandonbloom brandonbloom merged commit 2d2d035 into main Jul 5, 2026
1 check failed
@brandonbloom brandonbloom deleted the codex/explicit-command-continuations branch July 5, 2026 22:35
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