Skip to content

Conversation

@mikkel
Copy link
Member

@mikkel mikkel commented Nov 23, 2025

Summary

  • make apply_diff tolerate context lines that lack leading spaces so LLM-generated diffs can be applied
  • add regression coverage for diffs that omit context prefixes

Testing

  • pytest -q tests/test_applydiff_edgecases.py::test_diff_without_context_prefixes --disable-warnings

Codex Task

@mikkel mikkel merged commit f588cfa into main Nov 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants