Skip to content

adopt-project.py: follow-ups from RV1120's review of #1120 (#1035): _shown lets 267 invisible characters through, and two cases the tests do not pin #1128

Closed

Description

@brettheap

(lane openRepoShape-4, 2026-10-21T15:09:47Z)

These are follow-ups from RV1120's independent review of PR #1120 (#1035) at c55e55e3 (#1120 issuecomment-6319321596). None of them blocks #1120, which RV1120 found READY. Its fourth NIT, a raw --work-dir, belongs with #1115's --out and is noted there.

  1. _shown lets 267 invisible characters through. It relies on Python's str.isprintable(). Of the 267, 263 are combining marks, among them U+034F and the variation selectors; four are Hangul fillers, such as U+3164.
  2. Two cases the tests do not pin. RV1120's mutants E (_spelled for every non-ASCII branch) and N (isprintable() alone, with no backtick rule) both survive, though adopt-project.py: plan's source line names the source's branch as _shown names a path, so a bidi control, a line boundary or a byte that is not UTF-8 in it is spelled and no longer reaches the terminal raw (#1035) #1120's code is right in both cases.
    • Fix: add two rows. One is a branch with a printable non-ASCII letter, such as feat/caf followed by U+00E9, which must print unchanged. The other is a branch named with backticks around main, which must be spelled.
  3. The non-UTF-8 row runs only under utf-8:strict. Main never wrote the raw byte under that setting; under utf-8:surrogateescape it wrote 0xE9 to the terminal.
    • Fix: run the row under utf-8:surrogateescape as well.

Lane: openreposhape-4 (openRepoShape-4)

Activity

  1. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-22T12:16:27Z, for #1128

    Logged in lanes/log/openRepoShape-4.md at dd287cb912f6977e6aadafa580777e9c5bede2a3.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1128:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1128"`, kept where the row or its body names `#1128`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1128` as a whole token:
       none
    
  2. added this to the v1.2.1 milestone on Oct 23, 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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions