Repository navigation
Description
(lane openRepoShape-1, 2026-10-20T23:39:33Z)
Found by: r1070, the independent review of PR #1070 (Part of #979) at 20d2d4ba (#1070 issuecomment-6304260653). It found no MUST. The lane ruled that these go here, and that #1070 lands as it is. Line numbers are at 20d2d4ba.
SHOULD-2: three behaviours of the new skips are right on head, and no test holds them
r1070's mutants M12, M13 and M14 each pass the PR's whole test file (130 passed), and each loses a finding that head makes. A loss lasts one round only: the named link's own finding keeps check failing, so a bad plan never passes.
- M12, where the copy skip marks its group seen. Probe P6: a named link at
shape/README.md, plus a file atShape/README.md, both kept. Head also names "the fileShape/README.mdonce case is ignored" (plan-root-blocks-shape-copy). The mutant names only the link. - M13, where the pin skip uses
return out. Probe P14: the declared pinopenGlass, a named link atcontracts/openglass-pin.yaml, plus a file atcontracts/shape-pin.yaml. Head also givesplan-root-holds-pinforcontracts/shape-pin.yaml. The mutant names only the link. - M14, where the copy skip uses
break. Probe P8b: a named link atshape/README.md, plus a file atshape/Makefile, all four paths kept. Head also gives the copy finding forMakefile. The mutant names only the link.
Add one case per probe to tests/test_adopt_symlink_target_bytes.py, each asserting that the second finding is still made.
NIT
- N1. The link's own finding has no location tail. That was decision 1 of adopt-project.py: a bad link that
plan-empty-symlinkorplan-bad-symlink-targetnames is no longer named again byplan-root-blocks-shape-copyorplan-root-holds-pin, so it gets one finding, and the #908 comments say Linux's bound (#979) #1070, and it is sound. But someone who follows "Give each such symlink a target of its own" and keeps the link there learns about the copy or pin only on the nextcheck. A tail like_at_the_manifest's would save that round. - N3. The docstring of
_root_symlink_findings(adopt-project.py:10448-10456) still says a link AT a copy or AT a pin is adopt-project.pycheckpasses a plan that keeps the source's ownshape/in the root, andplace()then writes the shape's collision copy onto it after both legs are pushed: a realshape/README.mdis overwritten whileexecuteprints "nothing was overwritten" and endsadopt-lost, and ashape/Makefile/directory or a file namedshapeis a traceback #262's or adopt-project.py--pin <name>is accepted byplan,checkandexecute("adoption verified"), but writes only the name intoneutral_product_pins:and nocontracts/<name>-pin.yaml, so the adopted root's ownvalidate-pins.py(and itsvalidate.yml) refuses withneutral-pin-missingfrom the first run #273's to name, with no exception for adopt-project.py:checkpasses a symlink target of 1024 to 4095 bytes that macOS and XFS cannot make, and a bad link atshape/README.mdorcontracts/shape-pin.yamlis also named byplan-root-blocks-shape-copyorplan-root-holds-pinwith a remedy that cannot help it (follow-ups of #908) #979. - N4.
scripts/shape_materialize.py:1091and:4385still nameplan-root-blocks-shape-copyfor a path kept at the copy. For a named bad link, the finding is nowplan-bad-symlink-target. Only a caller that skipscheckreaches this text.
Progress (lane openRepoShape-1, 2026-11-10): done. #1118 (9ec0dc7, 2026-11-08, Part of #1089) carried SHOULD-2, N3 and N4: test_a_named_link_leaves_out_its_own_finding_and_no_other holds M12, M13 and M14 in tests/test_adopt_symlink_target_bytes.py, the _root_symlink_findings docstring names the #979 exception, and in scripts/shape_materialize.py, copy_in_the_way's docstring and the materialize-copy-blocked remediation say that a link at the copy which plan-empty-symlink or plan-bad-symlink-target names is that finding's alone. N1 is left by decision (lane 1's comment of 2026-10-21T16:12:04Z below): #1070's decision 1 gives the link's own finding no location tail.
Lane: openreposhape-1 (openRepoShape-1)
Activity
brettheap commentedon Oct 21, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-21T10:41:10Z, for #1089
Logged in
lanes/log/openRepoShape-1.mdat0fcdf12ac454c2f11a1188eacce1e17569eef9b2.The three reads (lane-collision-protocol Rule 1):
tests: a named bad link left out of the copy and pin findings no long…
brettheap commentedon Oct 21, 2026
(lane openRepoShape-1, 2026-10-21T16:12:04Z) N1 is left by decision, not forgotten. That is r1118's NIT-4 on #1118 (issuecomment-6319984735).
_at_the_manifestgives one.plan-empty-symlinkorplan-bad-symlink-targetnames is no longer named again byplan-root-blocks-shape-copyorplan-root-holds-pin, so it gets one finding, and the #908 comments say Linux's bound (#979) #1070's decision 1, which lane 1 accepted: the link's own finding carries no location tail.assert "where the shape writes" not in finding(tests/test_adopt_symlink_target_bytes.py) pins that decision.checknamesplan-root-blocks-shape-copy, and itsdrophelps.Lane: openreposhape-1 (openRepoShape-1)
Merge remote-tracking branch 'origin/main' into fix/1089-named-link-s…
shape_materialize.py: the `materialize-copy-blocked` remediation says…
tests: the SHOULD-2 comment says each case kills a mutant, not that i…
adopt-project.py, shape_materialize.py and tests: a named bad link le…
adopt-project.py: `check` names each case twin at the shape's copy, a…
brettheap commentedon Nov 10, 2026
(lane openRepoShape-1, 2026-11-10T03:50:43Z) This issue is done, so lane 1 is closing it as completed.
9ec0dc7, 2026-11-08, Part of adopt-project.py and tests/test_adopt_symlink_target_bytes.py: follow-ups of PR #1070 (#979) from its review: three behaviours of the named-link skips that no test holds (mutants M12-M14), and three wording gaps #1089) carried SHOULD-2, N3 and N4, as lane 1's comment of 2026-10-21T16:12:04Z planned.test_a_named_link_leaves_out_its_own_finding_and_no_otherintests/test_adopt_symlink_target_bytes.pyholds M12, M13 and M14. Each mutant is killed by its own case._root_symlink_findingsdocstring names the adopt-project.py:checkpasses a symlink target of 1024 to 4095 bytes that macOS and XFS cannot make, and a bad link atshape/README.mdorcontracts/shape-pin.yamlis also named byplan-root-blocks-shape-copyorplan-root-holds-pinwith a remedy that cannot help it (follow-ups of #908) #979 exception (N3).scripts/shape_materialize.py,copy_in_the_way's docstring and thematerialize-copy-blockedremediation say that a link at the copy whichplan-empty-symlinkorplan-bad-symlink-targetnames is that finding's alone (N4).plan-empty-symlinkorplan-bad-symlink-targetnames is no longer named again byplan-root-blocks-shape-copyorplan-root-holds-pin, so it gets one finding, and the #908 comments say Linux's bound (#979) #1070's decision 1 gives the link's own finding no location tail, and a row intests/test_adopt_symlink_target_bytes.pypins that.Lane: openreposhape-1 (openRepoShape-1)