Skip to content

docs-hygiene: Grep now rejects a line-break pattern without multiline (2.1.330) #17832

Closed

Description

@kyle-sexton

Refs: #17713

Context

Item 6 of the 13 handoffs the v2.1.330 changelog apply run filed as #17713, split one issue per item under the owner's decision on that issue ("Go with recommendations.", 2026-11-21).

Route: an edit item, for the issue lane. Probe first, as the item says.

Owner surface: plugins/docs-hygiene/skills/rename-references/context/audit.md
Lens: correct
Items: 2.1.330-051
Range: 2.1.330..2.1.330

Required sentence: Component says a Grep pattern holding a line break, run without multiline, makes the survey silently lose the form (false per 2.1.330); the release says Grep now reports the rejected pattern instead of reporting no matches (true). The instruction to set multiline stays right.

Why a handoff (unverified): Condition 2: tools-reference (Grep, line 360) does not state the rejection; changelog only. Condition 3: verification level light. Unclear whether the \n escape counts as a line break: probe first. Same claim in the skill's evals/evals.json:356.

Repo evidence (unverified, verification: skipped (light)): audit.md:57-60; evals/evals.json:356
Recheck trigger: tools-reference Grep section

Done when

  • A probe on Claude Code 2.1.330 or later records whether Grep rejects a pattern holding a line break, and a \n escape, when multiline is off; the result is recorded on this issue
  • plugins/docs-hygiene/skills/rename-references/context/audit.md:57-60 and the skill's evals/evals.json:356 match the probe, and the instruction to set multiline stays

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: one skill doc (rename-references audit.md) and its evals.json entry; read by the docs-hygiene skill and its evals.
    Reversible: yes; revert the doc and eval edits.
    Open questions: none
    Understood: audit.md:57-60 and evals/evals.json:356 say a Grep pattern with a line break and no multiline silently loses the form. In 2.1.330 Grep reports the rejected pattern instead. The instruction to set multiline stays. A probe on 2.1.330 or later should first settle whether a literal line break and a \n escape are both rejected, then the two files should be edited to match. The probe needs a Claude Code runtime, which an unattended run may not have. No duplicate or merged fix found in the open issues or recent merged PRs. This is a sibling of the #17713 split.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 1 (tracker-output: "A probe on Claude Code 2.1.330 or later records whether Grep rejects a patter..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Reword audit.md:56-60 and evals/evals.json:356 so a line-break Grep pattern without multiline is described as reported as rejected, not silently losing the form, with the multiline instruction kept.

    Open questions

    1. Does Grep on 2.1.330 or later reject a backslash-n escape without multiline, as well as a literal line break? The edit wording depends on it, and an unattended run has no Claude Code runtime to probe.
      RECOMMENDED: A person runs the probe and records it on the issue first, then the edit follows it. Ripgrep rejects the backslash-n escape in single-line mode, as audit.md:58 already says, so expect both to be rejected and reported. Basis: plugins/docs-hygiene/skills/rename-references/context/audit.md:56-60
    2. May the edit proceed on the changelog alone, given that tools-reference (Grep, line 360) does not state the rejection?
      RECOMMENDED: Wait for the probe, then word the edit as Grep reports the rejected pattern, and keep the multiline instruction unchanged. Basis: judgment

    Sources read

    • plugins/docs-hygiene/skills/rename-references/context/audit.md:56-62: says the literal backslash-n pattern is rejected by ripgrep without multiline and the survey silently loses the form; multiline true is set for Form 7 and Form 14
    • plugins/docs-hygiene/skills/rename-references/evals/evals.json:356: the setext-alternative-is-multiline-enabled-in-the-survey eval carries the same claim (long line, only matched for the word rejects)

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  6. kyle-sexton commented on Nov 22, 2026

    @kyle-sexton
    MemberAuthor

    Item 2 was delivered by #18072 (merged 2026-11-22).

    Item 1's probe could not be run. No session on Claude Code 2.1.330 has a Grep tool to probe with (checked 2026-11-21). The hub ruled that the issue is complete with item 1 recorded as not runnable.

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

    Fields

    Work status

    needs-owner-decision

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions