Skip to content

Pinned validators: THE LOCKSTEP RULE only where it applies, and remedies that name the git switch -c step (one shape bump) #539

Closed

Description

@brettheap

validate-pins.py and validate-family.py are pinned copies, so the three changes go into one shape bump, and every project re-pins once.

From the v1.1.0 triage of the v1.0.0 known limits on #459 and #460. One pull request covers the lines below.

Lines

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

  • The two git-not-runnable wrappers apply different rules: a filename test vs any OSError (source)

Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.

The lines as written on the tracking issues

AT-scaffold N8: validate-pins.py appends THE LOCKSTEP RULE to every non-empty findings list (templates/assembly-root/scripts/validate-pins.py:869-870), so a lone shape-copy-drift (an edited pinned copy, fixed by update-shape.py or a revert) is followed by a rule about moving a gitlink, a pin and the workflows together; #494 changes the refusal path only, not this footer.
— #459, body

bump-leg.py --to <the gitlink's or the pin's commit> also cures pin-workflow-ref-mismatch (a hand-edited @<sha> in a workflow) and pin-digest-mismatch, but the shipped validate-pins.py still ends both findings at THE LOCKSTEP RULE with no command (templates/assembly-root/scripts/validate-pins.py:513 and :538, the rule at :92, on main 5e02abe), and test_every_other_pins_row_is_the_gates_own holds that output in place; only a project's own workflows meet the first, since scaffolded workflows carry no leg reference. Outside #478. From the review of #495 (finding 6; the cure is the reviewer's, not re-probed here).
— #460, body

The holder's scripts/validate-family.py remedies that tell a person to run family.py add or remove name no branch step.

— #459, comment

The two git-not-runnable wrappers use two rules. #412's validate-pins.py counts an OSError whose filename is git, or a nameless FileNotFoundError/PermissionError, around the git calls alone. #406's validate-family.py counts any OSError, around all of _check_member_tree.

— #459, comment

Activity

  1. added this to the v1.1.0 milestone on Oct 14, 2026
  2. brettheap commented on Oct 14, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-2, session 81650e29-c906-4fe8-96c9-55580bfe0c44@Eagle, 2026-10-14T22:29:03Z, for #539

    Logged in lanes/log/openRepoShape-2.md at 6d9ea181a0e4c821bcc4c1a238d7051d25968bcc.

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

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