Skip to content

validate-manifest.py, repo_shape.py and scaffold-project.py: a chain source that is there and cannot answer is still offered, one SHAPE_PIN_SOURCE_* can answer for two chains, and a Kelvin-sign link is recorded as typed #909

Closed

Description

@brettheap

Goal: the chain readers ask each pin source once per run and say why one that is there could not answer, and a chain link is recorded in the spelling its pin file uses.

Filed by lane openRepoShape-3, from its triage of #459 at the v1.1.1 release commit 5017830. It groups #459's lines U172 (L2-101), U113 and U145 (L4-146, posted twice) and U114 and U146 (L4-147, posted twice), one pull request's worth. Two of the three files are pinned copies, so the change re-pins every project once.

validate-manifest.py asks no reasons (U172)

State. _chain_and_links calls link_pins_from_trees(chain, root, **offered) with offered holding remedies= alone (templates/assembly-root/scripts/validate-manifest.py:197-199): it asks for neither with_reasons nor tried, so the reason a source could not answer (#338) is never kept.

What happens. A checkout of openXdox beside the root that holds no project.yaml, or a SHAPE_PIN_SOURCE_OPENXDOX naming no folder, is still offered as what would let the tree be read, while it is there. Lane 2 measured at dde7ef8 that the WARNING is the same with nothing beside the root, with an empty openXdox/ beside it, and with the variable naming a folder that is not there.

Evidence. validate-manifest.py:197-199 at 5017830; L2-101.

Direction. Ask for the reasons as the naming gate does, and say what a source that is there and could not answer is, behind the same signature guard remedies= has (_library_takes_remedies), since an older scripts/repo_shape.py may not take the keyword. Pinned copy.

The SHAPE_PIN_SOURCE_* guard is asked per chain (U113, U145)

State. pin_source_env_shared is asked over one chain's links: scripts/repo_shape.py:1760 (_chain_link_findings) and :3274 (link_pins_from_trees). The naming gate calls link_pins_from_trees once per target chain (scripts/validate-repository-naming.py:352). validate-pins.py asks over the project's declared pins. #826 (#714) did not take this line ("Not taken: L4-146").

What happens. In a project whose two legs' chains begin at open + sharp s and at openss, SHAPE_PIN_SOURCE_OPENSS is read for both, and the gate reports FINDING codexQuill: the declared chain openss -> openQuill is broken (openss declares openInk, not openQuill), exit 1; with nothing set, each leg's WARNING offers that same variable (R444, measured at 1babe42; the code is the same at 5017830).

Evidence. The lines above at 5017830.

Direction. Ask pin_source_env_shared once per run, over every chain the run reads, or over the project's neutral_product_pins: plus every chain's links. Pinned copy.

A Kelvin-sign link is recorded as typed (U114, U146)

State. referent_chain_links keeps each link as typed (scaffold-project.py:1071-1075), and the first link is matched to --pin through pin_product_key (lower()), which folds U+212A KELVIN SIGN to k. #826 did not take this line ("Not taken: L4-147").

What happens. Measured at 5017830: scaffold-project.py --org testorg --project codexInk --pin openKdox@<sha> --pin-source <local clone> --referent-chain 'open<U+212A>dox,openInk' --dry-run exits 0, plans contracts/openkdox-pin.yaml, and prints the chain with the U+212A spelling. A real run records that spelling in project.yaml. It is one pin file, so no answer is wrong; cosmetic.

Evidence. The probe above (slice C of this triage); scaffold-project.py:1071-1075.

Direction. Record the --pin's own spelling for a first link equal to it under pin_product_key.

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-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-18T16:59:48Z, for #909

    Logged in lanes/log/openRepoShape-3.md at b1d4ae5c41bd76501c64d26356bba669a635ec12.

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

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