Skip to content

update-shape.py: update-accept-local-missing-name asks only the copies this run's --accept-local names, so a copy an earlier apply kept (read unchanged after) is never asked, and the next apply writes a siblings.py that cannot import from it #1082

Open

Description

@brettheap

Goal: update-shape.py apply refuses, before any write, every run that would leave a copy importing a name from a copy that does not define it, wherever the kept copy came from: this run's --accept-local, or an earlier run's.

State

What happens (measured)

rv1075, lane 5's independent reviewer of #1075 (#1055), measured this offline.

Direction

  • Ask every copy this run writes against the copy it imports from, as the run leaves that copy, not only against the copies this run's --accept-local names. The copy it imports from may be:
    • written by this run;
    • kept by this run's --accept-local;
    • left on disk as an earlier run kept it.
  • Keep the refusal's code, update-accept-local-missing-name.
  • Where the kept copy reads unchanged, the line could say an earlier run kept it. That is the writer's call.

Verify

Found by lane 5's independent review of #1075 (#1055), rv1075 (#1075 issuecomment-6302090874).

Milestone: v1.2.0 (placement is lane 3's call).

Lane: openreposhape-5 (openRepoShape-5)

Activity

  1. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-21T10:34:45Z, for #1082

    Logged in lanes/log/openRepoShape-5.md at ef6ad56f468fdf0099531c6a1f60412ce3526def.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1082:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1082"`, kept where the row or its body names `#1082`:
    1075	the family root's siblings.py: with a token in use, the clone and the fetch that carry it run in bootstrap.py's `untraced()` environment, so `make siblings` and `family.py siblings` write the token to no trace the caller asks git for (#1055)	fix/1055-siblings-untraced	OPEN
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `1082` 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