Skip to content

Match Rules from successful Write and Edit observations #57

Description

@frap129

Parent

#38

What to build

Allow Rules to match text supplied to successful Write and Edit operations so guidance can affect work immediately after files are created, replaced, or edited.

Acceptance criteria

  • A successful Write contributes one File observation containing the submitted path and content verbatim.
  • A successful Edit contributes one File observation containing both removed and added text for the submitted path.
  • Path and content conditions are evaluated against the same Write or Edit observation.
  • Failed Write and Edit operations contribute no path or content.
  • Multiple observations or literals can admit each Rule identity at most once per session.
  • Server acceptance tests exercise authored Rules and real hook events rather than private observation APIs.

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