Skip to content

SessionEnd Matcher Check Reports a Match-All Regex as Stale #1840

Closed

Description

@ptr727

matcher_covers_every_exit_reason in host-setup/agent-safety/claude/install.py accepts only an absent, empty, or * SessionEnd matcher, and classifies shape rather than evaluating the pattern. A matcher such as .*, or an alternation listing every exit reason, runs the sweep on every exit yet is reported as registered under a matcher that may not run on every exit reason.

Repro: register the sweep under a SessionEnd group with "matcher": ".*" and run the installer's report. The registration is reported although the sweep fires on every exit.

Either recognise the regex spellings that match everything, or state in the report and README that only the three shapes are accepted. Raised by a local review pass while fixing the wording of that report on #1839.

Activity

  1. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions