Repository navigation
Description
scaffold-bad-id and family-bad-id should name a derived id by where it came from and say to change --project (--family), in the words #658 settles for adopt.
From the checklist triage of 2026-10-15, batch 3; Brett Heap approved its recommendations at 2026-10-16T12:14:51Z. One pull request covers the lines below.
Lands after: #658.
Decision applied: DB1 (option 2) and DB2 (option A).
Lines
Line numbers are at the commits named; main has moved since.
- L2-56: for a derived id the remedy "pass an explicit lowercase --id" leads to a naming refusal in the scaffold and in
family.py init. Where: scaffold-project.py (id derived at :737,scaffold-bad-idat :1580,_check_declared_namescalled at :1607); scripts/family.py (derived at :1090,family-bad-idat :1092,_classify_family_namecalled at :1096). Effort S; all. On main396c0ff4:scaffold-project.py --project North_Wind --dry-rungivesREFUSED scaffold-bad-id: --id 'north_wind' must match ..., and with--id north-windREFUSED naming-unclassified: 'North_Wind' matches no family in the naming policy;family.py init --family North_Windends the same way (probel2-56.log).
Rides along (backlog; tick it here if the same change covers it)
- The label half, posted earlier and outside this batch (Tracking: setup, scaffold, family and the shared helpers, creating projects and families #459 comment 6198174555):
scaffold-bad-idandfamily-bad-idsay--id ... must matchfor an id derived from--projector--family, naming a flag nobody passed (scaffold-project.py:1580, family.py:1092 now).
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
L2-56 (P3; scaffold-project.py and scripts/family.py, #601 review): for a derived id the remedy "pass an explicit lowercase --id" leads to a naming refusal in the scaffold and in
family.py init, as it does in adopt (L2-54 on #457).
- At 55faad2
scaffold-bad-idis raised atscaffold-project.py:1555-1558for an id derived at:728, andfamily-bad-idatscripts/family.py:1091-1094for one derived at:1090. The naming check comes after each:_check_declared_names(scaffold-project.py:1583) and_classify_family_name(scripts/family.py:1096). The line from the 2026-10-15T17:27:59Z comment above is about how these two sentences name the flag. This one is about the remedy.- Measured on a scratch export of main:
scaffold-project.py --project North_WindgivesREFUSED scaffold-bad-id, and adding--id north-windgivesREFUSED naming-unclassified: 'North_Wind' matches no family in the naming policy.family.py init --family North_Windand then--id north-windend the same way.- Direction: decide it with L2-54 and the 2026-10-15T17:27:59Z line, since the three tools share the sentence. Either the derived case's remedy names
--project(or--family), or the naming refusal speaks first when the id was derived.
scaffold-bad-id(scaffold-project.py:1507-1508) andfamily-bad-id(scripts/family.py:1046-1047) say--id … must matchfor an id derived from--projector--family. That names a flag nobody passed. It is the sibling of adopt-derived-value-labels (#601), noted per D5(c).
— #459, comment
Activity
brettheap commentedon Oct 16, 2026
CLAIMED — lane openRepoShape-2, session 81650e29-c906-4fe8-96c9-55580bfe0c44@Eagle, 2026-10-16T12:43:35Z, for #659
Logged in
lanes/log/openRepoShape-2.mdatb41491260a6bb7598c1f13762f410cc60790a52f.The three reads (lane-collision-protocol Rule 1):
family.py: `family-bad-id`'s derived remedy says `--family` also name…
scaffold-project.py and family.py: a derived id's remedy names the ru…
adopt-project.py: a derived id's remedy names the rule `naming-unclas…
adopt-project.py: `plan` refuses `--id ''` and `--elected-by ''` by n…
family.py: `add`'s refusal of a member's own gitlink held only under …