Repository navigation
Closed
Milestone
Description
(lane openRepoShape-4, 2026-10-21T15:24:08Z)
These are follow-ups from two independent reviews:
- RV1105's of PR shape_materialize.py and the pinned AGENTS-shape.md: where the root keeps a
GNUmakefileor amakefile, which GNU make reads first, the Makefile collision follow-up no longer says the shape's make targets arrive with the merge, and the pinned file saysmakereads the first of the three and the block reaches it only once that file holds it (#1048) #1105 (shape_materialize.py and the pinned AGENTS-shape.md: two sentences say a keptMakefileholds the shape's block back, and leave out a keptmakefileorGNUmakefile, which GNU make reads first #1048) at5a4de7f7(shape_materialize.py and the pinned AGENTS-shape.md: where the root keeps aGNUmakefileor amakefile, which GNU make reads first, the Makefile collision follow-up no longer says the shape's make targets arrive with the merge, and the pinned file saysmakereads the first of the three and the block reaches it only once that file holds it (#1048) #1105 issuecomment-6319594883); - RV1121's of PR adopt-project.py:
execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 (adopt-project.py:execute's NEXT printsmake bootstrapwhere GNU make at the root reads a keptmakefileorGNUmakefile, which has nobootstraprule #1047) atc04bb710(adopt-project.py:execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 issuecomment-6319598532).
None of them blocks either PR. Each PR's own fix round is under way, and #1105's adopts #1121's wording ("has them"), which settles RV1105's NIT 1 and RV1121's NIT-3.
- The assembly-root template still says
make bootstrapwith no caveat (RV1105's NIT 6, RV1121's NIT-4). RV1121 citestemplates/assembly-root/AGENTS-shape.mdline 19 and its five-commands table, andtemplates/assembly-root/README.mdlines 17 and 34. Each givesmake bootstrapfor a root where GNU make may read a keptGNUmakefileormakefilefirst, and then finds nobootstraprule.- Fix: say there what NEXT says once adopt-project.py:
execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 lands: where the root keeps one of those files,python3 scripts/bootstrap.pyis what the shape'smake bootstrapruns.
- Fix: say there what NEXT says once adopt-project.py:
- A kept directory named
GNUmakefile/ormakefile/gets a NOTE that cannot be true of a directory (RV1121's NIT-1). GNU make stops on it with "Is a directory. Stop."_makefile_follow_upsays the same. No row covers the case, and RV1121's mutant X1 (the lookup drops the directory form) survives.- Fix: in all three texts, name a kept directory as one that GNU make stops on, and add a row.
- NEXT prints
python3, but the template'sscripts/bootstrap.pysays "python on Windows" (RV1121's NIT-2). Main already printspython3this way for a keptMakefile, in adopt-project.py: a source with its own Makefile keeps it, soexecute's NEXTmake bootstrap(and every shape make target) fails in the adopted root until a human merges shape/Makefile #480's NOTE.- Fix: name both, as the script's docstring does.
GNU_MAKE_READSis defined twice (RV1105's NIT 5): inadopt-project.pyand inscripts/shape_materialize.py, with a test holding the two equal.adopt-project.pyalready imports fromshape_materialize. Once shape_materialize.py and the pinned AGENTS-shape.md: where the root keeps aGNUmakefileor amakefile, which GNU make reads first, the Makefile collision follow-up no longer says the shape's make targets arrive with the merge, and the pinned file saysmakereads the first of the three and the block reaches it only once that file holds it (#1048) #1105 and adopt-project.py:execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 land, the lookup of the first ofGNUmakefileandmakefilethat the root keeps is also written three times: in_makefile_follow_up,_predict_collisionsand_next_steps.- Fix: after both PRs land, import the tuple, and serve all three lookups from one helper.
- Follow-ups go stale after a hand edit of the plan (RV1105's NIT 8, older than shape_materialize.py and the pinned AGENTS-shape.md: where the root keeps a
GNUmakefileor amakefile, which GNU make reads first, the Makefile collision follow-up no longer says the shape's make targets arrive with the merge, and the pinned file saysmakereads the first of the three and the block reaches it only once that file holds it (#1048) #1105). The plan writes its follow-ups once. A hand move ofGNUmakefileto a leg, whichcontracts/path-classification.yamlinvites, leaves a line naming a file the root no longer keeps.- Fix: have
checkandexecutework out the follow-ups from the plan as it stands, or check the written ones against it.
- Fix: have
Lane: openreposhape-4 (openRepoShape-4)
Metadata
Metadata
Assignees
Labels
No labels
Activity
brettheap commentedon Oct 22, 2026
(lane openRepoShape-4, 2026-10-22T12:26:09Z)
RV1105b's independent review of #1105's fix round (
b28f40de, on top of5a4de7f7) found READY, with no MUST and no SHOULD: pull/1105#issuecomment-6321479057. Its five NITs are follow-ups to the ones above (RV1105's) and are added here. They are numbered NIT-1 to NIT-5 as RV1105b numbered them. Measured with GNU make 4.3 in 174 scratch states, and on a scratch merge of main4ed7c7bf5and #1105.NIT-1: the comments still say the merge alone brings the targets "only where that file includes
Makefile", which is untrue where the file is a symlink toMakefile.MakefileandGNUmakefile -> Makefile(and the same withmakefile),make bootstrapexits 2 before the merge. After the merge alone it runs the shape's recipe, andmake contracts-dirprints the path. The file includes nothing. The printed follow-up is true there, because through the linkX"has them".SHAPE_MAKE_TARGETScomment, thecollision_follow_updocstring ("exits 2 with the sameNo rulewhere it does not"), theADOPTED_SENTENCEScomment and the test module's docstring.Makefileor is a link to it".NIT-2 (older than shape_materialize.py and the pinned AGENTS-shape.md: where the root keeps a
GNUmakefileor amakefile, which GNU make reads first, the Makefile collision follow-up no longer says the shape's make targets arrive with the merge, and the pinned file saysmakereads the first of the three and the block reaches it only once that file holds it (#1048) #1105): the branch with noreads_firststill says "neithermake bootstrapnorpython3 scripts/bootstrap.pyruns the shape's bootstrap before both merges are made", which is untrue ofpython3 scripts/bootstrap.py.Makefileand has the script aside, merging the script alone makespython3 scripts/bootstrap.pyprintSHAPE-BOOT, whilemake bootstrapstill exits 2. This is the reasoning W1048b used to keep "before both merges" out of the other branch.test_adopt_e2e.pypins it.python3 scripts/bootstrap.pyruns the shape's bootstrap once the script is merged, andmake bootstraponce both merges are made". Move the pin with it.NIT-3: two docstrings are left with claims that are not true on main.
_predict_collisions, a docstring shape_materialize.py and the pinned AGENTS-shape.md: where the root keeps aGNUmakefileor amakefile, which GNU make reads first, the Makefile collision follow-up no longer says the shape's make targets arrive with the merge, and the pinned file saysmakereads the first of the three and the block reaches it only once that file holds it (#1048) #1105 adds a paragraph to, still says the wording comes from "the same functionexecutereports its actual collisions through". This is the claim RV1105's NIT-4 had removed fromcollision_follow_up.collision_follow_up's docstring says the follow-up uses "the wordsexecute's NEXT uses (adopt-project.py:execute's NEXT printsmake bootstrapwhere GNU make at the root reads a keptmakefileorGNUmakefile, which has nobootstraprule #1047)", and the test module says "The words are those ofexecute's NEXT". On main today, NEXT's NOTE still says "arrive only once the follow-up merges the two;python3 scripts/bootstrap.pyis whatmake bootstrapruns". The words come with adopt-project.py:execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121, so the claim holds only once adopt-project.py:execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 lands. RV1105's NIT-7 already asks for adopt-project.py:execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 to land first, which makes this moot.Materialized.follow_ups()would say this of them" is not so, because it passes noreads_first._predict_collisionssentence as RV1105's NIT-4 did, and land adopt-project.py:execute's NEXT printspython3 scripts/bootstrap.pywhere GNU make at the root reads a keptGNUmakefileormakefile, and its NOTE names that file and what it takes formake bootstrapto run there (#1047) #1121 first.NIT-4: no row ties the template's new clause to what
makedoes.ADOPTED_SENTENCESback to "and never the shape's Makefile", together, and all 118 rows pass. The clone rows already showmakereading the shape'sMakefilethroughinclude Makefilewhere the source keepsmakefileorGNUmakefilealone.NIT-5 (cosmetic): the template paragraph was not rewrapped, and a test docstring breaks mid-sentence.
Lane: openreposhape-4 (openRepoShape-4)
brettheap commentedon Oct 22, 2026
CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-22T20:05:31Z, for #1132
Logged in
lanes/log/openRepoShape-5.mdat1a3e45baee233936006903e4b164fa66827f8149.The three reads (lane-collision-protocol Rule 1):
tests/test_adopt_make_bootstrap_followups.py: the five rows that meas…
Merge main 0ed3e57 (#1121) into fix/1132-template-bootstrap: `_next_s…
tests/test_adopt_next_make_reads_first.py: the comment on `OWN_MAKEFI…
Merge main 9729315 (#1123) into fix/1132-template-bootstrap: #1123's …