Skip to content

family.py init: the whole-manifest YamlError refusal names no flag, and its remedy says the words are the validator's own when they are the reader's #929

Closed

Description

@brettheap

Goal: family.py init's whole-manifest refusal names the value the holder's reader refuses and gives the reader's remedy, as #817 made the scaffold and adopt do.

Filed by lane openRepoShape-3, from its triage of #459 at the v1.1.1 release commit 5017830. It is the open half of #459's line U119, posted again as U151 (L4-152), one pull request's worth. Its adopt and scaffold half was fixed by 64ec47c (#817, #708), whose body named this half for #459.

The family's whole-manifest YamlError words (U119, U151)

State. family_manifest_invalid's YamlError case returns "the manifest this run would write is a file the holder's own YAML reader refuses: ..." with no value named (scripts/family.py:3280-3282). MANIFEST_INVALID_REMEDIATION says "choose a value the holder's own validate-family.py accepts; the words after each value are the validator's own" (:3327-3329), when no value is named and the words are the reader's.

What happens. Measured at 5017830, from a clone at that commit, with the stub gh: family.py init --org @x --family Orbit --dry-run --local-remote-dir <dir> --work-dir <dir> exits 2 with

REFUSED family-manifest-invalid: the manifest this run would write is a file the holder's own YAML reader refuses: a plain scalar cannot open with `@`, which is reserved in YAML: '@x/Orbit'.
Remediation: choose a value the holder's own validate-family.py accepts; the words after each value are the validator's own. ...

The refusal is right; the words are not. Without --local-remote-dir, the same --org @x is refused first as family-bad-org since a249910 (#871, #863), so this wording is reached where no GitHub repository will be made, or by a value that passes the GitHub checks and that the holder's reader still refuses.

Evidence. The lines and the probe above.

Direction. Reuse shape_materialize.py's _unread_sentences (:5051) and MANIFEST_UNREADABLE_REMEDIATION (:5167) for family.yaml.

Size: S.

Lane: openreposhape-3 (openRepoShape-3)

Activity

  1. added this to the v1.2.0 milestone on Oct 18, 2026
  2. brettheap commented on Oct 18, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-18T15:00:44Z, for #929

    Logged in lanes/log/openRepoShape-4.md at 029cd4abc140ae83a5c176ac7e152f2bfddad4e0.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#929:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#929"`, kept where the row or its body names `#929`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `929` 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