Repository navigation
Description
execute records only submodule answers and never updates a submodules: row. The doctor then keeps reporting paths the plan already answered, and a deliberate move stays MISPLACED.
From the v1.1.0 triage of the v1.0.0 known limits on #457. One pull request covers the lines below.
Lines
- N7: the doctor's
placementrow re-lists paths the plan already answered (spec/examples/), becauseexecuterecords only submodule answers. Where: adopt-project.pysubmodule_record, shape-doctor.py. Effort M; all. On main3121945:submodule_recordis still the only record of an answer; ambiguous-path answers are not written. (source) - L1-08: nothing updates
project.yamlsubmodules:rows, so a deliberate move stays MISPLACED and a removed submodule's row lingers. Where: AGENTS.md:155-158 and :253, shape-doctor.py, bump-leg.py. Effort M; all. On main3121945: AGENTS.md still says "nothing rewrites it" and "its row is the human's to change" without saying how. (source)
Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.
The lines as written on the tracking issues
AT-adopt N7: the doctor's
placementrow keeps listing a path the adoption plan already answered (spec/examples/, ruleambiguous-examples) asreview_required(shape-doctor.py:3544, :3831), becauseexecuterecords only the submodule answers inproject.yaml(submodule_record, adopt-project.py:4915-4950), so AGENTS.md's doctor step 4 has an assistant ask the human again. Direction: record a plan's answers for ambiguous paths as #189 did for submodules.
— #457, body
L1-08: #189 makes
executewrite asubmodules:row intoproject.yamlfor each source submodule a leg keeps (path,leg,resolution,source_commit;adopt-project.py:4929, called at:5064), andshape-doctor.pyholds each submodule to its row, but nothing updates a row afterwards: AGENTS.md says "nothing rewrites it" (AGENTS.md:155-158). So a submodule moved to the other leg on purpose, with a commit in each leg andbump-leg.pyfor each pin, isMISPLACED (1 path), exit 1, and stays so.bump-leg.pyleaves the row alone. The doctor's NEXT is--placement-plan, which by its own text makes neither the pull request on each leg nor the pin bump in the root that a move takes, and writes a plan nothing carries out (its header says a later--fix --planwill;shape-doctor.pyhas no--fix). AGENTS.md says only that such a submodule "stays MISPLACED: its row is the human's to change" (AGENTS.md:253), while its Checking rule 3 forbids editing "a manifest to make a row go green" (AGENTS.md:234-235), and nothing says how the human changes the row or in which commit. The other way round, a row whose submodule is gone is silent: after the submodule is removed and the pin bumped, the doctor says COMPLIANT andvalidate-manifest.pysaysmanifest okwith the row still inproject.yaml, because the doctor looks a row up only for a gitlink a leg holds (shape-doctor.py:3486) and the validator checks a row's spelling, leg, resolution and source commit and never that a leg holds the path (templates/assembly-root/scripts/validate-manifest.py:703). A submodule added at that path later is then judged against the old row. Direction: decide, and say in AGENTS.md, who updates a row: either a command does it (bump-leg.pywhen a gitlink changes legs, or a doctor step), or the moving pull request edits it by hand and AGENTS.md says that edit is not the manifest edit "to make a row go green" that rule 3 forbids; let the MISPLACED line name the way out it accepts; and have the doctornote, never a FINDING, a row that names a gitlink in neither leg, because removing a submodule is not wrong.
— #457, comment
Activity
brettheap commentedon Oct 14, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-14T22:32:00Z, for #525
Logged in
lanes/log/openRepoShape-1.mdat7aa461e913d27fcc7cdd17daaf2fff4e9f7ea6bc.The three reads (lane-collision-protocol Rule 1):
shape-doctor.py: a move whose `git rm` left the emptied `.gitmodules`…
shape-doctor.py and its test: three comments cite #525, not a reviewe…
Merge origin/main (4cf5fb0) into l3-563-docs
docs/release-notes/v1.1.0.md: refreshed at main 4cf5fb0 (49 pull requ…
adopt-project.py: `answered_paths:` also records each entry a leg's o…