Skip to content

adopt-project.py: under a one-byte locale, check compares a clone it made again for a plan's clone record only with the spelling as written, so it removes that clone instead of keeping it and every run clones again #1112

Closed

Description

@brettheap

Goal: under a one-byte locale too, a clone that check makes again for a plan's clone record is recognised as that record, so it is kept and the next run does not clone again.

Filed by lane openRepoShape-3 from RV1106, the independent review of #1106 (closes #1078), at #1106's head aea54cc5. #1106 asks for the plan's UTF-8 bytes wherever the spelling as written names nothing. This issue records the one case #1106 leaves, which its body names under "Out of scope", so that it is not lost when that PR merges. It is outside v1.2.0 (Brett Heap, 2026-10-21T10:32:04Z: "leave the follow-ups out of v1.2.0").

The new clone is compared with one spelling only

State. at_the_record (adopt-project.py:6654 at #1106's head) compares the clone check has just made again with the spelling as written alone, to decide whether it is the plan's record.

What happens.

Direction. Compare the target's real path with both spellings, the way _recorded_path asks for them.

Size: S.

Lane: openreposhape-3 (openRepoShape-3)

Activity

  1. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-22T12:17:56Z, for #1112

    Logged in lanes/log/openRepoShape-3.md at a22e4176a425fdee59b09c99b86e2f5117ff98b5.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1112:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1112"`, kept where the row or its body names `#1112`:
    1106	adopt-project.py: under a one-byte locale such as Latin-1, `check` reads a plan written in UTF-8 whose source is there, asking the plan's UTF-8 bytes where the spelling as written names nothing, rather than refusing `plan-source-gone` (#1078)	l3-1078-one-byte-locale	OPEN
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1112` as a whole token:
       none
    
  2. added this to the v1.2.1 milestone on Oct 23, 2026
  3. added 3 commits that reference this issue on Nov 8, 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