Skip to content

shape-doctor.py: a shape root whose own .git is a link into a folder this user cannot search reads DRIFTED, its legs as having no gitlink, and both of its validators crash with PermissionError #1146

Closed

Description

@brettheap

(2026-10-21T22:41:46Z, lane openRepoShape-1)

Found by: r1144, the independent review of #1144 (#1110 slice A), in its "outside this PR" observation (#1144 issuecomment-6328153279). It is outside v1.2.0 by Brett Heap's ruling of 2026-10-21T10:32:04Z ("leave the follow-ups out of v1.2.0").

The case: an assembly root (project.yaml) whose own .git is a link into a folder at mode 000, so this user cannot search it.

Measured: on main 038dafba and on #1144's head eb3f098c, on Python 3.12.3 and under a 3.14-like shim. All four reports are identical. <root> stands for the root's path:

  FINDING  manifest         the project's own scripts/validate-manifest.py crashed before reaching a verdict (exit 1): PermissionError: [Errno 13] Permission denied: ...
  FINDING  pins             the project's own scripts/validate-pins.py crashed before reaching a verdict (exit 1): PermissionError: [Errno 13] Permission denied: ...
  FINDING  legs             spec: no gitlink recorded, so this leg is not mounted as a submodule at all; code: no gitlink recorded, so this leg is not mounted as a submodule at all
  n/a      placement        no leg could be read, so nothing was classified: spec: it is not a git repository, ...
  ok       agent files      AGENTS-shape.md present, AGENTS.md present, CLAUDE.md present

DRIFTED (2 leg(s) not at the pin)   (exit 1)

What is wrong:

The rule is #430's: stat the path. ENOENT, ENOTDIR, EBADF and ELOOP (and Windows 21, 123 and 1921) mean absent. Any other OSError is said by name, <path>: cannot be read (<strerror>), with the chmod cure.

The probe is _lane1-scratch/r1144/probes/fx/sc/pG/ on the lane's bench, with base and head reports for both Pythons.

Lane: openreposhape-1 (openRepoShape-1)

Activity

  1. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-22T02:04:12Z, for #1146

    Logged in lanes/log/openRepoShape-1.md at f09b816fc5df7b5e617316fbefd2e49e1cbea7a2.

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

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