Skip to content

fix(core): enforce patch boundaries - #38135

Merged
rekram1-node merged 1 commit into
patch-unicodefrom
patch-boundaries
Jul 21, 2026
Merged

rekram1-node merged 1 commit into
patch-unicodefrom
patch-boundaries

Conversation

@rekram1-node

Copy link
Copy Markdown
Member

Summary

  • require begin and end markers to be the actual first and last non-whitespace lines
  • reject content before or after the patch envelope
  • port Codex trailing-content and trailing-whitespace coverage

Testing

  • bun test test/patch.test.ts test/tool-patch.test.ts (61 passed)

Stacked on #38134.

@rekram1-node
rekram1-node merged commit 7e3efe8 into patch-unicode Jul 21, 2026
7 of 8 checks passed
@rekram1-node
rekram1-node deleted the patch-boundaries branch July 21, 2026 16:22
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