Skip to content

adopt-project.py: a row holds the kept-link remedy where a directory sits at a pin's reached file, so a remedy naming the kept row instead of the reached file no longer survives (#1091's review follow-up) #1116

Closed

Description

@brettheap

Goal: one row that holds the remedy check gives where a kept link leads a pin's walk to a directory, so that its mutant R6 is killed.

State

What happens

  • The mutant: R6 hands the remedy's "rename" the kept row's own path (path) in place of the file the walk reaches (reached), in the helper that words a kept pin's finding through a kept link (_through_the_kept_link at 160de118).
  • It survives: with R6 applied, all 24 pin rows of the two test files still pass.
  • The scenario: a directory governance/openglass-pin.yaml/ reached through the kept link contracts -> governance. The remedy would then name the wrong path, and no row would notice.

Direction

  • Add one row, in the style of tests/test_adopt_root_symlinks.py's pin rows, that:
    • puts a directory at the pin's reached file through a kept link;
    • asserts that the remedy names the reached file.
  • Show the row fails with R6 applied and passes at the head.

Verify

  • R6 is killed.
  • No refusal code changes, and tests/test_agents_md_codes.py passes.

Found by lane 5's independent review of #1091 (#904), rv1091 (#1091 issuecomment-6316443939).

Milestone: none; it lands after the v1.2.0 tag (Brett Heap's 10:32:04Z ruling).

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-21T14:00:04Z, for #1116

    Logged in lanes/log/openRepoShape-5.md at 0ff90ca032e1e89f00412e63d8a6a8968ce0a4c5.

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

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