Skip to content

the family root's bootstrap.py and validate-family.py: the credential advice prints beside "not for want of a credential", a member's refusal and finding both read make bootstrap exited 2, and the wrong-case move's git rm --cached may refuse #839

Closed

Description

@brettheap

Goal: the holder's make bootstrap gives credential advice only where a credential could help, tells a member's own refusal from its finding, and the gate's wrong-case move types as printed where a checkout of its own stands at the variant.

Filed by lane openRepoShape-5, from the checklist candidates of three PRs: #768's (#819, writer w768: candidate 1), #764's second fix round (#815, writer w764b: "Family holder", for lane 4) and #761's (#828, writer w761: candidate 2). All three are in the holder's two pinned scripts, so one change re-pins them once. Lines 1 and 2 are read from source on main and measured here only where said; line 3 is read from source, not measured for the validator.

Pinned copies. templates/family-root/scripts/bootstrap.py and templates/family-root/scripts/validate-family.py are pinned in every holder (FAMILY_COPIED_VERBATIM, scripts/shape_materialize.py:525). Bundle this with the other v1.1.1 edits to them (#762's and #768's PRs, #820 and #819, edit both), so each holder takes one upstream-changed row per file.

Lands after: lane 5's #768 (PR #819, fix/768-gitmodules-values, head c12b5f8a) and #762 (PR #820, fix/762-validate-family-remedies-texts, head 9e2dc7d9). path:line is at main 6626a3c5.

Lines

Not here: #819's own "Left out" and checklist keep four more, none a line: a submodule.<name>.active that is no boolean (a hand-set key of the repository's own config, which git dies on and active() reads past, bootstrap.py:508-526 at c12b5f8a); a blob .gitmodules with a syntax error (git reads the entries before the bad line, gitmodules_sections none, as before); siblings.py's submodule_urls (it clones, and runs no git submodule update, so a value git dies on does not stop it); and _sections_listed reading a key with no value as the empty string, which makes member-gitmodules-absent fire beside #819's gitmodules-value-refused for one fault (a second finding, harmless, and #819's test pins it: for #819's own review).

Verify: tests/test_family_bootstrap_gate_order.py, tests/test_family_gitmodules_values.py (new in #819), tests/test_validate_family_typed_states.py (new in #820), tests/test_validate_family_unnamed_mounts.py, tests/test_family_head_lost_gitmodules.py, tests/test_pinned_copy_text.py and tests/test_repo_hygiene.py pass on Linux. Line 1: the two fixtures above, asserting the stderr lines exactly. Line 2: a holder whose member's make bootstrap exits 1, and one whose member refuses (exit 2): the line says which, in the form the Direction picks. Line 3: the reproduction as a test, typing each printed line as printed, then the gate in every mode, as #820's tests do. A mutant per line (the advice always printed, the exit code always make's, the -f dropped), each caught. No Windows or macOS run (CI is Linux only, #597).

Overlaps. #819 and #820 edit both pinned scripts, and #822 (fix/763-holder-docs-agree) edits validate-family.py and the holder's AGENTS-shape.md. #815 and #824 edit the assembly root's bootstrap.py, not this one. #828 edits scripts/family.py, which is not pinned. Lane 3's #775 and #788 edit templates/family-root/scripts/siblings.py (line 2's option of running the member's bootstrap as siblings.py does reads it, does not edit it).

Parent: #459.

Milestone: v1.1.1. Line 1 prints a sentence too many on a failure the person sees anyway; line 2 is a count a person can read the cause from above it; line 3 needs a hand git mv, a checkout of the member's own at the variant and a commit in it. None is a regression, and none blocks v1.1.0.

🤖 Generated with Claude Code

Activity

  1. added this to the v1.1.1 milestone on Oct 17, 2026
  2. brettheap commented on Oct 17, 2026

    @brettheap
    ContributorAuthor

    (lane openRepoShape-5, 2026-10-17T17:13:38Z) Two more lines for this issue, from lane 2's rv820 review of #820 and writer f820's round 2 (ef178669). Both come from reading the code; neither was measured here.

    Overlaps: #820 (fix/762-validate-family-remedies-texts, 98b0536d) edits the same validator's functions. These lines land after it.

  3. brettheap commented on Oct 17, 2026

    @brettheap
    ContributorAuthor

    (lane openRepoShape-5, 2026-10-17T17:27:10Z) One more line for this issue, from writer f828's fix round on #828 (6cf02edf). It was read from source and run in dash; it was not measured through the gate itself.

    Overlaps: #820 (98b0536d) edits the same validator. This line lands after it, and the file is pinned, so each holder takes one upstream-changed row for it.

  4. brettheap commented on Oct 17, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-17T19:41:40Z, for #839

    Logged in lanes/log/openRepoShape-5.md at 38c6db352d644cc54a34aa4b42fbc86d6d5616b2.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#839:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#839"`, kept where the row or its body names `#839`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `839` as a whole token:
       none
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions