Skip to content

Lens header with a full-width colon (U+FF1A) is silently no lens report #989

Closed

Description

@scuttletoby

A lens report whose header uses the full-width colon : (U+FF1A) instead of : is not read as a lens report at all. Take a header like lens: code · reviewer: a · read at: <40-hex sha> with blocker: none and major: none below it. The gate (lens.py) and T3's copy (apps/server/src/fork/reviewRules/lensComment.ts) do not read it as a header. They do not see the lens marker either, and they do not count it as a look-alike. So the comment silently counts for nothing: it neither reads nor blocks, and no summary row names it.

This is old behaviour. It is the same on main and was not changed by #865. Found in a review of PR #983.

When the header mixes the two colons, for example lens: with a plain read at: and a sha, the marker is seen. The comment then blocks as a broken report.

Possible fix: fold U+FF1A to : in norm_line (Python) and normLine (TS) before the header and marker rules read a line. The fuller option is to apply NFKC normalisation there, as the findings rules already do. Add the case to the shared vectors (fork-ci/actions/pr-queue/review.vectors.json), so both languages are held to the same answer.

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Nov 22, 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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions