Skip to content

Match Rules from successful Apply Patch observations #55

Description

@frap129

Parent

#38

What to build

Allow Rules to match each file successfully handled by Apply Patch while preserving file ownership across additions, updates, moves, deletions, and multi-file patches.

Acceptance criteria

  • A successful patch produces one File observation per touched file.
  • Added files contribute full patch content; updated files contribute added, removed, and context hunk text without patch syntax.
  • Moved files use the destination path and deleted files are path-only.
  • Multi-file patches cannot combine one file path with another file content.
  • A successful unparseable patch degrades to path-only observations derived from its model-visible result summary.
  • Failed patches contribute no File observations, and acceptance coverage includes syntax exclusion and literal metacharacters.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions