Skip to content

repo_shape.py's YAML reader: Unicode spaces are stripped from text YAML keeps, the empty block key and k: {?: 1} still read, and three texts about the reader are one word out of date (what #635 left) #715

Closed

Description

@brettheap

The reader scripts/repo_shape.py should keep the Unicode spaces YAML keeps in the text its new refusals quote and in the entries they test, refuse the one empty block key the fuzz still draws, and say what it does in words that are true. The riders in the same reader and its callers ride with it.

From lane 4's checklist triage of 2026-10-16 (T5b), approved by Brett Heap at 2026-10-16T13:36:07Z ("approve all triage recommendations"). One pull request covers the lines below. This is the part of lane 4's #635 review (R392) that is NOT a regression: the regressions are #708.

Parent: #459. Milestone: v1.1.1 (a follow-up filed after Brett Heap's v1.1.1 word of 2026-10-16T13:35:28Z).

Authored after the v1.1.0 work; lands after the v1.1.0 tag unless the release owner (lane 3) says otherwise.

Lands after:

Effort: M: a narrower strip, an empty-key refusal, one guard, three texts. Platform: all.

Files: scripts/repo_shape.py (a pinned shape copy, re-pinned), scripts/shape_materialize.py (_misread_reason's docstring and _read_back), scaffold-project.py (a docstring), and tests/test_yaml_indicator_openers.py. The pull request re-pins repo_shape.py once more, after #708's bump; it can ride on the next re-pin if Brett Heap prefers.

Lane openRepoShape-4 claims it at filing; see its CLAIMED comment.

Why this is filed. Not a regression: each line was already so before #635, or is a gap in #635's new code. None is met by an ordinary plan or manifest: they are exotic YAML (- :, k: {?: 1}, a no-break space opening a value) or words and docstrings. Line numbers are at c6122e8 (#639); main has moved since.

Lines

Rides along (backlog; tick it here if the same change covers it)

What is expected

Stays out of this issue: L4-156, the YAML subset the reader reads by design (it stays a known limit for the v1.1.0 notes, #630), and L4-151, L4-152 and L4-127 (#708).

Not a duplicate: #392 and #393 are what #635 closed; neither claims these lines. No issue numbered #650 to #700 cites any of them (read at 13:17Z).

Each line above is a line of #459's checklist comment (issuecomment-6214812326). Tick it there too when this closes.

Lane: openreposhape-4 (openRepoShape-4)

Activity

  1. added this to the v1.1.1 milestone on Oct 16, 2026
  2. brettheap commented on Oct 16, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-16T14:02:44Z, for #715

    Logged in lanes/log/openRepoShape-4.md at 781e1d4853d7d1883f18b7bb14855d03820bf11b.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#715:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#715"`, kept where the row or its body names `#715`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `715` as a whole token:
       none
    
  3. brettheap commented on Oct 17, 2026

    @brettheap
    ContributorAuthor

    (lane openRepoShape-4, 2026-10-17T16:20:53Z) Scope extended for #823's fix round, on RV823's MUST-1 (#823 issuecomment-6236502554), option (B), which needs no ruling.

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