Repository navigation
Description
Lane: openreposhape-1 (openRepoShape-1)
Two things that #906's PR (#964) leaves out on purpose, both found by lane 1's review of it (r906) and ruled follow-ups there. Neither is a regression: both are as untrue on main as before #906.
-
(a) A kept lower-case
makefileorGNUmakefilegets the old line. adopt-project.py: five printed sentences say what the run does not do: the Makefile follow-up beside a root Makefile, thecontracts/-only read-across path,execute would stop there,a path names no attribute, and WHAT WILL HAPPEN under--local-remote-dir#906 makes the Makefile follow-up say that a rootMakefileof the source's own keeps the block inshape/Makefile. It reads "the source keeps its ownMakefile" with_root_keeps, which compares names byte for byte, so a source whose root file ismakefileorGNUmakefileis not seen, and the split message still says "the root Makefile wiresCONTRACTS_DIRto thecontracts/of the spec leg ...".- Measured (r906, git 2.43, GNU make): for each of the two names, after a real
execute --local-remote-dir, the clone's root holds the shape'sMakefileand the source's file, andmake contracts-dirthere printsmake: *** No rule to make target 'contracts-dir'. Stop.(exit 2). GNU make readsGNUmakefile, thenmakefile, thenMakefile, so the source's file is read and the shape's block is not. - Probe:
_lane1-scratch/r906/probe/py/test_probe_lower_makefile.py, results in_lane1-scratch/r906/probe/lower-makefile-results.jsonl(both rows:make_rc2, the old line). - Left for here: the fix has to say which root file GNU make reads first, and what the line says then. r906 notes a disk that ignores case beside it: there
Makefileandmakefileare one path, and_root_keepspredicts nothing for them. That case was not measured.
- Measured (r906, git 2.43, GNU make): for each of the two names, after a real
-
(b)
README.md:810says "the root Makefile it materializes exportsCONTRACTS_DIR, pointing at thecontracts/of the spec leg where the plan mounts it ($(CURDIR)/spec/contractsby default)". Where the source keeps a Makefile of its own,CONTRACTS_DIRis only inshape/Makefile:make contracts-dirat the root has no rule, andmake -f shape/Makefile contracts-dirprints the spec leg'scontracts/. adopt-project.py: five printed sentences say what the run does not do: the Makefile follow-up beside a root Makefile, thecontracts/-only read-across path,execute would stop there,a path names no attribute, and WHAT WILL HAPPEN under--local-remote-dir#906 corrects the printed line and not this sentence.- Why it is not in adopt-project.py: five printed sentences say what the run does not do: the Makefile follow-up beside a root Makefile, the
contracts/-only read-across path,execute would stop there,a path names no attribute, and WHAT WILL HAPPEN under--local-remote-dir#906: its section, "Adopting an existing repository", is bound to the handbook (README_HEADING_TO_HANDBOOK_IDandHANDBOOK_READS["adopt"]intests/test_repo_hygiene.py, marker atdocs/handbook.html:1278). Any byte change in it failshandbook_marker_problemsuntil the handbook'sadoptsection is re-read and its marker moved, and README edits serialize across lanes (the README line cap,tests/readme-cap.d/, is checked in the same file). - Wording (r906's, corrected in its re-check): "the shape's Makefile exports
CONTRACTS_DIR, pointing at thecontracts/of the spec leg where the plan mounts it ($(CURDIR)/spec/contractsby default); it is the root's Makefile, or, where the source keeps a Makefile of its own,shape/Makefile, which holds the export until a person merges the two." The README sentence names no block, so a clause that says "that block" has nothing to refer to; lane 1's first draft and r906's first wording both had that fault. - Check after the edit:
tests/test_repo_hygiene.pyandtests/test_readme_sections.py; the handbook'sadoptsection already says a shape file the source holds,Makefileamong them, is written undershape/, and may need no more than its marker.
- Why it is not in adopt-project.py: five printed sentences say what the run does not do: the Makefile follow-up beside a root Makefile, the
Filed in v1.2.0 as #906's follow-up (#964); lane 3, the release owner, may place it otherwise.
Activity
adopt-project.py, shape_materialize.py: five printed sentences say wh…
brettheap commentedon Oct 20, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-20T05:02:55Z, for #977
Logged in
lanes/log/openRepoShape-1.mdat6dda7a74c3328e3e01659d91a4249922265a9880.The three reads (lane-collision-protocol Rule 1):
tests/test_adopt_make_reads_first.py (#977, review round 1): the ANSW…
README.md, adopt-project.py and the handbook: README says that `make`…
scripts/shape_materialize.py: `adopt_makefile_block`'s docstring says…
README.md, adopt-project.py and the handbook: a kept directory entry …