Skip to content

Three apply_patch parsers ignore *** Move to: #174

Open

Description

@aayank13

The Factory Droid, OpenCode and Cline adapters each parse apply_patch bodies themselves, and none of them handles *** Move to:. A patch that renames a file records the change against the old path, so the procedure names a file that no longer exists and recall drops it. The Codex parser already handles moves.

Applies to the agent support in #149.

Files:

  • crates/trodden-capture/src/droid.rs
  • crates/trodden/src/harness/opencode.rs
  • crates/trodden/src/harness/cline.rs
  • crates/trodden-capture/src/codex.rs

Fix idea: share the Codex patch parser and use it in all three places.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions