Skip to content

Session Handoff [auto-1299]: Fold Typographic Punctuation in pr_review.py reply --match (#1299) #1875

Description

@ptr727

Next steps, in priority order

  1. Fix scripts/pr_review.py reply --match Cannot Select a Thread Whose Body Uses Typographic Quotes #1299: pr_review.py reply --match cannot select a thread whose body uses typographic punctuation. In scripts/pr_review.py matching_threads(), normalise both the --match pattern and each candidate body before the substring compare, folding at least the typographic single and double quotes, the en and em dashes, and the ellipsis to their ASCII equivalents. Keep the refusal design unchanged: no match and more than one match still refuse. The issue's secondary suggestion, saying on NO_MATCH how many unresolved threads the pull request has, is in scope where it stays small. Done looks like a test in scripts/tests/test_pr_review.py selecting a thread whose body carries typographic quotes from an ASCII pattern and the reverse, failing when the normalisation is reverted, and a pull request into develop carrying Closes on promotion: #1299.

External blockers

None known at pick time.

Internal dependencies

None.

State

  • Created by an unattended-handoff picker at scope develop. No branch, worktree, or pull request exists for this lane yet.
  • Re-derive matching_threads() and its callers from origin/develop rather than trusting this summary.

The parked decision queue

Empty for this lane.

What the last round did

Nothing on this lane yet. The picker chose #1299 as a correctness defect in a script every review loop runs, with its fix stated in the issue and no open choice.

What not to repeat

Nothing yet.

New learnings

None yet.

Activity

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

    handoffA link in the session handoff chain, one open issue per track

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions