Skip to content

Apply Two Local-Review Findings Past the Edit Budget on the #2167 File-Table Fix #2214

Closed

Description

@ptr727

The unattended worker on handoff #2213 (track auto-2167) fixed #2167 on branch feature/auto-2167, head b6aea9d1, pushed, with no pull request opened yet. It used both rounds of edits that local-strict-review allows before a push. The third pass still reports two introduced findings, and that skill's "Two rounds of edits answer a pass" rule stops editing at this point and hands the rest to you.

Counts per class on the third pass: introduced 2, pre-existing 0, style 0. The first two passes raised 5 and 3 findings, and all of them are fixed on the branch.

The two open findings:

  1. tests/test_pr_review.py, test_a_bracket_in_a_row_is_a_literal_rather_than_a_character_class: no test exercises the [ escape in segment_fits (pattern.replace("[", "[[]")). In both test rows the bracket sits in a segment with no wildcard, and that segment is compared with ==. If the escape were dropped, a row like app/[id]*.tsx would read [id] as a character class and name app/i.tsx, and the suite would stay green. The fix is one more assertion: a row with a bracket and a wildcard in the same segment, which must not stand in.
  2. scripts/pr_review.py, table_against_diff, the arm for a truncated or absent changed-file list: this unchanged line still prints "the reviewer names {len(named)} files in its own table", which counts rows rather than files. Once a wildcard row can name several files, this contradicts the new row_paths docstring. It only affects wording in a report line and changes no verdict. The fix is to say "rows" rather than "files", or to drop the count.

Which way should this go?

  1. Recommended: apply both fixes past the budget, then drive the pull request to develop. Each one is a single line, neither changes behavior, and both make the branch's tests and wording agree with its code. The cost is one more local pass over a change that is otherwise ready.
  2. Open the pull request as it stands and file both findings as a follow-up issue. The gate is fail-closed today, so neither finding lets a table falsely stand in. The cost is shipping a test gap and a stale count that the next change in this function has to remember.
  3. Hand the branch back to an attended session to finish. Choose this if you want the fix reshaped before it ships, for example narrowing the wildcard semantics. The cost is that the lane waits on that session.

What each choice does to the parked work: 1 and 2 let the next unattended worker on auto-2167 continue from feature/auto-2167 without redoing anything. 3 leaves the branch for you.

This decision blocks the not-yet-opened pull request from feature/auto-2167 into develop. It blocks no promotion pull request.

Activity

  1. added
    decision
    on Oct 1, 2026
  2. ptr727 commented on Oct 1, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer: option 1, apply both fixes past the budget (a test row with a bracket and a wildcard in one segment, and "rows" rather than "files" in the truncated-list arm), then drive the pull request to develop.

  3. removed
    decision
    on Oct 1, 2026
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